package com.rdiot.yx485.bean;

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

import java.util.List;

public class EditDeviceReplyBean extends BaseReplyBean {


    /**
     * data : {"list":[{"record_id":"1pw4umsu3m1cvyfxldn3dgut503o71pc","name":"氟系统","device_code":"083A8D845000","sub_code":"","type_id":"2pw4umsiig2cts5zphbiqwv568pya11","type_code":"","type_name":"","icon":"","sequence":1,"is_master":false,"home_id":"1pw4ums27dbd53orkrgy3rn1409jzdla","room_id":"1pw4ums27dbd53ot7wsrtjp190gvaunb","is_online":false,"status":null,"power":1,"set_temp":0,"air_quality":0,"co2":0,"temperature":24,"humidity":36,"mode":0,"fan_speed":0,"fan_value":0,"timer_status":false,"duration":0,"new_fan":false,"sleep_mode":false,"device_status":0,"infrared_devices":null,"valve_status":null,"valve_name":""},{"record_id":"1pw4umsu3m1cvyfxnkq0k1bt80fdzmsa","name":"分风箱","device_code":"083A8D845001","sub_code":"","type_id":"9pw4umsiig2cts62vlix9pe79go012sv","type_code":"","type_name":"","icon":"","sequence":1,"is_master":false,"home_id":"1pw4ums27dbd53orkrgy3rn1409jzdla","room_id":"1pw4ums27dbd53ot7wsrtjp190gvaun2","is_online":false,"status":null,"power":0,"set_temp":0,"air_quality":0,"co2":0,"temperature":0,"humidity":0,"mode":0,"fan_speed":0,"fan_value":0,"timer_status":false,"duration":0,"new_fan":false,"sleep_mode":false,"device_status":0,"infrared_devices":null,"valve_status":null,"valve_name":""},{"record_id":"1pw4umsu3m1cvyfxldqpzt8t60lcg2d7","name":"分控02","device_code":"083A8D84500002","sub_code":"","type_id":"3pw4umsiig2cts62vlix9pe79go05s63","type_code":"","type_name":"","icon":"","sequence":2,"is_master":false,"home_id":"1pw4ums27dbd53orkrgy3rn1409jzdla","room_id":"1pw4ums27dbd53ottlh5p0h1b0ii8g4o","is_online":false,"status":null,"power":0,"set_temp":0,"air_quality":0,"co2":0,"temperature":27,"humidity":40,"mode":0,"fan_speed":0,"fan_value":2,"timer_status":false,"duration":0,"new_fan":false,"sleep_mode":false,"device_status":0,"infrared_devices":null,"valve_status":null,"valve_name":""},{"record_id":"1pw4umsu3m1cvyfxnkm948gt704nfd2l","name":"新风净化一体机","device_code":"YHK-16777216","sub_code":"","type_id":"1pw4ums1c8yd3bwhsy82kdr2x0c3aejt","type_code":"","type_name":"","icon":"","sequence":3,"is_master":false,"home_id":"1pw4ums27dbd53orkrgy3rn1409jzdla","room_id":"1pw4ums27dbd53ot7wsrtjp190gvaun1","is_online":false,"status":null,"power":0,"set_temp":0,"air_quality":0,"co2":0,"temperature":0,"humidity":0,"mode":0,"fan_speed":0,"fan_value":0,"timer_status":false,"duration":0,"new_fan":false,"sleep_mode":false,"device_status":0,"infrared_devices":null,"valve_status":null,"valve_name":""},{"record_id":"1pw4umsu3m1cvyfxnkq0k1bt80fdzm11","name":"智能分风箱","device_code":"24DCC34CB3F8","sub_code":"","type_id":"9pw4umsiig2cts62vlix9pe79go012sv","type_code":"","type_name":"","icon":"","sequence":5,"is_master":true,"home_id":"1pw4ums27dbd53orkrgy3rn1409jzdla","room_id":null,"is_online":false,"status":null,"power":1,"set_temp":25,"air_quality":800,"co2":0,"temperature":30,"humidity":24,"mode":0,"fan_speed":3,"fan_value":0,"timer_status":false,"duration":0.5,"new_fan":false,"sleep_mode":false,"device_status":0,"infrared_devices":null,"valve_status":null,"valve_name":""}],"pagination":{"total":5,"current":1,"pageSize":10}}
     */

    public DataBean data;

    public static class DataBean {
        /**
         * list : [{"record_id":"1pw4umsu3m1cvyfxldn3dgut503o71pc","name":"氟系统","device_code":"083A8D845000","sub_code":"","type_id":"2pw4umsiig2cts5zphbiqwv568pya11","type_code":"","type_name":"","icon":"","sequence":1,"is_master":false,"home_id":"1pw4ums27dbd53orkrgy3rn1409jzdla","room_id":"1pw4ums27dbd53ot7wsrtjp190gvaunb","is_online":false,"status":null,"power":1,"set_temp":0,"air_quality":0,"co2":0,"temperature":24,"humidity":36,"mode":0,"fan_speed":0,"fan_value":0,"timer_status":false,"duration":0,"new_fan":false,"sleep_mode":false,"device_status":0,"infrared_devices":null,"valve_status":null,"valve_name":""},{"record_id":"1pw4umsu3m1cvyfxnkq0k1bt80fdzmsa","name":"分风箱","device_code":"083A8D845001","sub_code":"","type_id":"9pw4umsiig2cts62vlix9pe79go012sv","type_code":"","type_name":"","icon":"","sequence":1,"is_master":false,"home_id":"1pw4ums27dbd53orkrgy3rn1409jzdla","room_id":"1pw4ums27dbd53ot7wsrtjp190gvaun2","is_online":false,"status":null,"power":0,"set_temp":0,"air_quality":0,"co2":0,"temperature":0,"humidity":0,"mode":0,"fan_speed":0,"fan_value":0,"timer_status":false,"duration":0,"new_fan":false,"sleep_mode":false,"device_status":0,"infrared_devices":null,"valve_status":null,"valve_name":""},{"record_id":"1pw4umsu3m1cvyfxldqpzt8t60lcg2d7","name":"分控02","device_code":"083A8D84500002","sub_code":"","type_id":"3pw4umsiig2cts62vlix9pe79go05s63","type_code":"","type_name":"","icon":"","sequence":2,"is_master":false,"home_id":"1pw4ums27dbd53orkrgy3rn1409jzdla","room_id":"1pw4ums27dbd53ottlh5p0h1b0ii8g4o","is_online":false,"status":null,"power":0,"set_temp":0,"air_quality":0,"co2":0,"temperature":27,"humidity":40,"mode":0,"fan_speed":0,"fan_value":2,"timer_status":false,"duration":0,"new_fan":false,"sleep_mode":false,"device_status":0,"infrared_devices":null,"valve_status":null,"valve_name":""},{"record_id":"1pw4umsu3m1cvyfxnkm948gt704nfd2l","name":"新风净化一体机","device_code":"YHK-16777216","sub_code":"","type_id":"1pw4ums1c8yd3bwhsy82kdr2x0c3aejt","type_code":"","type_name":"","icon":"","sequence":3,"is_master":false,"home_id":"1pw4ums27dbd53orkrgy3rn1409jzdla","room_id":"1pw4ums27dbd53ot7wsrtjp190gvaun1","is_online":false,"status":null,"power":0,"set_temp":0,"air_quality":0,"co2":0,"temperature":0,"humidity":0,"mode":0,"fan_speed":0,"fan_value":0,"timer_status":false,"duration":0,"new_fan":false,"sleep_mode":false,"device_status":0,"infrared_devices":null,"valve_status":null,"valve_name":""},{"record_id":"1pw4umsu3m1cvyfxnkq0k1bt80fdzm11","name":"智能分风箱","device_code":"24DCC34CB3F8","sub_code":"","type_id":"9pw4umsiig2cts62vlix9pe79go012sv","type_code":"","type_name":"","icon":"","sequence":5,"is_master":true,"home_id":"1pw4ums27dbd53orkrgy3rn1409jzdla","room_id":null,"is_online":false,"status":null,"power":1,"set_temp":25,"air_quality":800,"co2":0,"temperature":30,"humidity":24,"mode":0,"fan_speed":3,"fan_value":0,"timer_status":false,"duration":0.5,"new_fan":false,"sleep_mode":false,"device_status":0,"infrared_devices":null,"valve_status":null,"valve_name":""}]
         * pagination : {"total":5,"current":1,"pageSize":10}
         */

        public PaginationBean pagination;
        public List<DeviceBean> list;

        public static class PaginationBean {
            /**
             * total : 5
             * current : 1
             * pageSize : 10
             */

            public int total;
            public int current;
            public int pageSize;
        }

        public static class DeviceBean {
            /**
             * record_id : 1pw4umsu3m1cvyfxldn3dgut503o71pc
             * name : 氟系统
             * device_code : 083A8D845000
             * sub_code :
             * type_id : 2pw4umsiig2cts5zphbiqwv568pya11
             * type_code :
             * type_name :
             * icon :
             * sequence : 1
             * is_master : false
             * home_id : 1pw4ums27dbd53orkrgy3rn1409jzdla
             * room_id : 1pw4ums27dbd53ot7wsrtjp190gvaunb
             * is_online : false
             * status : null
             * power : 1
             * set_temp : 0
             * air_quality : 0
             * co2 : 0
             * temperature : 24
             * humidity : 36
             * mode : 0
             * fan_speed : 0
             * fan_value : 0
             * timer_status : false
             * duration : 0
             * new_fan : false
             * sleep_mode : false
             * device_status : 0
             * infrared_devices : null
             * valve_status : null
             * valve_name :
             */

            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 boolean isselect;
            public String home_id;
            public String room_id;
            public boolean is_online;
            public Object status;
            public int power;
            public int set_temp;
            public int air_quality;
            public int co2;
            public int temperature;
            public int humidity;
            public int mode;
            public int fan_speed;
            public int fan_value;
            public boolean timer_status;
            //            public int duration;
            public boolean new_fan;
            public boolean sleep_mode;
            public int device_status;
            public Object infrared_devices;
            public Object valve_status;
            public String valve_name;
            public String detail_url;
        }
    }
}
