C# Class TrakHound_Dashboard.Pages.Dashboard.StatusGrid.Controls.Item

Interaction logic for Item.xaml
Inheritance: System.Windows.Controls.UserControl, IComparable
Mostra file Open project: TrakHound/TrakHound-Community Class Usage Examples

Public Properties

Property Type Description
ActivePercentageProperty System.Windows.DependencyProperty
ActiveTimeProperty System.Windows.DependencyProperty
AlertPercentageProperty System.Windows.DependencyProperty
AlertTimeProperty System.Windows.DependencyProperty
AvailabilityProperty System.Windows.DependencyProperty
AvailabilityStatusProperty System.Windows.DependencyProperty
ConnectedProperty System.Windows.DependencyProperty
ControllerModeProperty System.Windows.DependencyProperty
DeviceImageProperty System.Windows.DependencyProperty
DeviceLogoProperty System.Windows.DependencyProperty
DeviceProperty System.Windows.DependencyProperty
DeviceStatusProperty System.Windows.DependencyProperty
DeviceStatusTimeProperty System.Windows.DependencyProperty
EmergencyStopProperty System.Windows.DependencyProperty
ExecutionModeProperty System.Windows.DependencyProperty
IdlePercentageProperty System.Windows.DependencyProperty
IdleTimeProperty System.Windows.DependencyProperty
MaintenancePercentageProperty System.Windows.DependencyProperty
MaintenanceTimeProperty System.Windows.DependencyProperty
OeeProperty System.Windows.DependencyProperty
OeeStatusProperty System.Windows.DependencyProperty
PartCountProperty System.Windows.DependencyProperty
PerformanceProperty System.Windows.DependencyProperty
PerformanceStatusProperty System.Windows.DependencyProperty
ProcessDevelopmentPercentageProperty System.Windows.DependencyProperty
ProcessDevelopmentTimeProperty System.Windows.DependencyProperty
ProductionPercentageProperty System.Windows.DependencyProperty
ProductionStatusProperty System.Windows.DependencyProperty
ProductionTimeProperty System.Windows.DependencyProperty
ProgramProperty System.Windows.DependencyProperty
QualityProperty System.Windows.DependencyProperty
QualityStatusProperty System.Windows.DependencyProperty
SetupPercentageProperty System.Windows.DependencyProperty
SetupTimeProperty System.Windows.DependencyProperty
SystemMessageProperty System.Windows.DependencyProperty
SystemStatusProperty System.Windows.DependencyProperty
TeardownPercentageProperty System.Windows.DependencyProperty
TeardownTimeProperty System.Windows.DependencyProperty

Public Methods

Method Description
CompareTo ( object obj ) : int
Item ( DeviceDescription device, UserConfiguration userConfig ) : System
LoadDeviceImage ( string fileId ) : void
LoadDeviceLogo ( string fileId ) : void
UpdateData ( Data info ) : void
operator ( ) : bool

Private Methods

Method Description
EqualTo ( Item i1, Item i2 ) : bool
GreaterThan ( Item i1, Item i2 ) : bool
GreaterThan ( Item i1, Item i2, string propertyName ) : bool
LessThan ( Item i1, Item i2 ) : bool
LessThan ( Item i1, Item i2, string propertyName ) : bool
LoadDeviceImage_GUI ( System.Windows.Media.Imaging.BitmapSource img ) : void
LoadDeviceImage_Worker ( object o ) : void
LoadDeviceLogo_GUI ( System.Windows.Media.Imaging.BitmapSource img ) : void
LoadDeviceLogo_Worker ( object o ) : void
NotEqualTo ( Item i1, Item i2 ) : bool
UserControl_MouseDown ( object sender, System e ) : void

Method Details

CompareTo() public method

public CompareTo ( object obj ) : int
obj object
return int

Item() public method

public Item ( DeviceDescription device, UserConfiguration userConfig ) : System
device TrakHound.Configurations.DeviceDescription
userConfig TrakHound.API.Users.UserConfiguration
return System

LoadDeviceImage() public method

public LoadDeviceImage ( string fileId ) : void
fileId string
return void

LoadDeviceLogo() public method

public LoadDeviceLogo ( string fileId ) : void
fileId string
return void

UpdateData() public method

public UpdateData ( Data info ) : void
info TrakHound.API.Data
return void

operator() public static method

public static operator ( ) : bool
return bool

Property Details

ActivePercentageProperty public_oe static_oe property

public static DependencyProperty,System.Windows ActivePercentageProperty
return System.Windows.DependencyProperty

ActiveTimeProperty public_oe static_oe property

public static DependencyProperty,System.Windows ActiveTimeProperty
return System.Windows.DependencyProperty

AlertPercentageProperty public_oe static_oe property

public static DependencyProperty,System.Windows AlertPercentageProperty
return System.Windows.DependencyProperty

AlertTimeProperty public_oe static_oe property

public static DependencyProperty,System.Windows AlertTimeProperty
return System.Windows.DependencyProperty

AvailabilityProperty public_oe static_oe property

public static DependencyProperty,System.Windows AvailabilityProperty
return System.Windows.DependencyProperty

AvailabilityStatusProperty public_oe static_oe property

public static DependencyProperty,System.Windows AvailabilityStatusProperty
return System.Windows.DependencyProperty

ConnectedProperty public_oe static_oe property

public static DependencyProperty,System.Windows ConnectedProperty
return System.Windows.DependencyProperty

ControllerModeProperty public_oe static_oe property

public static DependencyProperty,System.Windows ControllerModeProperty
return System.Windows.DependencyProperty

DeviceImageProperty public_oe static_oe property

public static DependencyProperty,System.Windows DeviceImageProperty
return System.Windows.DependencyProperty

DeviceLogoProperty public_oe static_oe property

public static DependencyProperty,System.Windows DeviceLogoProperty
return System.Windows.DependencyProperty

DeviceProperty public_oe static_oe property

public static DependencyProperty,System.Windows DeviceProperty
return System.Windows.DependencyProperty

DeviceStatusProperty public_oe static_oe property

public static DependencyProperty,System.Windows DeviceStatusProperty
return System.Windows.DependencyProperty

DeviceStatusTimeProperty public_oe static_oe property

public static DependencyProperty,System.Windows DeviceStatusTimeProperty
return System.Windows.DependencyProperty

EmergencyStopProperty public_oe static_oe property

public static DependencyProperty,System.Windows EmergencyStopProperty
return System.Windows.DependencyProperty

ExecutionModeProperty public_oe static_oe property

public static DependencyProperty,System.Windows ExecutionModeProperty
return System.Windows.DependencyProperty

IdlePercentageProperty public_oe static_oe property

public static DependencyProperty,System.Windows IdlePercentageProperty
return System.Windows.DependencyProperty

IdleTimeProperty public_oe static_oe property

public static DependencyProperty,System.Windows IdleTimeProperty
return System.Windows.DependencyProperty

MaintenancePercentageProperty public_oe static_oe property

public static DependencyProperty,System.Windows MaintenancePercentageProperty
return System.Windows.DependencyProperty

MaintenanceTimeProperty public_oe static_oe property

public static DependencyProperty,System.Windows MaintenanceTimeProperty
return System.Windows.DependencyProperty

OeeProperty public_oe static_oe property

public static DependencyProperty,System.Windows OeeProperty
return System.Windows.DependencyProperty

OeeStatusProperty public_oe static_oe property

public static DependencyProperty,System.Windows OeeStatusProperty
return System.Windows.DependencyProperty

PartCountProperty public_oe static_oe property

public static DependencyProperty,System.Windows PartCountProperty
return System.Windows.DependencyProperty

PerformanceProperty public_oe static_oe property

public static DependencyProperty,System.Windows PerformanceProperty
return System.Windows.DependencyProperty

PerformanceStatusProperty public_oe static_oe property

public static DependencyProperty,System.Windows PerformanceStatusProperty
return System.Windows.DependencyProperty

ProcessDevelopmentPercentageProperty public_oe static_oe property

public static DependencyProperty,System.Windows ProcessDevelopmentPercentageProperty
return System.Windows.DependencyProperty

ProcessDevelopmentTimeProperty public_oe static_oe property

public static DependencyProperty,System.Windows ProcessDevelopmentTimeProperty
return System.Windows.DependencyProperty

ProductionPercentageProperty public_oe static_oe property

public static DependencyProperty,System.Windows ProductionPercentageProperty
return System.Windows.DependencyProperty

ProductionStatusProperty public_oe static_oe property

public static DependencyProperty,System.Windows ProductionStatusProperty
return System.Windows.DependencyProperty

ProductionTimeProperty public_oe static_oe property

public static DependencyProperty,System.Windows ProductionTimeProperty
return System.Windows.DependencyProperty

ProgramProperty public_oe static_oe property

public static DependencyProperty,System.Windows ProgramProperty
return System.Windows.DependencyProperty

QualityProperty public_oe static_oe property

public static DependencyProperty,System.Windows QualityProperty
return System.Windows.DependencyProperty

QualityStatusProperty public_oe static_oe property

public static DependencyProperty,System.Windows QualityStatusProperty
return System.Windows.DependencyProperty

SetupPercentageProperty public_oe static_oe property

public static DependencyProperty,System.Windows SetupPercentageProperty
return System.Windows.DependencyProperty

SetupTimeProperty public_oe static_oe property

public static DependencyProperty,System.Windows SetupTimeProperty
return System.Windows.DependencyProperty

SystemMessageProperty public_oe static_oe property

public static DependencyProperty,System.Windows SystemMessageProperty
return System.Windows.DependencyProperty

SystemStatusProperty public_oe static_oe property

public static DependencyProperty,System.Windows SystemStatusProperty
return System.Windows.DependencyProperty

TeardownPercentageProperty public_oe static_oe property

public static DependencyProperty,System.Windows TeardownPercentageProperty
return System.Windows.DependencyProperty

TeardownTimeProperty public_oe static_oe property

public static DependencyProperty,System.Windows TeardownTimeProperty
return System.Windows.DependencyProperty