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

Copy Markdown View Source

IEEE 754 32-bit single precision floating point measured value (M_ME_NC_1, M_ME_TC_1, M_ME_TF_1).

Summary

Types

t()

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

Functions

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