internal TcAdsSymbolInfo(AdsParseSymbols symbolParser, TcAdsSymbolInfo parent, int subIndex) { if (symbolParser == null) { throw new ArgumentNullException("symbolParser"); } id_counter++; this._id = id_counter; this.symbolParser = symbolParser; this.parent = parent; this.subIndex = subIndex; this.subSymbols = null; }
internal TcAdsSymbolInfoLoader(TcAdsClient adsClient, SymbolUploadInfo symbolInfo) { if (adsClient == null) { throw new ArgumentNullException("adsClient"); } if (symbolInfo == null) { throw new ArgumentNullException("symbolInfo"); } this._adsClient = adsClient; this._symbols = null; this._symbolInfo = symbolInfo; }
private bool initializeUploadSymbols(bool forceReload) { if (forceReload || (this._symbolParser == null)) { this._symbols = null; this._dataTypes = null; this._symbolInfo = null; this.onUploadSymbols(); } if (this._symbolParser == null) { return(false); } this._symbols = new TcAdsSymbolInfoCollection(this._symbolParser); this._dataTypes = this._symbolParser.GetDataTypes(); return(true); }
public AdsSymbolEnumerator(TcAdsSymbolInfoCollection symbolCollection) { this.symbolCollection = symbolCollection; this.isValid = true; this.curIndex = 0; }