IEC60870.IO.Monitoring.MeasuredValueScaled (ExIEC60870 v0.1.0)

Copy Markdown View Source

16-bit scaled integer measured value (-32768..32767) (M_ME_NB_1, M_ME_TB_1, M_ME_TE_1).

Summary

Types

t()

@type t() :: %IEC60870.IO.Monitoring.MeasuredValueScaled{
  ioa: non_neg_integer(),
  quality: byte(),
  timestamp:
    nil
    | IEC60870.Types.CPTime.CP24Time2a.t()
    | IEC60870.Types.CPTime.CP56Time2a.t(),
  value: -32768..32767
}

Functions

new(ioa, value, quality \\ 0, timestamp \\ nil)