C# 클래스 CorsairLinkPlusPlus.Driver.CorsairLink.USB.BaseUSBDevice

상속: CorsairLinkPlusPlus.Common.BaseDevice
파일 보기 프로젝트 열기: Doridian/CorsairLinkPlusPlus

보호된 프로퍼티들

프로퍼티 타입 설명
commandNo int
hidDevice HidSharp.HidDevice

공개 메소드들

메소드 설명
GetLocalDeviceID ( ) : string
GetUsedChannels ( ) : byte>.Dictionary
Refresh ( bool volatileOnly ) : void
SendCommand ( byte opcode, byte channel, byte command ) : byte[]

보호된 메소드들

메소드 설명
GetSubDevicesInternal ( ) : List
MakeCommand ( byte opcode, byte channel, byte response ) : byte[]
ParseResponse ( byte response ) : byte[]

비공개 메소드들

메소드 설명
BaseUSBDevice ( CorsairRootDevice root, HidDevice hidDevice ) : CorsairLinkPlusPlus.Common
FixUpDeviceID ( string id ) : string
GetDeviceOnChannel ( byte channel ) : BaseLinkDevice
GetDeviceOnChannel ( byte channel, byte deviceType ) : BaseLinkDevice
ReadRegister ( byte register, byte channel, byte bytes ) : byte[]
ReadSingleByteRegister ( byte register, byte channel ) : byte
SleepAfterFailure ( ) : bool
WriteRegister ( byte register, byte channel, byte bytes, bool verify = false ) : void
WriteSingleByteRegister ( byte register, byte channel, byte value, bool verify = false ) : void

메소드 상세

GetLocalDeviceID() 공개 메소드

public GetLocalDeviceID ( ) : string
리턴 string

GetSubDevicesInternal() 보호된 메소드

protected GetSubDevicesInternal ( ) : List
리턴 List

GetUsedChannels() 공개 메소드

public GetUsedChannels ( ) : byte>.Dictionary
리턴 byte>.Dictionary

MakeCommand() 보호된 추상적인 메소드

protected abstract MakeCommand ( byte opcode, byte channel, byte response ) : byte[]
opcode byte
channel byte
response byte
리턴 byte[]

ParseResponse() 보호된 메소드

protected ParseResponse ( byte response ) : byte[]
response byte
리턴 byte[]

Refresh() 공개 메소드

public Refresh ( bool volatileOnly ) : void
volatileOnly bool
리턴 void

SendCommand() 공개 메소드

public SendCommand ( byte opcode, byte channel, byte command ) : byte[]
opcode byte
channel byte
command byte
리턴 byte[]

프로퍼티 상세

commandNo 보호되어 있는 프로퍼티

protected int commandNo
리턴 int

hidDevice 보호되어 있는 프로퍼티

protected HidDevice,HidSharp hidDevice
리턴 HidSharp.HidDevice