|
|
@ -2839,7 +2839,7 @@ namespace SlnMesnac.WPF.Page
|
|
|
|
Thread.Sleep(1000 * 90);
|
|
|
|
Thread.Sleep(1000 * 90);
|
|
|
|
// 90s二次确认防止误停: 如果正在一键开机,有可能存在部分机器没开完,此时需要等待90s再次确认
|
|
|
|
// 90s二次确认防止误停: 如果正在一键开机,有可能存在部分机器没开完,此时需要等待90s再次确认
|
|
|
|
bool endResult = CheckStatusAndStopMachine(out string machineName);
|
|
|
|
bool endResult = CheckStatusAndStopMachine(out string machineName);
|
|
|
|
if (endResult)
|
|
|
|
if (endResult && recipeManageCache.SystemStatus == "1")
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// 停所有设备
|
|
|
|
// 停所有设备
|
|
|
|
StopMachine(99);
|
|
|
|
StopMachine(99);
|
|
|
|