using Community; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; namespace Model { /// /// 显示信息 /// public class ShowInfo : NotificationObject { /// /// ID 识别符 /// public int ID { get; set; } /// /// 状态信息临时变量(用于语言切换) /// public string StatuInfoTemp = ""; private string statuInfo; /// /// 状态信息 /// public string StatuInfo { get { return statuInfo; } set { statuInfo = value; this.RaisePropertyChanged("StatuInfo"); } } private string statuValue; /// /// 状态值 /// public string StatuValue { get { return statuValue; } set { statuValue = value; this.RaisePropertyChanged("StatuValue"); } } private double pointX; /// /// 坐标值X /// public double PointX { get { return pointX; } set { pointX = value; this.RaisePropertyChanged("PointX"); } } private double pointY; /// /// 坐标值Y /// public double PointY { get { return pointY; } set { pointY = value; this.RaisePropertyChanged("PointY"); } } private double heightValue; /// /// 高度值 /// public double HeightValue { get { return heightValue; } set { heightValue = value; this.RaisePropertyChanged("HeightValue"); } } private string statusBackground; /// /// 状态显示的背景颜色 /// public string StatusBackground { get { return statusBackground; } set { statusBackground = value; this.RaisePropertyChanged("StatusBackground"); } } private string statusForeground; /// /// 状态显示前景色 /// public string StatusForeground { get { return statusForeground; } set { statusForeground = value; this.RaisePropertyChanged("StatusForeground"); } } public ShowInfo() { //默认背景颜色 白色 StatusBackground = ColorStr.White; } } }