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

Inheritance: BaseLinkDevice
Exibir arquivo 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_oe property

protected double cachedCurrent
return double

cachedPower protected_oe property

protected double cachedPower
return double

cachedVoltage protected_oe property

protected double cachedVoltage
return double

id protected_oe property

protected int id
return int

name protected_oe property

protected string name
return string

psuDevice protected_oe property

protected LinkDevicePSU psuDevice
return LinkDevicePSU