C# Class OSAE.UI.Controls.StateImage

Interaction logic for StateImage.xaml
Inheritance: System.Windows.Controls.UserControl
Show file Open project: opensourceautomation/Open-Source-Automation Class Usage Examples

Public Properties

Property Type Description
CurLevel string
CurState string
CurStateLabel string
ImageHeight double
ImageWidth double
LastStateChange System.DateTime
LastUpdated System.DateTime
LightLevel int
LinkedObject OSAEObject
Location Point
ObjectName string
ObjectType string
PropertyLastUpdated System.DateTime
SliderMethod string
StateMatch string

Public Methods

Method Description
StateImage ( OSAEObject sObject, string appName ) : System
Update ( ) : void
timer_Tick ( object sender, EventArgs e ) : void

Private Methods

Method Description
Slider_MouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
Slider_MouseUp ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
Slider_ValueChanged_1 ( object sender, RoutedPropertyChangedEventArgs e ) : void
State_Image_MouseLeftButtonUp ( object sender, System.Windows.Input.MouseEventArgs e ) : void

Method Details

StateImage() public method

public StateImage ( OSAEObject sObject, string appName ) : System
sObject OSAEObject
appName string
return System

Update() public method

public Update ( ) : void
return void

timer_Tick() public method

public timer_Tick ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Property Details

CurLevel public property

public string CurLevel
return string

CurState public property

public string CurState
return string

CurStateLabel public property

public string CurStateLabel
return string

ImageHeight public property

public double ImageHeight
return double

ImageWidth public property

public double ImageWidth
return double

LastStateChange public property

public DateTime,System LastStateChange
return System.DateTime

LastUpdated public property

public DateTime,System LastUpdated
return System.DateTime

LightLevel public property

public int LightLevel
return int

LinkedObject public property

public OSAEObject LinkedObject
return OSAEObject

Location public property

public Point Location
return Point

ObjectName public property

public string ObjectName
return string

ObjectType public property

public string ObjectType
return string

PropertyLastUpdated public property

public DateTime,System PropertyLastUpdated
return System.DateTime

SliderMethod public property

public string SliderMethod
return string

StateMatch public property

public string StateMatch
return string