Sha256: 908c2924785808f7b4405d78703966e4ec468ef30f883e12861b7ddda3f8b1a9

Contents?: true

Size: 1.23 KB

Versions: 3

Compression:

Stored size: 1.23 KB

Contents

SCREEN AUTO AUTO 0.5

VERTICAL
  TITLE "Commanding Examples"

  VERTICALBOX
    VERTICALBOX
      SECTIONHEADER "Send Collect Command:"
      HORIZONTAL
        LABEL "Type: "
        NAMED_WIDGET COLLECT_TYPE COMBOBOX NORMAL SPECIAL
        LABEL "  Duration: "
        NAMED_WIDGET DURATION TEXTFIELD 12 "10.0"
        BUTTON 'Start Collect' 'target_name = get_target_name("INST"); cmd("#{target_name} COLLECT with TYPE #{get_named_widget("COLLECT_TYPE").text}, DURATION #{get_named_widget("DURATION").text.to_f}")'
      END
    END
    LABELVALUE INST HEALTH_STATUS COLLECTS
    LABELVALUE INST HEALTH_STATUS COLLECT_TYPE
    LABELVALUE INST HEALTH_STATUS DURATION
    VERTICALBOX
      SECTIONHEADER "Parameter-less Commands:"
      NAMED_WIDGET ABORT RADIOBUTTON 'Abort' CHECKED
      NAMED_WIDGET CLEAR RADIOBUTTON 'Clear' UNCHECKED
      NAMED_WIDGET CHECK CHECKBUTTON 'Ignore Hazardous Checks' # No option is by default UNCHECKED
      BUTTON 'Send' 'target_name = get_target_name("INST"); if get_named_widget("ABORT").checked? then cmd("#{target_name} ABORT") else if get_named_widget("CHECK").checked? then cmd_no_hazardous_check("#{target_name} CLEAR") else cmd("#{target_name} CLEAR") end end'
    END

  END
  SETTING BACKCOLOR 163 185 163
END

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cosmos-3.9.2 demo/config/targets/INST/screens/commanding.txt
cosmos-3.9.1 demo/config/targets/INST/screens/commanding.txt
cosmos-3.8.3 demo/config/targets/INST/screens/commanding.txt