internal IntegratedTotals(ApplicationLayerParameters parameters, byte[] msg, int startIndex, bool isSquence) : base(parameters, msg, startIndex, isSquence) { if (!isSquence) { startIndex += parameters.SizeOfIOA; /* skip IOA */ } if ((msg.Length - startIndex) < GetEncodedSize()) { throw new ASDUParsingException("Message too small"); } bcr = new BinaryCounterReading(msg, startIndex); }
public IntegratedTotals(int ioa, BinaryCounterReading bcr) : base(ioa) { this.bcr = bcr; }
public IntegratedTotalsWithCP56Time2a(int ioa, BinaryCounterReading bcr, CP56Time2a timestamp) : base(ioa, bcr) { this.timestamp = timestamp; }