| | |
| | | using HDL_ON.DAL.Server; |
| | | using HDL_ON.Entity; |
| | | using HDL_ON.UI.CSS; |
| | | using Security; |
| | | using Shared; |
| | | |
| | | namespace HDL_ON.UI.UI1Login |
| | |
| | | etAccount.Text = "649362315@qq.com"; |
| | | //etAccount.Text = "18402017839"; |
| | | etAccount.Text = "18620993214"; |
| | | etAccount.Text = "13414984501"; |
| | | |
| | | } |
| | | else |
| | |
| | | { |
| | | etPassword.Text = "hdl1985."; |
| | | } |
| | | else if (etAccount.Text == "13580507523") |
| | | else if (etAccount.Text == "13414984501") |
| | | { |
| | | etPassword.Text = "a123456"; |
| | | } |
| | |
| | | new FunctionAttributes(){ key = AcstSub_AttrEnum.room_humidity.ToString(),curValue = "66",state = "66"}, |
| | | } |
| | | }); |
| | | FunctionList.List.Functions.Add(new Function |
| | | { |
| | | name = "子控-5", |
| | | spk = SPK.AcstSub, |
| | | sid = "0000005", |
| | | attributes = new List<FunctionAttributes>() |
| | | { |
| | | new FunctionAttributes(){ key = FunctionAttributeKey.OnOff ,curValue = "on",state = "on" }, |
| | | new FunctionAttributes(){ key = AcstSub_AttrEnum.set_temp.ToString(),curValue = "26",state = "26"}, |
| | | new FunctionAttributes(){ key = AcstSub_AttrEnum.room_temp.ToString(),curValue = "26",state = "26"}, |
| | | new FunctionAttributes(){ key = AcstSub_AttrEnum.room_humidity.ToString(),curValue = "66",state = "66"}, |
| | | } |
| | | }); |
| | | |
| | | |
| | | FunctionList.List.Functions.Add(new Function |
| | | { |
| | | name = "子控-5", |
| | |
| | | new FunctionAttributes(){ key = WaterHeaterJinmao_AttrEnum.flow.ToString(),curValue = "2",state = "2" }, |
| | | new FunctionAttributes(){ key = WaterHeaterJinmao_AttrEnum.mode.ToString(),curValue = "economic",state = "economic" }, |
| | | new FunctionAttributes(){ key = WaterHeaterJinmao_AttrEnum.mode_free.ToString(),curValue = "true",state = "true" }, |
| | | new FunctionAttributes(){ key = WaterHeaterJinmao_AttrEnum.recycl_volume.ToString(),curValue = "5",state = "5" }, |
| | | new FunctionAttributes(){ key = WaterHeaterJinmao_AttrEnum.recycl_volume.ToString(),curValue = "10",state = "10" }, |
| | | new FunctionAttributes(){ key = WaterHeaterJinmao_AttrEnum.set_temp.ToString(),curValue = "25",state = "25" }, |
| | | new FunctionAttributes(){ key = WaterHeaterJinmao_AttrEnum.temp.ToString(),curValue = "23",state = "23" }, |
| | | new FunctionAttributes(){ key = WaterHeaterJinmao_AttrEnum.trees.ToString(),curValue = "8",state = "8" }, |
| | | new FunctionAttributes(){ key = WaterHeaterJinmao_AttrEnum.volume.ToString(),curValue = "88",state = "88" }, |
| | | new FunctionAttributes(){ key = WaterHeaterJinmao_AttrEnum.volume.ToString(),curValue = "100",state = "100" }, |
| | | |
| | | }, |
| | | }); |