From b015403721ddff6dd737e684424793342d636e6c Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 14 七月 2023 16:03:48 +0800 Subject: [PATCH] 修改udp socket 缓冲区大小, --- HDL_ON/Entity/Function/Scene.cs | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/HDL_ON/Entity/Function/Scene.cs b/HDL_ON/Entity/Function/Scene.cs index 492def1..22434b6 100644 --- a/HDL_ON/Entity/Function/Scene.cs +++ b/HDL_ON/Entity/Function/Scene.cs @@ -699,18 +699,19 @@ return text; } + public string UintString = ""; /// <summary> /// 灞炴�у�煎崟浣� /// </summary> - public string GetUintString(string inputKey = "") + public string GetUintString() { + if (!string.IsNullOrEmpty(UintString)) + { + return UintString; + } var us = ""; var swithchString = key; - if (!string.IsNullOrEmpty(inputKey)) - { - swithchString = inputKey; - } switch (swithchString) { case FunctionAttributeKey.SetTemp: @@ -750,6 +751,7 @@ text = catchString == "true" ? Language.StringByID(StringId.Defense) : Language.StringByID(StringId.Undefense); break; case FunctionAttributeKey.OnOff: + case FunctionAttributeKey.Colorful: text = catchString == "on" ? Language.StringByID(StringId.On) : Language.StringByID(StringId.OFF); break; case FunctionAttributeKey.SetTemp: -- Gitblit v1.8.0