This commit is contained in:
backuppc
2025-12-05 17:31:56 +09:00
parent 8459230053
commit 98d638cd9a
27 changed files with 819 additions and 987 deletions

View File

@@ -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);
}
}
}