调拨入库添加操作串口状态标识

This commit is contained in:
maqiao 2025-10-15 11:32:04 +08:00
parent 3b397de523
commit e003226392
2 changed files with 4 additions and 1 deletions

View File

@ -172,6 +172,7 @@
async Task CancelOpera() async Task CancelOpera()
{ {
PortUtil.speechSynthesizer.SpeakAsyncCancelAll(); PortUtil.speechSynthesizer.SpeakAsyncCancelAll();
PortUtil.Operate = false;
status = 0; status = 0;
dialogService.Close(false); dialogService.Close(false);
} }
@ -247,6 +248,7 @@
PortUtil.speechSynthesizer.SpeakAsyncCancelAll(); PortUtil.speechSynthesizer.SpeakAsyncCancelAll();
PortUtil.SpeakAsync($"{drawerNo}号抽屉已经打开,请,加药"); PortUtil.SpeakAsync($"{drawerNo}号抽屉已经打开,请,加药");
options._data = 1; options._data = 1;
PortUtil.Operate = true;
next(); next();
} }
else else
@ -405,6 +407,7 @@
void RestData() void RestData()
{ {
PortUtil.PowerOff(); PortUtil.PowerOff();
PortUtil.Operate = false;
this.status = 0; this.status = 0;
_flagList.Clear(); _flagList.Clear();
this.ColNos.Clear(); this.ColNos.Clear();

View File

@ -16,7 +16,7 @@
"loginMode": 1, "loginMode": 1,
"opFirst": true, "opFirst": true,
//退,0退 //退,0退
"autoOutLog": 5, "autoOutLog": 0,
"boxMachineId": "DM5", "boxMachineId": "DM5",
"anaesthetist_name": "未选择,杨俊哲,周丹,刘方,罗丁,陈晓龙,杜金菊,季楠,王彩红,凌娜佳,汪宏,谈世刚,罗中兵,郭慧,廖家涛,殷国江,李坤,周翔,秦明哲,王庆利,张燕辉,姜佳佳,宋晓阳,胡晓", "anaesthetist_name": "未选择,杨俊哲,周丹,刘方,罗丁,陈晓龙,杜金菊,季楠,王彩红,凌娜佳,汪宏,谈世刚,罗中兵,郭慧,廖家涛,殷国江,李坤,周翔,秦明哲,王庆利,张燕辉,姜佳佳,宋晓阳,胡晓",
"boxColor": "白,绿" "boxColor": "白,绿"