修改储物箱锁状态判断(0关闭1开启2等待按下按钮后开锁)

This commit is contained in:
maqiao 2023-11-14 15:35:24 +08:00
parent eae6d92837
commit 74a0f77a86
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ namespace DM_Weight.Port
byte[] result = await OpenStorage();
int[] r = result.Select(it => Convert.ToInt32(it)).ToArray();
if (r[4] == 0)
if (r[4] != 0)
{
logger.Info($"储物箱使能成功");
// 查询锁状态