Первый запуск
This commit is contained in:
12
Processor/Models/LogVariable.py
Normal file
12
Processor/Models/LogVariable.py
Normal file
@@ -0,0 +1,12 @@
|
||||
class LogVariable:
|
||||
def __init__(self, uid: int, initial_value: str = "", var_type: str = "VAR"):
|
||||
self.uid = uid
|
||||
self.initial_value = initial_value
|
||||
self.var_type = var_type
|
||||
|
||||
def __str__(self):
|
||||
return f"<{self.var_type}_{self.uid}>"
|
||||
|
||||
def __repr__(self):
|
||||
return str(self)
|
||||
|
||||
Reference in New Issue
Block a user