using System;
using System.Collections.Generic;
using System.Text;

namespace APT.MS.Domain.ApiModel.DD
{
    public class HisPointModel
    {
        ///// <summary>
        ///// 组织Id
        ///// </summary>
        //public Guid OrgId { get; set; }

        /// <summary>
        /// 主题
        /// </summary>
        public string Topic { get; set; }

        public List<SceneHisPoint> Data { get; set; }
    }
    public class SceneHisPoint
    {
        /// <summary>
        /// 点Id
        /// </summary>
        public Guid PointId { get; set; }

        /// <summary>
        /// 值
        /// </summary>
        public string HistValue { get; set; }
        /// <summary>
        /// 时间
        /// </summary>
        public DateTime HistTime { get; set; }

        /// <summary>
        /// HistValue值decimal类型。
        /// </summary>
        public string CurrentValue { get; set; }
    }
    public class HisPoint
    {
        /// <summary>
        /// 点Id
        /// </summary>
        public Guid PointId { get; set; }

        /// <summary>
        /// 值
        /// </summary>
        public string HistValue { get; set; }

        /// <summary>
        /// 修复值
        /// </summary>
        public double FixValue { get; set; }

        /// <summary>
        /// 时间
        /// </summary>
        public DateTime HistTime { get; set; }

        /// <summary>
        /// HistValue值decimal类型。
        /// </summary>
        public double CurrentValue { get; set; }
    }

    public class AppOnlieModel
    {
        /// <summary>
        /// 器具ID
        /// </summary>
        public Guid AppId { get; set; }

        /// <summary>
        /// 时间
        /// </summary>
        public DateTime Time { get; set; }

        /// <summary>
        /// 当前值
        /// </summary>
        public int OnlineStatus { get; set; }

        /// <summary>
        /// 数据修复状态0 未修复 1/已修复
        /// </summary>
        public int FixStatus { get; set; }
    }

    public class AppAlarmModel
    {
        /// <summary>
        /// 器具ID/设备id
        /// </summary>
        public Guid AppId { get; set; }

        /// <summary>
        /// 时间
        /// </summary>
        public DateTime Time { get; set; }

        /// <summary>
        /// 当前值
        /// </summary>
        public string Desc { get; set; }

    }

    public class EquipBootModel
    {
        /// <summary>
        /// 设备ID
        /// </summary>
        public Guid EquipId { get; set; }
        /// <summary>
        /// 设备运行记录ID
        /// </summary>
        public Guid EquipBootId { get; set; }

        /// <summary>
        /// 运行状态
        /// </summary>
        public decimal Status { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public string Time { get; set; }

    }

    public class ChargeDataModel
    {
        /// <summary>
        /// 时间
        /// </summary>
        public DateTime Time { get; set; }

        /// <summary>
        /// 充电订单号
        /// </summary>
        public string Charge_No { get; set; }

        /// <summary>
        /// 电压
        /// </summary>
        public decimal Vol { get; set; }

        /// <summary>
        /// 电流
        /// </summary>
        public decimal Ele { get; set; }

        /// <summary>
        /// 功率
        /// </summary>
        public decimal Pow { get; set; }

        /// <summary>
        /// 电量
        /// </summary>
        public decimal Qoe { get; set; }

        /// <summary>
        /// 充电时长（s）
        /// </summary>
        public decimal Dur { get; set; }
    }

}
