public GWPGeneric(string name, string link, double a1toa3, double a4, double a5, double b1, double c1, double c2, double c3, double c4) { _a1toa3 = new GWPValue(a1toa3); _a4 = new GWPValue(a4); _a5 = new GWPValue(a5); _b1 = new GWPValue(b1); _c1 = new GWPValue(c1); _c2 = new GWPValue(c2); _c3 = new GWPValue(c3); _c4 = new GWPValue(c4); _linkReference = link; _name = name; }
public override void copyMaterialFrom(GWPMaterial material) { var m = material as GWPGeneric; _a1toa3 = m.A1toA3; _a4 = m.A4; _a5 = m.A5; _b1 = m.B1; _b2 = m.B2; _b3 = m.B3; _b4 = m.B4; _b5 = m.B5; _b6 = m.B6; _b7 = m.B7; _c1 = m.C1; _c2 = m.C2; _c3 = m.C3; _c4 = m.C4; _name = m.Name; _linkReference = m.LinkReference; }