public JTest(SignalListDef _SL, DOnExec _onExec, DOnStatus _OnStatus = null) { SL = _SL; onExec = _onExec; prst("Режим ТЕСТ"); IsComplete = false; RK.ST.result = new Result(); IW = new cIW(true); IW.Thick = false; IW.SG = false; bank = new Bank(IW); J.Add(jAlarm = new JAlarmList()); if (IW.Cross) { J.Add(jCollectCross = new JCollect(bank, EUnit.Cross, IW)); } if (IW.Line) { J.Add(jCollectLine = new JCollect(bank, EUnit.Line, IW)); } J.Add(jTransportTest = new JTransportTest(bank)); if (ParAll.ST.Defect.Some.TestWithMagnit) { J.Add(jRectifierThCross = new JRectifierTh(ParAll.ST.Defect.Cross.Rectifiers, ParAll.CTS.Cross.Rectifier, true, false)); J.Add(jRectifierThLine = new JRectifierTh(ParAll.ST.Defect.Line.Rectifiers, ParAll.CTS.Line.Rectifier, true, false)); } OnStatus = _OnStatus; }
public JBankResult(cIW _IW, Bank _bank, DOnExec _OnExec, DOnStatus _OnStatus) { IW = _IW; bank = _bank; OnExec = _OnExec; OnStatus = _OnStatus; IsComplete = true; }
public void Init(DOnExec _OnExec, UCrossLine _uCross, UCrossLine _uLine) { OnExec = _OnExec; uCross = _uCross; uLine = _uLine; timer1.Interval = (int)ParAll.ST.Defect.Some.Period; SL = new SignalListDef(ParAll.ST.Defect.PCIE1730, ParAll.ST.Some.SignalsPanel, pr); checkBox1.Checked = ParAll.ST.Defect.Some.IsInterruptView; }
public JWork(cIW _IW, SignalListDef _SL, bool _restart, DOnExec _OnExec, DOnStatus _OnStatus = null) { IW = _IW; SL = _SL; onExec = _OnExec; OnStatus = _OnStatus; IsComplete = false; bank = new Bank(IW); J.Add(jAlarm = new JAlarmList()); J.Add(jTransport = new JTransportStrobe(bank, SL, _IW)); if (IW.Cross) { J.Add(jCollectCross = new JCollect(bank, EUnit.Cross, IW)); J.Add(jRectifierThCross = new JRectifierTh(ParAll.ST.Defect.Cross.Rectifiers, ParAll.CTS.Cross.Rectifier, true, false)); } else { if (IW.SG) { J.Add(jCollectCross = new JCollect(bank, EUnit.Cross, IW)); } } if (IW.Line) { J.Add(jCollectLine = new JCollect(bank, EUnit.Line, IW)); J.Add(jRectifierThLine = new JRectifierTh(ParAll.ST.Defect.Line.Rectifiers, ParAll.CTS.Line.Rectifier, true, false)); J.Add(jInverterTh = new JInverterTh(ParAll.ST.Defect.Line.ComPortConverters, ParAll.ST.Defect.Line.Converter, ParAll.ST.TSSet.Current.Line.Frequency)); } if (IW.Thick) { J.Add(jThick = new JThick(bank)); } if (IW.SG) { J.Add(jWorkSG = new JWorkSG(bank, SL, null, _restart)); } J.Add(jResult = new JResult(bank, SL, ParAll.ST.Defect.Some.CheckZonePeriod)); // J.Add(jNewTube = new JNewTube(ParAll.ST.Defect.IsDBS)); J.Add(jBankResult = new JBankResult(_IW, bank, _OnExec, _OnStatus)); }