Closed jifffffy closed 5 years ago
In SetGuidlight310
you are using Xfs(D)Word
where it should only be XfsWord
:
typedef struct _wfs_siu_set_guidlight
{
WORD wGuidLight;
WORD fwCommand;
} WFSSIUSETGUIDLIGHT, *LPWFSSIUSETGUIDLIGHT;
Thank you very much, I didn't notice the D.
Hi, I encountered a problem when I created a command that does not exist and needs your help. I create a SIUSetGuidLightCommand https://github.com/sunyuyangg555/O2Xfs/blob/9109f05a5aa14414d1d6db19499e5e3d664e2cbd/at.o2xfs.xfs.service/src/main/java/at/o2xfs/xfs/service/siu/execute/SIUSetGuidLightCommand.java#L20 with a struct https://github.com/sunyuyangg555/O2Xfs/blob/9109f05a5aa14414d1d6db19499e5e3d664e2cbd/o2xfs-xfs3/src/o2xfs-xfs310/java/at/o2xfs/xfs/v3_10/siu/SetGuidlight310.java#L40 ,
when I executed this command.
SetGuidlight310.Builder builder = new SetGuidlight310.Builder(RECEIPTPRINTER, SLOWFLASH); SIUSetGuidLightCommand setGuidLightCommand = new SIUSetGuidLightCommand(builder.build(), siuService);
I got the SYNTAX(-802) error:so how should I pass the parameters(wGuidLight, fwCommand)? I would be very grateful if there is an example.