MCPcopy Index your code
hub / github.com/rawpython/remi / get_bool

Method get_bool

editor/widgets/toolbox_siemens.py:194–197  ·  view source on GitHub ↗
(self, db_index, byte_index, bit_index)

Source from the content-addressed store, hash-verified

192 self.snap7_client.db_write(db_index, byte_index, reading) # write back the bytearray and now the boolean value is changed
193
194 def get_bool(self, db_index, byte_index, bit_index):
195 bytes_to_read_write = 1
196 mem = self.snap7_client.db_read(db_index, byte_index, bytes_to_read_write)
197 return snap7.util.get_bool(mem, byte_index, bit_index)
198
199 def get_byte(self, db_index, byte_index):
200 bytes_to_read_write = 1

Callers 2

updateMethod · 0.80
updateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected