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

📄 report.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:   Report.java

package spApi;


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

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

	public Report()
	{
	}

	public Report(SGIP_Command sgip_command)
	{
		super(sgip_command);
	}

	public int readbody()
	{
		byte abyte0[] = new byte[4];
		SGIP_Command.BytesCopy(super.bodybytes, abyte0, 0, 3, 0);
		Seq_1 = SGIP_Command.Bytes4ToLong(abyte0);
		SGIP_Command.BytesCopy(super.bodybytes, abyte0, 4, 7, 0);
		Seq_2 = SGIP_Command.Bytes4ToInt(abyte0);
		SGIP_Command.BytesCopy(super.bodybytes, abyte0, 8, 11, 0);
		Seq_3 = SGIP_Command.Bytes4ToInt(abyte0);
		ReportType = super.bodybytes[12];
		UserNumber = new String(super.bodybytes, 13, 21);
		State = super.bodybytes[34];
		ErrorCode = super.bodybytes[35];
		return 0;
	}

	public String getUserNumber()
	{
		return UserNumber;
	}

	public int getReportType()
	{
		return ReportType;
	}

	public long getSeq_1()
	{
		return Seq_1;
	}

	public int getSeq_2()
	{
		return Seq_2;
	}

	public int getSeq_3()
	{
		return Seq_3;
	}

	public int getState()
	{
		return State;
	}

	public int getErrorCode()
	{
		return ErrorCode;
	}
}

⌨️ 快捷键说明

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