/// <summary> /// Override this to made changes before device load. /// </summary> /// <remarks> /// Remember to call base. /// </remarks> protected override void OnDeserializing(bool designMode) { Keepalive = new GXKeepalive(this); this.GXClient = new GXClient(); Categories = new GXCategoryCollection(); Tables = new GXTableCollection(); m_AllowedMediaTypes = new GXMediaTypeCollection(this); m_Statistics = new GXDeviceStatistics(); m_sync = new object(); m_transactionsync = new object(); }
private void ShowAvailableTables(GXTableCollection tables, TreeNode root) { if (Gurux.DeviceSuite.Properties.Settings.Default.DeviceTreeShowTables) { foreach (GXTable table in tables) { ShowAvailableTable(table, root); } } }
/// <summary> /// Initializes a new instance of the GXDevice class. /// </summary> public GXDevice() { Keepalive = new GXKeepalive(this); this.GXClient = new GXClient(); Categories = new GXCategoryCollection(); Tables = new GXTableCollection(); m_AllowedMediaTypes = new GXMediaTypeCollection(this); m_sync = new object(); m_transactionsync = new object(); }