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