Skip to content
Snippets Groups Projects
Commit d7345706 authored by Giuseppe Carboni's avatar Giuseppe Carboni
Browse files

Some minor AS GUI updates

parent 182d55f5
Branches
Tags 1.5.0
No related merge requests found
...@@ -361,6 +361,11 @@ void SRTActiveSurfaceCore::setactuator(int circle, int actuator) ...@@ -361,6 +361,11 @@ void SRTActiveSurfaceCore::setactuator(int circle, int actuator)
else { else {
active = false; active = false;
statusColor = true; statusColor = true;
ActuatorStatusRunLabelCode = -1;
ActuatorStatusEnblLabelCode = -1;
ActuatorStatusCammLabelCode = 0;
ActuatorStatusLoopLabelCode = 0;
ActuatorStatusCalLabelCode = 0;
} }
emit setGUIActuatorStatusLabels(); emit setGUIActuatorStatusLabels();
emit setGUIActuatorColor(circle, actuator, active, statusColor, false); emit setGUIActuatorColor(circle, actuator, active, statusColor, false);
......
...@@ -740,6 +740,9 @@ void SRTActiveSurfaceGUI::changeGUIActuatorStatusLabels() ...@@ -740,6 +740,9 @@ void SRTActiveSurfaceGUI::changeGUIActuatorStatusLabels()
ActuatorStatusCammLabel->clear(); ActuatorStatusCammLabel->clear();
switch (mySRTActiveSurfaceCore.ActuatorStatusCammLabelCode) { switch (mySRTActiveSurfaceCore.ActuatorStatusCammLabelCode) {
case (0):
ActuatorStatusCammLabel->setText("");
break;
case (-1): case (-1):
ActuatorStatusCammLabel->setText("NO CAMM"); ActuatorStatusCammLabel->setText("NO CAMM");
break; break;
...@@ -750,6 +753,9 @@ void SRTActiveSurfaceGUI::changeGUIActuatorStatusLabels() ...@@ -750,6 +753,9 @@ void SRTActiveSurfaceGUI::changeGUIActuatorStatusLabels()
ActuatorStatusLoopLabel->clear(); ActuatorStatusLoopLabel->clear();
switch (mySRTActiveSurfaceCore.ActuatorStatusLoopLabelCode) { switch (mySRTActiveSurfaceCore.ActuatorStatusLoopLabelCode) {
case (0):
ActuatorStatusLoopLabel->setText("");
break;
case (-1): case (-1):
ActuatorStatusLoopLabel->setText("NO LOOP"); ActuatorStatusLoopLabel->setText("NO LOOP");
break; break;
...@@ -760,6 +766,9 @@ void SRTActiveSurfaceGUI::changeGUIActuatorStatusLabels() ...@@ -760,6 +766,9 @@ void SRTActiveSurfaceGUI::changeGUIActuatorStatusLabels()
ActuatorStatusCalLabel->clear(); ActuatorStatusCalLabel->clear();
switch (mySRTActiveSurfaceCore.ActuatorStatusCalLabelCode) { switch (mySRTActiveSurfaceCore.ActuatorStatusCalLabelCode) {
case (0):
ActuatorStatusCalLabel->setText("");
break;
case (-1): case (-1):
ActuatorStatusCalLabel->setText("UNCALIBRATED"); ActuatorStatusCalLabel->setText("UNCALIBRATED");
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment