C# Class CaSharpServer.CARecord

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

Protected Properties

Property Type Description
lastProccessed System.DateTime

Private Properties

Property Type Description
CARecord System
CallPrepareRecord void
CallPropertySet bool
PopulateProperties void
ProcessRecord void

Public Methods

Method 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

Method 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 method

public GetDouble ( string key ) : double
key string
return double

GetFloat() public method

public GetFloat ( string key ) : float
key string
return float

GetInt() public method

public GetInt ( string key ) : int
key string
return int

GetLong() public method

public GetLong ( string key ) : long
key string
return long

GetPropertyType() public method

public GetPropertyType ( string key ) : Type
key string
return System.Type

GetShort() public method

public GetShort ( string key ) : short
key string
return short

SetArrayValue() public method

public SetArrayValue ( string key, int index, object value ) : void
key string
index int
value object
return void

TriggerAlarm() public method

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

this() public method

public this ( string key ) : object
key string
return object

Property Details

lastProccessed protected_oe property

protected DateTime,System lastProccessed
return System.DateTime