public void updateReportStd(T_Report_Product_Standard psd) { if (psd != null) { this.Std_ConductorStruct = psd.ConductorStruct; this.Std_EdgeDiaAvg = psd.EdgeDiaAvg; this.Std_EdgeDiaMin = psd.EdgeDiaMin; this.Std_Resistance = psd.Resistance; this.Std_SheathAvg = psd.SheathAvg; this.Std_SheathMin = psd.SheathMin; this.Std_VerticalDia = psd.VerticalDia; this.Std_VoltageTest = psd.VoltageTest; } }
private T_Report_Product_Standard toReportProductStd() { var rps = new T_Report_Product_Standard(); rps.ConductorStruct = this.Std_ConductorStruct; rps.EdgeDiaAvg = this.Std_EdgeDiaAvg; rps.EdgeDiaMin = this.Std_EdgeDiaMin; rps.Resistance = this.Std_Resistance; rps.SheathAvg = this.Std_SheathAvg; rps.SheathMin = this.Std_SheathMin; rps.VerticalDia = this.Std_VerticalDia; rps.VoltageTest = this.Std_VoltageTest; return(rps); }