public AnalyzerObservableVariable(Analyzer analyzer, CommunicationInterfaceVariable communicationInterfaceVariable) : base(analyzer) { CommunicationInterfaceVariable = communicationInterfaceVariable; Name = communicationInterfaceVariable.Name; Type = GetType(CommunicationInterfaceVariable); Unit = "1"; MinValue = 0.0; MaxValue = 0.0; _mainViewModel = new DataMainViewModel(); Refresh(); }
protected override void AddToInterface(CommunicationInterfaceComposite interfaceComposite, CommunicationInterfaceVariable variable) { string newCompositeName; var actualComposite = CreateCompositeStructure(out newCompositeName, variable.Name, variable.Pos, interfaceComposite, '.'); actualComposite = CreateCompositeStructure(out newCompositeName, newCompositeName, variable.Pos, actualComposite, '['); actualComposite.Add(variable); }
protected override void AddToInterface(CommunicationInterfaceComposite interfaceComposite, CommunicationInterfaceVariable variable) { interfaceComposite.Add(variable); }
protected abstract void AddToInterface(CommunicationInterfaceComposite interfaceComposite, CommunicationInterfaceVariable variable);