using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Waste.Domain;

namespace Waste.Application
{
    public class ResultList : W_Result
    { 
        /// <summary>
        /// 商户名称
        /// </summary>
        public string BusinessName { get; set; }
        /// <summary>
        /// 设备名称
        /// </summary>
        public string DeviceName { get; set; }
        /// <summary>
        /// 设备地址
        /// </summary>
        public string DeviceAddress { get; set; }
        /// <summary>
        /// 设备出厂序列号
        /// </summary>
        public string DeviceFacEcode { get; set; }
        /// <summary>
        /// 设备编号
        /// </summary>
        public string DeviceEcode { get; set; }
        /// <summary>
        /// 上报是否成功,1-成功,0-失败
        /// </summary>
        public int PostStatus { get; set; }
    }
    /// <summary>
    /// 上传的数据包体
    /// </summary>
    public class MyPackage
    {
        /// <summary>
        /// 固定头
        /// </summary>
        public string Key { get; set; } = "";
        /// <summary>
        /// 数据体长度
        /// </summary>
        public int Len { get; set; } = 0;
        /// <summary>
        /// IMEI
        /// </summary>
        public string IMEI { get; set; } = "";
        /// <summary>
        /// ICCID
        /// </summary>
        public string ICCID { get; set; } = "";
        /// <summary>
        /// IMSI
        /// </summary>
        public string IMSI { get; set; } = "";
        /// <summary>
        /// 信号强度
        /// </summary>
        public string GSLQ { get; set; } = "";
        /// <summary>
        /// 时间
        /// </summary>
        public string Time { get; set; }
        /// <summary>
        /// 经度
        /// </summary>
        public string Longitude { get; set; } = "";
        /// <summary>
        /// 纬度
        /// </summary>
        public string Latitude { get; set; } = "";
        /// <summary>
        /// 设备地区
        /// </summary>
        public string City { get; set; } = "";
        /// <summary>
        /// 设备详细地点
        /// </summary>
        public string Area { get; set; } = "";
        /// <summary>
        /// 垃圾类别
        /// </summary>
        public string WasteType { get; set; } = "";
        /// <summary>
        /// 重量,KG
        /// </summary>
        public string Weight { get; set; } = "0";
        /// <summary>
        /// 内容
        /// </summary>
        public string Body { get; set; } = "";
        /// <summary>
        /// 字符串结果
        /// </summary>
        public string Str { get; set; } = "";
        /// <summary>
        /// 是否是否通过校检,true-是,false-否
        /// </summary>
        public bool IsChecked { get; set; } = true;
        /// <summary>
        /// 是否为心跳包数据
        /// </summary>
        public bool IsHeart { get; set; } = false;
        /// <summary>
        /// 是否为有效测量
        /// </summary>
        public bool IsWeight { get; set; } = false;
    }
}
