Beispiel #1
0
        public JTBSetPathAlarm(CmdParam.OrderCode OrderCode)
        {
            this.InitializeComponent();
            base.OrderCode = OrderCode;
            this._worker.WorkerReportsProgress = true;
            this._worker.DoWork             += new DoWorkEventHandler(this._worker_DoWork);
            this._worker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(this._worker_RunWorkerCompleted);
            this._worker.ProgressChanged    += new ProgressChangedEventHandler(this._worker_ProgressChanged);
            this.pathSectionSource.AllowNew  = true;
            DataColumn column  = new DataColumn("SectionName");
            DataColumn column2 = new DataColumn("MaxSpeed");
            DataColumn column3 = new DataColumn("MaxSpeedTm");
            DataColumn column4 = new DataColumn("MaxTm");
            DataColumn column5 = new DataColumn("MinTm");
            DataColumn column6 = new DataColumn("LanLon");

            this.pathSectiondt.Columns.AddRange(new DataColumn[] { column, column2, column3, column4, column5, column6 });
            DataColumn column7  = new DataColumn("pathname");
            DataColumn column8  = new DataColumn("begintm");
            DataColumn column9  = new DataColumn("endtm");
            DataColumn column10 = new DataColumn("pathattr");

            this.pathdt.Columns.AddRange(new DataColumn[] { column7, column8, column9, column10 });
            this.dgvPath.DataSource = this.pathdt;
        }
 public JTBWirelessUpgradeCommand(CmdParam.OrderCode OrderCode)
 {
     this.InitializeComponent();
     base.OrderCode      = OrderCode;
     this._appServerList = new AutoDropDown(this.lboxApnAccessMode);
     this.grpWatchProperty.Controls.Add(this._appServerList);
 }
Beispiel #3
0
        private bool getParam()
        {
            if (this.txtPostResponse.Text.Trim().Length == 0)
            {
                MessageBox.Show("请输入应答内容!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
                return(false);
            }
            this.m_SimpleCmd.OrderCode = this.OrderCode;
            this._content = Convert.ToString(int.Parse(this.repType), 16).PadLeft(2, '0');
            string str = this.convertStringToBase16String(this.repObjectID);

            str            = str.PadRight(24, '0').Substring(0, 24);
            this._content  = string.Concat(this._content, str);
            this._content  = string.Concat(this._content, Convert.ToString(int.Parse(this.repid), 16).PadLeft(8, '0'));
            this._discript = this.txtPostResponse.Text.Trim();
            string[] string6 = new string[] { this.OBJECT_ID, ";手动查岗应答:=", this.strAsk, "|", Variable.sUserId, "|", this.txtPostResponse.Text.Trim() };
            string   str1    = string.Concat(string6);

            byte[] bytes = Encoding.GetEncoding("gb2312").GetBytes(str1);
            string str2  = Convert.ToString((int)bytes.Length, 16);

            this._content = string.Concat(this._content, str2.PadLeft(8, '0'));
            this._content = string.Concat(this._content, this.convertStringToBase16String(str1));
            return(true);
        }
Beispiel #4
0
 public m2mCancleReport(CmdParam.OrderCode OrderCode)
 {
     this.m_SimpleCmd = new SimpleCmd();
     this.m_sTitle    = "";
     this.InitializeComponent();
     base.OrderCode = OrderCode;
 }
Beispiel #5
0
 public itmRealTimeImage(CmdParam.OrderCode OrderCode)
 {
     InitializeComponent();
     this.lblWatchTimeExplain.Text = string.Concat("(0-", Variable.sNumMaxPicMonitorTime, ")");
     this.numWatchTime.Maximum     = decimal.Parse(Variable.sNumMaxPicMonitorTime);
     base.OrderCode = OrderCode;
 }
Beispiel #6
0
 public m2mSendMsg(CmdParam.OrderCode OrderCode, int iMsgType)
 {
     this.m_SimpleCmd = new SimpleCmd();
     this.InitializeComponent();
     base.OrderCode  = OrderCode;
     this.m_iMsgType = iMsgType;
 }
Beispiel #7
0
 public JTBControlTerminalConnectBySMS(CmdParam.OrderCode OrderCode)
 {
     this.InitializeComponent();
     base.OrderCode      = OrderCode;
     this._appServerList = new AutoDropDown(this.lboxApnAccessMode);
     this.grpWatchProperty.Controls.Add(this._appServerList);
 }
 public PlatformcheckRoadSpeedAndRank(CmdParam.OrderCode OrderCode)
 {
     this.InitializeComponent();
     base.OrderCode = OrderCode;
     this._worker.WorkerReportsProgress = true;
     this._worker.DoWork += new DoWorkEventHandler(this._worker_DoWork);
     this._worker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(this._worker_RunWorkerCompleted);
     this._worker.ProgressChanged += new ProgressChangedEventHandler(this._worker_ProgressChanged);
 }
Beispiel #9
0
 public itmSetPathAlarm(CmdParam.OrderCode OrderCode)
 {
     this.InitializeComponent();
     base.OrderCode = OrderCode;
     this._worker.WorkerReportsProgress = true;
     this._worker.DoWork             += new DoWorkEventHandler(this._worker_DoWork);
     this._worker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(this._worker_RunWorkerCompleted);
     this._worker.ProgressChanged    += new ProgressChangedEventHandler(this._worker_ProgressChanged);
 }
Beispiel #10
0
 private void getParam()
 {
     if (base.OrderCode == CmdParam.OrderCode.短信强制复位)
     {
         this.m_CommondMode = CmdParam.CommMode.短信;
     }
     CmdParam.OrderCode orderCode = base.OrderCode;
     this.m_SimpleCmd.OrderCode = base.OrderCode;
 }
Beispiel #11
0
 public itmCancelRegionAlarm(CmdParam.OrderCode OrderCode, string sTitle)
 {
     this.InitializeComponent();
     base.OrderCode = OrderCode;
     this.m_sTitle  = sTitle;
     if ((OrderCode == CmdParam.OrderCode.取消报警区域值) && sTitle.Equals("取消多功能区域报警"))
     {
         this.iRegionFeature = 1;
     }
 }
Beispiel #12
0
 public itmRealTimeImage(CmdParam.OrderCode OrderCode, bool IsSimple)
 {
     this.InitializeComponent();
     this.lblWatchTimeExplain.Text = string.Concat("(0-", Variable.sNumMaxPicMonitorTime, ")");
     this.numWatchTime.Maximum     = decimal.Parse(Variable.sNumMaxPicMonitorTime);
     base.OrderCode = OrderCode;
     this.IsSimple  = IsSimple;
     this.setTag99999(this);
     this.setSimpleEnable();
 }
Beispiel #13
0
 public itmSetRegionAlarmEx(CmdParam.OrderCode OrderCode)
 {
     this.InitializeComponent();
     this.OrderCode = OrderCode;
     this.Text      = "批量设置区域报警";
     this._worker.WorkerReportsProgress = true;
     this._worker.DoWork             += new DoWorkEventHandler(this._worker_DoWork);
     this._worker.RunWorkerCompleted += new RunWorkerCompletedEventHandler(this._worker_RunWorkerCompleted);
     this._worker.ProgressChanged    += new ProgressChangedEventHandler(this._worker_ProgressChanged);
 }
Beispiel #14
0
 public itmCarOverTimeDrive(CmdParam.OrderCode OrderCode)
 {
     this.InitializeComponent();
     base.OrderCode = OrderCode;
     if (WorkBench.SystemID == 1)
     {
         this.lblMinute1.Text      = this.lblMinute4.Text = "分";
         this.numDriveTime.Maximum = this.numRestTime.Maximum = 4294967295M;
         this.label1.Visible       = this.lblAlarmTime.Visible = this.numAlarmTime.Visible = this.lblMinute2.Visible = this.lblAlarmInterval.Visible = this.numAlarmInterval.Visible = this.lblMinute3.Visible = false;
     }
 }
Beispiel #15
0
 public itmStopReport(CmdParam.OrderCode OrderCode)
 {
     this.m_SimpleCmd        = new SimpleCmd();
     this.m_CaptureEx        = new CaptureEx();
     this.m_TxtMsg           = new TxtMsg();
     this.m_SimpleCmd_Listen = new SimpleCmd();
     this.m_AlarmInfo        = new TrafficALarmHandle();
     this.m_cmd = new ArrayList();
     this._toPlatformContent = "";
     this.platalarmType      = -1;
     this.InitializeComponent();
     base.OrderCode = OrderCode;
 }
 public JTBPlatformPostResponse(CmdParam.OrderCode OrderCode, string[] responseId)
 {
     this.InitializeComponent();
     this.Text = OrderCode.ToString();
     this.OrderCode = OrderCode;
     this.repid = responseId[0];
     this.repContent = ((int)responseId.Length >= 1 ? responseId[1] : "");
     this.repType = ((int)responseId.Length >= 3 ? responseId[2] : "1");
     this.repObjectID = ((int)responseId.Length >= 4 ? responseId[3] : "");
     string[] strArrays = this.repContent.Split(new char[] { ';' }, 2, StringSplitOptions.RemoveEmptyEntries);
     this.OBJECT_ID = strArrays[0];
     string[] strArrays2 = strArrays[1].Split(new string[] { ":=" }, 2, StringSplitOptions.RemoveEmptyEntries);
     this.strAsk = strArrays2[1].Split(new char[] { '|' }, 2, StringSplitOptions.RemoveEmptyEntries)[0];
     this.txtPostContent.Text = strArrays2[1];
 }
Beispiel #17
0
 public JTBPlatformPostResponse(CmdParam.OrderCode OrderCode, string[] responseId)
 {
     this.InitializeComponent();
     this.Text        = OrderCode.ToString();
     this.OrderCode   = OrderCode;
     this.repid       = responseId[0];
     this.repContent  = ((int)responseId.Length >= 1 ? responseId[1] : "");
     this.repType     = ((int)responseId.Length >= 3 ? responseId[2] : "1");
     this.repObjectID = ((int)responseId.Length >= 4 ? responseId[3] : "");
     string[] strArrays = this.repContent.Split(new char[] { ';' }, 2, StringSplitOptions.RemoveEmptyEntries);
     this.OBJECT_ID = strArrays[0];
     string[] strArrays2 = strArrays[1].Split(new string[] { ":=" }, 2, StringSplitOptions.RemoveEmptyEntries);
     this.strAsk = strArrays2[1].Split(new char[] { '|' }, 2, StringSplitOptions.RemoveEmptyEntries)[0];
     this.txtPostContent.Text = strArrays2[1];
 }
Beispiel #18
0
 public JTBEventSet(CmdParam.OrderCode OrderCode)
 {
     this.InitializeComponent();
     base.OrderCode = OrderCode;
     this.cmbSetType.Items.Clear();
     if (base.OrderCode == CmdParam.OrderCode.事件设置)
     {
         this.cmbSetType.Items.AddRange(new object[] { "删除终端现有所有事件", "更新事件", "追加事件", "修改事件", "删除特定几项事件" });
         this.Interval.Visible = false;
     }
     else if (base.OrderCode == CmdParam.OrderCode.点播菜单设置)
     {
         this.cmbSetType.Items.AddRange(new object[] { "删除终端全部信息项", "更新菜单", "追加菜单", "修改菜单" });
         this.Interval.Visible = true;
     }
 }
        public JTBCallPoliceSuperviseReponsion(CmdParam.OrderCode OrderCode, string ReponseID, string CarNum)
        {
            this.InitializeComponent();

            string[] strArray6 = ReponseID.ToString().Replace("报警督办ID:", "").Split(new char[] { ',' });

            for (int i = 1; i < strArray6.Length; i++)
            {
                txtDetails.AppendText(strArray6[i] + "\r\n");
            }
            this.OrderCode = OrderCode;
            this.Text      = OrderCode.ToString();
            //this._repid = ReponseID;
            this._repid  = strArray6[0];
            this._carNum = CarNum;
            this.cmbResolve.SelectedIndex = 0;
            DataRow[] rowArray = MainForm.myCarList.AllCar.Select("CarNum='" + CarNum + "'");
            this.txtCarNum.Text = CarNum;
            if ((rowArray != null) && (rowArray.Length > 0))
            {
                this.txtSimNum.Text = rowArray[0]["SimNum"].ToString();
            }
        }
Beispiel #20
0
 public JTBSetProvincesDomainID(CmdParam.OrderCode OrderCode)
 {
     this.InitializeComponent();
     base.OrderCode = OrderCode;
 }
Beispiel #21
0
 public JTBSetEngineOverspeed(CmdParam.OrderCode OrderCode)
 {
     this.InitializeComponent();
     base.OrderCode = OrderCode;
 }
Beispiel #22
0
 public itmZBNavigation(CmdParam.OrderCode OrderCode)
 {
     this.InitializeComponent();
     base.OrderCode = OrderCode;
 }
Beispiel #23
0
 public itmTaxiReport(CmdParam.OrderCode OrderCode)
 {
     this.InitializeComponent();
     base.OrderCode = OrderCode;
 }
Beispiel #24
0
 public JTBSetTelephoneBook(CmdParam.OrderCode OrderCode)
 {
     this.InitializeComponent();
     this.CreateComboBoxWithEnums(this.dataGridViewEx1.Columns["呼叫类型"]);
     base.OrderCode = OrderCode;
 }
Beispiel #25
0
 public m2mSetRegionSpeedAlarm(CmdParam.OrderCode cmdOrderCode)
 {
     this.InitializeComponent();
     base.OrderCode = cmdOrderCode;
 }
Beispiel #26
0
 public db44NoParamForm(CmdParam.OrderCode OrderCode)
 {
     this.InitializeComponent();
     base.OrderCode = OrderCode;
 }
Beispiel #27
0
 public m2mModCenterPhone(CmdParam.OrderCode OrderCode, string sTitle)
 {
     this.InitializeComponent();
     base.OrderCode = OrderCode;
     this.m_sTtile  = sTitle;
 }
Beispiel #28
0
 public itmCarOverTimeStop(CmdParam.OrderCode OrderCode)
 {
     this.InitializeComponent();
     this.cmbTelType.SelectedIndex = 1;
     base.OrderCode = OrderCode;
 }
 private bool getParam()
 {
     if (this.txtPostResponse.Text.Trim().Length == 0)
     {
         MessageBox.Show("请输入应答内容!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
         return false;
     }
     this.m_SimpleCmd.OrderCode = this.OrderCode;
     this._content = Convert.ToString(int.Parse(this.repType), 16).PadLeft(2, '0');
     string str = this.convertStringToBase16String(this.repObjectID);
     str = str.PadRight(24, '0').Substring(0, 24);
     this._content = string.Concat(this._content, str);
     this._content = string.Concat(this._content, Convert.ToString(int.Parse(this.repid), 16).PadLeft(8, '0'));
     this._discript = this.txtPostResponse.Text.Trim();
     string[] string6 = new string[] { this.OBJECT_ID, ";手动查岗应答:=", this.strAsk, "|", Variable.sUserId, "|", this.txtPostResponse.Text.Trim() };
     string str1 = string.Concat(string6);
     byte[] bytes = Encoding.GetEncoding("gb2312").GetBytes(str1);
     string str2 = Convert.ToString((int)bytes.Length, 16);
     this._content = string.Concat(this._content, str2.PadLeft(8, '0'));
     this._content = string.Concat(this._content, this.convertStringToBase16String(str1));
     return true;
 }
Beispiel #30
0
 public m2mLedDelMsg(CmdParam.OrderCode OrderCode)
 {
     this.InitializeComponent();
     base.OrderCode = OrderCode;
 }
Beispiel #31
0
 public m2mSetRegionAlarm(CmdParam.OrderCode OrderCode, string sTitle)
 {
     this.InitializeComponent();
     base.OrderCode = OrderCode;
     this.Text      = sTitle;
 }
Beispiel #32
0
 public itmCancelOverSpeedEarly(CmdParam.OrderCode OrderCode)
 {
     this.InitializeComponent();
     base.OrderCode = OrderCode;
 }