dep_yangw
我叫锄头 10 months ago
parent 76d43cf514
commit 119287ea2b

@ -89,7 +89,7 @@ namespace ProductionSystem.Untils
}
public void SendMsg2(string data, int num = 3, int mill = 500)
public void SendMsg2(string data, int num = 3, int mill = 300)
{
@ -106,8 +106,6 @@ namespace ProductionSystem.Untils
{
break;
}
Thread.Sleep(mill);
_mfser.SendLinMasterSend(Export);

@ -88,14 +88,9 @@ namespace ProductionSystem.Untils.Tool
mfSerialInfo.MsgFunc = null;
mfSerialInfo.Exit = true;
b = true;
}
}
};
mfSerialInfo.SendMsg2(sendMes, 200, 300);

@ -169,8 +169,6 @@ namespace ProductionSystem.Untils.Tool
}
SitongTool sitongTool = new SitongTool(stf1.Com, val);
var b = sitongTool.ToAction();
sitongTool.Dispose();
stopwatch.Stop();
@ -180,7 +178,6 @@ namespace ProductionSystem.Untils.Tool
step.CreateTime = DateTime.Now;
step.EquipmentName = eqName;
step.Ms = stopwatch.Elapsed.TotalSeconds.ToString(CultureInfo.InvariantCulture);
stepService.AddProductStep(step);
return b;

@ -145,7 +145,7 @@ namespace ProductionSystem.Untils.Tool
mfSerialInfo.SendMessage(sendMes);
}
Exit = true;
Dispose();
}
}

Loading…
Cancel
Save