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

📄 define2.java

📁 移动短信网关程序
💻 JAVA
字号:
/*
 * Created on 2004-9-3
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.dog3.prettyBoy;

import java.nio.ByteOrder;

/**
 * @author Administrator
 * 
 * TODO To change the template for this generated type comment go to Window -
 * Preferences - Java - Code Style - Code Templates
 */
public class Define2 {
	
	public final static int MT_Packet_length = 190;
	
	public final static int SoTest_Packet_length = 6;
	
	public final static int MtResp_Packet_length = 11;
	
	public final static  ByteOrder Int_Order = ByteOrder.LITTLE_ENDIAN;
	//MT packet length
	public final static int MT_Id_length = 4;

	public final static int MT_Type_length = 1;// 4

	public final static int MT_ThirdPartyID_length = 5;

	public final static int MT_FromTel_length = 15;

	public final static int MT_ToTel_length = 15;

	public final static int MT_SMSContent_length = 140;

	public final static int MT_Worker_length = 10;


    //MTRESP packet length
	public final static int MtResp_Id_length = 4;

	public final static int MtResp_Type_length = 1;

	public final static int MtResp_ThirdPartyID_length = 5;

	public final static int MtResp_Result_length = 1;

    //	SoTest packet length
	public final static int SoTest_Id_length = 4;

	public final static int SoTest_Type_length = 1;

	public final static int SoTest_Result_length = 1;

    //MT packet length(index)
	public final static int MT_Id_index = 0;
	
	public final static int MT_Type_index = MT_Id_index + MT_Id_length ;

	public final static int MT_ThirdPartyID_index = MT_Type_index
	                                              + MT_Type_length;

	public final static int MT_FromTel_index = MT_ThirdPartyID_index 
	                                              + MT_ThirdPartyID_length;

	public final static int MT_ToTel_index = MT_FromTel_index
	                                              + MT_FromTel_length;

	public final static int MT_SMSContent_index = MT_ToTel_index 
	                                              + MT_ToTel_length ;

	public final static int MT_Worker_index = MT_SMSContent_index 
	                                              + MT_SMSContent_length;
    //	 MTresp packet length(index)
	public final static int MtResp_Id_index = 0;
	
	public final static int MtResp_Type_index = MtResp_Id_index 
	                                              + MtResp_Id_length ;

	public final static int MtResp_ThirdPartyID_index = MtResp_Type_index
	                                              + MtResp_Type_length;

	public final static int MtResp_Result_index = MtResp_ThirdPartyID_index 
	                                              + MtResp_ThirdPartyID_length;	
    //	SoTest packet length(index)
	public final static int SoTest_Id_index = 0;

	public final static int SoTest_Type_index = SoTest_Id_index + SoTest_Id_length;

	public final static int SoTest_Result_index = SoTest_Type_index + SoTest_Type_length;
	
	/**
	 * 
	 */
	public Define2() {

	}
}

⌨️ 快捷键说明

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