123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel.DataAnnotations;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Xml.Linq;
- namespace Ropin.Inspection.Model
- {
- public class TdevWebScadaDevSpotViewModel : BaseViewModel
- {
- public string C_ID { get; set; }
- public string C_Name { get; set; }
- public string C_ControlID { get; set; }
- public string C_DevSpotCode { get; set; }
- public string C_Type { get; set; }
- public string C_GroupName { get; set; }
- public bool IsCalFormula { get; set; }
- public string C_CalFormula { get; set; }
- public string C_UnitName { get; set; }
- public string C_BoxSpot { get; set; }
- public string C_BoxID { get; set; }
- public string C_BoxNo { get; set; }
- public string C_BoxName { get; set; }
- public string C_StoreCode { get; set; }
- public int I_Sort { 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 char C_Status { get; set; }
- public bool BMinax { get; set; }
- public string MinValue { get; set; }
- public string MaxValue { get; set; }
- public bool FBMinax { get; set; }
- public string FMinValue { get; set; }
- public string FMaxValue { get; set; }
- public bool BAlarm { get; set; }
- public string AlarmValue { get; set; }
- public string C_Run { get; set; }
- public string C_Public { get; set; }
- }
- /// <summary>
- /// 运行点
- /// </summary>
- public class TDEV_DevRunSpot : BaseViewModel
- {
- public string C_ID { get; set; }
- public DateTime? D_CreateOn { get; set; }
- }
- public class TdevDevStoreRunSpotConfigViewModel
- {
- public IEnumerable<RunSpotConfig> RunSpotConfigList { get; set; }
- }
- public class RunSpotConfig
- {
- public string Label { get; set; }
- public string Name { get; set; }
- public string Value { get; set; }
- //是否读取设备点
- public bool BReadDevSpot { get; set; }
- //设备点ID
- public string DevSpotId { get; set; }
- public string DevSpotName { get; set; }
- public string DevSpotGroupName { get; set; }
- public string DevSpotUnitName { get; set; }
- public string DevSpotBoxNo { get; set; }
- }
- public class TdevDevStoreUserConfigViewModel
- {
- public IEnumerable<DevStoreUser> UserConfigList { get; set; }
- }
- public class DevStoreUser
- {
- public string UserId { get; set; }
- public string UserName { get; set; }
- public string UserRole { get; set; }
- public int? Sort { get; set; }
- }
- public class TDEV_WebScadaDevSpotEndity
- {
- public string C_ID { get; set; }
- public string C_Name { get; set; }
- public string C_DevCode { get; set; }
- public string C_ControlID { get; set; }
- public string C_DevSpotCode { get; set; }
- public string C_Type { get; set; }
- public string C_CalFormula { get; set; }
- public string C_GroupName { get; set; }
- public string C_UnitName { get; set; }
- public string C_BoxSpot { get; set; }
- public string C_BoxID { get; set; }
- public string C_BoxNo { get; set; }
- public string C_BoxName { get; set; }
- public string C_StoreCode { get; set; }
- public string C_Run { 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; } = "1";
- public string C_Public { get; set; } = "1";
- }
- }
|