Commit 1d871f9c authored by erik's avatar erik

applied java fixes by Andre Mohr

parent 315c0716
......@@ -3,4 +3,11 @@ import com.sun.jna.Structure;
public class FT_HANDLE extends Structure {
public FT_TRANSFER_AREA transfer_area;
@Override
protected List getFieldOrder() {
return Arrays.asList(new String[]{
"transfer_area"
});
}
}
......@@ -97,4 +97,31 @@ public class FT_TRANSFER_AREA extends Structure {
public volatile byte[] rsvd19 = new byte[2];
public volatile NativeLong dwTc;
public volatile byte[] rsvd20 = new byte[64];
@Override
protected List getFieldOrder() {
return Arrays.asList(new String[]{
"E_Main", "E_Sub1", "E_Sub2", "E_Sub3", "rsvd1",
"Distance", "rsvd2", "IRKeys", "res_1", "AX", "AY",
"A1", "A2", "AZ", "AV", "D1", "D2", "AXS1", "AXS2",
"AXS3", "DS1", "DS2", "ZE", "rsvd3", "Timer1ms",
"Timer10ms", "Timer100ms", "Timer1s", "Timer10s",
"Timer1min", "res_bF", "res_bT", "resvd4", "M_Main",
"M_Sub1", "M_Sub2", "M_Sub3", "rsvd5", "MES_Main",
"MES_Sub1", "MES_Sub2", "MES_Sub3", "rsvd6",
"reserverd_l1", "reserverd_l2", "reserverd_l3",
"MPWM_Main", "MPWM_Sub1", "MPWM_Sub2", "MPWM_Sub3",
"rsvd7", "A1S1", "A1S2", "A1S3", "AVS1", "AVS2",
"AVS3", "rsvd8", "AX_R", "AY_R", "AXS1_R", "AXS2_R",
"AXS3_R", "rsvd10", "Mode", "MPWM_Update",
"TransferAktiv", "rsvd11", "BudModules", "SlotModule1",
"SlotModule2", "rsvd12", "ChangeEg", "ChangeAn",
"ChangeIr", "rsvd13", "E16_Main", "E16_Sub1",
"E16_Sub2", "E16_Sub3", "Distance16", "rsvd14",
"IRKeys16", "rsvd15", "IRKeys16Code1", "rsvd16",
"IRKeys16Code2", "rsvd17", "RfStatus", "RfPower",
"RfError", "MsgNumInBuffer", "RfModulNr", "rsvd19",
"dwTc", "rsvd20"
});
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment