Explorar o código

Merge branch 'master' of https://git.steerinfo.com/caol/jisco_winform_wzjl.git

duyong %!s(int64=4) %!d(string=hai) anos
pai
achega
ac409466e2
Modificáronse 3 ficheiros con 7 adicións e 2 borrados
  1. 1 1
      CarMeterSystem/App.config
  2. 1 1
      CarMeterSystem/Form1.cs
  3. 5 0
      CarMeterSystem/frmOneYardToEnd.cs

+ 1 - 1
CarMeterSystem/App.config

@@ -27,7 +27,7 @@
 		<!--毛皮差值验证(单位kg)-->
 		<add key="differenceWgt" value="400" />
 		<!--进入测试界面还是正式界面 0测试,1正式,2一码到底测试-->
-		<add key="productType" value="0" />
+		<add key="productType" value="1" />
 		<!--联达比较重量-->
 		<add key="lianDaWgt" value="200" />
 		<!--联达计量点编号-->

+ 1 - 1
CarMeterSystem/Form1.cs

@@ -703,7 +703,7 @@ namespace CarMeterSystem
                             }
 
                             //led_controler.setStaticLineMsg(PbCache.sportInfo.ledIp, PbCache.ledInfo);
-                            led_controler.setStaticLineMsg(PbCache.sportInfo.ledIp, PbCache.ledInfo);
+                            led_controler.setOneLineMsg(PbCache.sportInfo.ledIp, PbCache.ledInfo);
 
                             isLedWrite = false;
 

+ 5 - 0
CarMeterSystem/frmOneYardToEnd.cs

@@ -72,6 +72,11 @@ namespace CarMeterSystem
         {
             try
             {
+                if (!string.IsNullOrEmpty(PbCache.sportInfo.ledIp))
+                {
+                    led_controler = new LED_Control(PbCache.sportInfo.ledIp);
+                }
+
                 //不显示重量
                 ucWeightCarTJXJG1.setWgtBackColor(true);
                 if (PbCache.isTest)