2 using System.Collections;
3 using System.Collections.Generic;
6 namespace Sample_Environment_Control_Interface
25 get {
return _viMembers.ToArray(); }
26 set { _viMembers.Clear(); _viMembers.AddRange(value); }
30 get {
return _progMembers.ToArray(); }
31 set { _progMembers.Clear(); _progMembers.AddRange(value); }
60 _viMembers.Add(viName);
71 _viMembers.Remove(viName);
82 return _progMembers.Contains(filePath);
94 _progMembers.Add(filePath);
105 _progMembers.Remove(filePath);
115 _progMembers.Clear();
124 for (
int i = 0; i < _viMembers.Count; ++i)
128 if (Seci.SeciInterface.LV_DoesVIExist(
_viMembers[i]))
133 catch (Exception err)
136 Seci.SeciInterface.Error_LogError(
"ShowGroup", err);
141 for (
int i = 0; i < _progMembers.Count; ++i)
147 Seci.SeciInterface.OpenGenie_Show();
150 if (Seci.SeciInterface.Exe_DoesExeExist(
_progMembers[i]))
155 catch (Exception err)
158 Seci.SeciInterface.Error_LogError(
"ShowGroup", err);
169 for (
int i = 0; i < _viMembers.Count; ++i)
172 if (
_viMembers[i].ToString() == Seci.SeciInterface.BeamLogger_GetLocation())
174 Seci.SeciInterface.BeamLogger_HideVI();
179 if (Seci.SeciInterface.LV_DoesVIExist(
_viMembers[i]))
186 for (
int i = 0; i < _progMembers.Count; ++i)
190 Seci.SeciInterface.OpenGenie_Hide();
193 if (Seci.SeciInterface.Exe_DoesExeExist(
_progMembers[i]))
203 for (
int i =
_viMembers.Count - 1; i >= 0; --i)
205 if (!Seci.SeciInterface.LV_DoesVIExist(
_viMembers[i]))
214 if (!Seci.SeciInterface.Exe_DoesExeExist(
_progMembers[i]))
List< String > _progMembers
Stores the filepaths for the executables.
void AddProgMember(String filePath)
void RemoveProgMember(String filePath)
Boolean ContainsProg(String filePath)
List< String > _viMembers
Stores the filepaths for the VIs.
void RemoveVIMember(String viName)
void AddVIMember(String viName)
void RemoveInvalidMembers()
String _name
The page name - must be unique.