25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- 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();
- }
- }
- }
|