首次提交:添加src文件夹代码

This commit is contained in:
2026-02-27 14:02:43 +08:00
commit d330cfbca7
4184 changed files with 5546478 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Cowain.Bake.Model.Models
{
// 自定义事件(发布订阅此事件时,会传递 StoveDataModel 类型的数据)
public class StoveDataEvent : Prism.Events.PubSubEvent<Dictionary<int, StoveDataModel>> { }
public class StoveDataModel
{
public float[] Temps { get; set; } //温度
public float Vacuum { get; set; } //真空值
public UInt16 WorkTime { get; set; } //工作时长
public UInt16 TotalWorkTime { get; set; } //总工作时长
}
public class AlarmAddEvent : Prism.Events.PubSubEvent<TAlarm>
{
}
public class AlarmCancelEvent : Prism.Events.PubSubEvent<TAlarm>
{
}
public class AlarmStaionCancelEvent : Prism.Events.PubSubEvent<int>
{
}
}