From 7f233a10afa6882b4d9531185af60e8843bc1af2 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期一, 11 五月 2020 09:21:36 +0800
Subject: [PATCH] 20200511
---
HDL_ON/DAL/Server/HttpServerRequest.cs | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/HDL_ON/DAL/Server/HttpServerRequest.cs b/HDL_ON/DAL/Server/HttpServerRequest.cs
index d7c2587..58a2c2a 100644
--- a/HDL_ON/DAL/Server/HttpServerRequest.cs
+++ b/HDL_ON/DAL/Server/HttpServerRequest.cs
@@ -745,7 +745,7 @@
{
sid = "000101" + guid + "0102010001AABB",
name = ss.GetValue("Name").ToString(),
- trait = new List<Trait>() {
+ propertList = new List<Trait>() {
new Trait { attri="on_off", max=100,min = 0, value= new List<string> { "on","off"} },
},
roomIdList = roomIds,
@@ -771,7 +771,7 @@
{
sid = "000101" + guid + "0202020001AABB",
name = ss.GetValue("Name").ToString(),
- trait = new List<Trait>() {
+ propertList = new List<Trait>() {
new Trait { attri="brightness", max=100,min = 0, value= new List<string> { "up","down"} },
},
roomIdList = roomIds,
@@ -798,7 +798,7 @@
{
sid = "000101" + guid + "0202040001AABB",
name = ss.GetValue("Name").ToString(),
- trait = new List<Trait>() {
+ propertList = new List<Trait>() {
new Trait { attri="brightness", max=100,min = 0, value= new List<string> { "on","off"} },
new Trait { attri="color", max=100,min = 0, value= new List<string> { "255", "255", "255" } },
},
@@ -827,7 +827,7 @@
{
sid = "000101" + guid + "0204010001AABB",
name = ss.GetValue("Name").ToString(),
- trait = new List<Trait>() {
+ propertList = new List<Trait>() {
new Trait { attri="on_off", max=1,min = 0, value= new List<string> { "on","off"} },
new Trait { attri="mode", max = 2,min =0,value = new List<string>{ "auto", "heat", "cool","dry" } },
new Trait { attri = "fan",max = 3,min =0,value = new List<string>{ "low", "mid", "high" ,"auto"} },
@@ -859,7 +859,7 @@
name = ss.GetValue("Name").ToString(),
roomIdList = roomIds,
//roomIdList = new List<string>() { roomSid },
- trait = new List<Trait>() {
+ propertList = new List<Trait>() {
new Trait { attri="on_off", max=2,min = 0, value= new List<string> { "on","off","stop"} },
},// "curtain",
lastState = "寮�",
@@ -885,7 +885,7 @@
name = ss.GetValue("Name").ToString(),
roomIdList = roomIds,
//roomIdList = new List<string>() { roomSid },
- trait = new List<Trait>() {
+ propertList = new List<Trait>() {
new Trait { attri="on_off", max=100,min = 0, value= new List<string> { "on","off","stop"} },
},// "rollingshutter",
lastState = "20%",
@@ -911,7 +911,7 @@
name = ss.GetValue("Name").ToString(),
roomIdList = roomIds,
//roomIdList = new List<string>() { roomSid },
- trait = new List<Trait>() {
+ propertList = new List<Trait>() {
new Trait { attri="on_off", max=100,min = 0, value= new List<string> { "on","off","stop"} },
},
lastState = "20%",
--
Gitblit v1.8.0