/// <summary> /// Override this to made changes before category load. /// </summary> protected override void OnDeserializing(bool designMode) { Properties = new GXPropertyCollection(); Statistics = new GXCategoryStatistics(); }
/// <summary> /// Initializes a new instance of the GXCategory class. /// </summary> public GXCategory(string name) { if (name != null) { Name = name; } Properties = new GXPropertyCollection(); Statistics = new GXCategoryStatistics(); }
/// <summary> /// Initializes a new instance of the GXTable class. /// </summary> public GXTable() { TransactionDelay = -1; AccessMode = Gurux.Device.AccessMode.Read; Columns = new GXPropertyCollection(); Statistics = new GXTableStatistics(); m_DeviceValues = new List<object[]>(); m_UIValues = new List<object[]>(); }
/// <summary> /// Override this to made changes before property load. /// </summary> protected override void OnDeserializing(bool designMode) { TransactionDelay = -1; AccessMode = Gurux.Device.AccessMode.ReadWrite; Columns = new GXPropertyCollection(); Statistics = new GXTableStatistics(); m_DeviceValues = new List<object[]>(); m_UIValues = new List<object[]>(); }
GXDLMSProperty FindByLN(GXPropertyCollection properties, Type type, string ln) { foreach (GXDLMSProperty it in properties) { if ((type == null || it.GetType() == type) && it.LogicalName == ln) { return it; } } return null; }
private void ShowAvailableProperties(GXPropertyCollection props, TreeNode root) { if (Gurux.DeviceSuite.Properties.Settings.Default.DeviceTreeShowProperties) { foreach (GXProperty prop in props) { ShowAvailableProperty(prop, root); } } }