wxr
2023-08-04 4296d04029fb5dc41f0ab781c5cf6c60b2cc9670
HDL_ON/Entity/Function/AC.cs
@@ -11,6 +11,7 @@
        /// </summary>
        public string GetTempUnitString(Function function)
        {
            //var attr = function.GetAttribute(FunctionAttributeKey.TempType)
            var tt = function.GetAttrState(FunctionAttributeKey.TempType);
            if (tt == "0")
            {
@@ -18,7 +19,18 @@
            }
            else
            {
                return tt;
                if (tt == "C")
                {
                    return "°C";
                }
                else if (tt == "F")
                {
                    return "°F";
                }
                else
                {
                    return tt;
                }
            }
        }