首次提交:添加src文件夹代码
This commit is contained in:
33
Cowain.Bake.Model/Models/StoveDataModel.cs
Normal file
33
Cowain.Bake.Model/Models/StoveDataModel.cs
Normal 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>
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user