AI实验室后端
This commit is contained in:
@@ -103,5 +103,8 @@ class MqttTopic:
|
||||
def is_status(self) -> bool:
|
||||
return self.domain == "status" and self.resource == "info"
|
||||
|
||||
def is_response(self) -> bool:
|
||||
return self.domain == "receipt"
|
||||
|
||||
def is_cmd(self) -> bool:
|
||||
return self.domain == "cmd"
|
||||
|
||||
Reference in New Issue
Block a user