cwtpstatue.java

来自「jwap 协议 udp 可以用于手机通讯」· Java 代码 · 共 58 行

JAVA
58
字号
package net.sourceforge.jwap.wtp;

/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2006</p>
 *
 * <p>Company: </p>
 *
 * @author not attributable
 * @version 1.0
 */

public  class CWTPStatue {
 public static byte ResultCode=0x00;
 public static  int type=0;
  public CWTPStatue() {
  }

  public static void main(String[] args) {
    CWTPStatue cwtpstatue = new CWTPStatue();
  }

  /**
   * SetResultState
   *
   * @param Scode byte
   */
  public static void SetResultState(byte Scode) {
    ResultCode=Scode;
  }

  /**
   * GetResultState
   */
  public static int GetResultState() {
    return ResultCode;
  }

  /**
   * SetType
   *
   * @param anIntType int
   */
  public static void SetType(int anIntType) {
    type=anIntType;
  }

  /**
   * GetType
   */
  public static int GetType() {
    return type;
  }
}

⌨️ 快捷键说明

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