| | |
| | | /// <returns></returns> |
| | | public static List<HDL_ON.Entity.Room> GetGatewayRoomList() |
| | | { |
| | | return HDL_ON.Entity.DB_ResidenceData.residenceData.Rooms; |
| | | return HDL_ON.Entity.SpatialInfo.CurrentSpatial.RoomList; |
| | | } |
| | | /// <summary> |
| | | /// 获取网关房间列表 |
| | |
| | | /// <returns></returns> |
| | | public static List<HDL_ON.Entity.Function> GetGatewayDeviceList() |
| | | { |
| | | return HDL_ON.Entity.DB_ResidenceData.functionList.GetAllFunction(); |
| | | return Entity.FunctionList.List.GetDeviceFunctionList(); |
| | | } |
| | | /// <summary> |
| | | /// 获取网关场景列表 |
| | |
| | | /// <returns></returns> |
| | | public static List<HDL_ON.Entity.Scene> GetSceneList() |
| | | { |
| | | return HDL_ON.Entity.DB_ResidenceData.functionList.scenes; |
| | | return HDL_ON.Entity.FunctionList.List.scenes; |
| | | } |
| | | /// <summary> |
| | | /// 获取房间的设备列表 |