修改温度/100

This commit is contained in:
高国正 2023-02-26 19:41:14 +08:00
parent 282e5daaeb
commit 0cab707e03
9 changed files with 9 additions and 1 deletions

Binary file not shown.

View File

@ -38,7 +38,7 @@ namespace NengLiang
/// <summary>
/// 当前请求数据类型
/// </summary>
public static ushort index_id;
public static ushort index_id = 3;
/// <summary>
/// 报文发送间隔时间
/// </summary>
@ -458,10 +458,12 @@ namespace NengLiang
if (name == "供水温度")
{
number /= 100;
Console.WriteLine(name + ":" + number + "℃");
}
else if (name == "回水温度")
{
number /= 100;
Console.WriteLine(name + ":" + number + "℃");
}
else if (name == "采样值")

View File

@ -563,3 +563,9 @@
------------------------------------------------
2023-02-26 16:32:26,562 [6] INFO loginfo - 接收到192.168.57.38:65042: 01 03 02 11 3C B4 05
2023-02-26 16:32:40,705 [6] INFO loginfo - 接收到192.168.57.38:65042: 01 03 00 03 00 01 74 0A
------------------------------------------------
2023-02-26 19:37:47,894 [6] INFO loginfo - 接收到192.168.57.38:51581: 01 03 00 03 00 01 74 0A
------------------------------------------------
2023-02-26 19:38:58,039 [4] INFO loginfo - 接收到192.168.57.38:51592: 01 03 02 11 3C B4 05
------------------------------------------------
2023-02-26 19:40:07,398 [3] INFO loginfo - 接收到192.168.57.38:51600: 01 03 02 0F B2 3D C1