Exemple #1
0
        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");
        }
Exemple #2
0
        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");
        }