yanjinhui
2025-05-15 bdc88e08328c360c2bddeedde744d858a7fd7e3d
project/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/SSG/AlarmResetJob.cs
@@ -62,8 +62,8 @@
                {
                    //首先要一直读,如果发生了故障要写到_alarmResetHsyServer中记录下来并且给到前端数据
                    //左plc
                    var leftPLcstuck1 = devices.Value.left.Communicator.Read<bool>("M104"); //卡住报警
                    var leftPLcOher1 = devices.Value.left.Communicator.Read<bool>("M105");  //其他报警 //默认是false
                    var leftPLcstuck1 = devices.Value.left.Communicator.Read<bool>("M109"); //卡住报警
                    var leftPLcOher1 = devices.Value.left.Communicator.Read<bool>("M111");  //其他报警 //默认是false
                    Console.WriteLine($"{devices.Value.left.DeviceName}:卡住报警{leftPLcstuck1},其他报警{leftPLcOher1}");
                    if (leftPLcstuck1 == true && leftPLcOher1 == false)
                    //if (leftPLcOher == false)
@@ -86,8 +86,8 @@
                    }
                    //右plc
                    var rightPLcSuck = devices.Value.right.Communicator.Read<bool>("M104"); //卡住报警
                    var rightPLcOher = devices.Value.left.Communicator.Read<bool>("M105");//其他报警
                    var rightPLcSuck = devices.Value.right.Communicator.Read<bool>("M109"); //卡住报警
                    var rightPLcOher = devices.Value.left.Communicator.Read<bool>("M110");//其他报警
                    Console.WriteLine($"{devices.Value.right.DeviceName}:卡住报警{rightPLcSuck},其他报警{rightPLcOher}");
                    if (rightPLcSuck == true && rightPLcOher == false)
                    {