private void SetCaseData(List <MapAGVPosition> data, double lvel, double lacc, double ldec, double tvel, double tacc, double tdec) { try { tB_LineVelocity.Text = lvel.ToString("0"); tB_LineAcc.Text = lacc.ToString("0"); tB_LineDec.Text = ldec.ToString("0"); tB_ThetaVelocity.Text = tvel.ToString("0"); tB_ThetaAcc.Text = tacc.ToString("0"); tB_ThetaDec.Text = tdec.ToString("0"); mipcControl.AGV_ServoOn(); button_Clear_Click(null, null); for (int i = 0; i < data.Count; i++) { cycleRunMovingAGVPosition.Add(data[i]); listBox_MovingPoint.Items.Add(computeFunction.GetMapAGVPositionStringWithAngle(data[i])); } } catch { } }
public bool ServoOn_All() { return(mipcControl.AGV_ServoOn()); }