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

📄 smssubmitmultiresp.cs

📁 详细说明:用C#编写的的中国联通Sgip协议
💻 CS
字号:
// 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:   SMSSubmitMultiResp.java
using System;
namespace com.sms.sgip.data
{
	
	// Referenced classes of package com.sms.sgip.data:
	//            SMSData, SgipException
	
	public class SMSSubmitMultiResp:SMSData
	{
		virtual public int Result
		{
			get
			{
				return result;
			}
			
			set
			{
				result = value;
			}
			
		}
		virtual public System.String Reserve
		{
			get
			{
				return reserve;
			}
			
			set
			{
				reserve = value;
			}
			
		}
		
		internal int result;
		internal System.String reserve;
		
		public SMSSubmitMultiResp()
		{
		}
		
		//UPGRADE_TODO: Class“java.io.DataInputStream”被转换为具有不同行为的 'System.IO.BinaryReader'。 "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1073_javaioDataInputStream'"
		//UPGRADE_NOTE: Synchronized 关键字已从方法“read”中移除。添加了锁定表达式。 "ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?index='!DefaultContextWindowIndex'&keyword='jlca1027'"
		public override void  read(System.IO.BinaryReader m_is)
		{
			lock (this)
			{
				int i = 0;
				sbyte[] head1 = new sbyte[4];
				head1[0] = (sbyte) m_is.ReadByte();
				head1[1] = (sbyte) m_is.ReadByte();
				head1[2] = (sbyte) m_is.ReadByte();
				head1[3] = (sbyte) m_is.ReadByte();
				messageLength = (head1[0] & 0xff) << 24 | (head1[1] & 0xff) << 16 | (head1[2] & 0xff) << 8 | head1[3] & 0xff;
				sbyte[] head2 = new sbyte[4];
				head2[0] = (sbyte) m_is.ReadByte();
				head2[1] = (sbyte) m_is.ReadByte();
				head2[2] = (sbyte) m_is.ReadByte();
				head2[3] = (sbyte) m_is.ReadByte();
				commandID = (head2[0] & 0xff) << 24 | (head2[1] & 0xff) << 16 | (head2[2] & 0xff) << 8 | head2[3] & 0xff;
				sbyte[] head3 = new sbyte[4];
				head3[0] = (sbyte) m_is.ReadByte();
				head3[1] = (sbyte) m_is.ReadByte();
				head3[2] = (sbyte) m_is.ReadByte();
				head3[3] = (sbyte) m_is.ReadByte();
				seqAddr = (head3[0] & 0xff) << 24 | (head3[1] & 0xff) << 16 | (head3[2] & 0xff) << 8 | head3[3] & 0xff;
				sbyte[] head4 = new sbyte[4];
				head4[0] = (sbyte) m_is.ReadByte();
				head4[1] = (sbyte) m_is.ReadByte();
				head4[2] = (sbyte) m_is.ReadByte();
				head4[3] = (sbyte) m_is.ReadByte();
				seqDate = (head4[0] & 0xff) << 24 | (head4[1] & 0xff) << 16 | (head4[2] & 0xff) << 8 | head4[3] & 0xff;
				sbyte[] head5 = new sbyte[4];
				head5[0] = (sbyte) m_is.ReadByte();
				head5[1] = (sbyte) m_is.ReadByte();
				head5[2] = (sbyte) m_is.ReadByte();
				head5[3] = (sbyte) m_is.ReadByte();
				sequence = (head5[0] & 0xff) << 24 | (head5[1] & 0xff) << 16 | (head5[2] & 0xff) << 8 | head5[3] & 0xff;
				sbyte body1 = (sbyte) m_is.ReadByte();
				result = body1;
				sbyte[] body2;
				for (body2 = new sbyte[8]; i < body2.Length; i++)
					body2[i] = (sbyte) m_is.ReadByte();
				
				reserve = new System.String(SupportClass.ToCharArray(SupportClass.ToByteArray(body2)));
			}
		}
	}
}

⌨️ 快捷键说明

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