Esempio n. 1
0
 public float ReadEnergyValue()
 {
     SendAndReceive(FunctionCode.ReadEnergyValue);
     return(ResponseParser.ParseEnergyValue(response));
 }
Esempio n. 2
0
 public DateTime ReadDateTime()
 {
     SendAndReceive(FunctionCode.ReadDateTime);
     return(ResponseParser.ParseDateTime(response));
 }
Esempio n. 3
0
 public Tuple <ushort, ushort> ReadRegistryStatus()
 {
     SendAndReceive(FunctionCode.ReadStatus);
     return(ResponseParser.ParseRegistryStatus(response));
 }
Esempio n. 4
0
 public bool SetRegistryIndexToRead(ushort index)
 {
     SendAndReceive(FunctionCode.SetRegistry, BitConverter.GetBytes(index));
     return(ResponseParser.IsSetRegisterResponseSuccessful(response));
 }
Esempio n. 5
0
 public string ReadSerialNumber()
 {
     SendAndReceive(FunctionCode.ReadSerial);
     return(ResponseParser.ParseSerialNumber(response));
 }