DpManager

class DpManager

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun connect(dpList: List<String>, answer: Boolean = true, callback: (dpList: List<String>, values: List<Any?>) -> Unit)
Link copied to clipboard
fun connectByIdentify(dpList: List<ProtoDpId>, answer: Boolean = true, callback: (dpList: List<ProtoDpId>, values: List<Any?>) -> Unit)
Link copied to clipboard
Link copied to clipboard
suspend fun dpCreate(idType: Long, nameDP: String): Int
Link copied to clipboard
suspend fun dpDelete(idDP: Long): Int
Link copied to clipboard
suspend fun dpPeriod(dps: List<ProtoDpId>, periodFrom: Long, periodTo: Long, count: Int, nmax: Long = 0, dpNames: List<String> = listOf()): List<ResponseHDBData>
Link copied to clipboard
suspend fun dpPeriodRaw(dps: List<ProtoDpId>, periodFrom: Long, periodTo: Long, count: Int, nmax: Long): List<ProtoMessageWrapper>
Link copied to clipboard
suspend fun dpRename(idDP: Long, nameDP: String): Int
Link copied to clipboard
fun get(dp: String): Any?
fun <T> get(input: List<T>): List<Any?>
fun get(dpId: ProtoDpId): Any?
Link copied to clipboard
fun getDPElements(idType: Long, idDP: Long): DPElementsData?
Link copied to clipboard
fun getDpNames(idDPType: Long): DPNamesData?
Link copied to clipboard
fun getDpTypes(sysId: Int, cb: (DPTypesData) -> Unit)
Link copied to clipboard
fun getId(dp: String): ProtoDpIdConf?
fun getId(dpList: List<String>): List<ProtoDpIdConf>?
Link copied to clipboard
fun getInfo(dp: ProtoDpId): String
Link copied to clipboard
Link copied to clipboard
fun <T> set(input: List<T>): Int
fun set(dp: String, value: Any): Int
fun set(dpId: ProtoDpId, value: Any, typeVar: ProtoVarType = dpId.eltype): Int
Link copied to clipboard
fun setWait(dp: String, value: Any): Int
Link copied to clipboard
fun setWaitByIdentify(dpId: ProtoDpId, value: Any, typeVar: ProtoVarType = dpId.eltype): Int
Link copied to clipboard