12345678910111213141516171819202122232425262728 |
- 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 ResetResponse
- {
- /// <summary>
- /// sample: Reset 01872\LF\CR
- /// 01872 is the device physical address value.
- /// </summary>
- public string ResultRawStr { get; private set; }
- /// <summary>
- ///
- /// </summary>
- /// <param name="raw">Each number is referred to a temperature sensor inside the probe.</param>
- public static ResetResponse Parse(byte[] raw)
- {
- var response = new ResetResponse();
- response.ResultRawStr = Encoding.ASCII.GetString(raw);
- return response;
- }
- }
- }
|