Example #1
0
        /// <summary>
        /// 发送站点
        /// </summary>
        /// <param name="tar"></param>
        public void ISendTar(int tar)
        {
            if (_devBack != null && CurTar == "0")
            {
                JtWcfMainHelper.InitPara(AppConfig.GetIPAdress(), "", "");

                ///启动指令
                JtWcfMainHelper.SendOrder(_devBack.DevId, new CommonDeviceOrderObj("站点", 3, tar));
            }
        }
Example #2
0
        /// <summary>
        ///
        /// </summary>
        public void ISendRun(string source)
        {
            if (_devBack != null && CurStatue == "3")
            {
                JtWcfMainHelper.InitPara(AppConfig.GetIPAdress(), "", "");

                ///启动指令
                JtWcfMainHelper.SendOrder(_devBack.DevId, new CommonDeviceOrderObj(source, 1));
            }
        }