using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
namespace DllEapEntity.OFILM
{
///
/// 设备异常停机接收参数
///
public class EquuipmentExceptionRequestDto
{
///
/// 设备编号
///
[Required]
public string EquipmentID { get; set; }
///
/// 设备操作类别
///
public EquipmentOperationType? Type { get; set; }
///
/// 预警信息
///
[Required]
public string Message { get; set; }
}
///
/// 设备操作类别
///
public enum EquipmentOperationType
{
///
/// 预警
///
Alarm = 0, // 预警
///
/// 停机
///
Stop = 1 // 停机
}
}