using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Ropin.Inspection.Model { public class TaicTemplateModel //: BaseViewModel { public string CId { get; set; } public string CName { get; set; } public string CQrcode { get; set; } public string CMarker { get; set; } public string CProdArea { get; set; } public string CManufacturer { get; set; } public string CImagePath { get; set; } public string CIconPath { get; set; } public string CThreeDpath { get; set; } public string CParameter { get; set; } public string CContacts { get; set; } public string CContactPhone { get; set; } public string COfficialWebsiteUrl { get; set; } public int? IValiDays { get; set; } public int? I_Sort { get; set; } public string CRemark { get; set; } public string CCreateBy { get; set; } public DateTime? DCreateOn { get; set; } public string CLastUpdatedBy { get; set; } public DateTime? DLastUpdatedOn { get; set; } public int CStatus { get; set; } } public class TaicTemplateSearchModel : BaseSearchModel { public int? CStatus { get; set; } = 1; public string Name { get; set; } } public class AiBoxModel //: BaseViewModel { public string CId { get; set; } public string CName { get; set; } public string CAiboxNo { get; set; } public string CQrcode { get; set; } public string CMachineCode { get; set; } public DateTime DProdDate { get; set; } public string CAiboxTemplateCode { get; set; } public string CAIBoxTemplateName { get; set; } public string CStoreCode { get; set; } public string CStoreName { get; set; } public string CCfgUrl { get; set; } public int? I_Sort { get; set; } public string CRemark { get; set; } public string CCreateBy { get; set; } public DateTime DCreateOn { get; set; } public string CLastUpdatedBy { get; set; } public DateTime? DLastUpdatedOn { get; set; } public int CRunStatus { get; set; } public int CStatus { get; set; } } public class AiBoxSearchModel : BaseSearchModel { [Required] public string CStoreCode { get; set; } public int? CStatus { get; set; } public string Name { get; set; } } public class DevAiboxModel { public string CAiboxCode { get; set; } public List CCameraCode { get; set; } } public class AlarmDataModel { public string? deviceNo { get; set; }//摄像头编号 public string? panoramaId { get; set; }//全景图ID public string? panoramaUrl { get; set; }//全景图Url public string? alarmType { get; set; }//报警类型英文名称 public string? alarmTypeChineseName { get; set; }//报警类型中文名称 public string? captureTime { get; set; }//报警时间 public string? panoramaDataId { get; set; }//全景图图片数据(base64) public string? snapshotDataId { get; set; }//抓拍图图片数据(base64) public string? relatedSnapshotDataId { get; set; }//关联抓拍图图片数据(base64) public string? roiJson { get; set; }//ROI框:检测区域信息坐标,是基于全景图中的绝对坐标 public string? nonRoiJson { get; set; }//nonRoi框:不检测区域信息坐标,,是基于全景图中的绝对坐标 public string? detectionFrameJson { get; set; }//检测框josn信息坐标,基于全景图中的绝对坐标 } public class AddAIBoxMigrateModel { public string CId { get; set; } public string CName { get; set; } public string CAiboxCode { get; set; } public string CLastStoreCode { get; set; } public string CCurrentStoreCode { get; set; } public string CRemark { get; set; } public string CCreateBy { get; set; } public string DCreateOn { get; set; } } }