C# Class OSAE.UI.Controls.StateImage

Interaction logic for StateImage.xaml
Inheritance: System.Windows.Controls.UserControl
Exibir arquivo 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_oe property

public string CurLevel
return string

CurState public_oe property

public string CurState
return string

CurStateLabel public_oe property

public string CurStateLabel
return string

ImageHeight public_oe property

public double ImageHeight
return double

ImageWidth public_oe property

public double ImageWidth
return double

LastStateChange public_oe property

public DateTime,System LastStateChange
return System.DateTime

LastUpdated public_oe property

public DateTime,System LastUpdated
return System.DateTime

LightLevel public_oe property

public int LightLevel
return int

LinkedObject public_oe property

public OSAEObject LinkedObject
return OSAEObject

Location public_oe property

public Point Location
return Point

ObjectName public_oe property

public string ObjectName
return string

ObjectType public_oe property

public string ObjectType
return string

PropertyLastUpdated public_oe property

public DateTime,System PropertyLastUpdated
return System.DateTime

SliderMethod public_oe property

public string SliderMethod
return string

StateMatch public_oe property

public string StateMatch
return string