47 #define CDC_OPTION_PICS_SUBST (1 << 0) 48 #define CDC_OPTION_BLK_ENA (1 << 1) 51 #define CDC_OPTION_DESC (1 << 2) 54 #define CDC_OPTION_DESC_UNICODE (1 << 3) 57 #define CDC_OPTION_AC_DLNDA (1 << 4) 60 #define CDC_OPTION_AC_DLN (1 << 5) 63 #define CDC_OPTION_UNIT (1 << 6) 65 #define CDC_OPTION_FROZEN_VALUE (1 << 7) 67 #define CDC_OPTION_ADDR (1 << 8) 68 #define CDC_OPTION_ADDINFO (1 << 9) 70 #define CDC_OPTION_INST_MAG (1 << 10) 71 #define CDC_OPTION_RANGE (1 << 11) 73 #define CDC_OPTION_UNIT_MULTIPLIER (1 << 12) 75 #define CDC_OPTION_AC_SCAV (1 << 13) 77 #define CDC_OPTION_MIN (1 << 14) 78 #define CDC_OPTION_MAX (1 << 15) 80 #define CDC_OPTION_AC_CLC_O (1 << 16) 82 #define CDC_OPTION_RANGE_ANG (1 << 17) 84 #define CDC_OPTION_PHASE_A (1 << 18) 85 #define CDC_OPTION_PHASE_B (1 << 19) 86 #define CDC_OPTION_PHASE_C (1 << 20) 88 #define CDC_OPTION_PHASE_NEUT (1 << 21) 90 #define CDC_OPTION_PHASES_ABC (CDC_OPTION_PHASE_A | CDC_OPTION_PHASE_B | CDC_OPTION_PHASE_C) 92 #define CDC_OPTION_PHASES_ALL (CDC_OPTION_PHASE_A | CDC_OPTION_PHASE_B | CDC_OPTION_PHASE_C | CDC_OPTION_PHASE_NEUT) 94 #define CDC_OPTION_STEP_SIZE (1 << 22) 96 #define CDC_OPTION_ANGLE_REF (1 << 23) 99 #define CDC_OPTION_DPL_HWREV (1 << 17) 100 #define CDC_OPTION_DPL_SWREV (1 << 18) 101 #define CDC_OPTION_DPL_SERNUM (1 << 19) 102 #define CDC_OPTION_DPL_MODEL (1 << 20) 103 #define CDC_OPTION_DPL_LOCATION (1 << 21) 106 #define CDC_OPTION_AC_LN0_M (1 << 24) 107 #define CDC_OPTION_AC_LN0_EX (1 << 25) 108 #define CDC_OPTION_AC_DLD_M (1 << 26) 113 #define CDC_CTL_MODEL_NONE 0 114 #define CDC_CTL_MODEL_DIRECT_NORMAL 1 115 #define CDC_CTL_MODEL_SBO_NORMAL 2 116 #define CDC_CTL_MODEL_DIRECT_ENHANCED 3 117 #define CDC_CTL_MODEL_SBO_ENHANCED 4 119 #define CDC_CTL_MODEL_HAS_CANCEL (1 << 4) 120 #define CDC_CTL_MODEL_IS_TIME_ACTIVATED (1 << 5) 122 #define CDC_CTL_OPTION_ORIGIN (1 << 6) 123 #define CDC_CTL_OPTION_CTL_NUM (1 << 7) 124 #define CDC_CTL_OPTION_ST_SELD (1 << 8) 125 #define CDC_CTL_OPTION_OP_RCVD (1 << 9) 126 #define CDC_CTL_OPTION_OP_OK (1 << 10) 127 #define CDC_CTL_OPTION_T_OP_OK (1 << 11) 128 #define CDC_CTL_OPTION_SBO_TIMEOUT (1 << 12) 129 #define CDC_CTL_OPTION_SBO_CLASS (1 << 13) 130 #define CDC_CTL_OPTION_OPER_TIMEOUT (1 << 14) 138 bool isIntegerNotFloat);
163 CAC_Unit_create(
const char* name, ModelNode* parent,
bool hasMagnitude);
173 CDC_SPS_create(
const char* dataObjectName, ModelNode* parent, uint32_t options);
176 CDC_DPS_create(
const char* dataObjectName, ModelNode* parent, uint32_t options);
179 CDC_INS_create(
const char* dataObjectName, ModelNode* parent, uint32_t options);
182 CDC_ENS_create(
const char* dataObjectName, ModelNode* parent, uint32_t options);
185 CDC_BCR_create(
const char* dataObjectName, ModelNode* parent, uint32_t options);
188 CDC_VSS_create(
const char* dataObjectName, ModelNode* parent, uint32_t options);
206 CDC_SEC_create(
const char* dataObjectName, ModelNode* parent, uint32_t options);
226 CDC_MV_create(
const char* dataObjectName, ModelNode* parent, uint32_t options,
bool isIntegerNotFloat);
233 CDC_CMV_create(
const char* dataObjectName, ModelNode* parent, uint32_t options);
254 CDC_SAV_create(
const char* dataObjectName, ModelNode* parent, uint32_t options,
bool isIntegerNotFloat);
278 CDC_LPL_create(
const char* dataObjectName, ModelNode* parent, uint32_t options);
302 CDC_DPL_create(
const char* dataObjectName, ModelNode* parent, uint32_t options);
305 CDC_HST_create(
const char* dataObjectName, ModelNode* parent, uint32_t options, uint16_t maxPts);
326 CDC_ACD_create(
const char* dataObjectName, ModelNode* parent, uint32_t options);
332 CDC_ACT_create(
const char* dataObjectName, ModelNode* parent, uint32_t options);
342 CDC_SPG_create(
const char* dataObjectName, ModelNode* parent, uint32_t options);
352 CDC_VSG_create(
const char* dataObjectName, ModelNode* parent, uint32_t options);
362 CDC_ENG_create(
const char* dataObjectName, ModelNode* parent, uint32_t options);
376 CDC_ING_create(
const char* dataObjectName, ModelNode* parent, uint32_t options);
390 CDC_ASG_create(
const char* dataObjectName, ModelNode* parent, uint32_t options,
bool isIntegerNotFloat);
399 CDC_WYE_create(
const char* dataObjectName, ModelNode* parent, uint32_t options);
408 CDC_DEL_create(
const char* dataObjectName, ModelNode* parent, uint32_t options);
420 CDC_SPC_create(
const char* dataObjectName, ModelNode* parent, uint32_t options, uint32_t controlOptions);
438 CDC_DPC_create(
const char* dataObjectName, ModelNode* parent, uint32_t options, uint32_t controlOptions);
460 CDC_INC_create(
const char* dataObjectName, ModelNode* parent, uint32_t options, uint32_t controlOptions);
478 CDC_ENC_create(
const char* dataObjectName, ModelNode* parent, uint32_t options, uint32_t controlOptions);
497 CDC_BSC_create(
const char* dataObjectName, ModelNode* parent, uint32_t options, uint32_t controlOptions,
bool hasTransientIndicator);
515 CDC_APC_create(
const char* dataObjectName, ModelNode* parent, uint32_t options, uint32_t controlOptions,
bool isIntegerNotFloat);
518 #define CDC_OPTION_61400_MIN_MX_VAL (1 << 10) 521 #define CDC_OPTION_61400_MAX_MX_VAL (1 << 11) 524 #define CDC_OPTION_61400_TOT_AV_VAL (1 << 12) 527 #define CDC_OPTION_61400_SDV_VAL (1 << 13) 530 #define CDC_OPTION_61400_INC_RATE (1 << 14) 533 #define CDC_OPTION_61400_DEC_RATE (1 << 15) 536 #define CDC_OPTION_61400_SP_ACS (1 << 16) 539 #define CDC_OPTION_61400_CHA_PER_RS (1 << 17) 542 #define CDC_OPTION_61400_CM_ACS (1 << 18) 545 #define CDC_OPTION_61400_TM_TOT (1 << 19) 548 #define CDC_OPTION_61400_COUNTING_DAILY (1 << 20) 551 #define CDC_OPTION_61400_COUNTING_MONTHLY (1 << 21) 554 #define CDC_OPTION_61400_COUNTING_YEARLY (1 << 22) 557 #define CDC_OPTION_61400_COUNTING_TOTAL (1 << 23) 560 #define CDC_OPTION_61400_COUNTING_ALL (CDC_OPTION_61400_COUNTING_DAILY | CDC_OPTION_61400_COUNTING_MONTHLY | CDC_OPTION_61400_COUNTING_YEARLY | CDC_OPTION_61400_COUNTING_TOTAL) 565 uint32_t controlOptions,
572 uint32_t controlOptions,
579 uint32_t controlOptions,
588 uint32_t controlOptions,
595 uint32_t controlOptions,
602 uint32_t controlOptions,
DataAttribute * CAC_ScaledValueConfig_create(const char *name, ModelNode *parent)
DataObject * CDC_DPC_create(const char *dataObjectName, ModelNode *parent, uint32_t options, uint32_t controlOptions)
Controllable double point (DPC)
DataObject * CDC_SPG_create(const char *dataObjectName, ModelNode *parent, uint32_t options)
Single point setting (SPG)
DataObject * CDC_BSC_create(const char *dataObjectName, ModelNode *parent, uint32_t options, uint32_t controlOptions, bool hasTransientIndicator)
Controllable enumerated status (ENC)
DataObject * CDC_SEC_create(const char *dataObjectName, ModelNode *parent, uint32_t options)
create a new SEC (Security violation) CDC instance (data object)
DataObject * CDC_SPV_create(const char *dataObjectName, ModelNode *parent, uint32_t options, uint32_t controlOptions, uint32_t wpOptions, bool hasChaManRs)
DataObject * CDC_SPC_create(const char *dataObjectName, ModelNode *parent, uint32_t options, uint32_t controlOptions)
Controllable single point (SPC)
DataObject * CDC_DEL_create(const char *dataObjectName, ModelNode *parent, uint32_t options)
Phase to phase related measured values of a three-phase system (DEL)
DataObject * CDC_ENC_create(const char *dataObjectName, ModelNode *parent, uint32_t options, uint32_t controlOptions)
Controllable enumerated status (ENC)
DataObject * CDC_APC_create(const char *dataObjectName, ModelNode *parent, uint32_t options, uint32_t controlOptions, bool isIntegerNotFloat)
Controllable analogue process value (APC)
DataAttribute * CAC_Vector_create(const char *name, ModelNode *parent, uint32_t options, FunctionalConstraint fc, uint8_t triggerOptions)
DataAttribute * CAC_AnalogueValue_create(const char *name, ModelNode *parent, FunctionalConstraint fc, uint8_t triggerOptions, bool isIntegerNotFloat)
DataObject * CDC_BCR_create(const char *dataObjectName, ModelNode *parent, uint32_t options)
DataObject * CDC_ALM_create(const char *dataObjectName, ModelNode *parent, uint32_t options, uint32_t controlOptions, uint32_t wpOptions, bool hasOldStatus)
DataObject * CDC_LPL_create(const char *dataObjectName, ModelNode *parent, uint32_t options)
create a new LPL (Logical node name plate) CDC instance (data object)
DataObject * CDC_ENG_create(const char *dataObjectName, ModelNode *parent, uint32_t options)
Enumerated status setting (ENG)
DataObject * CDC_MV_create(const char *dataObjectName, ModelNode *parent, uint32_t options, bool isIntegerNotFloat)
create a new MV (Measured value) CDC instance (data object)
DataObject * CDC_ING_create(const char *dataObjectName, ModelNode *parent, uint32_t options)
Integer status setting (ING)
DataObject * CDC_DPS_create(const char *dataObjectName, ModelNode *parent, uint32_t options)
DataObject * CDC_INS_create(const char *dataObjectName, ModelNode *parent, uint32_t options)
DataObject * CDC_CMV_create(const char *dataObjectName, ModelNode *parent, uint32_t options)
DataAttribute * CAC_ValWithTrans_create(const char *name, ModelNode *parent, FunctionalConstraint fc, uint8_t triggerOptions, bool hasTransientIndicator)
create a ValWithTrans constructed data attribute
DataObject * CDC_TMS_create(const char *dataObjectName, ModelNode *parent, uint32_t options, uint32_t controlOptions, uint32_t wpOptions, bool hasHisRs)
DataObject * CDC_ACT_create(const char *dataObjectName, ModelNode *parent, uint32_t options)
Protection activation information (ACT)
DataObject * CDC_ENS_create(const char *dataObjectName, ModelNode *parent, uint32_t options)
DataObject * CDC_VSG_create(const char *dataObjectName, ModelNode *parent, uint32_t options)
Visible string setting (VSG)
DataObject * CDC_STV_create(const char *dataObjectName, ModelNode *parent, uint32_t options, uint32_t controlOptions, uint32_t wpOptions, bool hasOldStatus)
DataObject * CDC_SAV_create(const char *dataObjectName, ModelNode *parent, uint32_t options, bool isIntegerNotFloat)
create a new SAV (Sampled analog value) CDC instance (data object)
DataObject * CDC_VSS_create(const char *dataObjectName, ModelNode *parent, uint32_t options)
DataObject * CDC_ACD_create(const char *dataObjectName, ModelNode *parent, uint32_t options)
Directional protection activation information (ACD)
DataObject * CDC_ASG_create(const char *dataObjectName, ModelNode *parent, uint32_t options, bool isIntegerNotFloat)
Analogue Setting (ASG)
DataAttribute * CDA_OperBoolean(ModelNode *parent, bool isTImeActivated)
DataObject * CDC_INC_create(const char *dataObjectName, ModelNode *parent, uint32_t options, uint32_t controlOptions)
Controllable integer status (INC)
DataAttribute * CAC_Point_create(const char *name, ModelNode *parent, FunctionalConstraint fc, uint8_t triggerOptions, bool hasZVal)
DataObject * CDC_DPL_create(const char *dataObjectName, ModelNode *parent, uint32_t options)
create a new DPL (Device name plate) CDC instance (data object)
DataObject * CDC_SPS_create(const char *dataObjectName, ModelNode *parent, uint32_t options)
FunctionalConstraint
Definition: iec61850_common.h:202
DataObject * CDC_WYE_create(const char *dataObjectName, ModelNode *parent, uint32_t options)
Phase to ground/neutral related measured values of a three-phase system (WYE)
DataObject * CDC_HST_create(const char *dataObjectName, ModelNode *parent, uint32_t options, uint16_t maxPts)
DataObject * CDC_CMD_create(const char *dataObjectName, ModelNode *parent, uint32_t options, uint32_t controlOptions, uint32_t wpOptions, bool hasOldStatus, bool hasCmTm, bool hasCmCt)
DataAttribute * CAC_Unit_create(const char *name, ModelNode *parent, bool hasMagnitude)
DataObject * CDC_CTE_create(const char *dataObjectName, ModelNode *parent, uint32_t options, uint32_t controlOptions, uint32_t wpOptions, bool hasHisRs)