..
This commit is contained in:
@@ -135,5 +135,57 @@ namespace Project.ViewForm
|
||||
{
|
||||
PUB.AGV.AGVMoveRun();
|
||||
}
|
||||
|
||||
private void button9_Click(object sender, EventArgs e)
|
||||
{
|
||||
PUB.AGV.TurnGDSCenterScope();
|
||||
if (PUB.sm.Step == StateMachine.eSMStep.RUN)
|
||||
PUB.sm.SetNewStep(StateMachine.eSMStep.IDLE);
|
||||
}
|
||||
|
||||
private void button16_Click(object sender, EventArgs e)
|
||||
{
|
||||
var inputbox = AR.UTIL.InputBox("input value","100");
|
||||
if (inputbox.Item1 == false) return;
|
||||
if (int.TryParse(inputbox.Item2, out int value) == false) return;
|
||||
PUB.AGV.SetBackturnTime(value);
|
||||
if (PUB.sm.Step == StateMachine.eSMStep.RUN)
|
||||
PUB.sm.SetNewStep(StateMachine.eSMStep.IDLE);
|
||||
}
|
||||
|
||||
private void button10_Click(object sender, EventArgs e)
|
||||
{
|
||||
var inputbox = AR.UTIL.InputBox("input value","50");
|
||||
if (inputbox.Item1 == false) return;
|
||||
if (int.TryParse(inputbox.Item2, out int value) == false) return;
|
||||
PUB.AGV.SetGateOutOffTime(value);
|
||||
if (PUB.sm.Step == StateMachine.eSMStep.RUN)
|
||||
PUB.sm.SetNewStep(StateMachine.eSMStep.IDLE);
|
||||
}
|
||||
|
||||
private void button14_Click(object sender, EventArgs e)
|
||||
{
|
||||
PUB.AGV.LiftControl(arDev.Narumi.LiftCommand.ON);
|
||||
}
|
||||
|
||||
private void button15_Click(object sender, EventArgs e)
|
||||
{
|
||||
PUB.AGV.LiftControl(arDev.Narumi.LiftCommand.OFF);
|
||||
}
|
||||
|
||||
private void button11_Click(object sender, EventArgs e)
|
||||
{
|
||||
PUB.AGV.LiftControl(arDev.Narumi.LiftCommand.UP);
|
||||
}
|
||||
|
||||
private void button13_Click(object sender, EventArgs e)
|
||||
{
|
||||
PUB.AGV.LiftControl(arDev.Narumi.LiftCommand.DN);
|
||||
}
|
||||
|
||||
private void button12_Click(object sender, EventArgs e)
|
||||
{
|
||||
PUB.AGV.LiftControl(arDev.Narumi.LiftCommand.STP);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user