C# Class AGENT.Contrib.Hardware.MultiButtonHelper

显示文件 Open project: nothingmn/AGENT.Contrib Class Usage Examples

Public Properties

Property Type Description
MaxClickWaitTime int

Public Methods

Method Description
AddButtonHandler ( Buttons buttons, HandleClicks callback ) : void
Current_OnButtonPress ( Buttons button, InterruptPort port, ButtonDirection direction, System.DateTime time ) : void
MultiButtonHelper ( ) : System
clickTimer_callback ( object state ) : void

Private Methods

Method Description
DetectClicks ( ) : void
ListOfButtonsToString ( Buttons listOfButtons ) : string

Method Details

AddButtonHandler() public method

public AddButtonHandler ( Buttons buttons, HandleClicks callback ) : void
buttons Buttons
callback HandleClicks
return void

Current_OnButtonPress() public method

public Current_OnButtonPress ( Buttons button, InterruptPort port, ButtonDirection direction, System.DateTime time ) : void
button Buttons
port Microsoft.SPOT.Hardware.InterruptPort
direction ButtonDirection
time System.DateTime
return void

MultiButtonHelper() public method

public MultiButtonHelper ( ) : System
return System

clickTimer_callback() public method

public clickTimer_callback ( object state ) : void
state object
return void

Property Details

MaxClickWaitTime public_oe property

public int MaxClickWaitTime
return int