diff --git a/src/dss_sharp.cs b/src/dss_sharp.cs
index 02ce093..dd22c47 100644
--- a/src/dss_sharp.cs
+++ b/src/dss_sharp.cs
@@ -11,8 +11,13 @@ namespace dss_sharp
{
public static class OpenDSS
{
+ ///
+ /// Lib exposes DSS C-API functions to C#, as well as contains
+ /// some helper functions.
+ ///
public static class Lib
- {
+ {
+ #pragma warning disable 1591
///
/// Custom marshaler to avoid the deallocation of Pascal strings
///
@@ -71,7 +76,7 @@ public static ICustomMarshaler GetInstance(string cookie)
public static extern void DSS_Dispose_PInteger(ref IntPtr p);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void DSS_Dispose_PPAnsiChar(ref IntPtr p, ref int[] cnt);
+ public static extern void DSS_Dispose_PPAnsiChar(ref IntPtr p, int cnt);
public static string[] get_string_array(ref IntPtr resultPtr, int[] resultCount)
{
@@ -81,7 +86,7 @@ public static string[] get_string_array(ref IntPtr resultPtr, int[] resultCount)
IntPtr resultPtrInternal = Marshal.ReadIntPtr(resultPtr, IntPtr.Size * i);
result[i] = Marshal.PtrToStringAnsi(resultPtrInternal);
}
- OpenDSS.Lib.DSS_Dispose_PPAnsiChar(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.DSS_Dispose_PPAnsiChar(ref resultPtr, resultCount[1]);
return result;
}
@@ -111,7 +116,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void ActiveClass_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void ActiveClass_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int ActiveClass_Get_First();
@@ -144,40 +149,40 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern int Bus_Get_NumNodes();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Bus_Get_SeqVoltages(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Bus_Get_SeqVoltages(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Bus_Get_Voltages(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Bus_Get_Voltages(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Bus_Get_Nodes(ref IntPtr /* int* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Bus_Get_Nodes(ref IntPtr /* int* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Bus_Get_Isc(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Bus_Get_Isc(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Bus_Get_Voc(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Bus_Get_Voc(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern double Bus_Get_kVBase();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Bus_Get_puVoltages(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Bus_Get_puVoltages(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Bus_Get_Zsc0(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Bus_Get_Zsc0(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Bus_Get_Zsc1(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Bus_Get_Zsc1(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Bus_Get_ZscMatrix(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Bus_Get_ZscMatrix(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern ushort Bus_ZscRefresh();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Bus_Get_YscMatrix(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Bus_Get_YscMatrix(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern ushort Bus_Get_Coorddefined();
@@ -201,7 +206,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern int Bus_GetUniqueNodeNumber(int StartNumber);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Bus_Get_CplxSeqVoltages(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Bus_Get_CplxSeqVoltages(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern double Bus_Get_Int_Duration();
@@ -222,16 +227,16 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern double Bus_Get_N_interrupts();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Bus_Get_puVLL(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Bus_Get_puVLL(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Bus_Get_VLL(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Bus_Get_VLL(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Bus_Get_puVmagAngle(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Bus_Get_puVmagAngle(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Bus_Get_VMagAngle(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Bus_Get_VMagAngle(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern double Bus_Get_TotalMiles();
@@ -240,7 +245,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern int Bus_Get_SectionID();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Capacitors_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void Capacitors_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int Capacitors_Get_First();
@@ -292,7 +297,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern int Capacitors_Get_AvailableSteps();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Capacitors_Get_States(ref IntPtr /* int* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Capacitors_Get_States(ref IntPtr /* int* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern void Capacitors_Set_States([MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 1)] int[] ValuePtr, int ValueCount);
@@ -304,7 +309,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern void Capacitors_Close();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void CapControls_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void CapControls_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(ConstCharPtrMarshaler))]
@@ -425,25 +430,25 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern int Circuit_Get_NumNodes();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Circuit_Get_LineLosses(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Circuit_Get_LineLosses(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Circuit_Get_Losses(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Circuit_Get_Losses(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Circuit_Get_AllBusVmag(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Circuit_Get_AllBusVmag(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Circuit_Get_AllBusVolts(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Circuit_Get_AllBusVolts(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Circuit_Get_AllElementNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void Circuit_Get_AllElementNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Circuit_Get_SubstationLosses(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Circuit_Get_SubstationLosses(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Circuit_Get_TotalPower(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Circuit_Get_TotalPower(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern void Circuit_Disable([param: MarshalAs(UnmanagedType.LPStr)] string Name);
@@ -464,10 +469,10 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern int Circuit_NextPDElement();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Circuit_Get_AllBusNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void Circuit_Get_AllBusNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Circuit_Get_AllElementLosses(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Circuit_Get_AllElementLosses(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern void Circuit_Sample();
@@ -488,7 +493,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern double Circuit_Capacity(double Start, double Increment);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Circuit_Get_AllBusVmagPu(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Circuit_Get_AllBusVmagPu(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int Circuit_SetActiveBus([param: MarshalAs(UnmanagedType.LPStr)] string BusName);
@@ -497,28 +502,28 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern int Circuit_SetActiveBusi(int BusIndex);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Circuit_Get_AllNodeNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void Circuit_Get_AllNodeNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Circuit_Get_SystemY(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Circuit_Get_SystemY(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Circuit_Get_AllBusDistances(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Circuit_Get_AllBusDistances(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Circuit_Get_AllNodeDistances(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Circuit_Get_AllNodeDistances(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Circuit_Get_AllNodeDistancesByPhase(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount, int Phase);
+ public static extern void Circuit_Get_AllNodeDistancesByPhase(ref IntPtr /* double* */ ResultPtr, int[] ResultCount, int Phase);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Circuit_Get_AllNodeVmagByPhase(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount, int Phase);
+ public static extern void Circuit_Get_AllNodeVmagByPhase(ref IntPtr /* double* */ ResultPtr, int[] ResultCount, int Phase);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Circuit_Get_AllNodeVmagPUByPhase(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount, int Phase);
+ public static extern void Circuit_Get_AllNodeVmagPUByPhase(ref IntPtr /* double* */ ResultPtr, int[] ResultCount, int Phase);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Circuit_Get_AllNodeNamesByPhase(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount, int Phase);
+ public static extern void Circuit_Get_AllNodeNamesByPhase(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount, int Phase);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int Circuit_SetActiveClass([param: MarshalAs(UnmanagedType.LPStr)] string ClassName);
@@ -539,16 +544,16 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern void Circuit_EndOfTimeStepUpdate();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Circuit_Get_YNodeOrder(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void Circuit_Get_YNodeOrder(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Circuit_Get_YCurrents(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Circuit_Get_YCurrents(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Circuit_Get_YNodeVarray(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Circuit_Get_YNodeVarray(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void CktElement_Get_BusNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void CktElement_Get_BusNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(ConstCharPtrMarshaler))]
@@ -567,10 +572,10 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern void CktElement_Set_BusNames([In] string[] /* sbyte** */ ValuePtr, int ValueCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void CktElement_Get_Currents(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void CktElement_Get_Currents(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void CktElement_Get_Voltages(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void CktElement_Get_Voltages(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern double CktElement_Get_EmergAmps();
@@ -579,25 +584,25 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern ushort CktElement_Get_Enabled();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void CktElement_Get_Losses(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void CktElement_Get_Losses(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern double CktElement_Get_NormalAmps();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void CktElement_Get_PhaseLosses(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void CktElement_Get_PhaseLosses(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void CktElement_Get_Powers(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void CktElement_Get_Powers(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void CktElement_Get_SeqCurrents(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void CktElement_Get_SeqCurrents(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void CktElement_Get_SeqPowers(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void CktElement_Get_SeqPowers(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void CktElement_Get_SeqVoltages(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void CktElement_Get_SeqVoltages(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern void CktElement_Close(int Term, int Phs);
@@ -618,16 +623,16 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern ushort CktElement_IsOpen(int Term, int Phs);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void CktElement_Get_AllPropertyNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void CktElement_Get_AllPropertyNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int CktElement_Get_NumProperties();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void CktElement_Get_Residuals(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void CktElement_Get_Residuals(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void CktElement_Get_Yprim(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void CktElement_Get_Yprim(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(ConstCharPtrMarshaler))]
@@ -658,16 +663,16 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern ushort CktElement_Get_HasSwitchControl();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void CktElement_Get_CplxSeqVoltages(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void CktElement_Get_CplxSeqVoltages(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void CktElement_Get_CplxSeqCurrents(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void CktElement_Get_CplxSeqCurrents(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void CktElement_Get_AllVariableNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void CktElement_Get_AllVariableNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void CktElement_Get_AllVariableValues(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void CktElement_Get_AllVariableValues(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern double CktElement_Get_Variable([param: MarshalAs(UnmanagedType.LPStr)] string MyVarName, int Code);
@@ -676,7 +681,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern double CktElement_Get_Variablei(int Idx, int Code);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void CktElement_Get_NodeOrder(ref IntPtr /* int* */ ResultPtr, ref int[] ResultCount);
+ public static extern void CktElement_Get_NodeOrder(ref IntPtr /* int* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern ushort CktElement_Get_HasOCPDevice();
@@ -691,13 +696,13 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern int CktElement_Get_OCPDevType();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void CktElement_Get_CurrentsMagAng(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void CktElement_Get_CurrentsMagAng(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void CktElement_Get_VoltagesMagAng(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void CktElement_Get_VoltagesMagAng(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void CmathLib_Get_cmplx(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount, double RealPart, double ImagPart);
+ public static extern void CmathLib_Get_cmplx(ref IntPtr /* double* */ ResultPtr, int[] ResultCount, double RealPart, double ImagPart);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern double CmathLib_Get_cabs(double realpart, double imagpart);
@@ -706,16 +711,16 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern double CmathLib_Get_cdang(double RealPart, double ImagPart);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void CmathLib_Get_ctopolardeg(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount, double RealPart, double ImagPart);
+ public static extern void CmathLib_Get_ctopolardeg(ref IntPtr /* double* */ ResultPtr, int[] ResultCount, double RealPart, double ImagPart);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void CmathLib_Get_pdegtocomplex(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount, double magnitude, double angle);
+ public static extern void CmathLib_Get_pdegtocomplex(ref IntPtr /* double* */ ResultPtr, int[] ResultCount, double magnitude, double angle);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void CmathLib_Get_cmul(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount, double a1, double b1, double a2, double b2);
+ public static extern void CmathLib_Get_cmul(ref IntPtr /* double* */ ResultPtr, int[] ResultCount, double a1, double b1, double a2, double b2);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void CmathLib_Get_cdiv(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount, double a1, double b1, double a2, double b2);
+ public static extern void CmathLib_Get_cdiv(ref IntPtr /* double* */ ResultPtr, int[] ResultCount, double a1, double b1, double a2, double b2);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern void CtrlQueue_ClearQueue();
@@ -751,7 +756,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern void CtrlQueue_DoAllQueue();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void CtrlQueue_Get_Queue(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void CtrlQueue_Get_Queue(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int DSS_Get_NumCircuits();
@@ -767,10 +772,10 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern ushort DSS_Start(int code);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void DSS_Get_Classes(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void DSS_Get_Classes(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void DSS_Get_UserClasses(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void DSS_Get_UserClasses(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int DSS_Get_NumClasses();
@@ -796,7 +801,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern int DSS_SetActiveClass([param: MarshalAs(UnmanagedType.LPStr)] string ClassName);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void DSSElement_Get_AllPropertyNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void DSSElement_Get_AllPropertyNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(ConstCharPtrMarshaler))]
@@ -806,10 +811,10 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern int DSSElement_Get_NumProperties();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void DSSimComs_BusVoltagepu(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount, ulong Index);
+ public static extern void DSSimComs_BusVoltagepu(ref IntPtr /* double* */ ResultPtr, int[] ResultCount, ulong Index);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void DSSimComs_BusVoltage(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount, ulong Index);
+ public static extern void DSSimComs_BusVoltage(ref IntPtr /* double* */ ResultPtr, int[] ResultCount, ulong Index);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern void DSSProgress_Close();
@@ -876,7 +881,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern int Error_Get_Number();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Fuses_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void Fuses_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int Fuses_Get_Count();
@@ -955,7 +960,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern int Fuses_Get_NumPhases();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Generators_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void Generators_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int Generators_Get_First();
@@ -968,10 +973,10 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern int Generators_Get_Next();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Generators_Get_RegisterNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void Generators_Get_RegisterNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Generators_Get_RegisterValues(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Generators_Get_RegisterValues(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern ushort Generators_Get_ForcedON();
@@ -1046,7 +1051,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern void Generators_Set_Vminpu(double Value);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void ISources_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void ISources_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int ISources_Get_Count();
@@ -1150,13 +1155,13 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern void LineCodes_Set_C1(double Value);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void LineCodes_Get_Cmatrix(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void LineCodes_Get_Cmatrix(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void LineCodes_Get_Rmatrix(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void LineCodes_Get_Rmatrix(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void LineCodes_Get_Xmatrix(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void LineCodes_Get_Xmatrix(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern void LineCodes_Set_Cmatrix([MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 1)] double[] ValuePtr, int ValueCount);
@@ -1180,10 +1185,10 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern void LineCodes_Set_EmergAmps(double Value);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void LineCodes_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void LineCodes_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Lines_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void Lines_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(ConstCharPtrMarshaler))]
@@ -1253,19 +1258,19 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern double Lines_Get_C1();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Lines_Get_Cmatrix(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Lines_Get_Cmatrix(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern double Lines_Get_R0();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Lines_Get_Rmatrix(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Lines_Get_Rmatrix(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern double Lines_Get_X0();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Lines_Get_Xmatrix(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Lines_Get_Xmatrix(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern void Lines_Set_C0(double Value);
@@ -1326,7 +1331,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern void Lines_Set_Xg(double Value);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Lines_Get_Yprim(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Lines_Get_Yprim(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern void Lines_Set_Yprim([MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 1)] double[] ValuePtr, int ValueCount);
@@ -1357,7 +1362,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern void Lines_Set_Units(int Value);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Loads_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void Loads_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int Loads_Get_First();
@@ -1574,7 +1579,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern void Loads_Set_Yearly([param: MarshalAs(UnmanagedType.LPStr)] string Value);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Loads_Get_ZIPV(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Loads_Get_ZIPV(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern void Loads_Set_ZIPV([MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 1)] double[] ValuePtr, int ValueCount);
@@ -1605,16 +1610,16 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern int LoadShapes_Get_Next();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void LoadShapes_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void LoadShapes_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int LoadShapes_Get_Npts();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void LoadShapes_Get_Pmult(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void LoadShapes_Get_Pmult(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void LoadShapes_Get_Qmult(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void LoadShapes_Get_Qmult(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern void LoadShapes_Set_Npts(int Value);
@@ -1629,7 +1634,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern void LoadShapes_Normalize();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void LoadShapes_Get_TimeArray(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void LoadShapes_Get_TimeArray(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern void LoadShapes_Set_TimeArray([MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 1)] double[] ValuePtr, int ValueCount);
@@ -1671,7 +1676,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern void LoadShapes_Set_UseActual([MarshalAs(UnmanagedType.U2)] bool Value);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Meters_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void Meters_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int Meters_Get_First();
@@ -1684,10 +1689,10 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern int Meters_Get_Next();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Meters_Get_RegisterNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void Meters_Get_RegisterNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Meters_Get_RegisterValues(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Meters_Get_RegisterValues(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern void Meters_Reset();
@@ -1705,22 +1710,22 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern void Meters_Set_Name([param: MarshalAs(UnmanagedType.LPStr)] string Value);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Meters_Get_Totals(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Meters_Get_Totals(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Meters_Get_Peakcurrent(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Meters_Get_Peakcurrent(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern void Meters_Set_Peakcurrent([MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 1)] double[] ValuePtr, int ValueCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Meters_Get_CalcCurrent(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Meters_Get_CalcCurrent(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern void Meters_Set_CalcCurrent([MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 1)] double[] ValuePtr, int ValueCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Meters_Get_AllocFactors(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Meters_Get_AllocFactors(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern void Meters_Set_AllocFactors([MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 1)] double[] ValuePtr, int ValueCount);
@@ -1754,7 +1759,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern void Meters_SaveAll();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Meters_Get_AllEndElements(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void Meters_Get_AllEndElements(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int Meters_Get_CountEndElements();
@@ -1763,7 +1768,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern int Meters_Get_Count();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Meters_Get_AllBranchesInZone(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void Meters_Get_AllBranchesInZone(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int Meters_Get_CountBranches();
@@ -1826,7 +1831,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern int Meters_Get_SectTotalCust();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Monitors_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void Monitors_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(ConstCharPtrMarshaler))]
@@ -1867,7 +1872,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern void Monitors_Set_Name([param: MarshalAs(UnmanagedType.LPStr)] string Value);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Monitors_Get_ByteStream(ref IntPtr /* byte* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Monitors_Get_ByteStream(ref IntPtr /* byte* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int Monitors_Get_SampleCount();
@@ -1888,19 +1893,19 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern void Monitors_ProcessAll();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Monitors_Get_Channel(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount, int Index);
+ public static extern void Monitors_Get_Channel(ref IntPtr /* double* */ ResultPtr, int[] ResultCount, int Index);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Monitors_Get_dblFreq(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Monitors_Get_dblFreq(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Monitors_Get_dblHour(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Monitors_Get_dblHour(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int Monitors_Get_FileVersion();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Monitors_Get_Header(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void Monitors_Get_Header(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int Monitors_Get_NumChannels();
@@ -1980,13 +1985,13 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern void Parser_ResetDelimiters();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Parser_Get_Vector(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount, int ExpectedSize);
+ public static extern void Parser_Get_Vector(ref IntPtr /* double* */ ResultPtr, int[] ResultCount, int ExpectedSize);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Parser_Get_Matrix(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount, int ExpectedOrder);
+ public static extern void Parser_Get_Matrix(ref IntPtr /* double* */ ResultPtr, int[] ResultCount, int ExpectedOrder);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Parser_Get_SymMatrix(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount, int ExpectedOrder);
+ public static extern void Parser_Get_SymMatrix(ref IntPtr /* double* */ ResultPtr, int[] ResultCount, int ExpectedOrder);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int PDElements_Get_Count();
@@ -2050,13 +2055,13 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern void PDElements_Set_RepairTime(double Value);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void PVSystems_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void PVSystems_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void PVSystems_Get_RegisterNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void PVSystems_Get_RegisterNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void PVSystems_Get_RegisterValues(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void PVSystems_Get_RegisterValues(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int PVSystems_Get_First();
@@ -2099,7 +2104,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern double PVSystems_Get_PF();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Reclosers_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void Reclosers_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int Reclosers_Get_Count();
@@ -2147,7 +2152,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern int Reclosers_Get_NumFast();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Reclosers_Get_RecloseIntervals(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Reclosers_Get_RecloseIntervals(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int Reclosers_Get_Shots();
@@ -2195,7 +2200,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern void Reclosers_Set_idx(int Value);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void RegControls_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void RegControls_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern double RegControls_Get_CTPrimary();
@@ -2345,7 +2350,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern void RegControls_Reset();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Relays_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void Relays_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int Relays_Get_Count();
@@ -2396,13 +2401,13 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern void Relays_Set_idx(int Value);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Sensors_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void Sensors_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int Sensors_Get_Count();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Sensors_Get_Currents(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Sensors_Get_Currents(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int Sensors_Get_First();
@@ -2411,13 +2416,13 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern ushort Sensors_Get_IsDelta();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Sensors_Get_kVARS(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Sensors_Get_kVARS(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Sensors_Get_kVS(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Sensors_Get_kVS(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Sensors_Get_kWS(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Sensors_Get_kWS(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(ConstCharPtrMarshaler))]
@@ -2540,7 +2545,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern void Settings_Set_ZoneLock([MarshalAs(UnmanagedType.U2)] bool Value);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Settings_Get_LossRegs(ref IntPtr /* int* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Settings_Get_LossRegs(ref IntPtr /* int* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern double Settings_Get_LossWeight();
@@ -2549,7 +2554,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern ushort Settings_Get_Trapezoidal();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Settings_Get_UEregs(ref IntPtr /* int* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Settings_Get_UEregs(ref IntPtr /* int* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern double Settings_Get_UEweight();
@@ -2573,7 +2578,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern ushort Settings_Get_ControlTrace();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Settings_Get_VoltageBases(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void Settings_Get_VoltageBases(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern void Settings_Set_ControlTrace([MarshalAs(UnmanagedType.U2)] bool Value);
@@ -2746,7 +2751,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern void Solution_Set_DefaultYearly([param: MarshalAs(UnmanagedType.LPStr)] string Value);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Solution_Get_EventLog(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void Solution_Get_EventLog(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern double Solution_Get_dblHour();
@@ -2863,7 +2868,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern int SwtControls_Get_Action();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void SwtControls_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void SwtControls_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern double SwtControls_Get_Delay();
@@ -2942,10 +2947,10 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern int Topology_Get_ActiveBranch();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Topology_Get_AllIsolatedBranches(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void Topology_Get_AllIsolatedBranches(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Topology_Get_AllLoopedPairs(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void Topology_Get_AllLoopedPairs(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int Topology_Get_BackwardBranch();
@@ -2976,7 +2981,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern void Topology_Set_BranchName([param: MarshalAs(UnmanagedType.LPStr)] string Value);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Topology_Get_AllIsolatedLoads(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void Topology_Get_AllIsolatedLoads(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int Topology_Get_FirstLoad();
@@ -2998,7 +3003,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern void Topology_Set_BusName([param: MarshalAs(UnmanagedType.LPStr)] string Value);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Transformers_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void Transformers_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int Transformers_Get_First();
@@ -3114,7 +3119,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern int Transformers_Get_Count();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void Vsources_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, ref int[] ResultCount);
+ public static extern void Vsources_Get_AllNames(ref IntPtr /* sbyte** */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern int Vsources_Get_Count();
@@ -3182,7 +3187,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern int XYCurves_Get_Npts();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void XYCurves_Get_Xarray(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void XYCurves_Get_Xarray(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern void XYCurves_Set_Npts(int Value);
@@ -3197,7 +3202,7 @@ public static byte[] get_int8_array(ref IntPtr resultPtr, int resultCount)
public static extern double XYCurves_Get_y();
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
- public static extern void XYCurves_Get_Yarray(ref IntPtr /* double* */ ResultPtr, ref int[] ResultCount);
+ public static extern void XYCurves_Get_Yarray(ref IntPtr /* double* */ ResultPtr, int[] ResultCount);
[DllImport("dss_capi", CallingConvention=CallingConvention.Cdecl, CharSet=CharSet.Ansi)]
public static extern void XYCurves_Set_x(double Value);
@@ -3283,7 +3288,7 @@ public class ActiveClass
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.ActiveClass_Get_AllNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.ActiveClass_Get_AllNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -3374,7 +3379,7 @@ public class Bus
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Bus_Get_CplxSeqVoltages(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Bus_Get_CplxSeqVoltages(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -3427,7 +3432,7 @@ public class Bus
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Bus_Get_Isc(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Bus_Get_Isc(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -3480,7 +3485,7 @@ public class Bus
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Bus_Get_Nodes(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Bus_Get_Nodes(ref resultPtr, resultCount);
return OpenDSS.Lib.get_int32_array(ref resultPtr, resultCount[0]);
}
}
@@ -3513,7 +3518,7 @@ public class Bus
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Bus_Get_SeqVoltages(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Bus_Get_SeqVoltages(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -3536,7 +3541,7 @@ public class Bus
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Bus_Get_VLL(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Bus_Get_VLL(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -3549,7 +3554,7 @@ public class Bus
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Bus_Get_VMagAngle(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Bus_Get_VMagAngle(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -3562,7 +3567,7 @@ public class Bus
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Bus_Get_Voc(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Bus_Get_Voc(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -3575,7 +3580,7 @@ public class Bus
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Bus_Get_Voltages(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Bus_Get_Voltages(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -3588,7 +3593,7 @@ public class Bus
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Bus_Get_YscMatrix(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Bus_Get_YscMatrix(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -3601,7 +3606,7 @@ public class Bus
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Bus_Get_Zsc0(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Bus_Get_Zsc0(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -3614,7 +3619,7 @@ public class Bus
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Bus_Get_Zsc1(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Bus_Get_Zsc1(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -3627,7 +3632,7 @@ public class Bus
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Bus_Get_ZscMatrix(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Bus_Get_ZscMatrix(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -3650,7 +3655,7 @@ public class Bus
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Bus_Get_puVLL(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Bus_Get_puVLL(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -3663,7 +3668,7 @@ public class Bus
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Bus_Get_puVmagAngle(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Bus_Get_puVmagAngle(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -3676,7 +3681,7 @@ public class Bus
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Bus_Get_puVoltages(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Bus_Get_puVoltages(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -3756,7 +3761,7 @@ public class Capacitors
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Capacitors_Get_AllNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Capacitors_Get_AllNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -3849,7 +3854,7 @@ public class Capacitors
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Capacitors_Get_States(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Capacitors_Get_States(ref resultPtr, resultCount);
return OpenDSS.Lib.get_int32_array(ref resultPtr, resultCount[0]);
}
set {
@@ -3901,7 +3906,7 @@ public class CapControls
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.CapControls_Get_AllNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.CapControls_Get_AllNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -4156,7 +4161,7 @@ public class CmathLib
{
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.CmathLib_Get_cdiv(ref resultPtr, ref resultCount, a1, b1, a2, b2);
+ OpenDSS.Lib.CmathLib_Get_cdiv(ref resultPtr, resultCount, a1, b1, a2, b2);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
@@ -4167,7 +4172,7 @@ public class CmathLib
{
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.CmathLib_Get_cmplx(ref resultPtr, ref resultCount, RealPart, ImagPart);
+ OpenDSS.Lib.CmathLib_Get_cmplx(ref resultPtr, resultCount, RealPart, ImagPart);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
@@ -4178,7 +4183,7 @@ public class CmathLib
{
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.CmathLib_Get_cmul(ref resultPtr, ref resultCount, a1, b1, a2, b2);
+ OpenDSS.Lib.CmathLib_Get_cmul(ref resultPtr, resultCount, a1, b1, a2, b2);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
@@ -4189,7 +4194,7 @@ public class CmathLib
{
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.CmathLib_Get_ctopolardeg(ref resultPtr, ref resultCount, RealPart, ImagPart);
+ OpenDSS.Lib.CmathLib_Get_ctopolardeg(ref resultPtr, resultCount, RealPart, ImagPart);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
@@ -4200,7 +4205,7 @@ public class CmathLib
{
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.CmathLib_Get_pdegtocomplex(ref resultPtr, ref resultCount, magnitude, angle);
+ OpenDSS.Lib.CmathLib_Get_pdegtocomplex(ref resultPtr, resultCount, magnitude, angle);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
} // CmathLib
@@ -4282,7 +4287,7 @@ public class CtrlQueue
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.CtrlQueue_Get_Queue(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.CtrlQueue_Get_Queue(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -4317,7 +4322,7 @@ public class DSSimComs
{
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.DSSimComs_BusVoltage(ref resultPtr, ref resultCount, Index);
+ OpenDSS.Lib.DSSimComs_BusVoltage(ref resultPtr, resultCount, Index);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
@@ -4325,7 +4330,7 @@ public class DSSimComs
{
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.DSSimComs_BusVoltagepu(ref resultPtr, ref resultCount, Index);
+ OpenDSS.Lib.DSSimComs_BusVoltagepu(ref resultPtr, resultCount, Index);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
} // DSSimComs
@@ -4531,7 +4536,7 @@ public class Fuses
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Fuses_Get_AllNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Fuses_Get_AllNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -4713,7 +4718,7 @@ public class Generators
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Generators_Get_AllNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Generators_Get_AllNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -4821,7 +4826,7 @@ public class Generators
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Generators_Get_RegisterNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Generators_Get_RegisterNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -4834,7 +4839,7 @@ public class Generators
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Generators_Get_RegisterValues(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Generators_Get_RegisterValues(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -4948,7 +4953,7 @@ public class ISources
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.ISources_Get_AllNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.ISources_Get_AllNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -5051,7 +5056,7 @@ public class LineCodes
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.LineCodes_Get_AllNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.LineCodes_Get_AllNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -5090,7 +5095,7 @@ public class LineCodes
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.LineCodes_Get_Cmatrix(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.LineCodes_Get_Cmatrix(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
set {
@@ -5218,7 +5223,7 @@ public class LineCodes
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.LineCodes_Get_Rmatrix(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.LineCodes_Get_Rmatrix(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
set {
@@ -5270,7 +5275,7 @@ public class LineCodes
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.LineCodes_Get_Xmatrix(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.LineCodes_Get_Xmatrix(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
set {
@@ -5296,7 +5301,7 @@ public class Lines
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Lines_Get_AllNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Lines_Get_AllNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -5358,7 +5363,7 @@ public class Lines
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Lines_Get_Cmatrix(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Lines_Get_Cmatrix(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
set {
@@ -5567,7 +5572,7 @@ public class Lines
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Lines_Get_Rmatrix(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Lines_Get_Rmatrix(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
set {
@@ -5652,7 +5657,7 @@ public class Lines
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Lines_Get_Xmatrix(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Lines_Get_Xmatrix(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
set {
@@ -5668,7 +5673,7 @@ public class Lines
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Lines_Get_Yprim(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Lines_Get_Yprim(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
set {
@@ -5689,7 +5694,7 @@ public class Loads
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Loads_Get_AllNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Loads_Get_AllNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -6039,7 +6044,7 @@ public class Loads
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Loads_Get_ZIPV(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Loads_Get_ZIPV(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
set {
@@ -6206,7 +6211,7 @@ public class LoadShapes
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.LoadShapes_Get_AllNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.LoadShapes_Get_AllNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -6315,7 +6320,7 @@ public class LoadShapes
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.LoadShapes_Get_Pmult(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.LoadShapes_Get_Pmult(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
set {
@@ -6344,7 +6349,7 @@ public class LoadShapes
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.LoadShapes_Get_Qmult(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.LoadShapes_Get_Qmult(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
set {
@@ -6360,7 +6365,7 @@ public class LoadShapes
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.LoadShapes_Get_TimeArray(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.LoadShapes_Get_TimeArray(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
set {
@@ -6454,7 +6459,7 @@ public class Meters
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Meters_Get_AllBranchesInZone(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Meters_Get_AllBranchesInZone(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -6467,7 +6472,7 @@ public class Meters
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Meters_Get_AllEndElements(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Meters_Get_AllEndElements(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -6480,7 +6485,7 @@ public class Meters
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Meters_Get_AllNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Meters_Get_AllNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -6493,7 +6498,7 @@ public class Meters
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Meters_Get_AllocFactors(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Meters_Get_AllocFactors(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
set {
@@ -6519,7 +6524,7 @@ public class Meters
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Meters_Get_CalcCurrent(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Meters_Get_CalcCurrent(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
set {
@@ -6695,7 +6700,7 @@ public class Meters
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Meters_Get_Peakcurrent(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Meters_Get_Peakcurrent(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
set {
@@ -6711,7 +6716,7 @@ public class Meters
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Meters_Get_RegisterNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Meters_Get_RegisterNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -6724,7 +6729,7 @@ public class Meters
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Meters_Get_RegisterValues(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Meters_Get_RegisterValues(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -6830,7 +6835,7 @@ public class Meters
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Meters_Get_Totals(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Meters_Get_Totals(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -6847,7 +6852,7 @@ public class Monitors
{
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Monitors_Get_Channel(ref resultPtr, ref resultCount, Index);
+ OpenDSS.Lib.Monitors_Get_Channel(ref resultPtr, resultCount, Index);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
@@ -6904,7 +6909,7 @@ public class Monitors
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Monitors_Get_AllNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Monitors_Get_AllNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -6917,7 +6922,7 @@ public class Monitors
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Monitors_Get_ByteStream(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Monitors_Get_ByteStream(ref resultPtr, resultCount);
return OpenDSS.Lib.get_int8_array(ref resultPtr, resultCount[0]);
}
}
@@ -6983,7 +6988,7 @@ public class Monitors
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Monitors_Get_Header(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Monitors_Get_Header(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -7076,7 +7081,7 @@ public class Monitors
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Monitors_Get_dblFreq(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Monitors_Get_dblFreq(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -7089,7 +7094,7 @@ public class Monitors
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Monitors_Get_dblHour(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Monitors_Get_dblHour(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -7106,7 +7111,7 @@ public class Parser
{
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Parser_Get_Matrix(ref resultPtr, ref resultCount, ExpectedOrder);
+ OpenDSS.Lib.Parser_Get_Matrix(ref resultPtr, resultCount, ExpectedOrder);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
@@ -7117,7 +7122,7 @@ public class Parser
{
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Parser_Get_SymMatrix(ref resultPtr, ref resultCount, ExpectedOrder);
+ OpenDSS.Lib.Parser_Get_SymMatrix(ref resultPtr, resultCount, ExpectedOrder);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
@@ -7128,7 +7133,7 @@ public class Parser
{
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Parser_Get_Vector(ref resultPtr, ref resultCount, ExpectedSize);
+ OpenDSS.Lib.Parser_Get_Vector(ref resultPtr, resultCount, ExpectedSize);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
@@ -7447,7 +7452,7 @@ public class PVSystems
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.PVSystems_Get_AllNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.PVSystems_Get_AllNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -7529,7 +7534,7 @@ public class PVSystems
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.PVSystems_Get_RegisterNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.PVSystems_Get_RegisterNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -7542,7 +7547,7 @@ public class PVSystems
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.PVSystems_Get_RegisterValues(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.PVSystems_Get_RegisterValues(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -7616,7 +7621,7 @@ public class Reclosers
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Reclosers_Get_AllNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Reclosers_Get_AllNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -7766,7 +7771,7 @@ public class Reclosers
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Reclosers_Get_RecloseIntervals(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Reclosers_Get_RecloseIntervals(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -7842,7 +7847,7 @@ public class RegControls
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.RegControls_Get_AllNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.RegControls_Get_AllNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -8177,7 +8182,7 @@ public class Relays
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Relays_Get_AllNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Relays_Get_AllNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -8315,7 +8320,7 @@ public class Sensors
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Sensors_Get_AllNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Sensors_Get_AllNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -8338,7 +8343,7 @@ public class Sensors
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Sensors_Get_Currents(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Sensors_Get_Currents(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
set {
@@ -8466,7 +8471,7 @@ public class Sensors
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Sensors_Get_kVARS(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Sensors_Get_kVARS(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
set {
@@ -8482,7 +8487,7 @@ public class Sensors
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Sensors_Get_kVS(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Sensors_Get_kVS(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
set {
@@ -8511,7 +8516,7 @@ public class Sensors
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Sensors_Get_kWS(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Sensors_Get_kWS(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
set {
@@ -8610,7 +8615,7 @@ public class Settings
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Settings_Get_LossRegs(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Settings_Get_LossRegs(ref resultPtr, resultCount);
return OpenDSS.Lib.get_int32_array(ref resultPtr, resultCount[0]);
}
set {
@@ -8704,7 +8709,7 @@ public class Settings
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Settings_Get_UEregs(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Settings_Get_UEregs(ref resultPtr, resultCount);
return OpenDSS.Lib.get_int32_array(ref resultPtr, resultCount[0]);
}
set {
@@ -8733,7 +8738,7 @@ public class Settings
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Settings_Get_VoltageBases(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Settings_Get_VoltageBases(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
set {
@@ -8970,7 +8975,7 @@ public class Solution
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Solution_Get_EventLog(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Solution_Get_EventLog(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -9387,7 +9392,7 @@ public class SwtControls
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.SwtControls_Get_AllNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.SwtControls_Get_AllNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -9574,7 +9579,7 @@ public class Topology
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Topology_Get_AllIsolatedBranches(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Topology_Get_AllIsolatedBranches(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -9587,7 +9592,7 @@ public class Topology
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Topology_Get_AllIsolatedLoads(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Topology_Get_AllIsolatedLoads(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -9600,7 +9605,7 @@ public class Topology
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Topology_Get_AllLoopedPairs(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Topology_Get_AllLoopedPairs(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -9754,7 +9759,7 @@ public class Transformers
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Transformers_Get_AllNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Transformers_Get_AllNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -10020,7 +10025,7 @@ public class Vsources
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Vsources_Get_AllNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Vsources_Get_AllNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -10210,7 +10215,7 @@ public class XYCurves
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.XYCurves_Get_Xarray(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.XYCurves_Get_Xarray(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
set {
@@ -10252,7 +10257,7 @@ public class XYCurves
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.XYCurves_Get_Yarray(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.XYCurves_Get_Yarray(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -10364,7 +10369,7 @@ public class CktElement
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.CktElement_Get_AllPropertyNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.CktElement_Get_AllPropertyNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -10377,7 +10382,7 @@ public class CktElement
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.CktElement_Get_AllVariableNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.CktElement_Get_AllVariableNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -10390,7 +10395,7 @@ public class CktElement
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.CktElement_Get_AllVariableValues(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.CktElement_Get_AllVariableValues(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -10404,7 +10409,7 @@ public class CktElement
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.CktElement_Get_BusNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.CktElement_Get_BusNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
set {
@@ -10420,7 +10425,7 @@ public class CktElement
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.CktElement_Get_CplxSeqCurrents(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.CktElement_Get_CplxSeqCurrents(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -10433,7 +10438,7 @@ public class CktElement
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.CktElement_Get_CplxSeqVoltages(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.CktElement_Get_CplxSeqVoltages(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -10446,7 +10451,7 @@ public class CktElement
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.CktElement_Get_Currents(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.CktElement_Get_Currents(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -10459,7 +10464,7 @@ public class CktElement
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.CktElement_Get_CurrentsMagAng(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.CktElement_Get_CurrentsMagAng(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -10572,7 +10577,7 @@ public class CktElement
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.CktElement_Get_Losses(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.CktElement_Get_Losses(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -10595,7 +10600,7 @@ public class CktElement
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.CktElement_Get_NodeOrder(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.CktElement_Get_NodeOrder(ref resultPtr, resultCount);
return OpenDSS.Lib.get_int32_array(ref resultPtr, resultCount[0]);
}
}
@@ -10692,7 +10697,7 @@ public class CktElement
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.CktElement_Get_PhaseLosses(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.CktElement_Get_PhaseLosses(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -10705,7 +10710,7 @@ public class CktElement
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.CktElement_Get_Powers(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.CktElement_Get_Powers(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -10718,7 +10723,7 @@ public class CktElement
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.CktElement_Get_Residuals(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.CktElement_Get_Residuals(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -10731,7 +10736,7 @@ public class CktElement
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.CktElement_Get_SeqCurrents(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.CktElement_Get_SeqCurrents(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -10744,7 +10749,7 @@ public class CktElement
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.CktElement_Get_SeqPowers(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.CktElement_Get_SeqPowers(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -10757,7 +10762,7 @@ public class CktElement
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.CktElement_Get_SeqVoltages(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.CktElement_Get_SeqVoltages(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -10770,7 +10775,7 @@ public class CktElement
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.CktElement_Get_Voltages(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.CktElement_Get_Voltages(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -10783,7 +10788,7 @@ public class CktElement
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.CktElement_Get_VoltagesMagAng(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.CktElement_Get_VoltagesMagAng(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -10796,7 +10801,7 @@ public class CktElement
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.CktElement_Get_Yprim(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.CktElement_Get_Yprim(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -10815,7 +10820,7 @@ public class DSSElement
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.DSSElement_Get_AllPropertyNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.DSSElement_Get_AllPropertyNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -10915,7 +10920,7 @@ public CktElement get_CktElements(int idx)
///
public CktElement get_CktElements(string fullName)
{
- OpenDSS.Lib.Circuit_SetCktElementName(Name);
+ OpenDSS.Lib.Circuit_SetCktElementName(fullName);
return this.ActiveCktElement;
}
@@ -10961,7 +10966,7 @@ public CktElement get_CktElements(string fullName)
{
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Circuit_Get_AllNodeDistancesByPhase(ref resultPtr, ref resultCount, Phase);
+ OpenDSS.Lib.Circuit_Get_AllNodeDistancesByPhase(ref resultPtr, resultCount, Phase);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
@@ -10972,7 +10977,7 @@ public CktElement get_CktElements(string fullName)
{
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Circuit_Get_AllNodeNamesByPhase(ref resultPtr, ref resultCount, Phase);
+ OpenDSS.Lib.Circuit_Get_AllNodeNamesByPhase(ref resultPtr, resultCount, Phase);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
@@ -10983,7 +10988,7 @@ public CktElement get_CktElements(string fullName)
{
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Circuit_Get_AllNodeVmagByPhase(ref resultPtr, ref resultCount, Phase);
+ OpenDSS.Lib.Circuit_Get_AllNodeVmagByPhase(ref resultPtr, resultCount, Phase);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
@@ -10994,7 +10999,7 @@ public CktElement get_CktElements(string fullName)
{
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Circuit_Get_AllNodeVmagPUByPhase(ref resultPtr, ref resultCount, Phase);
+ OpenDSS.Lib.Circuit_Get_AllNodeVmagPUByPhase(ref resultPtr, resultCount, Phase);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
@@ -11056,7 +11061,7 @@ public CktElement get_CktElements(string fullName)
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Circuit_Get_AllBusDistances(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Circuit_Get_AllBusDistances(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -11069,7 +11074,7 @@ public CktElement get_CktElements(string fullName)
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Circuit_Get_AllBusNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Circuit_Get_AllBusNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -11082,7 +11087,7 @@ public CktElement get_CktElements(string fullName)
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Circuit_Get_AllBusVmag(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Circuit_Get_AllBusVmag(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -11095,7 +11100,7 @@ public CktElement get_CktElements(string fullName)
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Circuit_Get_AllBusVmagPu(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Circuit_Get_AllBusVmagPu(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -11108,7 +11113,7 @@ public CktElement get_CktElements(string fullName)
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Circuit_Get_AllBusVolts(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Circuit_Get_AllBusVolts(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -11121,7 +11126,7 @@ public CktElement get_CktElements(string fullName)
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Circuit_Get_AllElementLosses(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Circuit_Get_AllElementLosses(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -11134,7 +11139,7 @@ public CktElement get_CktElements(string fullName)
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Circuit_Get_AllElementNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Circuit_Get_AllElementNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -11147,7 +11152,7 @@ public CktElement get_CktElements(string fullName)
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Circuit_Get_AllNodeDistances(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Circuit_Get_AllNodeDistances(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -11160,7 +11165,7 @@ public CktElement get_CktElements(string fullName)
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Circuit_Get_AllNodeNames(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Circuit_Get_AllNodeNames(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -11173,7 +11178,7 @@ public CktElement get_CktElements(string fullName)
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Circuit_Get_LineLosses(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Circuit_Get_LineLosses(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -11186,7 +11191,7 @@ public CktElement get_CktElements(string fullName)
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Circuit_Get_Losses(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Circuit_Get_Losses(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -11249,7 +11254,7 @@ public CktElement get_CktElements(string fullName)
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Circuit_Get_SubstationLosses(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Circuit_Get_SubstationLosses(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -11262,7 +11267,7 @@ public CktElement get_CktElements(string fullName)
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Circuit_Get_SystemY(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Circuit_Get_SystemY(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -11275,7 +11280,7 @@ public CktElement get_CktElements(string fullName)
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Circuit_Get_TotalPower(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Circuit_Get_TotalPower(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -11288,7 +11293,7 @@ public CktElement get_CktElements(string fullName)
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Circuit_Get_YCurrents(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Circuit_Get_YCurrents(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -11301,7 +11306,7 @@ public CktElement get_CktElements(string fullName)
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Circuit_Get_YNodeOrder(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Circuit_Get_YNodeOrder(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -11314,7 +11319,7 @@ public CktElement get_CktElements(string fullName)
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.Circuit_Get_YNodeVarray(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.Circuit_Get_YNodeVarray(ref resultPtr, resultCount);
return OpenDSS.Lib.get_float64_array(ref resultPtr, resultCount[0]);
}
}
@@ -11364,7 +11369,7 @@ public class DSS
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.DSS_Get_Classes(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.DSS_Get_Classes(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}
@@ -11430,7 +11435,7 @@ public class DSS
get {
IntPtr resultPtr = new IntPtr();
int[] resultCount = new int[2];
- OpenDSS.Lib.DSS_Get_UserClasses(ref resultPtr, ref resultCount);
+ OpenDSS.Lib.DSS_Get_UserClasses(ref resultPtr, resultCount);
return OpenDSS.Lib.get_string_array(ref resultPtr, resultCount);
}
}