using System;
using System.Collections.Generic;

namespace DAL.New_Models;

public partial class TbHostAir
{
    public int HostId { get; set; }

    public int RoomTypeAirId { get; set; }

    /// <summary>
    /// 空调运行状态，0/停止，1/运行
    /// </summary>
    public bool? Running { get; set; }

    /// <summary>
    /// 当前温度
    /// </summary>
    public short? CurrentTemp { get; set; }

    /// <summary>
    /// 设定温度
    /// </summary>
    public short? SettingTemp { get; set; }

    /// <summary>
    /// 风速：0/停止, 1/低速, 2/中速, 3/高速, 4/自动
    /// </summary>
    public short? Speed { get; set; }

    /// <summary>
    /// 冷阀门：0关，1开
    /// </summary>
    public short? ColdValve { get; set; }

    /// <summary>
    /// 热阀门：0关，1开
    /// </summary>
    public short? ThermalValve { get; set; }

    /// <summary>
    /// 保温温度
    /// </summary>
    public short? KeepTemp { get; set; }

    /// <summary>
    /// 初始温度
    /// </summary>
    public short? InitTemp { get; set; }

    /// <summary>
    /// 最高温度
    /// </summary>
    public short? HightTemp { get; set; }

    /// <summary>
    /// 最低温度
    /// </summary>
    public short? LowerTemp { get; set; }

    /// <summary>
    /// 死区温度
    /// </summary>
    public short? DeadTemp { get; set; }

    /// <summary>
    /// 热
    /// </summary>
    public short? HotDevition { get; set; }

    /// <summary>
    /// 冷偏差
    /// </summary>
    public short? ColdDevition { get; set; }

    /// <summary>
    /// 欢迎模式时间（分钟）
    /// </summary>
    public short? WelcomeTime { get; set; }

    /// <summary>
    /// 是否锁定温度
    /// </summary>
    public bool? IsLockTemp { get; set; }

    /// <summary>
    /// 锁定温度
    /// </summary>
    public short? LockTemp { get; set; }

    /// <summary>
    /// 模式:  1/制冷模式，2/制热模式，4/送风模式，8/除湿模式
    /// </summary>
    public int? Mode { get; set; }

    /// <summary>
    /// 阀状态： 0/冷阀开，1/冷阀关，2/热阀开，3/热阀关
    /// </summary>
    public int? Valve { get; set; }

    /// <summary>
    /// 空调管制：0/二管制，1/四管制
    /// </summary>
    public int? ControlType { get; set; }

    /// <summary>
    /// 补偿温度
    /// </summary>
    public double? CompensatoryTemp { get; set; }

    /// <summary>
    /// 是否关联房态
    /// </summary>
    public bool? RelateRoomStatus { get; set; }

    /// <summary>
    /// 是否关联门磁
    /// </summary>
    public bool? RelateDoorContact { get; set; }

    /// <summary>
    /// 冷热模式：0/手动，1/自动
    /// </summary>
    public int? ColdHotMode { get; set; }

    /// <summary>
    /// 冷热转换延时，单位：秒
    /// </summary>
    public int? ColdHotSwitchDelayTime { get; set; }

    /// <summary>
    /// 温度到达停止风机运行
    /// </summary>
    public bool? FanStop { get; set; }

    /// <summary>
    /// 禁止风机高速运行：0/否，1/是
    /// </summary>
    public bool? DisableFanHighSpeed { get; set; }

    /// <summary>
    /// 启用睡眠标志
    /// </summary>
    public bool? SleepFlag { get; set; }

    /// <summary>
    /// 睡眠开始时间
    /// </summary>
    public string? SleepStartTime { get; set; }

    /// <summary>
    /// 睡眠结束时间
    /// </summary>
    public string? SleepEndTime { get; set; }

    /// <summary>
    /// 睡眠模式偏差
    /// </summary>
    public short? SleepDevition { get; set; }

    /// <summary>
    /// 睡眠热
    /// </summary>
    public short? SleepHotDevition { get; set; }

    /// <summary>
    /// 睡眠冷偏差
    /// </summary>
    public short? SleepColdDevition { get; set; }

    /// <summary>
    /// 启动定时
    /// </summary>
    public bool? TimeFlag { get; set; }

    /// <summary>
    /// 定时开始时间1
    /// </summary>
    public string? TimeStartTime1 { get; set; }

    /// <summary>
    /// 定时结束时间1
    /// </summary>
    public string? TimeEndTime1 { get; set; }

    /// <summary>
    /// 定时开始时间2
    /// </summary>
    public string? TimeStartTime2 { get; set; }

    /// <summary>
    /// 定时结束时间2
    /// </summary>
    public string? TimeEndTime2 { get; set; }

    /// <summary>
    /// 定时开始时间3
    /// </summary>
    public string? TimeStartTime3 { get; set; }

    /// <summary>
    /// 定时结束时间3
    /// </summary>
    public string? TimeEndTime3 { get; set; }

    public int? No { get; set; }

    public string? ModalId { get; set; }

    public int? RoomTypeModalId { get; set; }

    public virtual TbRoomTypeAir RoomTypeAir { get; set; } = null!;
}
