IEC60870.IO.Control.SingleCommand (ExIEC60870 v0.1.0)

Copy Markdown View Source

Single command (C_SC_NA_1, C_SC_TA_1).

Summary

Types

t()

@type t() :: %IEC60870.IO.Control.SingleCommand{
  ioa: non_neg_integer(),
  qu: 0..31,
  select: boolean(),
  state: boolean(),
  timestamp: nil | IEC60870.Types.CPTime.CP56Time2a.t()
}

Functions

new(ioa, state, select \\ false, qu \\ 0, timestamp \\ nil)