Пример #1
0
        public int RequestSendApprDetailQuery(HsNetWork hsNet, int groupid, string strUserID, string strQuery)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic["APPID"]    = "0x00000000";
            dic["CLIENTID"] = strUserID;
            dic["QUERY"]    = strQuery;
            CmdSendParser sendParser = new CmdSendParser();
            SGEventArgs   args       = sendParser.RequestSendQuery("CMD_STR_FILEAPPRDETAILQUERY", dic);

            hsNet.SendMessage(args);
            return(0);
        }
Пример #2
0
        public int RequestSendZipDepthInfo(HsNetWork hsNet, string strUserID, string strQuery)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic["APPID"]    = "0x00000000";
            dic["CLIENTID"] = strUserID;
            dic["QUERY"]    = strQuery;
            CmdSendParser sendParser = new CmdSendParser();

            sendParser.SetSessionKey(hsNet.GetSeedKey());
            SGEventArgs args = sendParser.RequestSendQuery("CMD_STR_ZIPDEPTHINFO", dic);

            return(hsNet.SendMessage(args));
        }
Пример #3
0
        public int RequestSendDeptApprLineSearchQuery(HsNetWork hsNet, int groupid, string strUserID, string strQuery)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic["APPID"]    = "0x00000000";
            dic["CLIENTID"] = strUserID;
            dic["QUERY"]    = strQuery;
            CmdSendParser sendParser = new CmdSendParser();

            sendParser.SetSessionKey(hsNet.GetSeedKey());
            SGEventArgs args = sendParser.RequestSendQuery("CMD_STR_DEPTAPPRLINESEARCHQUERY", dic);

            return(hsNet.SendMessage(args));
        }
Пример #4
0
        public int RequestSendTransDetailQuery(HsNetWork hsNet, int groupid, string strUserID, string strQuery)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic["APPID"]    = "0x00000000";
            dic["CLIENTID"] = strUserID;
            dic["QUERY"]    = strQuery;
            CmdSendParser sendParser = new CmdSendParser();

            sendParser.SetSessionKey(hsNet.GetSeedKey());
            SGEventArgs args = sendParser.RequestSendQuery("CMD_STR_FILETRANSDETAILQUERY", dic);

            return(hsNet.SendMessage(args));
        }
Пример #5
0
        public int RequestSendDashBoardApprRejectCountQuery(HsNetWork hsNet, string strUserID, string strQuery)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic["APPID"]    = "0x00000000";
            dic["CLIENTID"] = strUserID;
            dic["QUERY"]    = strQuery;
            CmdSendParser sendParser = new CmdSendParser();

            sendParser.SetSessionKey(hsNet.GetSeedKey());
            SGEventArgs args = sendParser.RequestSendQuery("CMD_STR_DASHBOARDAPPRREJECTCOUNT", dic);

            return(hsNet.SendMessage(args));
        }
Пример #6
0
        public int RequestSecurityApproverQuery(HsNetWork hsNet, int groupid, string strUserID, string strQuery)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic["APPID"]    = "0x00000000";
            dic["CLIENTID"] = strUserID;
            dic["QUERY"]    = strQuery;
            CmdSendParser sendParser = new CmdSendParser();

            sendParser.SetSessionKey(hsNet.GetSeedKey());
            SGEventArgs args = sendParser.RequestSendQuery("CMD_STR_SECURITY_APPROVER_QUERY", dic);

            return(hsNet.SendMessage(args));
        }
Пример #7
0
        public int RequestRecordExistCheckQuery(HsNetWork hsNet, int groupid, string strUserID, string strQuery)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic["APPID"]    = "0x00000000";
            dic["CLIENTID"] = strUserID;
            dic["QUERY"]    = strQuery;
            CmdSendParser sendParser = new CmdSendParser();

            sendParser.SetSessionKey(hsNet.GetSeedKey());
            SGEventArgs args = sendParser.RequestSendQuery("CMD_STR_RECORDEXISTCHECK_QUERY", dic);

            return(hsNet.SendMessage(args));
        }
Пример #8
0
        public int RequestSendBoardNotiConfirm(HsNetWork hsNet, string strUserID, string strQuery)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic["APPID"]    = "0x00000000";
            dic["CLIENTID"] = strUserID;
            dic["QUERY"]    = strQuery;
            CmdSendParser sendParser = new CmdSendParser();

            sendParser.SetSessionKey(hsNet.GetSeedKey());
            SGEventArgs args = sendParser.RequestSendQuery("CMD_STR_BOARDNOTIFYCONFIRM", dic);

            return(hsNet.SendMessage(args));
        }
Пример #9
0
        public int RequestSendFileAddErr(HsNetWork hsNet, string strUserID, string strQuery)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic["APPID"]    = "0x00000000";
            dic["CLIENTID"] = strUserID;
            dic["QUERY"]    = strQuery;
            CmdSendParser sendParser = new CmdSendParser();

            sendParser.SetSessionKey(hsNet.GetSeedKey());
            //SGEventArgs args = sendParser.RequestCmd("CMD_STR_DATABASEQUERY", dic);
            SGEventArgs args = sendParser.RequestSendQuery("CMD_STR_FILEADDERROR", dic);

            return(hsNet.SendMessage(args));
        }