public static ScopeFrame GetScopeFrame(this ICircuitElement elem, double time) { return(new ScopeFrame { time = time, current = elem.getCurrent(), voltage = elem.getVoltageDelta(), }); }
public static string GetVoltageString(this ICircuitElement elem) { return(SIUnits.Voltage(elem.getVoltageDelta())); }