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