示例#1
0
 protected override void afterIdChange()
 {
     SignalLabelChanged?.Invoke(this, SignalLabel);
     RaisePropertyChanged(nameof(ISignalSourceRegistered.SignalLabel));
     SignalUniqueIdChanged?.Invoke(this, SignalUniqueId);
     RaisePropertyChanged(nameof(ISignalSourceRegistered.SignalUniqueId));
 }
示例#2
0
        protected override void afterNameChange()
        {
            base.afterNameChange();
            SignalLabelChanged?.Invoke(this, SignalLabel);
            RaisePropertyChanged(nameof(ISignalSourceRegistered.SignalLabel));
            List <object> recursionChain = new List <object>();

            recursionChain.Add(this);
            RegisteredSourceSignalNameChanged?.Invoke(this, Name, recursionChain);
            RaisePropertyChanged(nameof(RegisteredSourceSignalName));
        }