Convert module swap / clone to fit / gui commands

This commit is contained in:
blitzmann
2018-07-26 00:31:38 -04:00
parent 53f6d43109
commit 0d32b60f7e
4 changed files with 107 additions and 10 deletions

View File

@@ -736,6 +736,7 @@ class Fit(object):
self.recalc(fit)
@staticmethod
@deprecated
def swapModules(fitID, src, dst):
pyfalog.debug("Swapping modules from source ({0}) to destination ({1}) for fit ID: {1}", src, dst, fitID)
fit = eos.db.getFit(fitID)
@@ -751,6 +752,7 @@ class Fit(object):
eos.db.commit()
@deprecated
def cloneModule(self, fitID, src, dst):
"""
Clone a module from src to dst