copy from Socket/IStation.DataDockingSocket4SZJT_Ten/instruction/SendInstructionJobNameHelper.cs
copy to Socket/IStation.DataDockingSocket4SZJT_WTW/instruction/SendInstructionJobNameHelper.cs
Îļþ´Ó Socket/IStation.DataDockingSocket4SZJT_Ten/instruction/SendInstructionJobNameHelper.cs ¸´ÖÆ |
| | |
| | | /// </summary> |
| | | public class SendInstructionJobNameHelper |
| | | { |
| | | private const string _jobNameHeader = "KQSendInstructionJob"; |
| | | private const string _jobGroupHeader = "KQSendInstructionJobGroup"; |
| | | private const string _triggerNameHeader = "KQSendInstructionJobTrigger"; |
| | | private const string _jobNameHeader = "SZJT_TenSendInstructionJob"; |
| | | private const string _jobGroupHeader = "SZJT_TenSendInstructionJobGroup"; |
| | | private const string _triggerNameHeader = "SZJT_TenSendInstructionJobTrigger"; |
| | | |
| | | /// <summary> |
| | | /// è·åä»»å¡åç§° |
| | | /// </summary> |
| | | public static string GetJobName(Model.IMonitorDataDockingSession session,string instructioon) |
| | | public static string GetJobName(Model.IMonitorDataDockingSession session, string instructioon) |
| | | { |
| | | var jobName = $"{_jobNameHeader}_{session.RegisterCode}_{session.SessionID}_{instructioon}"; |
| | | return jobName; |
| | |
| | | /// <summary> |
| | | /// è·åä»»å¡ç»åç§° |
| | | /// </summary> |
| | | public static string GetJobGroupName(Model.IMonitorDataDockingSession session, string instructioon) |
| | | public static string GetJobGroupName(Model.IMonitorDataDockingSession session, string instructioon) |
| | | { |
| | | var jobGroup = $"{_jobGroupHeader}_{session.RegisterCode}_{session.SessionID}_{instructioon}"; |
| | | return jobGroup; |