public void CopyFrom(ParameterSetElement from) { this.Name = from.Name; this.Parameter = from.Parameter; this.Variance = from.Variance; this.Vary = from.Vary; }
public virtual void Serialize(object obj, Altaxo.Serialization.Xml.IXmlSerializationInfo info) { ParameterSetElement s = (ParameterSetElement)obj; info.AddValue("Name", s.Name); info.AddValue("Value", s.Parameter); info.AddValue("Variance", s.Variance); info.AddValue("Vary", s.Vary); }
public virtual object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { ParameterSetElement s = o != null ? (ParameterSetElement)o : new ParameterSetElement(); s.Name = info.GetString("Name"); s.Parameter = info.GetDouble("Value"); s.Variance = info.GetDouble("Variance"); s.Vary = info.GetBoolean("Vary"); return(s); }
public void CopyFrom(ParameterSetElement from) { if (object.ReferenceEquals(this, from)) { return; } Name = from.Name; Parameter = from.Parameter; Variance = from.Variance; Vary = from.Vary; }
/// <summary> /// Called when the doc has changed outside the controller. All changes that have been /// made manually are discarded, and the values of the changed document are shown on the view. /// </summary> public void Refresh() { // the doc has _tempdoc = new ParameterSetElement(_doc); Initialize(); }
public ParameterSetElementController(ParameterSetElement doc) { _doc = doc; _tempdoc = new ParameterSetElement(doc); }
public void CopyFrom(ParameterSetElement from) { if (object.ReferenceEquals(this, from)) return; this.Name = from.Name; this.Parameter = from.Parameter; this.Variance = from.Variance; this.Vary = from.Vary; }
public ParameterSetElement(ParameterSetElement from) { CopyFrom(from); }
public void Add(ParameterSetElement ele) { this.InnerList.Add(ele); }