Commit d14242b5 LN

蜂鸣器禁用修改

1 个父辈 4146991f
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
<!--是否使用蜂鸣器--> <!--是否使用蜂鸣器-->
<add key ="UseBuzzer" value ="1"/> <add key ="UseBuzzer" value ="1"/>
<add key ="StartScan_CMD" value ="S"/> <add key ="StartScan_CMD" value ="S"/>
<add key ="ShowLanguageMsg" value ="1"/> <add key ="ShowLanguageMsg" value ="0"/>
<!--每盘料扫码的次数--> <!--每盘料扫码的次数-->
<add key ="MaxScanCount" value ="2"/> <add key ="MaxScanCount" value ="2"/>
</appSettings> </appSettings>
......
...@@ -1093,7 +1093,7 @@ namespace OnlineStore.ACSingleStore ...@@ -1093,7 +1093,7 @@ namespace OnlineStore.ACSingleStore
} }
else else
{ {
ConfigAppSettings.SaveValue(Setting_Init.App_AutoRun, 0); ConfigAppSettings.SaveValue(Setting_Init.UseBuzzer, 0);
store.UseBuzzer = false; store.UseBuzzer = false;
LogUtil.info("去掉:启用蜂鸣器"); LogUtil.info("去掉:启用蜂鸣器");
} }
......
...@@ -310,3 +310,5 @@ InStoreFailed,入库失败,Saving failed ...@@ -310,3 +310,5 @@ InStoreFailed,入库失败,Saving failed
OutStoreFailed,出库失败,Providing failed OutStoreFailed,出库失败,Providing failed
WaitSingle,等待信号,Wait signal WaitSingle,等待信号,Wait signal
TimeOut,超时,Time out TimeOut,超时,Time out
Run,运行中,Runing
Runing,运行中,Runing
\ No newline at end of file \ No newline at end of file
...@@ -864,7 +864,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -864,7 +864,7 @@ namespace OnlineStore.DeviceLibrary
return; return;
} }
if (UseBuzzer) if (!UseBuzzer)
{ {
IOManager.IOMove(IO_Type.Alarm_Buzzer, IO_VALUE.LOW); IOManager.IOMove(IO_Type.Alarm_Buzzer, IO_VALUE.LOW);
} }
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!