-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[+] Added directIO command SMFPTR_DIO_CHECK_FDO_CONNECTION = 0x93 to
check connection to FDO server
- Loading branch information
Kravtsov Vitaly
committed
Jan 20, 2023
1 parent
517f990
commit 86cd47a
Showing
11 changed files
with
77 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
Source/Core/src/com/shtrih/jpos/fiscalprinter/directIO/DIOCheckFDOConnection.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
* To change this template, choose Tools | Templates | ||
* and open the template in the editor. | ||
*/ | ||
package com.shtrih.jpos.fiscalprinter.directIO; | ||
|
||
/** | ||
* | ||
* @author V.Kravtsov | ||
*/ | ||
|
||
import com.shtrih.jpos.fiscalprinter.FiscalPrinterImpl; | ||
import com.shtrih.fiscalprinter.command.FSReadCommStatus; | ||
import com.shtrih.fiscalprinter.command.PrinterDate; | ||
import com.shtrih.fiscalprinter.command.PrinterTime; | ||
import com.shtrih.jpos.DIOUtils; | ||
import com.shtrih.jpos.fiscalprinter.JposFiscalPrinterDate; | ||
|
||
public class DIOCheckFDOConnection extends DIOItem { | ||
|
||
public DIOCheckFDOConnection(FiscalPrinterImpl service) { | ||
super(service); | ||
} | ||
|
||
public void execute(int[] data, Object object) throws Exception | ||
{ | ||
service.getPrinter().checkFDOConnection(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
Source/FiscalPrinterService/src/com/shtrih/util/ServiceVersion.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
package com.shtrih.util; | ||
|
||
public class ServiceVersion { | ||
public static final String VERSION = "684-1-g85df88f1"; | ||
public static final String VERSION = "685"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters