private void OnAddSet() { var set = new DeletableParameter() { TagName = "Set" }; using (SetsAndReps.AcquireLock()) { SetsAndReps.Add(set); set.PropertyChanged += SetOrRepPropertyChanged; set.AddParameter("Key", "The unique key that identifies the set. Leading zeros may be omitted.", "0"); } RaisePropertyChanged("HasItems"); RaisePropertyChanged("CommandSyntax"); }
private void OnAddReplicate() { var replicate = new DeletableParameter() { TagName = "Replicate" }; using (SetsAndReps.AcquireLock()) { SetsAndReps.Add(replicate); replicate.PropertyChanged += SetOrRepPropertyChanged; replicate.AddParameter("SetKey", "The unique key that identifies the set. Leading zeros may be omitted.", "0"); replicate.AddParameter("Tag", "The identifier of the replicate within the set.", "0"); } RaisePropertyChanged("HasItems"); RaisePropertyChanged("CommandSyntax"); }
private void OnAddReplicate() { var replicate = new DeletableParameter() { TagName = "Replicate" }; using (Replicates.AcquireLock()) { Replicates.Add(replicate); replicate.PropertyChanged += ReplicatePropertyChanged; replicate.AddParameter("Mass", "The replicate mass.", "1.0"); replicate.AddParameter("Comments", "The replicate comments.", ""); replicate.AddParameter("Location", "The replicate location when using a shuttle loader automation system. This parameter is optional.", ""); } RaisePropertyChanged("HasReplicates"); RaisePropertyChanged("CommandSyntax"); }
private void OnAddReplicate() { var replicate = new DeletableParameter() { TagName = "Replicate" }; using (Replicates.AcquireLock()) { Replicates.Add(replicate); replicate.PropertyChanged += ReplicatePropertyChanged; 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"); replicate.AddParameter("Paused", "Indicates if the replicate is to be paused or not. Valid values are \"ManuallyPaused\" and \"NotPaused\".", "ManuallyPaused"); } RaisePropertyChanged("HasReplicates"); RaisePropertyChanged("CommandSyntax"); }