package com.rdiot.yx485.bean;

import com.rdiot.yx485.http.entity.BaseReplyBean;

import java.util.List;

public class DeviceRoomListBean extends BaseReplyBean {
    public List<RoomBean> data;

    public static class RoomBean {
        /**
         * record_id : 1pw4ums27dbd53ot7wsrtjp190gvaunb
         * name : 客厅
         * home_id : 1pw4ums27dbd53orkrgy3rn1409jzdla
         * home_name : 测试的家
         * devices : [{"record_id":"1pw4umsu3m1cvyfxldn3dgut503o71pc","name":"氟系统","device_code":"083A8D845000","sub_code":"","type_id":"2pw4umsiig2cts5zphbiqwv568pya11","type_code":"YXK-Z/86-FG-A","type_name":"主控制器","icon":"/s/yongxu/1pw4ums98q0d7ym7ra0y7i7kh0jeqx6m/1.png","sequence":2,"is_master":true,"room_id":"1pw4ums27dbd53ot7wsrtjp190gvaunb","is_online":false,"power":1,"temperature":24,"humidity":36}]
         * sequence : 0
         * is_master : true
         * device_type_id : 2pw4umsiig2cts5zphbiqwv568pya11
         * control_number : 083A8D845000
         * device_status : 0
         * valve_name :
         */

        public String record_id;
        public String name;
        public String home_id;
        public String home_name;
        public int sequence;
        public boolean is_master;
        public String device_type_id;
        public String control_number;
        public int device_status;
        public String valve_name;
        public boolean isselect;
        public List<DevicesBean> devices;

        public static class DevicesBean {
            /**
             * record_id : 1pw4umsu3m1cvyfxldn3dgut503o71pc
             * name : 氟系统
             * device_code : 083A8D845000
             * sub_code :
             * type_id : 2pw4umsiig2cts5zphbiqwv568pya11
             * type_code : YXK-Z/86-FG-A
             * type_name : 主控制器
             * icon : /s/yongxu/1pw4ums98q0d7ym7ra0y7i7kh0jeqx6m/1.png
             * sequence : 2
             * is_master : true
             * room_id : 1pw4ums27dbd53ot7wsrtjp190gvaunb
             * is_online : false
             * power : 1
             * temperature : 24
             * humidity : 36
             */

            public String record_id;
            public String name;
            public String device_code;
            public String sub_code;
            public String type_id;
            public String type_code;
            public String type_name;
            public String icon;
            public int sequence;
            public boolean is_master;
            public String room_id;
            public boolean is_online;
            public int power;
            public int temperature;
            public int humidity;
        }
    }
}
