public ResponseFloat(byte[] data) : base(data) { for (var offset = 0; offset < RegisterCount; offset += 4) { values.Add(Helper.ToSingle(RegisterData.ToArray(), offset)); } }
public ResponseWord(byte[] data) : base(data) { for (var offset = 0; offset < RegisterCount; offset += 4) { values.Add(Helper.ToUInt32(RegisterData.ToArray(), offset)); } }
public ResponseLongFloat(byte[] data) : base(data) { for (var offset = 0; offset < RegisterCount; offset += 8) { values.Add(Helper.ToLongAndFloat(RegisterData.ToArray(), offset)); } }
public ResponseByte(byte[] data) : base(data) { for (var offset = 0; offset < RegisterCount; offset += 2) { values.Add(Helper.ToByte(RegisterData.ToArray())); } }