添加项目文件。
This commit is contained in:
53
OrpaonEMS.App/Models/DoughnutModel.cs
Normal file
53
OrpaonEMS.App/Models/DoughnutModel.cs
Normal file
@@ -0,0 +1,53 @@
|
||||
using Prism.Mvvm;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace OrpaonEMS.App.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// Doughnut图形的模型数据
|
||||
/// </summary>
|
||||
public class DoughnutModel : BindableBase
|
||||
{
|
||||
///// <summary>
|
||||
///// 绑定XBindingPath
|
||||
///// </summary>
|
||||
//public string Title { get; set; }
|
||||
|
||||
private string _Title;
|
||||
/// <summary>
|
||||
/// 绑定XBindingPath
|
||||
/// </summary>
|
||||
public string Title
|
||||
{
|
||||
get { return _Title; }
|
||||
set { _Title = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
|
||||
private double _Value;
|
||||
/// <summary>
|
||||
/// 绑定YBindingPath
|
||||
/// </summary>
|
||||
public double Value
|
||||
{
|
||||
get { return _Value; }
|
||||
set { _Value = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
///// <summary>
|
||||
///// 绑定YBindingPath
|
||||
///// </summary>
|
||||
//public double Value { get; set; }
|
||||
|
||||
public string States { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 图形
|
||||
/// </summary>
|
||||
public Uri Image { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user