交接班恢复班次时间

master
zpp 1 year ago
parent 2349fbec7a
commit 9274e7cbb9

@ -579,6 +579,8 @@ VALUES
if (CustomMessageBox.Show("交接班后产量会计入下一班次,您确定要交接班吗?", CustomMessageBoxButton.OKCancel, CustomMessageBoxIcon.Warning) == CustomMessageBoxResult.OK) if (CustomMessageBox.Show("交接班后产量会计入下一班次,您确定要交接班吗?", CustomMessageBoxButton.OKCancel, CustomMessageBoxIcon.Warning) == CustomMessageBoxResult.OK)
{ {
formingMachineService.ChangeShiftsInfo(deviceCode); formingMachineService.ChangeShiftsInfo(deviceCode);
DBService.ModShiftTime("BC002", "07:30", "19:30", "BC001", "19:30", "07:30");
//因为程序多开受限制,先启动一个中间程序,再启动本程序 //因为程序多开受限制,先启动一个中间程序,再启动本程序
//设置要启动的应用程序名称和参数 //设置要启动的应用程序名称和参数
string appName = "RestartApp.exe"; // 替换为你的目标控制台应用程序的名称 string appName = "RestartApp.exe"; // 替换为你的目标控制台应用程序的名称

Loading…
Cancel
Save