⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 trace.java

📁 SGIP1.2java SP 收发短信 采用java实现
💻 JAVA
字号:
// Decompiled by Jad v1.5.8e2. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://kpdus.tripod.com/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi space 
// Source File Name:   Trace.java

package spApi;


// Referenced classes of package spApi:
//			SGIP_Command, MsgHead

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 msghead)
	{
		super(msghead);
	}

	public Trace(long l, int i, int j, int k, String s)
	{
		super(l, 41, 4096);
		Seqno_1 = i;
		Seqno_2 = j;
		Seqno_3 = k;
		UserNumber = s;
		SGIP_Command.BytesCopy(SGIP_Command.IntToBytes4(Seqno_1), super.bodybytes, 0, 3, 0);
		SGIP_Command.BytesCopy(SGIP_Command.IntToBytes4(Seqno_2), super.bodybytes, 0, 3, 4);
		SGIP_Command.BytesCopy(SGIP_Command.IntToBytes4(Seqno_3), super.bodybytes, 0, 3, 8);
		UserNumber.getBytes(0, UserNumber.length(), super.bodybytes, 12);
	}

	public Trace(int i, int j, int k, String s)
	{
		super(41, 4096);
		Seqno_1 = i;
		Seqno_2 = j;
		Seqno_3 = k;
		UserNumber = s;
		SGIP_Command.BytesCopy(SGIP_Command.IntToBytes4(Seqno_1), super.bodybytes, 0, 3, 0);
		SGIP_Command.BytesCopy(SGIP_Command.IntToBytes4(Seqno_2), super.bodybytes, 0, 3, 4);
		SGIP_Command.BytesCopy(SGIP_Command.IntToBytes4(Seqno_3), super.bodybytes, 0, 3, 8);
		UserNumber.getBytes(0, UserNumber.length(), super.bodybytes, 12);
	}

	public void setSeqno_1(int i)
	{
		Seqno_1 = i;
		SGIP_Command.BytesCopy(SGIP_Command.IntToBytes4(Seqno_1), super.bodybytes, 0, 3, 0);
	}

	public int getSeqno1()
	{
		return Seqno_1;
	}

	public void setSeqno_2(int i)
	{
		Seqno_2 = i;
		SGIP_Command.BytesCopy(SGIP_Command.IntToBytes4(Seqno_2), super.bodybytes, 0, 3, 4);
	}

	public int getSeqno_2()
	{
		return Seqno_2;
	}

	public void setSeqno_3(int i)
	{
		Seqno_3 = i;
		SGIP_Command.BytesCopy(SGIP_Command.IntToBytes4(Seqno_3), super.bodybytes, 0, 3, 8);
	}

	public int getSeqno_3()
	{
		return Seqno_3;
	}

	public void setUserNumber(String s)
	{
		UserNumber = s;
		UserNumber.getBytes(0, UserNumber.length(), super.bodybytes, 12);
	}

	public String getUserNumber()
	{
		return UserNumber;
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -