C# 클래스 hobd.DerivedSensor

Derived sensor is a simplified implementation of a sensor, which value depends on one or two other sensors
상속: CoreSensor
파일 보기 프로젝트 열기: cail/hobd 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DerivedValue Func

보호된 프로퍼티들

프로퍼티 타입 설명
Interval int
a Sensor
aid string
b Sensor
bid string
recurseValue bool
triggerA bool

공개 메소드들

메소드 설명
DerivedSensor ( string id, string a, string b ) : System

Constructs a derived sensor

DerivedSensor ( string id, string a, string b, bool triggerA, bool triggerB ) : System
DerivedSensor ( string id, string a, string b, bool triggerA, bool triggerB, int interval ) : System
DerivedSensor ( string id, string a, string b, int interval ) : System
OnSensorChange ( Sensor s ) : void

보호된 메소드들

메소드 설명
Activate ( ) : void
Deactivate ( ) : void
LoadBaseSensors ( ) : void

메소드 상세

Activate() 보호된 메소드

protected Activate ( ) : void
리턴 void

Deactivate() 보호된 메소드

protected Deactivate ( ) : void
리턴 void

DerivedSensor() 공개 메소드

Constructs a derived sensor
public DerivedSensor ( string id, string a, string b ) : System
id string /// A ID of this sensor ///
a string /// A ID of sensor A, which this sensor is listening ///
b string /// A ID of sensor B, which this sensor is listening ///
리턴 System

DerivedSensor() 공개 메소드

public DerivedSensor ( string id, string a, string b, bool triggerA, bool triggerB ) : System
id string
a string
b string
triggerA bool
triggerB bool
리턴 System

DerivedSensor() 공개 메소드

public DerivedSensor ( string id, string a, string b, bool triggerA, bool triggerB, int interval ) : System
id string
a string
b string
triggerA bool
triggerB bool
interval int
리턴 System

DerivedSensor() 공개 메소드

public DerivedSensor ( string id, string a, string b, int interval ) : System
id string
a string
b string
interval int
리턴 System

LoadBaseSensors() 보호된 메소드

protected LoadBaseSensors ( ) : void
리턴 void

OnSensorChange() 공개 메소드

public OnSensorChange ( Sensor s ) : void
s Sensor
리턴 void

프로퍼티 상세

DerivedValue 공개적으로 프로퍼티

public Func DerivedValue
리턴 Func

Interval 보호되어 있는 프로퍼티

protected int Interval
리턴 int

a 보호되어 있는 프로퍼티

protected Sensor a
리턴 Sensor

aid 보호되어 있는 프로퍼티

protected string aid
리턴 string

b 보호되어 있는 프로퍼티

protected Sensor b
리턴 Sensor

bid 보호되어 있는 프로퍼티

protected string bid
리턴 string

recurseValue 보호되어 있는 프로퍼티

protected bool recurseValue
리턴 bool

triggerA 보호되어 있는 프로퍼티

protected bool triggerA
리턴 bool