| | |
| | | public partial class M071Process |
| | | { |
| | | public Timer ResetTimer = null; |
| | | const int FULLRESETTIME = 5; |
| | | |
| | | object machineStateLock = new object(); |
| | | //MachineState _machineStatePre = MachineState.Unknown; |
| | |
| | | if (opConfig?.InputPara != null && opConfig.InputPara.Count > 0) |
| | | { |
| | | //大复位信号 |
| | | ResetTimer.Change(opConfig.InputPara[0] == 1 ? FULLRESETTIME * 1000 : -1, -1); |
| | | ResetTimer.Change(opConfig.InputPara[0] == 1 ? Config.FullResetRequiredDuration * 1000 : -1, -1); |
| | | |
| | | if (opConfig.InputPara[0] == 0) |
| | | return new ProcessResponse(true); |