C# Class PowerChuteCS.PowerChuteData

Mostra file Open project: rossdargan/PRTG-Sensors Class Usage Examples

Public Methods

Method Description
EnableNotificationSounds ( int enable ) : void
GetCurrentStatusData ( ) : MGD_CurrStatus_Params
GetEvents ( ) : ArrayList
GetPerformanceData ( ulong noOfWeeks ) : MGD_Perf_Params
GetRemainingBatteryTime ( ) : string
GetSEQOutletDelayData ( ) : double[]
GetUPSSupportedFeatures ( ) : ArrayList
GetVoltageParameters ( ) : MGD_Voltage_Params
SetSEQOutletDelay ( double values ) : void
SetVoltageParameters ( MGD_Voltage_Params volParams ) : void
getInstance ( ) : PowerChuteData

Private Methods

Method Description
IsAdvancedUPS ( ) : bool
IsNormalVoltUPS ( ) : bool
IsSelfTestSupported ( ) : bool
LongRunUPS ( ) : bool
PowerChuteData ( ) : System

Method Details

EnableNotificationSounds() public method

public EnableNotificationSounds ( int enable ) : void
enable int
return void

GetCurrentStatusData() public method

public GetCurrentStatusData ( ) : MGD_CurrStatus_Params
return MGD_CurrStatus_Params

GetEvents() public method

public GetEvents ( ) : ArrayList
return System.Collections.ArrayList

GetPerformanceData() public method

public GetPerformanceData ( ulong noOfWeeks ) : MGD_Perf_Params
noOfWeeks ulong
return MGD_Perf_Params

GetRemainingBatteryTime() public method

public GetRemainingBatteryTime ( ) : string
return string

GetSEQOutletDelayData() public method

public GetSEQOutletDelayData ( ) : double[]
return double[]

GetUPSSupportedFeatures() public method

public GetUPSSupportedFeatures ( ) : ArrayList
return System.Collections.ArrayList

GetVoltageParameters() public method

public GetVoltageParameters ( ) : MGD_Voltage_Params
return MGD_Voltage_Params

SetSEQOutletDelay() public method

public SetSEQOutletDelay ( double values ) : void
values double
return void

SetVoltageParameters() public method

public SetVoltageParameters ( MGD_Voltage_Params volParams ) : void
volParams MGD_Voltage_Params
return void

getInstance() public static method

public static getInstance ( ) : PowerChuteData
return PowerChuteData