Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 public CylinderCondition(Func <bool> offCondition, Func <bool> onCondition)
 {
     _offcondition = offCondition;
     _oncondition  = onCondition;
     External      = new External();
 }