| | |
| | | { |
| | | case Model.MonitorTestControlParas.eControlType.Stop: |
| | | { |
| | | ShunDownMsgHelper.StartJob(session); |
| | | ShutDownMsgHelper.StartJob(session); |
| | | } |
| | | break; |
| | | case Model.MonitorTestControlParas.eControlType.Start: |
| | |
| | | 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); |
| | | |
| | | StartUpMsgHelper.StartJob(session, context); |
| | | } |
| | | break; |
| | | default: |