aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/TechItems/SingleGraphItem.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/TechItems/SingleGraphItem.cs')
-rw-r--r--Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/TechItems/SingleGraphItem.cs31
1 files changed, 31 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/TechItems/SingleGraphItem.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/TechItems/SingleGraphItem.cs
index 19cbab426..148368881 100644
--- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/TechItems/SingleGraphItem.cs
+++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/TechItems/SingleGraphItem.cs
@@ -51,11 +51,42 @@ namespace Tango.MachineStudio.Technician.TechItems
[XmlIgnore]
public SingleGraphElementEditor Editor { get; set; }
+ private double _min;
+ /// <summary>
+ /// Gets or sets the minimum graph value.
+ /// </summary>
+ public double Min
+ {
+ get { return _min; }
+ set { _min = value; RaisePropertyChangedAuto(); }
+ }
+
+ private double _max;
+ /// <summary>
+ /// Gets or sets the maximum graph value.
+ /// </summary>
+ public double Max
+ {
+ get { return _max; }
+ set { _max = value; RaisePropertyChangedAuto(); }
+ }
+
+ private bool _useMinMax;
+ /// <summary>
+ /// Gets or sets a value indicating whether [use minimum maximum].
+ /// </summary>
+ public bool UseMinMax
+ {
+ get { return _useMinMax; }
+ set { _useMinMax = value; RaisePropertyChangedAuto(); }
+ }
+
/// <summary>
/// Initializes a new instance of the <see cref="SingleGraphItem"/> class.
/// </summary>
public SingleGraphItem() : base()
{
+ Max = 100;
Name = "Single Channel Graph";
Description = "Single channel real-time graph";
Image = ResourceHelper.GetImageFromResources("Images/single-graph.png");