C# Class CorsairLinkPlusPlus.Driver.CorsairLink.Node.Internal.PSUPrimaryPowerDevice

Inheritance: BaseLinkDevice
Show file Open project: Doridian/CorsairLinkPlusPlus Class Usage Examples

Protected Properties

Property Type Description
cachedCurrent double
cachedPower double
cachedVoltage double
id int
name string
psuDevice LinkDevicePSU

Public Methods

Method Description
GetLocalDeviceID ( ) : string
Refresh ( bool volatileOnly ) : void

Protected Methods

Method Description
GetSubDevicesInternal ( ) : List
ReadValues ( ) : void
SetPage ( ) : void

Private Methods

Method Description
PSUPrimaryPowerDevice ( LinkDevicePSU psuDevice, byte channel, int id, string name ) : CorsairLinkPlusPlus.Common
ReadCurrent ( ) : double
ReadPower ( ) : double
ReadVoltage ( ) : double

Method Details

GetLocalDeviceID() public method

public GetLocalDeviceID ( ) : string
return string

GetSubDevicesInternal() protected method

protected GetSubDevicesInternal ( ) : List
return List

ReadValues() protected method

protected ReadValues ( ) : void
return void

Refresh() public method

public Refresh ( bool volatileOnly ) : void
volatileOnly bool
return void

SetPage() protected method

protected SetPage ( ) : void
return void

Property Details

cachedCurrent protected property

protected double cachedCurrent
return double

cachedPower protected property

protected double cachedPower
return double

cachedVoltage protected property

protected double cachedVoltage
return double

id protected property

protected int id
return int

name protected property

protected string name
return string

psuDevice protected property

protected LinkDevicePSU psuDevice
return LinkDevicePSU