C# Class JetStreamMain.DAL.JetstreamConfiguration

Exibir arquivo Open project: tersosolutions/JetstreamSDK-.NET_Launchpad

Public Methods

Method Description
GetAddPolicyDeviceDefinitionId ( string PolicyDeviceDefinitionId ) : string
GetDeviceDefinitionId ( string LogicalDeviceIDKey ) : string

GetDeviceSerailNumber ( ) : string

GetDeviceSerialNumber ( string DeviceSerialNumberKey ) : string

GetLogicalDeviceID ( ) : string

GetLogicalDeviceID ( string LogicalDeviceIDkey ) : string
GetNumber ( int min, int max ) : int
GetPolicyId ( ) : string

GetPolicyId ( string PolicyId ) : string
GetPolicyName ( ) : string

Private Methods

Method Description
GetValueFromConfigFile ( string Name ) : string

GetValueFromDB ( string Name ) : string

Routine to retrieve a value from the database

SaveValueToConfigFile ( string Name, string Value ) : void

SaveValueToDB ( string Name, string Value ) : void

Routine to save a value to the database

Method Details

GetAddPolicyDeviceDefinitionId() public static method

public static GetAddPolicyDeviceDefinitionId ( string PolicyDeviceDefinitionId ) : string
PolicyDeviceDefinitionId string
return string

GetDeviceDefinitionId() public static method

public static GetDeviceDefinitionId ( string LogicalDeviceIDKey ) : string
LogicalDeviceIDKey string
return string

GetDeviceSerailNumber() public static method

public static GetDeviceSerailNumber ( ) : string
return string

GetDeviceSerialNumber() public static method

public static GetDeviceSerialNumber ( string DeviceSerialNumberKey ) : string
DeviceSerialNumberKey string
return string

GetLogicalDeviceID() public static method

public static GetLogicalDeviceID ( ) : string
return string

GetLogicalDeviceID() public static method

public static GetLogicalDeviceID ( string LogicalDeviceIDkey ) : string
LogicalDeviceIDkey string
return string

GetNumber() public static method

public static GetNumber ( int min, int max ) : int
min int
max int
return int

GetPolicyId() public static method

public static GetPolicyId ( ) : string
return string

GetPolicyId() public static method

public static GetPolicyId ( string PolicyId ) : string
PolicyId string
return string

GetPolicyName() public static method

public static GetPolicyName ( ) : string
return string