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; }
}
///
/// 运行点
///
public class TDEV_DevRunSpot : BaseViewModel
{
public string C_ID { get; set; }
public DateTime? D_CreateOn { get; set; }
}
public class TdevDevStoreRunSpotConfigViewModel
{
public IEnumerable 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 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";
}
}