54 lines
1.2 KiB
C#
54 lines
1.2 KiB
C#
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; }
|
|
}
|
|
}
|