Beispiel #1
0
 def setValue(self, value):
     value = protocols.shortTo8bit(value)
     self.setPayload(self.getPayload() + value)
Beispiel #2
0
 def setRpmAxis(self, rpm):
     rpm = protocols.shortTo8bit(rpm)
     self.setPayload(self.getPayload() + rpm)
Beispiel #3
0
 def setLoadAxis(self, load):
     load = protocols.shortTo8bit(load)
     self.setPayload(self.getPayload() + load)
Beispiel #4
0
 def setTableId(self, id):
     id = protocols.shortTo8bit(id)
     self.setPayload(self.getPayload() + id)