Class CustomParamsConfigs
Custom Params.
Custom paramaters that have no real impact on controller.public class CustomParamsConfigs : IParentConfiguration, ISerializable, ICloneable
- Inheritance
-
CustomParamsConfigs
- Implements
- Inherited Members
Fields
CustomParam0
Custom parameter 0. This is provided to allow end-applications to store persistent information in the device.
- Minimum Value-32768
- Maximum Value32767
- Default Value0
- Units
public int CustomParam0
Field Value
CustomParam1
Custom parameter 1. This is provided to allow end-applications to store persistent information in the device.
- Minimum Value-32768
- Maximum Value32767
- Default Value0
- Units
public int CustomParam1
Field Value
Methods
Clone()
Creates a copy of this config group.
public CustomParamsConfigs Clone()
Returns
Deserialize(string)
Deserialize string and put values into this object
public StatusCode Deserialize(string to_deserialize)
Parameters
to_deserializestringString to deserialize
Returns
- StatusCode
OK if deserialization is OK
Serialize()
Serialize this object into a string
public string Serialize()
Returns
- string
This object's data serialized into a string
ToString()
Provides the string representation of this object
public override string ToString()
Returns
WithCustomParam0(int)
Modifies this configuration's CustomParam0 parameter and returns itself for method-chaining and easier to use config API.
Custom parameter 0. This is provided to allow end-applications to store persistent information in the device.- Minimum Value-32768
- Maximum Value32767
- Default Value0
- Units
public CustomParamsConfigs WithCustomParam0(int newCustomParam0)
Parameters
newCustomParam0intParameter to modify
Returns
- CustomParamsConfigs
Itself
WithCustomParam1(int)
Modifies this configuration's CustomParam1 parameter and returns itself for method-chaining and easier to use config API.
Custom parameter 1. This is provided to allow end-applications to store persistent information in the device.- Minimum Value-32768
- Maximum Value32767
- Default Value0
- Units
public CustomParamsConfigs WithCustomParam1(int newCustomParam1)
Parameters
newCustomParam1intParameter to modify
Returns
- CustomParamsConfigs
Itself