StatusWord

org.eso.ias.tranfer.utlitymodule.StatusWord
See theStatusWord companion object
class StatusWord(umStatusWord: String)

StatusWord helps dealing with the status word sent by the utility module plugin.

The plung sends status worrd like AC-POWER:0,AT-ZENITH:0,HVAC:0,FIRE:0,UPS-POWER:1,STOW-PIN:0,RX-CAB-TEMP:0,DRIVE-CAB-TEMP:0,ANTENNA-POS:0,E-STOP:0

The name of the antenna is in the ID of the monitor point that is something like UMStatus-DV05

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def statusOf(bit: Int): Boolean

Get the status of the bit with the passed number

Get the status of the bit with the passed number

Value parameters

bit

the number of the bit to query the status

Attributes

Returns

the status of the bit

def statusOf(mPointName: String): Boolean

Get the status of the bit with the passed name

Get the status of the bit with the passed name

Value parameters

mPointName

the name of the bit to query the status

Attributes

Returns

the status of the bit

Concrete fields

val status: Map[String, Boolean]

The stats reported by the utility module.

The stats reported by the utility module.

The key is the name of the monitor point The value is a boolean (True means ON)

Attributes