public override void GetDataFromInterface(IParameterControl control) { base.GetDataFromInterface(control); iProdParameterControl ProdParaInterface = (iProdParameterControl)control; _ProdName = ProdParaInterface.ProductName; VacuumLoadPNP = ProdParaInterface.VacuumLoadPNP; VacuumTransPNPLoad = ProdParaInterface.VacuumTransPNPLoad; VacuumTransPNPUnload = ProdParaInterface.VacuumTransPNPUnload; VacuumUnloadPNP = ProdParaInterface.VacuumUnloadPNP; VacuumSortingPNP = ProdParaInterface.VacuumSortingPNP; BackSideUp = ProdParaInterface.BackSideUp; TopSealHeight = ProdParaInterface.TopSealHeight; TopHeight = ProdParaInterface.TopHeight; TopClampWidth = ProdParaInterface.TopClampWidth; ClampDisable = ProdParaInterface.ClampDisable; CellDataSpec = ProdParaInterface.ProdCellDataSpec; //RefThickness = ProdParaInterface.RefThickness; //ThicknessMeasRefLeft = ProdParaInterface.ThicknessMeasRefLeft; //ThicknessMeasRefMid = ProdParaInterface.ThicknessMeasRefMid; //ThicknessMeasRefRight = ProdParaInterface.ThicknessMeasRefRight; MeasAmount = ProdParaInterface.MeasAmount; UseGauge = ProdParaInterface.UseGauge; }
protected override void Clone(ClassParameter source) { ClassProdParameter ProdParaInterface = (ClassProdParameter)source; VacuumLoadPNP = ProdParaInterface.VacuumLoadPNP; VacuumTransPNPLoad = ProdParaInterface.VacuumTransPNPLoad; VacuumTransPNPUnload = ProdParaInterface.VacuumTransPNPUnload; VacuumUnloadPNP = ProdParaInterface.VacuumUnloadPNP; VacuumSortingPNP = ProdParaInterface.VacuumSortingPNP; BackSideUp = ProdParaInterface.BackSideUp; TopSealHeight = ProdParaInterface.TopSealHeight; TopHeight = ProdParaInterface.TopHeight; TopClampWidth = ProdParaInterface.TopClampWidth; ClampDisable = ProdParaInterface.ClampDisable; CellDataSpec = ProdParaInterface.CellDataSpec; CellDataSpec.MeasDataInit(); //RefThickness = ProdParaInterface.RefThickness; //ThicknessMeasRefLeft = ProdParaInterface.ThicknessMeasRefLeft; //ThicknessMeasRefMid = ProdParaInterface.ThicknessMeasRefMid; //ThicknessMeasRefRight = ProdParaInterface.ThicknessMeasRefRight; MeasAmount = ProdParaInterface.MeasAmount; UseGauge = ProdParaInterface.UseGauge; }