summaryrefslogtreecommitdiff
path: root/UnitOperations.py
diff options
context:
space:
mode:
authorlucaszhao192020-01-03 17:09:38 +0530
committerlucaszhao192020-01-03 17:09:38 +0530
commit39ecc236c572ae17343b9afb39997233e7eb28f0 (patch)
treed794428f535e670305a2d24091e10b132deb6292 /UnitOperations.py
parente090ba60f611d05d30f5e329536384be0b5f4d6e (diff)
downloadChemical-Simulator-GUI-39ecc236c572ae17343b9afb39997233e7eb28f0.tar.gz
Chemical-Simulator-GUI-39ecc236c572ae17343b9afb39997233e7eb28f0.tar.bz2
Chemical-Simulator-GUI-39ecc236c572ae17343b9afb39997233e7eb28f0.zip
Merged changes, load implemented (WIP)
Diffstat (limited to 'UnitOperations.py')
-rw-r--r--UnitOperations.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/UnitOperations.py b/UnitOperations.py
index 1a5dac1..979f080 100644
--- a/UnitOperations.py
+++ b/UnitOperations.py
@@ -30,6 +30,7 @@ class UnitOperation():
self.Prop = {}
self.x = 2500-30
self.y = 2500-30
+ self.pos = None
self.Prop = {}
self.modeslist = []
self.parameters = {}
@@ -69,6 +70,9 @@ class UnitOperation():
print("OUTPUT CONNECTION")
self.OutputStms.append(UnitOpr)
+ def setPos(self,pos):
+ self.pos = pos
+
def OM_Flowsheet_Initialize(self):
self.OM_data_init = ''