Beispiel #1
0
        private void OnAddReplicate()
        {
            var replicate = new DeletableParameterWithFields()
            {
                TagName = "Replicate"
            };

            using (SetsAndReps.AcquireLock())
            {
                SetsAndReps.Add(replicate);

                replicate.PropertyChanged += SetOrRepPropertyChanged;

                replicate.AddParameter("SetKey", "The unique key that identifies the set containing the replicate whose paused state is being modified. Leading zeros may be omitted.", "0");
                replicate.AddParameter("Tag", "The identifier of the replicate within the set whose paused state is being modified.", "0");
            }

            RaisePropertyChanged("HasItems");
            RaisePropertyChanged("CommandSyntax");
        }
Beispiel #2
0
        private void OnAddSet()
        {
            var set = new DeletableParameterWithFields()
            {
                TagName = "Set"
            };

            using (SetsAndReps.AcquireLock())
            {
                SetsAndReps.Add(set);

                set.PropertyChanged += SetOrRepPropertyChanged;

                set.AddParameter("Key", "The unique key that identifies the set.", "0");
            }

            RaisePropertyChanged("HasItems");
            RaisePropertyChanged("CommandSyntax");
        }