From 0e7881aa010ff350d04895a0687ffb7d5ca46168 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期三, 16 十二月 2020 13:09:16 +0800
Subject: [PATCH] Merge branch 'NewFilePath' into CJL

---
 HDL_ON/Entity/Function/FloorHeating.cs |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/Entity/Function/FloorHeating.cs b/HDL_ON/Entity/Function/FloorHeating.cs
index 6c02ad6..18161bb 100644
--- a/HDL_ON/Entity/Function/FloorHeating.cs
+++ b/HDL_ON/Entity/Function/FloorHeating.cs
@@ -186,6 +186,11 @@
                             _trait_IndoorTemp.curValue = 0;
                     }
                 }
+                if (_trait_IndoorTemp.curValue.ToString().Length > 3)
+                {
+                    var vv = Convert.ToDouble(_trait_IndoorTemp.curValue);
+                    _trait_IndoorTemp.curValue = Convert.ToInt32(vv);
+                }
                 return _trait_IndoorTemp;
             }
         }
@@ -219,6 +224,11 @@
                     if(_trait_temp.curValue.ToString() == "{}")
                         _trait_temp.curValue = 16;
                 }
+                if (_trait_temp.curValue.ToString().Length > 3)
+                {
+                    var vv = Convert.ToDouble(_trait_temp.curValue);
+                    _trait_temp.curValue = Convert.ToInt32(vv);
+                }
                 return _trait_temp;
             }
         }

--
Gitblit v1.8.0