public MWorkerThread(CObjectInfo objInfo, int selfChannel) : base(objInfo) { eAutoManual = EAutoManual.MANUAL; eOpMode = EOpMode.NORMAL_RUN; OpStatus = STS_MANUAL; OpStatus_Old = STS_RUN; ThreadID = GetUniqueThreadID(); this.selfChannel = selfChannel; stThreadList.Add(this); Debug.WriteLine(ToString()); }
public void SetAutoManual(EAutoManual mode) { eAutoManual = mode; }
protected EOpMode OpMode; // EOpMode : NORMAL_RUN, PASS_RUN, DRY_RUN, REPAIR_RUN public MCtrlLayer(CObjectInfo objInfo) : base(objInfo) { AutoManual = EAutoManual.MANUAL; OpMode = EOpMode.NORMAL_RUN; }