|
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace BeDesignerSCADA.ViewModel
- {
- /// <summary>
- /// 事件Model
- /// </summary>
- public class EventModel
- {
- /// <summary>
- /// 事件id
- /// </summary>
- public string EventId { get; set; }
- /// <summary>
- /// 事件名称
- /// </summary>
- public string EventName { get; set; }
- /// <summary>
- /// 事件值
- /// </summary>
- public string EventValue { get; set; }
- /// <summary>
- /// 特性:分组
- /// </summary>
- public string Category { get; set; }
- /// <summary>
- /// 特性:描述
- /// </summary>
- public string Description { get; set; }
- /// <summary>
- /// 特性:是否启用
- /// </summary>
- public bool Browsable { get; set; }
-
- public EventModel()
- {
- EventId=Guid.NewGuid().ToString();
- }
- }
-
- /// <summary>
- /// 数据Model
- /// </summary>
- public class ALLModel
- {
- /// <summary>
- /// 数据id
- /// </summary>
- public string DataId { get; set; }
- /// <summary>
- /// 数据名称
- /// </summary>
- public string DataName { get; set; }
- /// <summary>
- /// 数据值
- /// </summary>
- public string DataValue { get; set; }
- /// <summary>
- /// 特性:分组
- /// </summary>
- public string Category { get; set; }
- /// <summary>
- /// 特性:描述
- /// </summary>
- public string Description { get; set; }
- /// <summary>
- /// 特性:是否启用
- /// </summary>
- public bool Browsable { get; set; }
-
- public ALLModel()
- {
- DataId = Guid.NewGuid().ToString();
- }
- }
- }
|