public override void makeClonned(int maxKnot, string cloneValue) { string[] clonnedKnots = { maxKnot.ToString(), knots[1] }; string[] cloneCnots = { knots[0], maxKnot.ToString() }; Inductance clonned = new Inductance(name + clonnedSuffix, clonnedKnots, value); Inductance clone = new Inductance(name, cloneCnots, cloneValue); cloneElement = clone; clonnedElements = new List <Element>() { clonned, clone }; }
public override void makeClonned(int maxKnot, string cloneValue) { string[] clonnedKnots = { maxKnot.ToString(), knots[1] }; string[] cloneCnots = { knots[0], maxKnot.ToString() }; Inductance clonned = new Inductance(name + clonnedSuffix, clonnedKnots, value); Inductance clone = new Inductance(name, cloneCnots, cloneValue); cloneElement = clone; clonnedElements = new List<Element>() { clonned, clone }; }
public Inductance(Inductance element) : base(element) { }