Sha256: 52c59f8f8788da1fb3bd37d4762d8516b49138028628e04d873a2ed0d7bcb5cc
Contents?: true
Size: 1.28 KB
Versions: 3
Compression:
Stored size: 1.28 KB
Contents
SCREEN AUTO AUTO 0.5 VERTICAL TITLE "<%= target_name %> Commanding Examples" LABELVALUE <%= target_name %> HEALTH_STATUS COLLECTS LABELVALUE <%= target_name %> HEALTH_STATUS COLLECT_TYPE LABELVALUE <%= target_name %> HEALTH_STATUS DURATION VERTICALBOX SECTIONHEADER "Send Collect Command:" HORIZONTAL LABEL "Type: " NAMED_WIDGET COLLECT_TYPE COMBOBOX NORMAL SPECIAL END HORIZONTAL LABEL " Duration: " NAMED_WIDGET DURATION TEXTFIELD 12 "10.0" END BUTTON 'Start Collect' "api.cmd('<%= target_name %> COLLECT with TYPE '+screen.get_named_widget('COLLECT_TYPE').text()+', DURATION '+screen.get_named_widget('DURATION').text())" END SETTING BACKCOLOR 163 185 163 VERTICALBOX SECTIONHEADER "Parameter-less Commands:" NAMED_WIDGET GROUP RADIOGROUP 1 # Select 'Clear' initially, 0-based index RADIOBUTTON 'Abort' RADIOBUTTON 'Clear' END NAMED_WIDGET CHECK CHECKBUTTON 'Ignore Hazardous Checks' # No option is by default UNCHECKED BUTTON 'Send' "screen.get_named_widget('GROUP').selected() === 0 ? api.cmd('<%= target_name %> ABORT') : (screen.get_named_widget('CHECK').checked() ? api.cmd_no_hazardous_check('<%= target_name %> CLEAR') : api.cmd('<%= target_name %> CLEAR'))" END SETTING BACKCOLOR 163 185 163 END
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cosmosc2-demo-5.0.3 | targets/INST/screens/commanding.txt |
cosmosc2-demo-5.0.2 | targets/INST/screens/commanding.txt |
cosmosc2-demo-5.0.2.pre.beta2 | targets/INST/screens/commanding.txt |