39 lines
784 B
C#
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;
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|