C# Class TrakHound_Dashboard.Pages.DeviceDetails.Page

Interaction logic for DeviceDetails.xaml
Inheritance: System.Windows.Controls.UserControl, IPage
Mostra file Open project: TrakHound/TrakHound-Community

Public Properties

Property Type Description
ActiveHourDatasProperty System.Windows.DependencyProperty
ActivePercentageProperty System.Windows.DependencyProperty
ActiveTimeProperty System.Windows.DependencyProperty
AlertHourDatasProperty System.Windows.DependencyProperty
AlertPercentageProperty System.Windows.DependencyProperty
AlertTimeProperty System.Windows.DependencyProperty
AvailabilityDeviationProperty System.Windows.DependencyProperty
AvailabilityHighProperty System.Windows.DependencyProperty
AvailabilityHighTimeProperty System.Windows.DependencyProperty
AvailabilityHourDatasProperty System.Windows.DependencyProperty
AvailabilityLowProperty System.Windows.DependencyProperty
AvailabilityLowTimeProperty 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
IdleHourDatasProperty System.Windows.DependencyProperty
IdlePercentageProperty System.Windows.DependencyProperty
IdleTimeProperty System.Windows.DependencyProperty
LoadingProperty System.Windows.DependencyProperty
OeeDeviationProperty System.Windows.DependencyProperty
OeeHighProperty System.Windows.DependencyProperty
OeeHighTimeProperty System.Windows.DependencyProperty
OeeHourDatasProperty System.Windows.DependencyProperty
OeeLowProperty System.Windows.DependencyProperty
OeeLowTimeProperty System.Windows.DependencyProperty
OeeProperty System.Windows.DependencyProperty
OeeStatusProperty System.Windows.DependencyProperty
PartCountAverageProperty System.Windows.DependencyProperty
PartCountHighProperty System.Windows.DependencyProperty
PartCountHighTimeProperty System.Windows.DependencyProperty
PartCountHourDatasProperty System.Windows.DependencyProperty
PartCountLowProperty System.Windows.DependencyProperty
PartCountLowTimeProperty System.Windows.DependencyProperty
PartCountTotalProperty System.Windows.DependencyProperty
PerformanceDeviationProperty System.Windows.DependencyProperty
PerformanceHighProperty System.Windows.DependencyProperty
PerformanceHighTimeProperty System.Windows.DependencyProperty
PerformanceHourDatasProperty System.Windows.DependencyProperty
PerformanceLowProperty System.Windows.DependencyProperty
PerformanceLowTimeProperty System.Windows.DependencyProperty
PerformanceProperty System.Windows.DependencyProperty
PerformanceStatusProperty System.Windows.DependencyProperty
ProgramBlockProperty System.Windows.DependencyProperty
ProgramLineProperty System.Windows.DependencyProperty
ProgramProperty System.Windows.DependencyProperty
QualityDeviationProperty System.Windows.DependencyProperty
QualityHighProperty System.Windows.DependencyProperty
QualityHighTimeProperty System.Windows.DependencyProperty
QualityHourDatasProperty System.Windows.DependencyProperty
QualityLowProperty System.Windows.DependencyProperty
QualityLowTimeProperty System.Windows.DependencyProperty
QualityProperty System.Windows.DependencyProperty
QualityStatusProperty System.Windows.DependencyProperty
SystemMessageProperty System.Windows.DependencyProperty
SystemStatusProperty System.Windows.DependencyProperty

Public Methods

Method Description
Closed ( ) : void
Closing ( ) : bool
GetSentData ( EventData data ) : void
Initialize ( ) : void
LoadDeviceImage ( string fileId ) : void
LoadDeviceLogo ( string fileId ) : void
Opened ( ) : void
Opening ( ) : bool
Page ( DeviceDescription device, Data deviceInfo, UserConfiguration userConfig ) : System
SetZoom ( double zoomPercentage ) : void
UpdateActiveData ( List hours ) : void
UpdateAlertData ( List hours ) : void
UpdateAvailabilityData ( List hours ) : void
UpdateIdleData ( List hours ) : void
UpdateOeeData ( List hours ) : void
UpdatePartCountData ( List hours ) : void
UpdatePerformanceData ( List hours ) : void
UpdateQualityData ( List hours ) : void

Private Methods

Method Description
GetLocalHour ( int utcHour ) : int
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
UpdateAvailabilityStatistics ( List infos ) : void
UpdateDeviceInfo ( Data info ) : void
UpdateDeviceInfo ( List info ) : void
UpdateOeeStatistics ( List infos ) : void
UpdatePartCountStatistics ( List infos ) : void
UpdatePerformanceStatistics ( List infos ) : void
UpdateQualityStatistics ( List infos ) : void

Method Details

Closed() public method

public Closed ( ) : void
return void

Closing() public method

public Closing ( ) : bool
return bool

GetSentData() public method

public GetSentData ( EventData data ) : void
data TrakHound.EventData
return void

Initialize() public method

public Initialize ( ) : void
return void

LoadDeviceImage() public method

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

LoadDeviceLogo() public method

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

Opened() public method

public Opened ( ) : void
return void

Opening() public method

public Opening ( ) : bool
return bool

Page() public method

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

SetZoom() public method

public SetZoom ( double zoomPercentage ) : void
zoomPercentage double
return void

UpdateActiveData() public method

public UpdateActiveData ( List hours ) : void
hours List
return void

UpdateAlertData() public method

public UpdateAlertData ( List hours ) : void
hours List
return void

UpdateAvailabilityData() public method

public UpdateAvailabilityData ( List hours ) : void
hours List
return void

UpdateIdleData() public method

public UpdateIdleData ( List hours ) : void
hours List
return void

UpdateOeeData() public method

public UpdateOeeData ( List hours ) : void
hours List
return void

UpdatePartCountData() public method

public UpdatePartCountData ( List hours ) : void
hours List
return void

UpdatePerformanceData() public method

public UpdatePerformanceData ( List hours ) : void
hours List
return void

UpdateQualityData() public method

public UpdateQualityData ( List hours ) : void
hours List
return void

Property Details

ActiveHourDatasProperty public_oe static_oe property

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

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

AlertHourDatasProperty public_oe static_oe property

public static DependencyProperty,System.Windows AlertHourDatasProperty
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

AvailabilityDeviationProperty public_oe static_oe property

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

AvailabilityHighProperty public_oe static_oe property

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

AvailabilityHighTimeProperty public_oe static_oe property

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

AvailabilityHourDatasProperty public_oe static_oe property

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

AvailabilityLowProperty public_oe static_oe property

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

AvailabilityLowTimeProperty public_oe static_oe property

public static DependencyProperty,System.Windows AvailabilityLowTimeProperty
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

IdleHourDatasProperty public_oe static_oe property

public static DependencyProperty,System.Windows IdleHourDatasProperty
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

LoadingProperty public_oe static_oe property

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

OeeDeviationProperty public_oe static_oe property

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

OeeHighProperty public_oe static_oe property

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

OeeHighTimeProperty public_oe static_oe property

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

OeeHourDatasProperty public_oe static_oe property

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

OeeLowProperty public_oe static_oe property

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

OeeLowTimeProperty public_oe static_oe property

public static DependencyProperty,System.Windows OeeLowTimeProperty
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

PartCountAverageProperty public_oe static_oe property

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

PartCountHighProperty public_oe static_oe property

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

PartCountHighTimeProperty public_oe static_oe property

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

PartCountHourDatasProperty public_oe static_oe property

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

PartCountLowProperty public_oe static_oe property

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

PartCountLowTimeProperty public_oe static_oe property

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

PartCountTotalProperty public_oe static_oe property

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

PerformanceDeviationProperty public_oe static_oe property

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

PerformanceHighProperty public_oe static_oe property

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

PerformanceHighTimeProperty public_oe static_oe property

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

PerformanceHourDatasProperty public_oe static_oe property

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

PerformanceLowProperty public_oe static_oe property

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

PerformanceLowTimeProperty public_oe static_oe property

public static DependencyProperty,System.Windows PerformanceLowTimeProperty
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

ProgramBlockProperty public_oe static_oe property

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

ProgramLineProperty public_oe static_oe property

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

ProgramProperty public_oe static_oe property

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

QualityDeviationProperty public_oe static_oe property

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

QualityHighProperty public_oe static_oe property

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

QualityHighTimeProperty public_oe static_oe property

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

QualityHourDatasProperty public_oe static_oe property

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

QualityLowProperty public_oe static_oe property

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

QualityLowTimeProperty public_oe static_oe property

public static DependencyProperty,System.Windows QualityLowTimeProperty
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

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