[FIX] laser pointer command

The parameter was not passed in the method chain, loosing track
of the cell to which the laser pointer should be pointed at.
This commit is contained in:
Alexandre Fayolle
2020-06-22 16:26:22 +02:00
committed by Dũng (Trần Đình)
parent aabb7a120d
commit af0e12231b

View File

@@ -85,7 +85,9 @@ class StockLocation(models.Model):
highlighting the cell using a laser pointer.
"""
if self.vertical_lift_shuttle_id.hardware == "kardex":
payload = self._hardware_kardex_prepare_payload()
payload = self._hardware_kardex_prepare_payload(
cell_location=cell_location
)
_logger.debug("Sending to kardex: {}", payload)
# TODO implement the communication with kardex
else: