?? report.java
字號:
package spApi;
public class Report extends SGIP_Command
{
String UserNumber;
long Seq_1;
int Seq_2;
int Seq_3;
int State;
int ErrorCode;
int ReportType;
public Report(MsgHead paramMsgHead)
{
super(paramMsgHead);
}
public Report() {
}
public Report(SGIP_Command paramSGIP_Command) {
super(paramSGIP_Command);
}
public int readbody()
{
byte[] arrayOfByte = new byte[4];
SGIP_Command.BytesCopy(this.bodybytes, arrayOfByte, 0, 3, 0);
this.Seq_1 = SGIP_Command.Bytes4ToLong(arrayOfByte);
SGIP_Command.BytesCopy(this.bodybytes, arrayOfByte, 4, 7, 0);
this.Seq_2 = SGIP_Command.Bytes4ToInt(arrayOfByte);
SGIP_Command.BytesCopy(this.bodybytes, arrayOfByte, 8, 11, 0);
this.Seq_3 = SGIP_Command.Bytes4ToInt(arrayOfByte);
this.ReportType = this.bodybytes[12];
this.UserNumber = new String(this.bodybytes, 13, 21);
this.State = this.bodybytes[34];
this.ErrorCode = this.bodybytes[35];
return 0;
}
public String getUserNumber()
{
return this.UserNumber;
}
public int getReportType() {
return this.ReportType;
}
public long getSeq_1() {
return this.Seq_1;
}
public int getSeq_2() {
return this.Seq_2;
}
public int getSeq_3() {
return this.Seq_3;
}
public int getState() {
return this.State;
}
public int getErrorCode() {
return this.ErrorCode;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -