import Syringe_Movement_Coordinator as SMC
import Table_Movement_Coordinator as TMC

class SIE_Movement_Coordinator:     

    def SwapSyringeId(self, id = 0):
        self.syr_mc.SwapSyringe(id)

    def SwapNextSyringe(self):
        self.syr_mc.SwapHigherSyringe()

    def SwapPrevSyringe(self):
        self.syr_mc.SwapLowerSyringe()

    def SyringeJog(self, dir = (0,0)):
        self.syr_mc.JogCNC(dir)
        
    def __init__(self):
        self.syr_mc = SMC.Syringe_Movement_Coordinator(
        'syr_cnc',
        'syr_servo',
        'syr_pump',
        isEmulating=False
        )
        self.tab_mc = TMC.Table_Movement_Coordinator(
        'tab_cnc',
        'tab_servo',
        isEmulating=False    
        )       

if __name__ == '__main__':  
    smc = SIE_Movement_Coordinator()
    while True:
        var = input('Please enter a command: ')
        print('Entered: ' + var)
        smc.HandleCommand(var)
import Syringe_Movement_Coordinator as SMC
import Table_Movement_Coordinator as TMC

class SIE_Movement_Coordinator:     

    def SwapSyringeId(self, id = 0):
        self.syr_mc.SwapSyringe(id)

    def SwapNextSyringe(self):
        self.syr_mc.SwapHigherSyringe()

    def SwapPrevSyringe(self):
        self.syr_mc.SwapLowerSyringe()

    def SyringeJog(self, dir = (0,0)):
        self.syr_mc.JogCNC(dir)
        
    def __init__(self):
        self.syr_mc = SMC.Syringe_Movement_Coordinator(
        'syr_cnc',
        'syr_servo',
        'syr_pump',
        isEmulating=False
        )
        self.tab_mc = TMC.Table_Movement_Coordinator(
        'tab_cnc',
        'tab_servo',
        isEmulating=False    
        )       

if __name__ == '__main__':  
    smc = SIE_Movement_Coordinator()
    while True:
        var = input('Please enter a command: ')
        print('Entered: ' + var)
        smc.HandleCommand(var)