| | |
| | | |
| | | if (result != null && result.errCode == 0) |
| | | { |
| | | CMMLog.Info($"电动门开门流程:读取电动门通道号为:{doorInfo.readAddr}里面的值为{result.result[0]},{doorInfo.readAddr + 1}里面的值为{result.result[1]}"); |
| | | Console.WriteLine($"电动门开门流程:读取电动门通道号为:{doorInfo.readAddr}里面的值为{result.result[0]},{doorInfo.readAddr + 1}里面的值为{result.result[1]}"); |
| | | CMMLog.Info($"电动门开门流程:读取电动门通道号为:{doorInfo.readAddr}里面的值为{result.result[0]},{doorInfo.readAddr + 1}里面的值为{result.result[1]},门号:{action.Ext2}"); |
| | | if(action.Ext2 == "4") |
| | | { |
| | | if (result.result[0] == 1) |
| | |
| | | } |
| | | } |
| | | else if(result.result[0] == 1 && result.result[1] == 1) |
| | | //if(result.result[0] == 1 && result.result[1] == 1) |
| | | { |
| | | //推送小车进去 |
| | | CMMLog.Info($"电动门已经打开,门号:{action.Ext2}"); |