📄 smssubmitreport.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: SMSSubmitReport.java
using System;
namespace com.sms.sgip.data
{
// Referenced classes of package com.sms.sgip.data:
// SMSData, SgipException
public class SMSSubmitReport:SMSData
{
virtual public int SubmitSeqAddr
{
get
{
return submitSeqAddr;
}
set
{
submitSeqAddr = value;
}
}
virtual public int SubmitSeqDate
{
get
{
return submitSeqDate;
}
set
{
submitSeqDate = value;
}
}
virtual public int SubmitSequence
{
get
{
return submitSequence;
}
set
{
submitSequence = value;
}
}
virtual public int ReportType
{
get
{
return reportType;
}
set
{
reportType = value;
}
}
virtual public int State
{
get
{
return state;
}
set
{
state = value;
}
}
virtual public int ErrorCode
{
get
{
return errorCode;
}
set
{
errorCode = value;
}
}
virtual public System.String UserNumber
{
get
{
return userNumber;
}
set
{
userNumber = value;
}
}
virtual public System.String Reserve
{
get
{
return reserve;
}
set
{
reserve = value;
}
}
private int submitSeqAddr;
private int submitSeqDate;
private int submitSequence;
private int reportType;
private System.String userNumber;
private int state;
private int errorCode;
private System.String reserve;
public SMSSubmitReport()
{
}
//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 = new sbyte[4];
body1[0] = (sbyte) m_is.ReadByte();
body1[1] = (sbyte) m_is.ReadByte();
body1[2] = (sbyte) m_is.ReadByte();
body1[3] = (sbyte) m_is.ReadByte();
submitSeqAddr = (body1[0] & 0xff) << 24 | (body1[1] & 0xff) << 16 | (body1[2] & 0xff) << 8 | body1[3] & 0xff;
sbyte[] body2 = new sbyte[4];
body2[0] = (sbyte) m_is.ReadByte();
body2[1] = (sbyte) m_is.ReadByte();
body2[2] = (sbyte) m_is.ReadByte();
body2[3] = (sbyte) m_is.ReadByte();
submitSeqDate = (body2[0] & 0xff) << 24 | (body2[1] & 0xff) << 16 | (body2[2] & 0xff) << 8 | body2[3] & 0xff;
sbyte[] body3 = new sbyte[4];
body3[0] = (sbyte) m_is.ReadByte();
body3[1] = (sbyte) m_is.ReadByte();
body3[2] = (sbyte) m_is.ReadByte();
body3[3] = (sbyte) m_is.ReadByte();
submitSequence = (body3[0] & 0xff) << 24 | (body3[1] & 0xff) << 16 | (body3[2] & 0xff) << 8 | body3[3] & 0xff;
sbyte body4 = (sbyte) m_is.ReadByte();
reportType = body4;
sbyte[] body5 = new sbyte[21];
for (i = 0; i < body5.Length; i++)
body5[i] = (sbyte) m_is.ReadByte();
userNumber = new System.String(SupportClass.ToCharArray(SupportClass.ToByteArray(body5)));
sbyte body6 = (sbyte) m_is.ReadByte();
state = body6;
sbyte body7 = (sbyte) m_is.ReadByte();
errorCode = body7;
sbyte[] body8 = new sbyte[8];
for (i = 0; i < body8.Length; i++)
body8[i] = (sbyte) m_is.ReadByte();
reserve = new System.String(SupportClass.ToCharArray(SupportClass.ToByteArray(body8)));
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -