Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Common Type aliases

ComponentType: "HCD" | "Assembly" | "Service" | "Container" | "Sequencer" | "SequenceComponent" | "Machine"

Represents a type of the Component.

ContainerLifecycleState: "Idle" | "Running"

Lifecycle state of a container actor

SupervisorLifecycleState: "Idle" | "Running" | "RunningOffline" | "Restart" | "Shutdown" | "Lock"

Lifecycle state of a Supervisor actor

Sequencer Service Type aliases

SequenceCommand: Setup | Observe | Wait

Marker type for sequence parameter sets which is applicable to Sequencer type of components

Command Service Type aliases

CommandResponse: Error | Invalid | Locked | Started | Completed | Cancelled | Accepted
ControlCommand: Setup | Observe

Marker type for control parameter sets which is applicable to Assembly and HCD type of components

OnewayResponse: Accepted | Invalid | Locked
SubmitResponse: Error | Invalid | Locked | Started | Completed | Cancelled
ValidateResponse: Accepted | Invalid | Locked

Other Type aliases

Accepted: { _type: "Accepted"; runId: string }

Type declaration

  • _type: "Accepted"
  • runId: string
AppConfig: { applicationName: string }

Type declaration

  • applicationName: string
AppConfigModule: { AppConfig: AppConfig }

Shape for Application config module

Type declaration

AuthData: { tokenFactory?: TokenFactory; username?: string }

Type declaration

  • Optional tokenFactory?: TokenFactory

    a function that returns a valid auth token which has correct access roles and permissions

  • Optional username?: string

    username of the logged in user

BaseKeyType<K>: BaseKey<K> | ChoiceKeyFactory<K, any>

Type parameters

Cancelled: { _type: "Cancelled"; runId: string }

Type declaration

  • _type: "Cancelled"
  • runId: string
CommandIssue: { _type: IssueTypes; reason: string }

Type declaration

Completed: { _type: "Completed"; result: Result; runId: string }

Type declaration

  • _type: "Completed"
  • result: Result
  • runId: string
Done: "Done"
EqFrame: "ICRS" | "FK5"
Error: { _type: "Error"; message: string; runId: string }

Type declaration

  • _type: "Error"
  • message: string
  • runId: string
Failed: { _type: "Failed"; msg: string }

Type declaration

  • _type: "Failed"
  • msg: string
Invalid: { _type: "Invalid"; issue: CommandIssue; runId: string }

Type declaration

IssueTypes: "AssemblyBusyIssue" | "HCDBusyIssue" | "IdNotAvailableIssue" | "MissingKeyIssue" | "OtherIssue" | "ParameterValueOutOfRangeIssue" | "RequiredAssemblyUnavailableIssue" | "RequiredHCDUnavailableIssue" | "RequiredSequencerUnavailableIssue" | "RequiredServiceUnavailableIssue" | "UnresolvedLocationsIssue" | "UnsupportedCommandInStateIssue" | "UnsupportedCommandIssue" | "WrongInternalStateIssue" | "WrongNumberOfParametersIssue" | "WrongParameterTypeIssue" | "WrongPrefixIssue" | "WrongUnitsIssue" | "WrongCommandTypeIssue"
LocationServiceError: { _type: "LocationServiceError"; reason: string }

Type declaration

  • _type: "LocationServiceError"
  • reason: string
Locked: { _type: "Locked"; runId: string }

Type declaration

  • _type: "Locked"
  • runId: string
Option<T>: T | undefined

Type parameters

  • T

ProperMotion: { pmx: number; pmy: number }

Type declaration

  • pmx: number
  • pmy: number
SolarSystemObject: "Mercury" | "Venus" | "Moon" | "Mars" | "Jupiter" | "Saturn" | "Neptune" | "Uranus" | "Pluto"
Started: { _type: "Started"; runId: string }

Type declaration

  • _type: "Started"
  • runId: string
TokenFactory: () => string | undefined

Type declaration

    • (): string | undefined
    • A function which returns valid auth token

      function

      Returns string | undefined

Unhandled: { _type: "Unhandled"; messageType: string; msg: string; state: string }

Type declaration

  • _type: "Unhandled"
  • messageType: string
  • msg: string
  • state: string

Params Type aliases

All coordinates are a Coord. i.e CometCoord, AltAzCoord, SolarSystemCoord, MinorPlanetCoord & EqCoord

Key: IntKey | LongKey | ShortKey | FloatKey | DoubleKey | ByteKey | StringKey | CharKey | ChoiceKey | IntMatrixKey | ByteMatrixKey | LongMatrixKey | ShortMatrixKey | FloatMatrixKey | DoubleMatrixKey | IntArrayKey | ByteArrayKey | LongArrayKey | ShortArrayKey | FloatArrayKey | DoubleArrayKey | BooleanKey | UTCTimeKey | TAITimeKey | EqCoordKey | SolarSystemCoordKey | MinorPlanetCoordKey | CometCoordKey | AltAzCoordKey | CoordKey

Keys defined for consumption in Typescript code

Subsystem: typeof subsystems[number]

A union type representing TMT Subsystems

Variables

subsystems: readonly ["AOESW", "APS", "CIS", "CLN", "CRYO", "CSW", "DMS", "DPS", "ENC", "ESEN", "ESW", "HNDL", "HQ", "IRIS", "LGSF", "M1COAT", "M1CS", "M1S", "M2COAT", "M2S", "M3S", "MODHIS", "NFIRAOS", "OSS", "REFR", "SCMS", "SER", "SOSS", "STR", "SUM", "TCS", "TINS", "WFOS", "Container"] = ...

Functions

  • altAzCoordKey(name: string, units?: Units): BaseKey<AltAzCoordKey>
  • booleanKey(name: string, units?: Units): BaseKey<BooleanKey>
  • byteArrayKey(name: string, units?: Units): BaseKey<ByteArrayKey>
  • A KeyType that has suffix *-ArrayKey holds Arrays Helper functions to create Array parameters

    Parameters

    • name: string
    • Optional units: Units

    Returns BaseKey<ByteArrayKey>

  • byteKey(name: string, units?: Units): BaseKey<ByteKey>
  • byteMatrixKey(name: string, units?: Units): BaseKey<ByteMatrixKey>
  • A KeyType that has suffix *-MatrixKey holds Matrices Helper functions to create Matrix parameters

    Parameters

    • name: string
    • Optional units: Units

    Returns BaseKey<ByteMatrixKey>

  • charKey(name: string, units?: Units): BaseKey<CharKey>
  • choiceKey<L>(name: string, choices: readonly L[], units?: Units): ChoiceKeyFactory<ChoiceKey<L>, readonly L[]>
  • A KeyType that holds Choices

    tparam

    L type for choices

    Type parameters

    • L: string

    Parameters

    • name: string

      a strig for the choice key

    • choices: readonly L[]

      list of options to be made available for the choice key

    • units: Units = Units.NoUnits

      the units for the key

    Returns ChoiceKeyFactory<ChoiceKey<L>, readonly L[]>

    an instance of ChoiceKey for the given name, choices and units

  • cometCoordKey(name: string, units?: Units): BaseKey<CometCoordKey>
  • coordKey(name: string, units?: Units): BaseKey<CoordKey>
  • doubleArrayKey(name: string, units?: Units): BaseKey<DoubleArrayKey>
  • doubleKey(name: string, units?: Units): BaseKey<DoubleKey>
  • doubleMatrixKey(name: string, units?: Units): BaseKey<DoubleMatrixKey>
  • eqCoordKey(name: string, units?: Units): BaseKey<EqCoordKey>
  • floatArrayKey(name: string, units?: Units): BaseKey<FloatArrayKey>
  • floatKey(name: string, units?: Units): BaseKey<FloatKey>
  • floatMatrixKey(name: string, units?: Units): BaseKey<FloatMatrixKey>
  • intArrayKey(name: string, units?: Units): BaseKey<IntArrayKey>
  • intKey(name: string, units?: Units): BaseKey<IntKey>
  • intMatrixKey(name: string, units?: Units): BaseKey<IntMatrixKey>
  • longArrayKey(name: string, units?: Units): BaseKey<LongArrayKey>
  • longKey(name: string, units?: Units): BaseKey<LongKey>
  • longMatrixKey(name: string, units?: Units): BaseKey<LongMatrixKey>
  • minorPlanetCoordKey(name: string, units?: Units): BaseKey<MinorPlanetCoordKey>
  • shortArrayKey(name: string, units?: Units): BaseKey<ShortArrayKey>
  • shortKey(name: string, units?: Units): BaseKey<ShortKey>
  • shortMatrixKey(name: string, units?: Units): BaseKey<ShortMatrixKey>
  • solarSystemCoordKey(name: string, units?: Units): BaseKey<SolarSystemCoordKey>
  • stringKey(name: string, units?: Units): BaseKey<StringKey>
  • taiTimeKey(name: string, units?: Units): BaseKey<TAITimeKey>
  • utcTimeKey(name: string, units?: Units): BaseKey<UTCTimeKey>

Generated using TypeDoc