using Misc; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Reflection; using System.Text; namespace FLY.Thick.BlowingScan.Common { /// /// /// public class BlowingProfileParam : INotifyPropertyChanged,Misc.ICopiable,ICloneable { #region 正常运行参数 /// /// 产品名称 /// public string PName { get; set; }= "pname"; /// /// 订单号 /// public string OrderNo { get; set; } = "00000001"; /// /// 卷号 /// public string Number { get; set; } = "1"; /// /// 目标值 /// public double Target { get; set; } = 100; /// /// 公差% /// public double TolerancePercent { get; set; } = 0.03; /// /// 斜率补偿 /// public double K { get; set; } = 1; #endregion /// /// /// public event PropertyChangedEventHandler PropertyChanged; /// /// /// /// public object Clone() { BlowingProfileParam p = new BlowingProfileParam(); p.Copy(this); return p; } /// /// /// /// public void Copy(object src) { Misc.PropertiesManager.CopyTo(src, this); } } }