Beispiel #1
0
 public bool Open(string drawerCommand, string port, PosPrint printer)
 {
     this._port        = port;
     this._printer     = printer;
     this._instruction = this.GetBytes(drawerCommand);
     if ((this._port == "NONE") || (this._instruction == null))
     {
         return(false);
     }
     return(true);
 }
Beispiel #2
0
 public void Dispose()
 {
     this._port        = "NONE";
     this._instruction = null;
     this._printer     = null;
 }