using Community; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Model { /// /// 产品类 /// public class ProductModel : NotificationObject { private int number; /// /// 序号 /// public int Number { get { return number; } set { number = value; } } private string snCode; /// /// SN /// public string SnCode { get { return snCode; } set { snCode = value; RaisePropertyChanged("SnCode"); } } private string stateColour; /// /// 产品颜色状态 未知:Gray 待测:Blue 良品:Green 不良:red /// public string StateColour { get { return stateColour; } set { stateColour = value; RaisePropertyChanged("StateColour"); } } public ProductModel() { SnCode = ""; StateColour = ColorStr.Gray; } } }