def xFloatImposeMax(self, max_value): max_value = double(max_value) # AC_ERROR acFloatImposeMax( # acNode hNode, # double imposedMaximum) harenac.acFloatImposeMax(self.hxnode, max_value)
def xFloatSetValue(self, value): value = double(value) # AC_ERROR acFloatSetValue( # acNode hNode, # double value) harenac.acFloatSetValue(self.hxnode, value)
def xFloatImposeMin(self, min_value): min_value = double(min_value) # AC_ERROR acFloatImposeMin( # acNode hNode, # double imposedMinimum) harenac.acFloatImposeMin(self.hxnode, min_value)
def xFloatGetInc(self): increment = double(0) # AC_ERROR acFloatGetInc( # acNode hNode, # double* pIncrement) harenac.acFloatGetInc(self.hxnode, byref(increment)) return increment.value
def xFloatGetMax(self): max_value = double(0) # AC_ERROR acFloatGetMax( # acNode hNode, # double* pMaximum) harenac.acFloatGetMax(self.hxnode, byref(max_value)) return max_value.value
def xFloatGetMin(self): min_value = double(0) # AC_ERROR acFloatGetMin( # acNode hNode, # double* pMinimum) harenac.acFloatGetMin(self.hxnode, byref(min_value)) return min_value.value
def xFloatGetValue(self): value = double(0) # AC_ERROR acFloatGetValue( # acNode hNode, # double* pValue) harenac.acFloatGetValue(self.hxnode, byref(value)) return value.value
def xEnumEntryGetNumericValue(self): double_value = double(0) # AC_ERROR acEnumEntryGetNumericValue( # acNode hNode, # double* pValue) harenac.acEnumEntryGetNumericValue(self.hxnode, byref(double_value)) return double_value.value