| | |
| | | /// 公共域名就近解析 |
| | | /// |
| | | /// </summary> |
| | | public const string GlobalRequestHttpsHost = "https://nearest.hdlcontrol.com"; |
| | | //public const string GlobalRequestHttpsHost = "https://test-gz.hdlcontrol.com";//mmmm |
| | | //public const string GlobalRequestHttpsHost = "https://nearest.hdlcontrol.com"; |
| | | public const string GlobalRequestHttpsHost = "https://test-gz.hdlcontrol.com";//mmmm |
| | | /// <summary> |
| | | /// RegionMark |
| | | /// </summary> |
| | |
| | | { |
| | | var value = view.GetValue(key, text); |
| | | selectedState = device.spk + "_"+ key; |
| | | AddDictionary(key, value, "integer"); |
| | | AddDictionary(key, value, "integer","in"); |
| | | Save(device,index, edit); |
| | | }); |
| | | } |
| | |
| | | private void GetEditState(Entity.Function device, int index, Button button1, Button button2, Button button3, Button button4) |
| | | { |
| | | Input inputs = Logic.currlogic.input[index]; |
| | | var dicList = inputs.condition as List<Dictionary<string, string>>; |
| | | var dicList = inputs.condition; |
| | | //清除之前旧数据 |
| | | dicSateteList.Clear(); |
| | | if (dicList.Count != 0) |
| | |
| | | } |
| | | break; |
| | | } |
| | | |
| | | if (!MainView.IsGatewayType) |
| | | { |
| | | name +=Language.StringByID(StringId.push); |
| | | } |
| | | } |
| | | catch { } |
| | | return name; |
| | |
| | | /// <summary> |
| | | /// 判断网关类型(0:bus网关;1:A协议网关) |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | /// <returns>true=A协议网关;false=bus网关</returns> |
| | | public static bool IsGatewayType |
| | | { |
| | | get |
| | |
| | | , (text) => |
| | | { |
| | | var value= pmView.GetValue("pm25", text); |
| | | AddDic("pm2.5", "=", value); |
| | | AddDic("pm2.5", "in", value); |
| | | }); |
| | | } |
| | | /// <summary> |