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

📄 report.java

📁 短信服务的源码,可以连接联通SMG等短信网关进行短信发送
💻 JAVA
字号:
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi 
// 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(bodybytes, abyte0, 0, 3, 0);
        Seq_1 = SGIP_Command.Bytes4ToLong(abyte0);
        SGIP_Command.BytesCopy(bodybytes, abyte0, 4, 7, 0);
        Seq_2 = SGIP_Command.Bytes4ToInt(abyte0);
        SGIP_Command.BytesCopy(bodybytes, abyte0, 8, 11, 0);
        Seq_3 = SGIP_Command.Bytes4ToInt(abyte0);
        ReportType = bodybytes[12];
        UserNumber = new String(bodybytes, 13, 21);
        State = bodybytes[34];
        ErrorCode = 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 + -