public class PSXfrPControlImpl extends BranchFlowControlImpl implements PSXfrPControl
The following features are implemented:
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
Modifier and Type | Field and Description |
---|---|
protected static double |
ACC_FACTOR_EDEFAULT
The default value of the '
Acc Factor ' attribute. |
protected double |
accFactor
The cached value of the '
Acc Factor ' attribute. |
protected static LimitType |
ANG_LIMIT_EDEFAULT
The default value of the '
Ang Limit ' attribute. |
CONTROL_LIMIT_EDEFAULT, CONTROL_ON_FROM_SIDE_EDEFAULT, CONTROL_SPEC_EDEFAULT, controlLimit, controlOnFromSide, controlSpec, FLOW_FROM2_TO_EDEFAULT, flowFrom2To, METERED_ON_FROM_SIDE_EDEFAULT, meteredOnFromSide, parentBranch
ADJ_CONTROL_TYPE_EDEFAULT, adjControlType, ADJUST_STATUS_EDEFAULT, adjustStatus, CONTROL_MODE_EDEFAULT, controlMode, DESIRED_CONTROL_RANGE_EDEFAULT, desiredControlRange
desc, DESC_EDEFAULT, id, ID_EDEFAULT, name, NAME_EDEFAULT, number, NUMBER_EDEFAULT, status, STATUS_CHANGE_INFO_EDEFAULT, STATUS_EDEFAULT, statusChangeInfo
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
Modifier | Constructor and Description |
---|---|
protected |
PSXfrPControlImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkData(DataCheckConfiguration config) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
void |
eUnset(int featureID) |
double |
getAccFactor() |
LimitType |
getAngLimit() |
LimitType |
getAngLimit(Unit.UnitType unit) |
double |
getPSpecified() |
double |
getPSpecified(Unit.UnitType unit,
double baseKva) |
<T> T |
jsonCopy() |
boolean |
needAdjust(double tolerance) |
boolean |
performAdjust(double accFactor) |
void |
readData(com.hazelcast.nio.ObjectDataInput in) |
void |
setAccFactor(double newAccFactor) |
void |
setAngLimit(LimitType limit) |
void |
setAngLimit(LimitType limit,
Unit.UnitType unit) |
void |
setPSpecified(double p) |
void |
setPSpecified(double p,
Unit.UnitType unit,
double baseKva) |
java.lang.String |
toString() |
void |
writeData(com.hazelcast.nio.ObjectDataOutput out) |
getControlLimit, getControlSpec, getParentBranch, isControlOnFromSide, isFlowFrom2To, isMeteredOnFromSide, setControlLimit, setControlOnFromSide, setControlSpec, setFlowFrom2To, setMeteredOnFromSide, setParentBranch
getAdjControlType, getControlMode, getDesiredControlRange, isAdjustStatus, isControlStatus, setAdjControlType, setAdjustStatus, setControlMode, setControlStatus, setDesiredControlRange
checkData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfo
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getControlLimit, getControlSpec, getParentBranch, isControlOnFromSide, isFlowFrom2To, isMeteredOnFromSide, setControlLimit, setControlOnFromSide, setControlSpec, setFlowFrom2To, setMeteredOnFromSide, setParentBranch
getAdjControlType, getControlMode, getDesiredControlRange, isAdjustStatus, isControlStatus, setAdjControlType, setAdjustStatus, setControlMode, setControlStatus, setDesiredControlRange
checkData, getDesc, getId, getName, getNumber, getStatusChangeInfo, hzCopy, isActive, isStatus, setDesc, setId, setName, setNumber, setStatus, setStatusChangeInfo
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected static final double ACC_FACTOR_EDEFAULT
Acc Factor
' attribute.
getAccFactor()
,
Constant Field Valuesprotected double accFactor
Acc Factor
' attribute.
getAccFactor()
protected static final LimitType ANG_LIMIT_EDEFAULT
Ang Limit
' attribute.
getAngLimit()
public boolean checkData(DataCheckConfiguration config)
checkData
in interface NameTag
checkData
in class NameTagImpl
config
- data check configuration
public double getAccFactor()
getAccFactor
in interface PSXfrPControl
PSXfrPControl.setAccFactor(double)
,
AclfAdjustPackage.getPSXfrPControl_AccFactor()
public void setAccFactor(double newAccFactor)
setAccFactor
in interface PSXfrPControl
newAccFactor
- the new value of the 'Acc Factor' attribute.PSXfrPControl.getAccFactor()
public double getPSpecified()
getPSpecified
in interface PSXfrPControl
public void setPSpecified(double p)
setPSpecified
in interface PSXfrPControl
public LimitType getAngLimit()
getAngLimit
in interface PSXfrPControl
public void setAngLimit(LimitType limit)
setAngLimit
in interface PSXfrPControl
limit
- angle limit
public boolean performAdjust(double accFactor)
performAdjust
in interface IAclfAdjustment
performAdjust
in class BaseBusBranchControlImpl
accFactor
- acceleration factor for the adjustment, default value 1.0.
public LimitType getAngLimit(Unit.UnitType unit)
getAngLimit
in interface PSXfrPControl
unit
- angle unit
public double getPSpecified(Unit.UnitType unit, double baseKva)
getPSpecified
in interface PSXfrPControl
unit
- p specified unitbaseKva
- base kva for P unit conversion
public boolean needAdjust(double tolerance)
needAdjust
in interface IAclfAdjustment
needAdjust
in class BaseBusBranchControlImpl
tolerance
- Error tolerance for deciding adj/control action. In general, if certain value of the
adj/control device is less than the tolerance, there is no need for further adj/control
action.
public void setAngLimit(LimitType limit, Unit.UnitType unit)
setAngLimit
in interface PSXfrPControl
limit
- angle limitunit
- angle limit unit
public void setPSpecified(double p, Unit.UnitType unit, double baseKva)
setPSpecified
in interface PSXfrPControl
p
- p specified valueunit
- p specified unitbaseKva
- base kva for P unit conversion
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class BranchFlowControlImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class BranchFlowControlImpl
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class BranchFlowControlImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class BranchFlowControlImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class BranchFlowControlImpl
public <T> T jsonCopy()
jsonCopy
in interface NameTag
jsonCopy
in class NameTagImpl
public void writeData(com.hazelcast.nio.ObjectDataOutput out) throws java.io.IOException
NameTagImpl
writeData
in interface com.hazelcast.nio.serialization.DataSerializable
writeData
in class BranchFlowControlImpl
java.io.IOException
public void readData(com.hazelcast.nio.ObjectDataInput in) throws java.io.IOException
NameTagImpl
readData
in interface com.hazelcast.nio.serialization.DataSerializable
readData
in class BranchFlowControlImpl
java.io.IOException
public java.lang.String toString()
toString
in class BranchFlowControlImpl