Example #1
0
def IsCommandValid(CheckCommand):
    if CheckCommand not in POSModule.GetInputCommands():
        return 0  #yes its invalide command
    else:
        return 1  #Command is valid
Example #2
0
def GetInputCommand():
    return POSModule.GetInputCommands()