diff --git a/NengLiang/.vs/NengLiang/FileContentIndex/bead9c0a-4f7e-48cd-8967-1356035dab55.vsidx b/NengLiang/.vs/NengLiang/FileContentIndex/bead9c0a-4f7e-48cd-8967-1356035dab55.vsidx deleted file mode 100644 index 74aa4ec..0000000 Binary files a/NengLiang/.vs/NengLiang/FileContentIndex/bead9c0a-4f7e-48cd-8967-1356035dab55.vsidx and /dev/null differ diff --git a/NengLiang/.vs/NengLiang/FileContentIndex/d01064cf-4e6b-4ad9-9067-68ec0f013a99.vsidx b/NengLiang/.vs/NengLiang/FileContentIndex/d01064cf-4e6b-4ad9-9067-68ec0f013a99.vsidx new file mode 100644 index 0000000..9bb8f61 Binary files /dev/null and b/NengLiang/.vs/NengLiang/FileContentIndex/d01064cf-4e6b-4ad9-9067-68ec0f013a99.vsidx differ diff --git a/NengLiang/.vs/NengLiang/v17/.suo b/NengLiang/.vs/NengLiang/v17/.suo index 9d3631c..4b002d9 100644 Binary files a/NengLiang/.vs/NengLiang/v17/.suo and b/NengLiang/.vs/NengLiang/v17/.suo differ diff --git a/NengLiang/NengLiang.cs b/NengLiang/NengLiang.cs index 8931eae..c580bbc 100644 --- a/NengLiang/NengLiang.cs +++ b/NengLiang/NengLiang.cs @@ -38,7 +38,7 @@ namespace NengLiang /// /// 当前请求数据类型 /// - public static ushort index_id; + public static ushort index_id = 3; /// /// 报文发送间隔时间 /// @@ -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 == "采样值") diff --git a/NengLiang/bin/Debug/App_Data/Logs_20230226.txt b/NengLiang/bin/Debug/App_Data/Logs_20230226.txt index 92f15e0..5617f51 100644 --- a/NengLiang/bin/Debug/App_Data/Logs_20230226.txt +++ b/NengLiang/bin/Debug/App_Data/Logs_20230226.txt @@ -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 diff --git a/NengLiang/bin/Debug/NengLiangBiao.exe b/NengLiang/bin/Debug/NengLiangBiao.exe index e9c8656..aa56920 100644 Binary files a/NengLiang/bin/Debug/NengLiangBiao.exe and b/NengLiang/bin/Debug/NengLiangBiao.exe differ diff --git a/NengLiang/bin/Debug/NengLiangBiao.pdb b/NengLiang/bin/Debug/NengLiangBiao.pdb index 17e017f..245e9e1 100644 Binary files a/NengLiang/bin/Debug/NengLiangBiao.pdb and b/NengLiang/bin/Debug/NengLiangBiao.pdb differ diff --git a/NengLiang/obj/Debug/NengLiangBiao.exe b/NengLiang/obj/Debug/NengLiangBiao.exe index e9c8656..aa56920 100644 Binary files a/NengLiang/obj/Debug/NengLiangBiao.exe and b/NengLiang/obj/Debug/NengLiangBiao.exe differ diff --git a/NengLiang/obj/Debug/NengLiangBiao.pdb b/NengLiang/obj/Debug/NengLiangBiao.pdb index 17e017f..245e9e1 100644 Binary files a/NengLiang/obj/Debug/NengLiangBiao.pdb and b/NengLiang/obj/Debug/NengLiangBiao.pdb differ