SECI  1
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Events
LVEnum.cs
Go to the documentation of this file.
1 using System;
2 using System.Collections;
3 using System.Collections.Generic;
4 using System.Text;
5 
6 namespace Seci.LabView.Controls
7 {
11  class LvEnum : LvControl
12  {
18  public LvEnum(String name, SerialisableList<int> indices)
19  {
20  _name = name;
21 
22  if (indices != null)
23  {
24  _clusterIndices = (Seci.SerialisableList<int>)indices.Clone();
25  }
26  }
27 
32  public override String GetNameAndType()
33  {
34  return _name + " (Enum)";
35  }
36 
37  public override String GetControlType()
38  {
39  return "ENUM";
40  }
41  }
42 }
override String GetControlType()
Definition: LVEnum.cs:37
override String GetNameAndType()
Overriden method which return the name and type of the control.
Definition: LVEnum.cs:32
This class inherits from LVControl class and is specialised for Enum controls.
Definition: LVEnum.cs:11
LvEnum(String name, SerialisableList< int > indices)
Constructor
Definition: LVEnum.cs:18
This class is the abstract base class of the objects used to store the VI control information...
Definition: LVControl.cs:12