TMT Executive Software Documentation Executive Software Overview Observatory Control System (OCS) ESW Phase 1 Development Sequencers and Sequence Components Sequencers in the Executive Software What is a Sequence Component, Sequencer, Script, and Sequence? Sequencer is an OMOA Component Defining Observing Modes Registering Sequencers in Location Service Sequencer Technical Design Running a Sequencer Using ocs-app Prerequisites for Running ocs-app 1. Install coursier and the TMT Apps Channel 2. Install ocs-app 3. Start Any Needed CSW Services 4. Run ocs-app Setting the Default Log Level Sequencer Scripts Sequencer Script Styles Handler-Oriented Scripts State Machine-Oriented Scripts Mixing the Two Styles Script DSL Constructs Defining A Script Script Handlers Including Looping in Scripts Finite State Machines Blocking Operations Within Script Other DSL CSW Services DSL Location Service Using the Configuration Service in Scripts Command Service for Assemblies and HCDs Sequencer Command Service Event Service Logging Service Alarm Service Time Service Access in Scripts Database Service Extension utilities on SubmitResponse Parameters User Interface Support User Interfaces in ESW and TMT ESW.UISTD and ESW.HCMS User Interface Support in ESW Phase 1 ESW Phase 1 Overview Front-end UI Applications Back-end UI Applications Creating and Using the Frontend UI Template Needs to be Written Creating and Using the UI Backend Template Installation Create Starter Project User Interface Gateway ESW Gateway with Authentication and Authorization Sample Requests Gateway Technical Design Technical Design Documents Sequence Manager Technical Documentation Introduction to Sequence Manager Modules Implementation Details Sequence Manager States Running Sequence Manager Sequencer Technical Documentation Modules Sequencer Interfaces Implementation Details Running Sequencer Sequence Component Technical Documentation Introduction Modules Implementation Details Sequence Component Lifecycle Running Sequence Component Gateway Technical Documentation Implementation API call flow Modules Running Gateway Server Service Contracts Json Contract Agent Service and Agent Technical Documentation Agent Service Introduction Agent Service Implementation Details Agent Service Module (esw-agent-service) Agent Introduction Agent Implementation Agent Module (esw-agent-akka) Agent Client Running Agent and Agent Service Applications Getting and Running ESW Applications Starting Sequence Manager Using sequence-manager Agent Service App Agent App Running the UI Gateway App Edit this page 0.2.0