| | |
| | | /// </summary> |
| | | public string delay = "0"; |
| | | /// <summary> |
| | | /// 场景的最好一次执行时间 |
| | | /// 场景的最后一次执行时间 |
| | | /// </summary> |
| | | public string LastExecutionTime = ""; |
| | | |
| | |
| | | { |
| | | var delayInt = 0; |
| | | int.TryParse(delay,out delayInt); |
| | | string text = (delayInt / 60)+Language.StringByID(StringId.m)+(delayInt % 60)+Language.StringByID(StringId.s); |
| | | if(delayInt == 0) |
| | | { |
| | | return Language.StringByID(StringId.NoDelay); |
| | | } |
| | | string text = ""; |
| | | if (delayInt > 60) |
| | | { |
| | | text = (delayInt / 60) + Language.StringByID(StringId.m) + (delayInt % 60) + Language.StringByID(StringId.s); |
| | | }else |
| | | { |
| | | text = delayInt + Language.StringByID(StringId.s); |
| | | } |
| | | return text; |
| | | switch (delay) |
| | | { |
| | |
| | | if (sfs.key == FunctionAttributeKey.OnOff) |
| | | { |
| | | if (sfs.value == "off") |
| | | { |
| | | return Language.StringByID(StringId.Close); |
| | | } |
| | | } |
| | | } |
| | | sceneFunctionInfo += Language.StringByID(StringId.Open) + " "; |