type

ConnPoint

const class ConnPoint : Obj

ConnPoint models a point within a connector.

methods

conn

Parent connector

curAddr

Current address tag value if configured on the point

data

Library specific point data.

dis

Display name

hisAddr

History address tag value if configured on the point

id

Record id

isCurEnabled

Is current address enabled on this point.

isDisabled

Does the record have the disabled marker configured

isEnabled

Is the record missing disabled marker configured

isHisEnabled

Is history address supported on this point.

isWatched

Is this point currently in one or more watches

isWriteEnabled

Is write address enabled on this point.

kind

Point kind defined by rec kind tag

lib

Parent connector library

rec

Current version of the record.

toStr

Debug string

tuning

Conn tuning configuration to use for this point

tz

Timezone defined by rec tz tag

unit

Unit defined by rec unit tag or null

updateCurErr

Put point into down/fault/remoteErr with given error.

updateCurOk

Update current value and status

updateHisErr

Update his sync with given error

updateHisOk

Write new history items and update status.

updateWriteErr

Update write status down/fault with given error

updateWriteOk

Update write value and status

writeAddr

Write address tag value if configured on the point

Slot Details

conn

virtual override Conn conn()

Parent connector

curAddr

Obj? curAddr()

Current address tag value if configured on the point

data

Obj? data()

Library specific point data. This value is managed by the connector actor via ConnDispatch.setPointData.

dis

Str dis()

Display name

hisAddr

Obj? hisAddr()

History address tag value if configured on the point

id

virtual override Ref id()

Record id

isCurEnabled

Bool isCurEnabled()

Is current address enabled on this point. This returns true only when all the of following conditions are met:

  • the connector supports current values
  • this point has a cur address tag configured
  • the address tag value is of the proper type
  • the point is not disabled

isDisabled

Bool isDisabled()

Does the record have the disabled marker configured

isEnabled

Bool isEnabled()

Is the record missing disabled marker configured

isHisEnabled

Bool isHisEnabled()

Is history address supported on this point. This returns true only when all the of following conditions are met:

  • the connector supports history synchronization
  • this point has a his address tag configured
  • the address tag value is of the proper type
  • the point is not disabled

isWatched

Bool isWatched()

Is this point currently in one or more watches

isWriteEnabled

Bool isWriteEnabled()

Is write address enabled on this point. This returns true only when all the of following conditions are met:

  • the connector supports writable points
  • this point has a write address tag configured
  • the address tag value is of the proper type
  • the point is not disabled

kind

Kind kind()

Point kind defined by rec kind tag

lib

virtual override ConnLib lib()

Parent connector library

rec

virtual override Dict rec()

Current version of the record. This dict only represents the current persistent tags. It does not track transient changes such as curVal and curStatus.

toStr

virtual override Str toStr()

Debug string

tuning

ConnTuning tuning()

Conn tuning configuration to use for this point

tz

TimeZone tz()

Timezone defined by rec tz tag

unit

Unit? unit()

Unit defined by rec unit tag or null

updateCurErr

Void updateCurErr(Err err)

Put point into down/fault/remoteErr with given error.

updateCurOk

Void updateCurOk(Obj? val)

Update current value and status

updateHisErr

Obj? updateHisErr(Err err)

Update his sync with given error

updateHisOk

Obj? updateHisOk(HisItem[] items, Span span)

Write new history items and update status. Span should be same value passed to onSyncHis. The items will be normalized, clipped by span, converted by hisConvert if configured, and then and written to historian.

updateWriteErr

Void updateWriteErr(ConnWriteInfo info, Err err)

Update write status down/fault with given error

updateWriteOk

Void updateWriteOk(ConnWriteInfo info)

Update write value and status

writeAddr

Obj? writeAddr()

Write address tag value if configured on the point