io.stepfunc.dnp3.BoolAttr Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dnp3 Show documentation
Show all versions of dnp3 Show documentation
Safe and fast DNP3 library
// This library is provided under the terms of a non-commercial license.
//
// Please refer to the source repository for details:
//
// https://github.com/stepfunc/dnp3/blob/master/LICENSE.txt
//
// Please contact Step Function I/O if you are interested in commercial license:
//
// [email protected]
package io.stepfunc.dnp3;
import org.joou.*;
/**
* Enumeration of all the known boolean attributes
*
* Boolean attributes are actually just encoded as signed integer attributes where 1 == true
*/
public enum BoolAttr
{
/**
* The attribute variation is not defined or is not part of the default set
*/
UNKNOWN(0),
/**
* Variation 219 - Supports analog output events
*/
SUPPORTS_ANALOG_OUTPUT_EVENTS(1),
/**
* Variation 222 - Supports binary output events
*/
SUPPORTS_BINARY_OUTPUT_EVENTS(2),
/**
* Variation 225 - Supports frozen counter events
*/
SUPPORTS_FROZEN_COUNTER_EVENTS(3),
/**
* Variation 226 - Supports frozen counters
*/
SUPPORTS_FROZEN_COUNTERS(4),
/**
* Variation 227 - Supports counter events
*/
SUPPORTS_COUNTER_EVENTS(5),
/**
* Variation 230 - Supports frozen analog input events
*/
SUPPORTS_FROZEN_ANALOG_INPUTS(6),
/**
* Variation 231 - Supports analog input events
*/
SUPPORTS_ANALOG_INPUT_EVENTS(7),
/**
* Variation 234 - Supports double-bit binary input events
*/
SUPPORTS_DOUBLE_BIT_BINARY_INPUT_EVENTS(8),
/**
* Variation 237 - Support binary input events
*/
SUPPORTS_BINARY_INPUT_EVENTS(9),;
final private int value;
private BoolAttr(int value)
{
this.value = value;
}
}