From 9274e7cbb971823d9ef3ab3ae82ad43f478a4858 Mon Sep 17 00:00:00 2001 From: zpp <916477576@qq.com> Date: Fri, 9 Aug 2024 14:41:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A4=E6=8E=A5=E7=8F=AD=E6=81=A2=E5=A4=8D?= =?UTF-8?q?=E7=8F=AD=E6=AC=A1=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shangjian/XGL/Views/LanJu_Operator.xaml.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shangjian/XGL/Views/LanJu_Operator.xaml.cs b/shangjian/XGL/Views/LanJu_Operator.xaml.cs index 2d4b320..2fbacda 100644 --- a/shangjian/XGL/Views/LanJu_Operator.xaml.cs +++ b/shangjian/XGL/Views/LanJu_Operator.xaml.cs @@ -579,6 +579,8 @@ VALUES if (CustomMessageBox.Show("交接班后产量会计入下一班次,您确定要交接班吗?", CustomMessageBoxButton.OKCancel, CustomMessageBoxIcon.Warning) == CustomMessageBoxResult.OK) { formingMachineService.ChangeShiftsInfo(deviceCode); + + DBService.ModShiftTime("BC002", "07:30", "19:30", "BC001", "19:30", "07:30"); //因为程序多开受限制,先启动一个中间程序,再启动本程序 //设置要启动的应用程序名称和参数 string appName = "RestartApp.exe"; // 替换为你的目标控制台应用程序的名称