Class CockpitLamp


  • public class CockpitLamp
    extends CockpitValueControl
    Represents the Lamp control of the Cockpit.
    • Constructor Detail

      • CockpitLamp

        protected CockpitLamp​(com.uc4.util.XMLDocument doc,
                              org.w3c.dom.Element control)
    • Method Detail

      • isOnOff

        public boolean isOnOff()
        Return true if the On/Off function is used, false if the threshold values. It also returns false if the value format is set to ValueFormat.TEXT.
        Returns:
        OnOff
      • setOnOff

        public void setOnOff​(boolean onOff)
        Specify, whether the On/Off mode is used or not. If set to false the threshold values are used.
        Parameters:
        onOff - On/Off mode