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); }
public CylinderCondition(Func <bool> offCondition, Func <bool> onCondition) { _offcondition = offCondition; _oncondition = onCondition; External = new External(); }