添加项目文件。

This commit is contained in:
2025-02-28 22:23:13 +08:00
parent d4ad2fe2de
commit 547a1b3bf6
416 changed files with 72830 additions and 0 deletions

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}

View 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; }
}
}