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

📄 report.java

📁 短信平台CMPP30 的JAVA程序,(含SQL数据库)
💻 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 com.SGIP12.sgipdata;


// Referenced classes of package com.SGIP12.sgipdata:
//            SGIP_Command, MsgHead

public class Report extends SGIP_Command
{

    private int ErrorCode;
    private int ReportType;
    private String Reserve;
    private long Seq_1;
    private int Seq_2;
    private int Seq_3;
    private int State;
    private String UserNumber;

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

    public Report()
    {
    }

    public Report(MsgHead msghead)
    {
        super(msghead);
    }

    public int getErrorCode()
    {
        return ErrorCode;
    }

    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 String getUserNumber()
    {
        return UserNumber;
    }

    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 !UserNumber.startsWith("8613") ? 0 : 6;
    }
}

⌨️ 快捷键说明

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