diff --git a/View/TechnologicalProcessView.xaml.cs b/View/TechnologicalProcessView.xaml.cs index 4da7a06..7997f5a 100644 --- a/View/TechnologicalProcessView.xaml.cs +++ b/View/TechnologicalProcessView.xaml.cs @@ -233,8 +233,6 @@ namespace DyeingComputer.View } MainWindowViewModel.Updata_dtm(VID, i); } - - APILog.LOGlog(MainWindowViewModel.WorkNumder.ToString(), "UserActions", "Parameter", "ID=" + VID + ";Name=" + Vname + ";Value="+newValue); } diff --git a/ViewModel/MainWindowViewModel.cs b/ViewModel/MainWindowViewModel.cs index 70383ee..8776af3 100644 --- a/ViewModel/MainWindowViewModel.cs +++ b/ViewModel/MainWindowViewModel.cs @@ -22,6 +22,7 @@ using System.Linq; using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.Remoting.Channels; +using System.Security.Cryptography; using System.Text; using System.Threading; using System.Threading.Tasks; @@ -1814,12 +1815,12 @@ namespace DyeingComputer.ViewModel double T_P3 = Convert.ToDouble(arrRows[0]["Parameter3"].ToString()); double T_P4 = Convert.ToDouble(arrRows[0]["Parameter4"].ToString()); double T_P5 = Convert.ToDouble(arrRows[0]["Parameter5"].ToString()); - STEP_START(T_ID, T_P1, T_P2, T_P3, T_P4, T_P5); + APILog.LOGlog(WorkNumder.ToString(), "Process", "Next", "STEP = " + RUN_STEPID + ";StepID=" + + T_ID + ";P1=" + T_P1 + ";P2=" + T_P2 + ";P3=" + T_P3 + ";P4=" + T_P4 + ";P5=" + T_P5); if (ViewID == 1) { sys_workSTEPID = RUN_STEPID; } else { sys_workSTEPID = -1; } } - if (errTabler.Rows.Count == 0) { Status_Str = Resources.Await;