2 Star 5 Fork 3

彭添 / SerialPlot_PT

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
MainWindow.cs 921 Bytes
一键复制 编辑 原始数据 按行查看 历史
彭添 提交于 2015-08-13 01:36 . FirstSync
using OxyPlot;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace 帆板仪表盘
{
public class MainWindowModel : INotifyPropertyChanged
{
private PlotModel plotModel;
public PlotModel PlotModel
{
get { return plotModel; }
set { plotModel = value; OnPropertyChanged("PlotModel"); }
}
public MainWindowModel()
{
PlotModel = new PlotModel();
}
public event PropertyChangedEventHandler PropertyChanged;
// [NotifyPropertyChangedInvocator]
protected virtual void OnPropertyChanged(string propertyName)
{
PropertyChangedEventHandler handler = PropertyChanged;
if (handler != null) handler(this, new PropertyChangedEventArgs(propertyName));
}
}
}
1
https://gitee.com/pengtianabc/SerialPlot_PT.git
git@gitee.com:pengtianabc/SerialPlot_PT.git
pengtianabc
SerialPlot_PT
SerialPlot_PT
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891