def xIntegerImposeMin(self, min_value): min_value = int64_t(min_value) # AC_ERROR acIntegerImposeMin( # acNode hNode, # int64_t imposedMinimum) harenac.acIntegerImposeMin(self.hxnode, min_value)
def xEnumerationSetByIntValue(self, value): value = int64_t(value) # AC_ERROR acEnumerationSetByIntValue( # acNode hNode, # int64_t value) harenac.acEnumerationSetByIntValue(self.hxnode, value)
def xIntegerImposeMax(self, max_value): max_value = int64_t(max_value) # AC_ERROR acIntegerImposeMax( # acNode hNode, # int64_t imposedMaximum) harenac.acIntegerImposeMax(self.hxnode, max_value)
def xIntegerSetValue(self, value): value = int64_t(value) # AC_ERROR acIntegerSetValue( # acNode hNode, # int64_t value) harenac.acIntegerSetValue(self.hxnode, value)
def xIntegerGetInc(self): increment = int64_t(0) # AC_ERROR acIntegerGetInc( # acNode hNode, # int64_t* pIncrement) harenac.acIntegerGetInc(self.hxnode, byref(increment)) return increment.value
def xIntegerGetMin(self): min_value = int64_t(0) # AC_ERROR acIntegerGetMin( # acNode hNode, # int64_t* pMinimum) harenac.acIntegerGetMin(self.hxnode, byref(min_value)) return min_value.value
def xIntegerGetMax(self): max_value = int64_t(0) # AC_ERROR acIntegerGetMax( # acNode hNode, # int64_t* pMaximum) harenac.acIntegerGetMax(self.hxnode, byref(max_value)) return max_value.value
def xIntegerGetValue(self): value = int64_t(0) # AC_ERROR acIntegerGetValue( # acNode hNode, # int64_t* pValue) harenac.acIntegerGetValue(self.hxnode, byref(value)) return value.value
def xStringGetMaxLength(self): length = int64_t(0) # AC_ERROR acStringGetMaxLength( # acNode hNode, # int64_t* pMaxLength) harenac.acStringGetMaxLength(self.hxnode, byref(length)) return length.value
def xNodeGetPollingTime(self): polling_time = int64_t(0) # AC_ERROR acNodeGetPollingTime( # acNode hNode, # int64_t* pPollingTime) harenac.acNodeGetPollingTime(self.hxnode, byref(polling_time)) return polling_time.value
def xEnumEntryGetIntValue(self): int_value = int64_t(0) # AC_ERROR acEnumEntryGetIntValue( # acNode hNode, # int64_t* pValue) harenac.acEnumEntryGetIntValue(self.hxnode, byref(int_value)) return int_value.value
def xFloatGetDisplayPrecision(self): display_precision = int64_t(0) # AC_ERROR acFloatGetDisplayPrecision( # acNode hNode, # int64_t* pDisplayPrecision) harenac.acFloatGetDisplayPrecision(self.hxnode, byref(display_precision)) return display_precision.value
def xRegisterGet(self, register_len): buffer_p = uint8_t(0) buffer_len = int64_t(register_len) # AC_ERROR acRegisterGet( # acNode hNode, # uint8_t* pBuf, # int64_t bufLen) harenac.acRegisterGet(self.hxnode, byref(buffer_p), buffer_len) return buffer_p.value