blob: ded7e33e8343d3576ef41dd0abbe68a4b5bb402f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;
using Tango.Core;
namespace Tango.PPC.UI.Models
{
public class MachineOverviewItem : ExtendedObject
{
private String _displayValue;
public String DisplayValue
{
get { return _displayValue; }
set { _displayValue = value; RaisePropertyChangedAuto(); }
}
private String _status;
public String Status
{
get { return _status; }
set { _status = value; RaisePropertyChangedAuto(); }
}
private Color _color;
public Color Color
{
get { return _color; }
set { _color = value; RaisePropertyChangedAuto(); }
}
private double _maxValue;
public double MaxValue
{
get { return _maxValue; }
set { _maxValue = value; RaisePropertyChangedAuto(); }
}
private double _value;
public double Value
{
get { return _value; }
set { _value = value; RaisePropertyChangedAuto(); }
}
public MachineOverviewItem()
{
Color = Colors.Gray;
DisplayValue = "--";
Value = 0;
MaxValue = 100;
}
}
}
|