123456789101112131415161718192021222324 |
- using ProGauge_StartItaliana_Probe.MessageEntity.Outgoing;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- namespace ProGauge_StartItaliana_Probe.MessageEntity.Incoming
- {
- public class VersionResponse
- {
- public string VersionRawStr { get; private set; }
- /// <summary>
- ///
- /// </summary>
- /// <param name="raw">Each number is referred to a temperature sensor inside the probe.</param>
- public static VersionResponse Parse(byte[] raw)
- {
- var response = new VersionResponse();
- response.VersionRawStr = Encoding.ASCII.GetString(raw);
- return response;
- }
- }
- }
|