diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-02-14 11:47:21 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-02-14 11:47:21 +0200 |
| commit | 7ed962c7206817556e790d048bca38e4e3caf249 (patch) | |
| tree | 502518f28704c7180354d772cc148450b52d658d /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/TechItems/MultiGraphItem.cs | |
| parent | 94ac70f0eaf29fcca4ae3ff5552c52cad22df492 (diff) | |
| download | Tango-7ed962c7206817556e790d048bca38e4e3caf249.tar.gz Tango-7ed962c7206817556e790d048bca38e4e3caf249.zip | |
Added code comments for technician module.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/TechItems/MultiGraphItem.cs')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/TechItems/MultiGraphItem.cs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/TechItems/MultiGraphItem.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/TechItems/MultiGraphItem.cs index 65ee521ef..f74a4b02c 100644 --- a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/TechItems/MultiGraphItem.cs +++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/TechItems/MultiGraphItem.cs @@ -10,10 +10,17 @@ using Tango.SharedUI.Helpers; namespace Tango.MachineStudio.Technician.TechItems { + /// <summary> + /// Represents a multi channel real-time graph item. + /// </summary> + /// <seealso cref="Tango.MachineStudio.Technician.TechItems.TechItem" /> [TechItem(5)] public class MultiGraphItem : TechItem { private TechMonitor _techMonitor; + /// <summary> + /// Gets or sets the db tech monitor. + /// </summary> [XmlIgnore] public TechMonitor TechMonitor { @@ -37,9 +44,15 @@ namespace Tango.MachineStudio.Technician.TechItems } } + /// <summary> + /// Gets or sets the item editor. + /// </summary> [XmlIgnore] public MultiGraphElementEditor Editor { get; set; } + /// <summary> + /// Initializes a new instance of the <see cref="MultiGraphItem"/> class. + /// </summary> public MultiGraphItem() : base() { Name = "Multi Channel Graph"; @@ -47,11 +60,19 @@ namespace Tango.MachineStudio.Technician.TechItems Image = ResourceHelper.GetImageFromResources("Images/multi-graph.png"); } + /// <summary> + /// Initializes a new instance of the <see cref="MultiGraphItem"/> class. + /// </summary> + /// <param name="techMonitor">The db tech monitor.</param> public MultiGraphItem(TechMonitor techMonitor) : this() { TechMonitor = techMonitor; } + /// <summary> + /// Clones this instance. + /// </summary> + /// <returns></returns> public override TechItem Clone() { MultiGraphItem cloned = base.Clone() as MultiGraphItem; |
