public override T_LogicStep GetStep() { if (TakeBJ?.ID > 0) { TakeGel.BJID = TakeBJ.ID; TakeGel.BJName = TakeBJ.Name; TakeGel.BJType = TakeBJ.GetType().Name; } else { TakeGel.BJID = 0; TakeGel.BJName = null; TakeGel.BJType = null; } if (PutBJ?.ID > 0) { PutGel.BJID = PutBJ.ID; PutGel.BJName = PutBJ.Name; PutGel.BJType = PutBJ.GetType().Name; } else { PutGel.BJID = 0; PutGel.BJName = null; PutGel.BJType = null; } this.Parameters = new GelAction[2] { TakeGel, PutGel }.ToJsonStr <GelAction[]>(); return(base.GetStep()); }
public override T_LogicStep GetStep() { if (TakeBJ?.ID > 0) { TakeGel.BJID = TakeBJ.ID; TakeGel.BJName = TakeBJ.Name; TakeGel.BJType = TakeBJ.GetType().Name; } else { TakeGel.BJID = 0; TakeGel.BJName = null; TakeGel.BJType = null; } this.Parameters = TakeGel.ToJsonStr <GelAction>(); return(base.GetStep()); }
public override T_LogicStep GetStep() { if (TakeBJ?.ID > 0) { //TakeTip.Indexs = injectorDevice.GetSeleteced().Select(et => et.Index).ToArray(); TakeTip.TipBoxName = TakeBJ.Name; TakeTip.Key = TakeBJ.GetType().Name; } else { TakeTip.R = 0; TakeTip.C = 0; TakeTip.TipBoxName = null; TakeTip.Key = null; } this.Parameters = TakeTip.ToJsonStr <TakeTipAction>(); return(base.GetStep()); }