Ejemplo n.º 1
0
 public void Initialize()
 {
     _printer   = PrinterFactory.Instance.BuildPrinter();
     _formatter = new PrinterFormatter();
     if (ChefmateController.Instance.CurrentSettings.OutputTerminal > 0)
     {
         _outputTerminal = DbTerminal.GetTerminal(ChefmateController.Instance.CurrentSettings.OutputTerminal);
     }
 }
Ejemplo n.º 2
0
 public bool LoadTerminal(string terminalName)
 {
     CurrenTerminal = DbTerminal.GetTerminal(Environment.MachineName);
     if (CurrenTerminal != null)
     {
         LoadSettings();
         return(true);
     }
     return(false);
 }