添加项目文件。
This commit is contained in:
38
MoviconHub.App/Models/SglModel.cs
Normal file
38
MoviconHub.App/Models/SglModel.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user