aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/TechItems/SingleGraphItem.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-02-14 11:47:21 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-02-14 11:47:21 +0200
commit7ed962c7206817556e790d048bca38e4e3caf249 (patch)
tree502518f28704c7180354d772cc148450b52d658d /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/TechItems/SingleGraphItem.cs
parent94ac70f0eaf29fcca4ae3ff5552c52cad22df492 (diff)
downloadTango-7ed962c7206817556e790d048bca38e4e3caf249.tar.gz
Tango-7ed962c7206817556e790d048bca38e4e3caf249.zip
Added code comments for technician module.
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.cs21
1 files changed, 21 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 9d44c6a33..9b19f0861 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
@@ -10,10 +10,17 @@ using Tango.SharedUI.Helpers;
namespace Tango.MachineStudio.Technician.TechItems
{
+ /// <summary>
+ /// Represents a single channel real-time graph item.
+ /// </summary>
+ /// <seealso cref="Tango.MachineStudio.Technician.TechItems.TechItem" />
[TechItem(4)]
public class SingleGraphItem : TechItem
{
private TechMonitor _techMonitor;
+ /// <summary>
+ /// Gets or sets the db tech monitor.
+ /// </summary>
[XmlIgnore]
public TechMonitor TechMonitor
{
@@ -36,9 +43,15 @@ namespace Tango.MachineStudio.Technician.TechItems
}
}
+ /// <summary>
+ /// Gets or sets the item editor.
+ /// </summary>
[XmlIgnore]
public SingleGraphElementEditor Editor { get; set; }
+ /// <summary>
+ /// Initializes a new instance of the <see cref="SingleGraphItem"/> class.
+ /// </summary>
public SingleGraphItem() : base()
{
Name = "Single Channel Graph";
@@ -46,11 +59,19 @@ namespace Tango.MachineStudio.Technician.TechItems
Image = ResourceHelper.GetImageFromResources("Images/single-graph.png");
}
+ /// <summary>
+ /// Initializes a new instance of the <see cref="SingleGraphItem"/> class.
+ /// </summary>
+ /// <param name="techMonitor">The db tech monitor.</param>
public SingleGraphItem(TechMonitor techMonitor) : this()
{
TechMonitor = techMonitor;
}
+ /// <summary>
+ /// Clones this instance.
+ /// </summary>
+ /// <returns></returns>
public override TechItem Clone()
{
SingleGraphItem cloned = base.Clone() as SingleGraphItem;