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

namespace Waste.Socket
{
    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;
    }
}
