添加项目文件。
This commit is contained in:
32
OrpaonEMS.Core/EventHandMsg/BmsAlarmCellEventHandMsg.cs
Normal file
32
OrpaonEMS.Core/EventHandMsg/BmsAlarmCellEventHandMsg.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace OrpaonEMS.Core.EventHandMsg
|
||||
{
|
||||
public class BmsAlarmCellEventHandMsg : EventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// 报警状态
|
||||
/// </summary>
|
||||
public bool AlarmState { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Alarm等级
|
||||
/// </summary>
|
||||
public int AlarmLevel { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Alarm内容
|
||||
/// </summary>
|
||||
public string AlarmContent { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Alarm时间
|
||||
/// </summary>
|
||||
public DateTime AlarmTime { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
22
OrpaonEMS.Core/EventHandMsg/BmsEventHandMsg.cs
Normal file
22
OrpaonEMS.Core/EventHandMsg/BmsEventHandMsg.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace OrpaonEMS.Core.EventHandMsg
|
||||
{
|
||||
public class BmsEventHandMsg : EventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// 消息类型
|
||||
/// Alarm
|
||||
/// </summary>
|
||||
public string MsgType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Alarm状态
|
||||
/// </summary>
|
||||
public bool AlarmState { get; set; }
|
||||
}
|
||||
}
|
||||
22
OrpaonEMS.Core/EventHandMsg/CoolValue.cs
Normal file
22
OrpaonEMS.Core/EventHandMsg/CoolValue.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using OrpaonEMS.Core.Enums;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace OrpaonEMS.Core.EventHandMsg
|
||||
{
|
||||
public class CoolValue : EventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// 指令
|
||||
/// </summary>
|
||||
public CoolState CmdType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 目标温度
|
||||
/// </summary>
|
||||
public double TargetTemp { get; set; }
|
||||
}
|
||||
}
|
||||
20
OrpaonEMS.Core/EventHandMsg/HourDataEventHandMsg.cs
Normal file
20
OrpaonEMS.Core/EventHandMsg/HourDataEventHandMsg.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using OrpaonEMS.Core.DbModel;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace OrpaonEMS.Core.EventHandMsg
|
||||
{
|
||||
/// <summary>
|
||||
/// 小时数据发布
|
||||
/// </summary>
|
||||
public class HourDataEventHandMsg : EventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// 最新的12条数据
|
||||
/// </summary>
|
||||
//public List<HourData> hourData { get; set; }
|
||||
}
|
||||
}
|
||||
33
OrpaonEMS.Core/EventHandMsg/PcsAlarmCellEventHandMsg.cs
Normal file
33
OrpaonEMS.Core/EventHandMsg/PcsAlarmCellEventHandMsg.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using OrpaonEMS.Core.Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace OrpaonEMS.Core.EventHandMsg
|
||||
{
|
||||
public class PcsAlarmCellEventHandMsg : EventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// Alarm状态
|
||||
/// </summary>
|
||||
public bool State { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Alarm等级
|
||||
/// </summary>
|
||||
public int Level { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Alarm内容
|
||||
/// </summary>
|
||||
public string Content { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 报警时间信息
|
||||
/// </summary>
|
||||
public AlarmTimeInfo CurTimeInfo { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user