Class ProtocolSetting
Inheritance
Namespace: Sensus
Assembly: SensusAndroid.dll
Syntax
public class ProtocolSetting : Object
Constructors
ProtocolSetting()
Declaration
public ProtocolSetting()
Properties
PropertyName
The name of the property within the type (named by PropertyTypeName) to be changed. For
example, this would be MaxDataStoresPerSecond
if one wishes to change the
MaxDataStoresPerSecond property.
Declaration
public string PropertyName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the property. |
PropertyTypeName
The fully-qualified name of the type whose property (named by PropertyName) to be changed. For
example, this would be Sensus.Probes.ListeningProbe
if one wishes to change the
MaxDataStoresPerSecond property.
Declaration
public string PropertyTypeName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the property type. |
TargetTypeName
The fully-qualified name of the type whose instances should have their property values (specifically
the property indicated by PropertyTypeName and PropertyName) changed. For
example, if one wishes to update MaxDataStoresPerSecond for
all Probes that inherit from ListeningProbe, then this should
be Sensus.Probes.ListeningProbe
. If one wishes to only update
MaxDataStoresPerSecond for only the AccelerometerProbe,
then this should be Sensus.Probes.Movement.AccelerometerProbe
. Allowing the setting to modify all
inheriting classes provides a convenient mechanism for updating several Probe,
obviating the need to specify a ProtocolSetting for each Probe.
Declaration
public string TargetTypeName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the target type. |
Value
Value to set on the property indicated by PropertyTypeName and PropertyName within instances of TargetTypeName.
Declaration
public object Value { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The value. |