示例#1
0
文件: SGWork.cs 项目: andreyV512/rag
 public void Init(SignalListDef _SL, DOnInsert _OnInsert)
 {
     SL         = _SL;
     OnInsert   = _OnInsert;
     sgWorkPars = new SGWorkPars();
     propertyGrid1.SelectedObject = sgWorkPars;
     timer1.Interval = Convert.ToInt32(ParAll.ST.Defect.Some.Period);
     SGSet.SaveParsToDB();
 }
示例#2
0
文件: JWorkSG.cs 项目: andreyV512/rag
 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));
 }