ningshuxia
2022-12-12 e81ca048ef4e9345e904b74ffffd3e8413d18a7e
Socket/IStation.DataDockingSocket4NT/control/SendControlJobHelper.cs
@@ -1,5 +1,4 @@
using IStation.DataDockingSocket.MsgHandle;
using IStation.Untity;
using IStation.Untity;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -56,7 +55,7 @@
                        {
                            case Model.MonitorTestControlParas.eControlType.Stop:
                                {
                                    ShunDownMsgHelper.StartJob(session);
                                    ShutDownMsgHelper.StartJob(session);
                                }
                                break;
                            case Model.MonitorTestControlParas.eControlType.Start:
@@ -66,16 +65,8 @@
                                    var context = Model.MonitorTestControlParas.StartContext.ToModel(paras.Context);
                                    if (context == null)
                                        return default;
                                    switch (context.OperatingMode)
                                    {
                                        case Model.MonitorTestControlParas.eOperatingMode.Timing:
                                            break;
                                        case Model.MonitorTestControlParas.eOperatingMode.ConstantFlow:
                                            break;
                                        default:
                                            break;
                                    }
                                    // StartUpMsgHelper.StartJob(session);
                                    NtLogHelper.Debug(context.ToJson());
                                    StartUpMsgHelper.StartJob(session, context);
                                }
                                break;
                            default: