C# Class CaSharpServer.CARecord

Base class for all the server records. Offers the base fields as well as some of the logic.
Afficher le fichier Open project: ISISComputingGroup/EPICS-epicssharp Class Usage Examples

Protected Properties

Свойство Type Description
lastProccessed System.DateTime

Private Properties

Свойство Type Description
CARecord System
CallPrepareRecord void
CallPropertySet bool
PopulateProperties void
ProcessRecord void

Méthodes publiques

Méthode Description
GetDouble ( string key ) : double
GetFloat ( string key ) : float
GetInt ( string key ) : int
GetLong ( string key ) : long
GetPropertyType ( string key ) : Type
GetShort ( string key ) : short
SetArrayValue ( string key, int index, object value ) : void
TriggerAlarm ( AlarmSeverity severity, AlarmStatus status ) : void

Fires a change of the alarm status.

this ( string key ) : object

Private Methods

Méthode Description
CARecord ( ) : System

Initialize the record with a scan rate of 10Hz and no alarm.

CallPrepareRecord ( ) : void
CallPropertySet ( PropertyDelegateEventArgs evt ) : bool

Calls the PropertySet call back. If cancelled then return false, otherwise return true.

PopulateProperties ( ) : void
ProcessRecord ( ) : void

Method Details

GetDouble() public méthode

public GetDouble ( string key ) : double
key string
Résultat double

GetFloat() public méthode

public GetFloat ( string key ) : float
key string
Résultat float

GetInt() public méthode

public GetInt ( string key ) : int
key string
Résultat int

GetLong() public méthode

public GetLong ( string key ) : long
key string
Résultat long

GetPropertyType() public méthode

public GetPropertyType ( string key ) : Type
key string
Résultat System.Type

GetShort() public méthode

public GetShort ( string key ) : short
key string
Résultat short

SetArrayValue() public méthode

public SetArrayValue ( string key, int index, object value ) : void
key string
index int
value object
Résultat void

TriggerAlarm() public méthode

Fires a change of the alarm status.
public TriggerAlarm ( AlarmSeverity severity, AlarmStatus status ) : void
severity AlarmSeverity New alarm severity
status AlarmStatus New alarm status
Résultat void

this() public méthode

public this ( string key ) : object
key string
Résultat object

Property Details

lastProccessed protected_oe property

protected DateTime,System lastProccessed
Résultat System.DateTime