protected StationPart(External ExternalSign, StationInitialize stationIni, StationOperate stationOpe, Type type)
 {
     ContinueEvent     = new ManualResetEvent(true);
     StopEvent         = new ManualResetEvent(false);
     AlarmReset        = ExternalSign;
     stationInitialize = stationIni;
     stationOperate    = stationOpe;
     log = LogManager.GetLogger(type);
 }
Exemple #2
0
 public CylinderCondition(Func <bool> offCondition, Func <bool> onCondition)
 {
     _offcondition = offCondition;
     _oncondition  = onCondition;
     External      = new External();
 }