C# Class TrakHound_Dashboard.Pages.DeviceManager.EditPage

Page used to edit a device's Configuration object using a page/category based GUI
Inheritance: System.Windows.Controls.UserControl, IPage
显示文件 Open project: TrakHound/TrakHound-Community Class Usage Examples

Public Properties

Property Type Description
ConfigurationPages List
ConfigurationProperty System.Windows.DependencyProperty
CurrentPageProperty System.Windows.DependencyProperty
DeviceErrorProperty System.Windows.DependencyProperty
DeviceLoadingProperty System.Windows.DependencyProperty
SaveNeededProperty System.Windows.DependencyProperty
SavingProperty System.Windows.DependencyProperty

Public Methods

Method Description
Closed ( ) : void
Closing ( ) : bool
EditPage ( UserConfiguration _userConfig, string _uniqueId ) : System
GetPluginPageInfos ( ) : void
GetSentData ( EventData data ) : void
Opened ( ) : void
Opening ( ) : bool
SetZoom ( double zoomPercentage ) : void

Private Methods

Method Description
AddPage ( IConfigurationInfo info ) : void
AddPageButton ( IConfigurationInfo info ) : void
CreateCurrentUserEventData ( ) : EventData
CreatePage ( IConfigurationInfo info ) : IConfigurationPage
DeviceManager_Clicked ( TrakHound_UI bt ) : void
GetLocalDeviceConfiguration ( string uniqueId ) : DeviceConfiguration
GetPluginPageInfos ( Assembly assembly, List infos ) : void
GetPluginPageInfos ( string path, List infos ) : void
GetProbeData ( DataTable dt ) : void
GetProbeData ( string address, int port, string deviceName ) : void
GetProbeDataItems ( ) : EventData
GetProbeHeader ( ) : EventData
LoadAgentSettings ( DataTable dt ) : void
LoadDevice ( ) : void

Loads the Device's DeviceConfiguration

LoadLocalDevice ( object o ) : void
LoadPage ( IConfigurationPage page ) : void
LoadPages ( ) : void
LoadPages_Finished ( ) : void
LoadUserDevice ( object o ) : void
Page_Selected ( ListButton lb ) : void
Reload_Clicked ( TrakHound_UI bt ) : void
RestorePages ( ) : void
Restore_Clicked ( TrakHound_UI bt ) : void
RunProbe ( string address, MTConnect proxy, int port, string deviceName ) : void
RunProbe_Worker ( object o ) : void
Save ( DataTable dt ) : void
Save_Clicked ( TrakHound_UI bt ) : void
Save_Finished ( bool success ) : void
Save_Worker ( object o ) : void
SendProbeDataItems ( List items ) : void
SendProbeHeader ( MTConnect header ) : void
UpdateLoggedInChanged ( EventData data ) : void
page_SendData ( EventData data ) : void
page_SettingChanged ( string name, string oldVal, string newVal ) : void

Method Details

Closed() public method

public Closed ( ) : void
return void

Closing() public method

public Closing ( ) : bool
return bool

EditPage() public method

public EditPage ( UserConfiguration _userConfig, string _uniqueId ) : System
_userConfig TrakHound.API.Users.UserConfiguration
_uniqueId string
return System

GetPluginPageInfos() public static method

public static GetPluginPageInfos ( ) : void
return void

GetSentData() public method

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

Opened() public method

public Opened ( ) : void
return void

Opening() public method

public Opening ( ) : bool
return bool

SetZoom() public method

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

Property Details

ConfigurationPages public_oe property

public List ConfigurationPages
return List

ConfigurationProperty public_oe static_oe property

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

CurrentPageProperty public_oe static_oe property

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

DeviceErrorProperty public_oe static_oe property

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

DeviceLoadingProperty public_oe static_oe property

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

SaveNeededProperty public_oe static_oe property

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

SavingProperty public_oe static_oe property

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