📄 trace.java
字号:
package spApi;
public class Trace extends SGIP_Command
{
private static final int CommandLength = 41;
private static final int CommandID = 4096;
public int Seqno_1;
public int Seqno_2;
public int Seqno_3;
public String UserNumber;
public String Reserve;
public Trace(MsgHead paramMsgHead)
{
super(paramMsgHead); }
public Trace(long paramLong, int paramInt1, int paramInt2, int paramInt3, String paramString) {
super(paramLong, 41, 4096);
this.Seqno_1 = paramInt1;
this.Seqno_2 = paramInt2;
this.Seqno_3 = paramInt3;
this.UserNumber = paramString;
SGIP_Command.BytesCopy(SGIP_Command.IntToBytes4(this.Seqno_1), this.bodybytes, 0, 3, 0);
SGIP_Command.BytesCopy(SGIP_Command.IntToBytes4(this.Seqno_2), this.bodybytes, 0, 3, 4);
SGIP_Command.BytesCopy(SGIP_Command.IntToBytes4(this.Seqno_3), this.bodybytes, 0, 3, 8);
this.UserNumber.getBytes(0, this.UserNumber.length(), this.bodybytes, 12); }
public Trace(int paramInt1, int paramInt2, int paramInt3, String paramString) {
super(41, 4096);
this.Seqno_1 = paramInt1;
this.Seqno_2 = paramInt2;
this.Seqno_3 = paramInt3;
this.UserNumber = paramString;
SGIP_Command.BytesCopy(SGIP_Command.IntToBytes4(this.Seqno_1), this.bodybytes, 0, 3, 0);
SGIP_Command.BytesCopy(SGIP_Command.IntToBytes4(this.Seqno_2), this.bodybytes, 0, 3, 4);
SGIP_Command.BytesCopy(SGIP_Command.IntToBytes4(this.Seqno_3), this.bodybytes, 0, 3, 8);
this.UserNumber.getBytes(0, this.UserNumber.length(), this.bodybytes, 12);
}
public void setSeqno_1(int paramInt) {
this.Seqno_1 = paramInt;
SGIP_Command.BytesCopy(SGIP_Command.IntToBytes4(this.Seqno_1), this.bodybytes, 0, 3, 0);
}
public int getSeqno1() {
return this.Seqno_1;
}
public void setSeqno_2(int paramInt) {
this.Seqno_2 = paramInt;
SGIP_Command.BytesCopy(SGIP_Command.IntToBytes4(this.Seqno_2), this.bodybytes, 0, 3, 4);
}
public int getSeqno_2() {
return this.Seqno_2;
}
public void setSeqno_3(int paramInt)
{
this.Seqno_3 = paramInt;
SGIP_Command.BytesCopy(SGIP_Command.IntToBytes4(this.Seqno_3), this.bodybytes, 0, 3, 8);
}
public int getSeqno_3() {
return this.Seqno_3;
}
public void setUserNumber(String paramString)
{
this.UserNumber = paramString;
this.UserNumber.getBytes(0, this.UserNumber.length(), this.bodybytes, 12);
}
public String getUserNumber() {
return this.UserNumber;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -