def xBooleanSetValue(self, value): value = bool8_t(value) # AC_ERROR acBooleanSetValue( # acNode hNode, # bool8_t value) harenac.acBooleanSetValue(self.hxnode, value)
def xEnumEntryIsSelfClearing(self): is_selfclearing = bool8_t(False) # AC_ERROR acEnumEntryIsSelfClearing( # acNode hNode, # bool8_t* pIsSelfClearing) harenac.acEnumEntryIsSelfClearing(self.hxnode, byref(is_selfclearing)) return is_selfclearing.value
def xBooleanGetValue(self): value = bool8_t(False) # AC_ERROR acBooleanGetValue( # acNode hNode, # bool8_t* pValue) harenac.acBooleanGetValue(self.hxnode, byref(value)) return value.value
def xFloatHasInc(self): has_inc = bool8_t(False) # AC_ERROR acFloatHasInc( # acNode hNode, # bool8_t* pHasInc) harenac.acFloatHasInc(self.hxnode, byref(has_inc)) return has_inc.value
def xSelectorIsSelector(self): is_selector = bool8_t(False) # AC_ERROR acSelectorIsSelector( # acNode hNode, # bool8_t* pIsSelector) harenac.acSelectorIsSelector(self.hxnode, byref(is_selector)) return is_selector.value
def xNodeIsDeprecated(self): is_deprecated = bool8_t(False) # AC_ERROR acNodeIsDeprecated( # acNode hNode, # bool8_t* pIsDeprecated) harenac.acNodeIsDeprecated(self.hxnode, byref(is_deprecated)) return is_deprecated.value
def xNodeIsCachable(self): is_cachable = bool8_t(False) # AC_ERROR acNodeIsCachable( # acNode hNode, # bool8_t* pIsCachable) harenac.acNodeIsCachable(self.hxnode, byref(is_cachable)) return is_cachable.value
def xValueIsValueCacheValid(self): is_valid = bool8_t(False) # AC_ERROR acValueIsValueCacheValid( # acNode hNode, # bool8_t* pIsValid) harenac.acValueIsValueCacheValid(self.hxnode, byref(is_valid)) return is_valid.value
def xCommandIsDone(self): is_done = bool8_t(False) # AC_ERROR acCommandIsDone( # acNode hNode, # bool8_t* pIsDone) harenac.acCommandIsDone(self.hxnode, byref(is_done)) return is_done.value
def xNodeIsFeature(self): is_feature = bool8_t(False) # AC_ERROR acNodeIsFeature( # acNode hNode, # bool8_t* pIsFeature) harenac.acNodeIsFeature(self.hxnode, byref(is_feature)) return is_feature.value
def xBufferVerifyCRC(self): is_correct_crc = bool8_t(False) # AC_ERROR acBufferVerifyCRC( # acBuffer hBuffer, # bool8_t * pVerifyCRC) harenac.acBufferVerifyCRC( self.hxbuffer, byref(is_correct_crc)) return is_correct_crc.value
def xBufferDataLargerThanBuffer(self): is_data_larger_than_buffer = bool8_t(False) # AC_ERROR acBufferDataLargerThanBuffer( # acBuffer hBuffer, # bool8_t * pDataLargerThanBuffer) harenac.acBufferDataLargerThanBuffer( self.hxbuffer, byref(is_data_larger_than_buffer)) return is_data_larger_than_buffer.value
def xBufferIsIncomplete(self): is_incomplete = bool8_t(False) # AC_ERROR acBufferIsIncomplete( # acBuffer hBuffer, # bool8_t * pIsIncomplete) harenac.acBufferIsIncomplete( self.hxbuffer, byref(is_incomplete)) return is_incomplete.value
def xBufferHasChunkData(self): has_chunk_data = bool8_t(False) # AC_ERROR acBufferHasChunkData( # acBuffer hBuffer, # bool8_t * pHasChunkData) harenac.acBufferHasChunkData( self.hxbuffer, byref(has_chunk_data)) return has_chunk_data.value
def xIsReadable(h_node): node = acNode(h_node) is_readable = bool8_t(False) # AC_ERROR acIsReadable( # acNode hNode, # bool8_t* pIsReadable) harenac.acIsReadable( node, byref(is_readable)) return is_readable.value
def xSystemIsDeviceLLAConfigurationEnabled(self, index): index = size_t(index) lla_config_enabled = bool8_t(False) # AC_ERROR acSystemIsDeviceLLAConfigurationEnabled( # acSystem hSystem, # size_t index, # bool8_t * pIsLLAIpConfigurationEnabled) harenac.acSystemIsDeviceLLAConfigurationEnabled( self.__acsystem, index, byref(lla_config_enabled)) return lla_config_enabled.value
def xSystemIsDevicePersistentIpConfigurationEnabled(self, index): index = size_t(index) persistent_ip_config_enabled = bool8_t(False) # AC_ERROR acSystemIsDevicePersistentIpConfigurationEnabled( # acSystem hSystem, # size_t index, # bool8_t * pIsPersistentIpConfigurationEnabled) harenac.acSystemIsDevicePersistentIpConfigurationEnabled( self.__acsystem, index, byref(persistent_ip_config_enabled)) return persistent_ip_config_enabled.value
def xSystemIsDeviceDHCPConfigurationEnabled(self, index): index = size_t(index) dhcp_config_enabled = bool8_t(False) # AC_ERROR acSystemIsDeviceDHCPConfigurationEnabled # (acSystem hSystem, # size_t index, # bool8_t * pIsDHCPConfigurationEnabled) harenac.acSystemIsDeviceDHCPConfigurationEnabled( self.__acsystem, index, byref(dhcp_config_enabled)) return dhcp_config_enabled.value
def xSystemUpdateDevicesHasChanged(self, timout_milisec): timout_milisec = uint64_t(timout_milisec) has_changed = bool8_t(False) # AC_ERROR acSystemUpdateDevicesHasChanged( # acSystem hSystem, # uint64_t timeout, # bool8_t* pHasChanged) harenac.acSystemUpdateDevicesHasChanged( self.__acsystem, timout_milisec, byref(has_changed)) return has_changed.value
def xSystemUpdateDevicesOnInterface(self, interface_index, timout_milisec): index = size_t(interface_index) timout_milisec = uint64_t(timout_milisec) has_changed = bool8_t(False) # AC_ERROR acSystemUpdateDevicesOnInterface( # acSystem hSystem, # size_t interfaceIndex, # uint64_t timeout, # bool8_t * pHasChanged) harenac.acSystemUpdateDevicesOnInterface( self.__acsystem, index, timout_milisec, byref(has_changed)) return has_changed.value