wxr
2020-05-11 7f233a10afa6882b4d9531185af60e8843bc1af2
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%",