Add actuator buttons
This commit is contained in:
@@ -168,6 +168,14 @@ namespace PamhagenSysCtrl.Helpers {
|
||||
//if (IsReblerActive) Actuators.StirrerA2 = true;
|
||||
}
|
||||
|
||||
public void StartTroughAuger() {
|
||||
Actuators.TroughAuger = true;
|
||||
}
|
||||
|
||||
public void StopTroughAuger() {
|
||||
Actuators.TroughAuger = false;
|
||||
}
|
||||
|
||||
public void StartRebler() {
|
||||
Actuators.Rebler = true;
|
||||
}
|
||||
@@ -175,5 +183,117 @@ namespace PamhagenSysCtrl.Helpers {
|
||||
public void StopRebler() {
|
||||
Actuators.Rebler = false;
|
||||
}
|
||||
|
||||
public void StartStirrerA1() {
|
||||
Actuators.StirrerA1 = true;
|
||||
}
|
||||
|
||||
public void StopStirrerA1() {
|
||||
Actuators.StirrerA1 = false;
|
||||
}
|
||||
|
||||
public void StartStirrerA2() {
|
||||
Actuators.StirrerA2 = true;
|
||||
}
|
||||
|
||||
public void StopStirrerA2() {
|
||||
Actuators.StirrerA2 = false;
|
||||
}
|
||||
|
||||
public void StartBelt() {
|
||||
Actuators.Belt = true;
|
||||
}
|
||||
|
||||
public void StopBelt() {
|
||||
Actuators.Belt = false;
|
||||
}
|
||||
|
||||
public void StartAuger1() {
|
||||
Actuators.Auger1 = true;
|
||||
}
|
||||
|
||||
public void StopAuger1() {
|
||||
Actuators.Auger1 = false;
|
||||
}
|
||||
|
||||
public void StartAuger2() {
|
||||
Actuators.Auger2 = true;
|
||||
}
|
||||
|
||||
public void StopAuger2() {
|
||||
Actuators.Auger2 = false;
|
||||
}
|
||||
|
||||
public void StartGradationPump() {
|
||||
Actuators.GradationPump = true;
|
||||
}
|
||||
|
||||
public void StopGradationPump() {
|
||||
Actuators.GradationPump = false;
|
||||
}
|
||||
|
||||
public void StartMP1Forward() {
|
||||
Actuators.MP1 = MotorState.Forward;
|
||||
}
|
||||
|
||||
public void StartMP1Backward() {
|
||||
Actuators.MP1 = MotorState.Backward;
|
||||
}
|
||||
|
||||
public void StopMP1() {
|
||||
Actuators.MP1 = MotorState.Halt;
|
||||
}
|
||||
|
||||
public void StartMP2Forward() {
|
||||
Actuators.MP2 = MotorState.Forward;
|
||||
}
|
||||
|
||||
public void StartMP2Backward() {
|
||||
Actuators.MP2 = MotorState.Backward;
|
||||
}
|
||||
|
||||
public void StopMP2() {
|
||||
Actuators.MP2 = MotorState.Halt;
|
||||
}
|
||||
|
||||
public void StartP12() {
|
||||
Actuators.P12 = MotorState.Forward;
|
||||
}
|
||||
|
||||
public void StopP12() {
|
||||
Actuators.P12 = MotorState.Halt;
|
||||
}
|
||||
|
||||
public void StartP3() {
|
||||
Actuators.P3 = MotorState.Forward;
|
||||
}
|
||||
|
||||
public void StopP3() {
|
||||
Actuators.P3 = MotorState.Halt;
|
||||
}
|
||||
|
||||
public void StartP4() {
|
||||
Actuators.P4 = MotorState.Forward;
|
||||
}
|
||||
|
||||
public void StopP4() {
|
||||
Actuators.P4 = MotorState.Halt;
|
||||
}
|
||||
|
||||
public void StartP5() {
|
||||
Actuators.P5 = MotorState.Forward;
|
||||
}
|
||||
|
||||
public void StopP5() {
|
||||
Actuators.P5 = MotorState.Halt;
|
||||
}
|
||||
|
||||
public void StartP6() {
|
||||
Actuators.P6 = MotorState.Forward;
|
||||
}
|
||||
|
||||
public void StopP6() {
|
||||
Actuators.P6 = MotorState.Halt;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user