File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -220,14 +220,15 @@ def _send_data(self, data: str):
220220 pass
221221
222222 def storage_enable (self , control_type : ControlName , control_id : str ) -> None :
223+ """Turn On Dash Server Storage for the Event Log, Map, or Time Graph control."""
223224 key = f"{ control_type .value } \t { control_id } "
224225 if key not in self .controls_dict :
225226 return
226227 if control_type not in [ControlName .LOG , ControlName .MAP , ControlName .TGRPH ]:
227228 return
228229 payload = self ._device_id_str + f"\t STE\t { control_type .value } \t { control_id } \n "
229230 logger .debug ("STORAGE ENABLE: %s" , payload )
230- self .tx_zmq_pub .send_multipart ([b"DASH " , payload .encode ('utf-8' )])
231+ self .tx_zmq_pub .send_multipart ([b"ANNOUNCE " , payload .encode ('utf-8' )])
231232
232233 def _send_announce (self ):
233234 payload = self ._device_id_str + f"\t WHO\t { self .device_type } \t { self .device_name } \n "
You can’t perform that action at this time.
0 commit comments