1
wei
2021-06-02 1396007184e3e17c2465b1fea5ba5562daf7d157
HDL_ON/Entity/Function/Scene.cs
@@ -67,7 +67,7 @@
        /// </summary>
        public string delay = "0";
        /// <summary>
        /// 场景的最好一次执行时间
        /// 场景的最后一次执行时间
        /// </summary>
        public string LastExecutionTime = "";
@@ -346,7 +346,14 @@
        /// </summary>
        public string GetDelayText()
        {
            string text = "";
            var delayInt = 0;
            int.TryParse(delay,out delayInt);
            if(delayInt == 0)
            {
                return Language.StringByID(StringId.NoDelay);
            }
            string text = (delayInt / 60)+Language.StringByID(StringId.m)+(delayInt % 60)+Language.StringByID(StringId.s);
            return text;
            switch (delay)
            {
                case "0":