52 lines
1.3 KiB
C#
52 lines
1.3 KiB
C#
|
|
using CommunityToolkit.Mvvm.Messaging;
|
|||
|
|
using CommunityToolkit.Mvvm.Messaging.Messages;
|
|||
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
|
|||
|
|
namespace Common
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 配置站启动按钮状态更新
|
|||
|
|
/// </summary>
|
|||
|
|
public class SingleBoolMessage : ValueChangedMessage<bool>
|
|||
|
|
{
|
|||
|
|
public SingleBoolMessage(bool bfinish) : base(bfinish)
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 检测站启动按钮状态更新
|
|||
|
|
/// </summary>
|
|||
|
|
public class SingleBoolMessage1 : ValueChangedMessage<bool>
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
public SingleBoolMessage1(bool bfinish) : base(bfinish)
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 配方流程导航栏选项是否可以点击
|
|||
|
|
/// </summary>
|
|||
|
|
public class SingleBoolPeifangMessage : ValueChangedMessage<bool>
|
|||
|
|
{
|
|||
|
|
public SingleBoolPeifangMessage(bool bfinish) : base(bfinish)
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// 更新拉曼参数
|
|||
|
|
/// </summary>
|
|||
|
|
public class UpdateRamanParamMessage : ValueChangedMessage<(int laservalue, int expvalue, int testCount, string fileName)>
|
|||
|
|
{
|
|||
|
|
public UpdateRamanParamMessage((int laserpowderrate, int expvalue, int testCount, string fileName) value) : base(value) { }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
}
|