高手们下面的结构用JAVA怎么表示
typedef struct
{
unsigned long flownr; /*流水号*/
unsigned long PlanMakeOrderNo; /* 制造命令单单号4bytes*/
unsigned long ItemNo; /*品码4bytes*/
unsigned char ByWeightOrByCount; /*0计重;1计数*/
unsigned char dummy;
long CurrentRealHandCount; /*当前缴货数量*/
long CurrentRealHandWeight; /*当前缴货重量*/
}struct_CurrentRealHandInfo;
typedef struct
{
unsigned long flownr; /*流水号*/
unsigned long PlanMakeOrderNo; /* 制造命令单单号4bytes*/
unsigned long ItemNo; /*品码4bytes*/
unsigned char ByWeightOrByCount; /*0计重;1计数*/
unsigned char dummy;
long CurrentRealHandCount; /*当前缴货数量*/
long CurrentRealHandWeight; /*当前缴货重量*/
}struct_CurrentRealHandInfo;
好像也没有结构体.用class吧.
long flownr; /*流水号*/
long PlanMakeOrderNo; /* 制造命令单单号4bytes*/
long ItemNo; /*品码4bytes*/
char ByWeightOrByCount; /*0计重;1计数*/
char dummy;
long CurrentRealHandCount; /*当前缴货数量*/
long CurrentRealHandWeight; /*当前缴货重量*/ }