|
|
@@ -202,7 +202,7 @@ namespace CarMeterSystem
|
|
|
else
|
|
|
{
|
|
|
// 2.1 如果双摄像头识别类型为 0:都识别且一致 1:只有一个识别,则正常赋值
|
|
|
- if (PbCache.collect.carnoAlert == "0" || PbCache.collect.carnoAlert == "1")
|
|
|
+ if (PbCache.collect.carnoAlert == "0" || PbCache.collect.carnoAlert == "1" || PbCache.collect.carnoAlert == null)
|
|
|
{
|
|
|
PbCache.lockCarNo = PbCache.collect.carno;
|
|
|
}
|
|
|
@@ -1353,7 +1353,7 @@ namespace CarMeterSystem
|
|
|
//2021年5月10日界面显示单位,调整为T
|
|
|
ucWeightCarTJXJG1.setWgt(Math.Round((double)PbCache.collect.weight / 1000, 2));
|
|
|
// 修改界面过磅状态红/绿图标
|
|
|
- ucWeightCarTJXJG1.setStable((PbCache.collect.weightStatus != 1 && localWeightStatus != false) ? true : false);
|
|
|
+ ucWeightCarTJXJG1.setStable((PbCache.collect.weightStatus == 0 || localWeightStatus == true) ? true : false);
|
|
|
|
|
|
#region 远程计量交互代码
|
|
|
//lg.WriteLog(99, "PbCache.monitor:" + PbCache.monitor.ToString());
|
|
|
@@ -1848,6 +1848,7 @@ namespace CarMeterSystem
|
|
|
//btnSave.Visible = true;//rxh delete
|
|
|
//setMsgInfo(btnSave, "true", "2");//rxh add
|
|
|
|
|
|
+
|
|
|
// 20221011 By BourneCao
|
|
|
// 增加双摄像头支持
|
|
|
// 1. 如果不为视觉识别,则正常赋值
|
|
|
@@ -1859,7 +1860,7 @@ namespace CarMeterSystem
|
|
|
else
|
|
|
{
|
|
|
// 2.1 如果双摄像头识别类型为 0:都识别且一致 1:只有一个识别,则正常赋值
|
|
|
- if (PbCache.collect.carnoAlert == "0" || PbCache.collect.carnoAlert == "1")
|
|
|
+ if (PbCache.collect.carnoAlert == "0" || PbCache.collect.carnoAlert == "1" || PbCache.collect.carnoAlert == null)
|
|
|
{
|
|
|
setMsgInfo(btnSave, "true", "2");
|
|
|
}
|
|
|
@@ -1874,7 +1875,6 @@ namespace CarMeterSystem
|
|
|
led_controler.setStaticLineMsg(PbCache.sportInfo.ledIp, "车号未识别,请扫码计量");
|
|
|
return;
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
if (!isVoiceDownCar)
|