示例#1
0
 private void sprayLine(Line line, Valve valve, int shots, double intervalSec)
 {
     valve.MoveToScaleLoc();
     valve.SprayCycle((short)shots, (short)(intervalSec - valve.Prm.JtValvePrm.OnTime));
     GlueManagerMgr.Instance.UpdateGlueRemainWeight((int)valve.Key, shots * line.Program.RuntimeSettings.SingleDropWeight);
     line.shortNum += shots;
 }