package com.zksy.visualization.domain.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class AirConditionerControlRequest {

    @NotNull(message = "通道编码集合不能为空")
    @ApiModelProperty(value = "通道编码集合", required = true)
    private List<String> channelCodeList;

    @ApiModelProperty(value = "电源控制 0关闭，1开启", example = "1")
    private Integer powerControl;

    @Min(value = 16, message = "空调温度不能低于16度")
    @Max(value = 32, message = "空调温度不能高于32度")
    @ApiModelProperty(value = "空调温度调节 16~32 摄氏温度值", example = "25")
    private Integer temperatureControl;

    @ApiModelProperty(value = "空调模式调节 0自动，1制冷，2制热，3通风，4除湿", example = "1")
    private Integer modeControl;

    @ApiModelProperty(value = "空调风速调节 0自动，1低速，2中速，3高速", example = "0")
    private Integer windSpeedControl;
}