sends tree structure of frames and tools to clients

This commit is contained in:
2024-08-27 11:26:05 +02:00
parent e24126b64f
commit 9af3d992d4
4 changed files with 79 additions and 66 deletions

View File

@@ -2,7 +2,8 @@ from json import load, dump
from os import path
import os
BASEPATH = "C:/dev/pshell/config/bernina_robot/adjustables_fs/"
#BASEPATH = "C:/dev/pshell/config/bernina_robot/adjustables_fs/"
BASEPATH = "/sf/bernina/config/src/python/bernina_robot/adjustables_fs/"
class AdjustableFS:
def __init__(self, name=None, default_value=None, file_path=None):
@@ -31,4 +32,4 @@ class AdjustableFS:
return self.get_current_value()
def __repr__(self):
return "Current value of {} at: ".format(self.name) + str(self.get_current_value())
return "Current value of {} at: ".format(self.name) + str(self.get_current_value())