👍️[Update] Model : rename osc_tools.py -> osc.py

This commit is contained in:
misyaguziya
2024-11-04 06:29:36 +09:00
parent e21661df1e
commit f79735f13c
3 changed files with 3 additions and 1 deletions

View File

@@ -1069,6 +1069,7 @@ class Controller:
@staticmethod
def setOscIpAddress(data, *args, **kwargs) -> dict:
config.OSC_IP_ADDRESS = data
model.setOscIpAddress(config.OSC_IP_ADDRESS)
return {"status":200, "result":config.OSC_IP_ADDRESS}
@staticmethod
@@ -1078,6 +1079,7 @@ class Controller:
@staticmethod
def setOscPort(data, *args, **kwargs) -> dict:
config.OSC_PORT = int(data)
model.setOscPort(config.OSC_PORT)
return {"status":200, "result":config.OSC_PORT}
@staticmethod