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

namespace Ropin.Inspection.Model
{
    public class TdevDevStoreViewModel : BaseViewModel
    {
        public string C_ID { get; set; }
        public string C_Name { get; set; }
        public string C_DevTempCode { get; set; }
        public string c_DevTempName { get; set; }
        public string C_StoreCode { get; set; }
        public string C_NumberCode{ get; set; }
        public string C_RunSpotConfig { get; set; }
        public string C_UserConfig { get; set; }
        public string C_Remark { get; set; }
        public Guid C_CreateBy { get; set; }
        public DateTime D_CreateOn { get; set; }
        public Guid? C_LastUpdatedBy { get; set; }
        public DateTime? D_LastUpdatedOn { get; set; }
        public string C_Status { get; set; }
        public string C_OpsTempCode { get; set; }
        public string C_OpsTempName { get; set; }
        public string C_RepairTempCode { get; set; }
        public string C_RepairTempName { get; set; }
        public string C_RunTempCode { get; set; }
        public string C_RunTempName { get; set; }
        public string C_PlanTempCode { get; set; }
        public string C_PlanTempName { get; set; }
        public string C_ContractNumber { get; set; }
        public DateTime? D_DevOpsStart { get; set; }
        public DateTime? D_DevOpsEnd { get; set; }
        public string C_DevQRUrl { get; set; }
        public string C_Url { get; set; }
        public string C_StaticUrl { get; set; }
        public string C_GPS { get; set; }
        public string LNG { get; set; }
        public string LAT { get; set; }
        public string C_RunRecord { get; set; }
        public string DevManager { get; set; }
        public int I_Sort { get; set; }
        public string packageTime { get; set; }
    }
    public class TdevDevStoreDetailViewModel
    {
        public string C_ID { get; set; }
        public string C_GPS { get; set; }
        public string C_Name { get; set; }
        public string C_MachineCode { get; set; }
        public string C_QRCode { get; set; }
        public string C_Marker { get; set; }
        public DateTime D_ProdDate { get; set; }
        public string C_ProdArea { get; set; }
        public string C_PerformanceParameter { get; set; }
        public string C_Category { get; set; }
        public string C_Manufacturer { get; set; }
        public string C_ImagePath { get; set; }
        public string C_IconPath { get; set; }
        public string C_Parameter { get; set; }
        public string C_Contacts { get; set; }
        public string C_ContactPhone { get; set; }
        public string C_OfficialWebsiteUrl { get; set; }
        public int I_ValiDays { get; set; }
        public string C_Remark { get; set; }
        public string C_RunRecord { get; set; }
        public Guid C_CreateBy { get; set; }
        public DateTime D_CreateOn { get; set; }
        public Guid? C_LastUpdatedBy { get; set; }
        public DateTime? D_LastUpdatedOn { get; set; }
        public string C_Status { get; set; }

        //业主设备信息
        public string DevStoreName { get; set; }
        public string DevStoreNumberCode { get; set; }
        public string DevStoreRemark { get; set; }
        public string DevStoreStatus { get; set; }
        public string DevStoreUrl { get; set; }
        public Guid SpotID { get; set; }
    }
    
    //业主设备运行记录
    public class DevStoreRunRecord
    {
        //累计运行时长
        public string TotalRunDuration { get; set; }
        //累计停机时长
        public string TotalSpotDuration { get; set; }
        //运行时长
        public string RunDuration { get; set; }
        //首次开机时间
        public string FiratOnDate { get; set; }
        //最后一次开机时间
        public string LastOffDate { get; set; }
        //报废时间
        public string ScrapDate { get; set; }
        //累计维修数
        public int MTNRepairOrder { get; set; }
        //累计维保数
        public int MTNDevOps { get; set; }
        //累计点检数
        public int ISPRecord { get; set; }
    }
}