示例#1
0
 /// <summary>
 ///终端参数设置指令(启明自定义扩展参数)
 /// </summary>
 /// <param name="sysflag"></param>
 /// <param name="token"></param>
 /// <param name="cid"></param>
 /// <param name="tno"></param>
 /// <param name="paramlist"></param>
 /// <returns></returns>
 public static bool Send_CTS_SetTermParamDownQMExtend(string sysflag, string token, long cid, long tno, List <CTS_SetTermParamDown.TerminalParamItem> paramlist)
 {
     foreach (var sa in paramlist)
     {
         List <CTS_SetTermParamDown.TerminalParamItem> paramlist_one = new List <CTS_SetTermParamDown.TerminalParamItem>();
         paramlist_one.Add(sa);
         QMDPartnerPackage package = RequestPackage.getSetTermParamDown(tno, paramlist_one, 85);
         bool sd = RDSConfig.SendMsg(sysflag, token, cid, package);
         if (!sd)
         {
             return(false);
         }
     }
     return(true);
 }
示例#2
0
        /// <summary>
        ///终端参数设置指令
        /// </summary>
        /// <param name="sysflag"></param>
        /// <param name="token"></param>
        /// <param name="cid"></param>
        /// <param name="tno"></param>
        /// <param name="paramlist"></param>
        /// <returns></returns>
        public static bool Send_CTS_SetTermParamDown(string sysflag, string token, long cid, long tno, List <CTS_SetTermParamDown.TerminalParamItem> paramlist)
        {
            QMDPartnerPackage package = RequestPackage.getSetTermParamDown(tno, paramlist);

            return(RDSConfig.SendMsg(sysflag, token, cid, package));
        }