Files
MoviconHub/MoviconHub.App/Models/SglModel.cs
2025-09-15 17:59:48 +08:00

39 lines
784 B
C#

using System;
namespace MoviconHub.App.Models
{
/// <summary>
/// 信号模型
/// </summary>
public class SglModel
{
public event EventHandler<string> SglModelChanged;
private string _CodeReady;
/// <summary>
/// 条码信息OK
/// </summary>
public string CodeReady
{
get
{
return _CodeReady;
}
set
{
if (value != _CodeReady)
{
if (!string.IsNullOrEmpty(value))
{
SglModelChanged(this, "CodeReady");//开始动作
}
_CodeReady = value;
}
}
}
}
}