C# Класс CaSharpServer.CARecord

Base class for all the server records. Offers the base fields as well as some of the logic.
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
lastProccessed System.DateTime

Private Properties

Свойство Тип Описание
CARecord System
CallPrepareRecord void
CallPropertySet bool
PopulateProperties void
ProcessRecord void

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

GetDouble() публичный метод

public GetDouble ( string key ) : double
key string
Результат double

GetFloat() публичный метод

public GetFloat ( string key ) : float
key string
Результат float

GetInt() публичный метод

public GetInt ( string key ) : int
key string
Результат int

GetLong() публичный метод

public GetLong ( string key ) : long
key string
Результат long

GetPropertyType() публичный метод

public GetPropertyType ( string key ) : Type
key string
Результат System.Type

GetShort() публичный метод

public GetShort ( string key ) : short
key string
Результат short

SetArrayValue() публичный метод

public SetArrayValue ( string key, int index, object value ) : void
key string
index int
value object
Результат void

TriggerAlarm() публичный метод

Fires a change of the alarm status.
public TriggerAlarm ( AlarmSeverity severity, AlarmStatus status ) : void
severity AlarmSeverity New alarm severity
status AlarmStatus New alarm status
Результат void

this() публичный метод

public this ( string key ) : object
key string
Результат object

Описание свойств

lastProccessed защищенное свойство

protected DateTime,System lastProccessed
Результат System.DateTime