Exemple #1
0
 public JWorkSGSOP(SGWorkPars _tsDefSG, Bank _bank, SignalListDef _SL, DOnStatus _OnStatus = null)
 {
     tsDefSG             = _tsDefSG;
     bank                = _bank;
     SL                  = _SL;
     OnStatus            = _OnStatus;
     IsComplete          = false;
     J.Add(jAlarm        = new JAlarmList());
     sgSet               = new SGSet(_SL, pr);
     J.Add(jDemagnetizer = new JDemagnetizer(ParAll.ST.Defect.Demagnetizer, ParAll.CTS.DemagnetizerTS, false));
 }
Exemple #2
0
 public JWorkSG(Bank _bank, SignalListDef _SL, ILCard502 _lcard, bool _restart, DOnStatus _OnStatus = null)
 {
     bank       = _bank;
     SL         = _SL;
     restart    = _restart;
     OnStatus   = _OnStatus;
     IsComplete = false;
     sgSet      = new SGSet(_lcard, _SL, pr);
     SGSet.SaveParsToDB();
     J.Add(jDemagnetizer = new JDemagnetizer(ParAll.ST.Defect.Demagnetizer, ParAll.CTS.DemagnetizerTS, false));
 }
Exemple #3
0
 public void Init(SignalListDef _SL, JDemagnetizer _jDemagnetizer)
 {
     SL            = _SL;
     label2.Text   = null;
     jDemagnetizer = _jDemagnetizer;
 }