From 2649703dbdefa9e9c4772267723202d59500af4a Mon Sep 17 00:00:00 2001 From: CaesarBao <445720029@qq.com> Date: Thu, 2 Jan 2025 09:15:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=82=E5=B8=83=E4=BF=AE=E6=94=B9B=E9=9D=A2?= =?UTF-8?q?=E5=BC=80=E5=A7=8B=E6=8E=A5=E5=8F=A3activity=E3=80=81modeProces?= =?UTF-8?q?sSfc=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Impl/TBSignalReadBusiness.cs | 4 ++-- MaterialTraceabilityUI/CoatingProcess.xaml.cs | 8 ++++---- MaterialTraceabilityUI/TBAlarmRecord.xaml.cs | 16 ++++++++-------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/MaterialTraceability.Business/Impl/TBSignalReadBusiness.cs b/MaterialTraceability.Business/Impl/TBSignalReadBusiness.cs index 62164e7..8a5967d 100644 --- a/MaterialTraceability.Business/Impl/TBSignalReadBusiness.cs +++ b/MaterialTraceability.Business/Impl/TBSignalReadBusiness.cs @@ -315,8 +315,8 @@ namespace MaterialTraceability.Business.Impl operationRevision = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "operationRevision"), resource = appConfig.resource, user = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "user"), - activity = "", - modeProcessSfc = "MODE_START_SFC", + activity = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "activity"), + modeProcessSfc = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "modeProcessSfc"), loginUser = "", password = "", }; diff --git a/MaterialTraceabilityUI/CoatingProcess.xaml.cs b/MaterialTraceabilityUI/CoatingProcess.xaml.cs index 7aaca63..b6cabc1 100644 --- a/MaterialTraceabilityUI/CoatingProcess.xaml.cs +++ b/MaterialTraceabilityUI/CoatingProcess.xaml.cs @@ -692,8 +692,8 @@ namespace MaterialTraceabilityUI operationRevision = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "operationRevision"), resource = appConfig.resource, user = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "user"), - activity = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "activity"), - modeProcessSfc = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "modeProcessSfc"), + activity = "", + modeProcessSfc = "MODE_START_SFC", }; DateTime beginTime = DateTime.Now; try @@ -922,8 +922,8 @@ namespace MaterialTraceabilityUI operationRevision = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "operationRevision"), resource = appConfig.resource, user = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "user"), - activity = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "activity"), - modeProcessSfc = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "modeProcessSfc"), + activity = "", + modeProcessSfc = "MODE_START_SFC", }; DateTime beginTime = DateTime.Now; try diff --git a/MaterialTraceabilityUI/TBAlarmRecord.xaml.cs b/MaterialTraceabilityUI/TBAlarmRecord.xaml.cs index 9ad6518..dff3135 100644 --- a/MaterialTraceabilityUI/TBAlarmRecord.xaml.cs +++ b/MaterialTraceabilityUI/TBAlarmRecord.xaml.cs @@ -527,8 +527,8 @@ namespace MaterialTraceabilityUI operationRevision = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "operationRevision"), resource = appConfig.resource, user = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "user"), - activity = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "activity"), - modeProcessSfc = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "modeProcessSfc"), + activity = "", + modeProcessSfc = "MODE_START_SFC", }; try { @@ -576,8 +576,8 @@ namespace MaterialTraceabilityUI operationRevision = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "operationRevision"), resource = appConfig.resource, user = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "user"), - activity = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "activity"), - modeProcessSfc = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "modeProcessSfc"), + activity = "", + modeProcessSfc = "MODE_START_SFC", }; try { @@ -777,8 +777,8 @@ namespace MaterialTraceabilityUI operationRevision = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "operationRevision"), resource = appConfig.resource, user = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "user"), - activity = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "activity"), - modeProcessSfc = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "modeProcessSfc"), + activity = "", + modeProcessSfc = "MODE_START_SFC", }; DateTime beginTime = DateTime.Now; try @@ -825,8 +825,8 @@ namespace MaterialTraceabilityUI operationRevision = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "operationRevision"), resource = appConfig.resource, user = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "user"), - activity = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "activity"), - modeProcessSfc = inifile.IniReadValue("MiFirstOperationForsfcServiceServiceParam", "modeProcessSfc"), + activity = "", + modeProcessSfc = "MODE_START_SFC", }; DateTime beginTime = DateTime.Now; try