Ejemplo n.º 1
0
        public int RequestSendPasswdChgDayQuery(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_PASSWDCHGDAY", dic);

            return(hsNet.SendMessage(args));
        }
Ejemplo n.º 2
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));
        }
Ejemplo n.º 3
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));
        }
Ejemplo n.º 4
0
        public int RequestSendLogOut(HsNetWork hsNet, string strUserID)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

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

            sendParser.SetSessionKey(hsNet.GetSeedKey());
            SGEventArgs args = sendParser.RequestCmd("CMD_STR_LOGOUT", dic);

            return(hsNet.SendMessage(args));
        }
Ejemplo n.º 5
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));
        }
Ejemplo n.º 6
0
        public int RequestUrlList(HsNetWork hsNet, int groupid, string strUserID)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

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

            sendParser.SetSessionKey(hsNet.GetSeedKey());
            SGEventArgs args = sendParser.RequestCmd("CMD_STR_URLLIST", dic);

            hsNet.SendMessage(args);
            return(0);
        }
Ejemplo n.º 7
0
        public int RequestInstApproveClear(HsNetWork hsNet, string strUserID, string appruserId)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

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

            sendParser.SetSessionKey(hsNet.GetSeedKey());
            SGEventArgs args = sendParser.RequestCmd("CMD_STR_APPRINSTCLEAR", dic);

            return(hsNet.SendMessage(args));
        }
Ejemplo n.º 8
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));
        }
Ejemplo n.º 9
0
        public int RequestManualDownload(HsNetWork hsNet, int groupid, string strUserID, string strTransSeq)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

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

            sendParser.SetSessionKey(hsNet.GetSeedKey());
            SGEventArgs args = sendParser.RequestCmd("CMD_STR_MANUALDOWNLOAD", dic);

            return(hsNet.SendMessage(args));
        }
Ejemplo n.º 10
0
        public int RequestSendEmailCancel(HsNetWork hsNet, int groupid, string strUserID, string emailSeq)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

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

            sendParser.SetSessionKey(hsNet.GetSeedKey());
            SGEventArgs args = sendParser.RequestCmd("CMD_STR_EMAIL_SEND_CANCEL", dic);

            return(hsNet.SendMessage(args));
        }
Ejemplo n.º 11
0
        public int RequestOTPRegist(HsNetWork hsNet, int groupid, string strUserID, string otpNumber)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

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

            sendParser.SetSessionKey(hsNet.GetSeedKey());
            SGEventArgs args = sendParser.RequestCmd("CMD_STR_OTP", dic);

            return(hsNet.SendMessage(args));
        }
Ejemplo n.º 12
0
        public int RequestInstApprove(HsNetWork hsNet, int groupid, string strUserID, string strTeamCode)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

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

            sendParser.SetSessionKey(hsNet.GetSeedKey());
            SGEventArgs args = sendParser.RequestCmd("CMD_STR_APPRINSTCUR", dic);

            return(hsNet.SendMessage(args));
        }
Ejemplo n.º 13
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));
        }
Ejemplo n.º 14
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));
        }
Ejemplo n.º 15
0
        public int RequestSendVirusConfirm(HsNetWork hsNet, string strUserID, string strTransSeq)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic["APPID"]    = "0x00000000";
            dic["CLIENTID"] = strUserID;
            dic["TRANSSEQ"] = strTransSeq;

            CmdSendParser sendParser = new CmdSendParser();

            sendParser.SetSessionKey(hsNet.GetSeedKey());
            SGEventArgs args = sendParser.RequestCmd("CMD_STR_VIRUS_CONFIRM", dic);

            return(hsNet.SendMessage(args));
        }
Ejemplo n.º 16
0
        public int RequestSendCancel(HsNetWork hsNet, int groupid, string strUserID, string strTransSeq, string strAction, string strReason)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic["APPID"]    = "0x00000000";
            dic["CLIENTID"] = strUserID;
            dic["TRANSSEQ"] = strTransSeq;
            dic["ACTION"]   = strTransSeq;
            dic["REASON"]   = strReason;
            CmdSendParser sendParser = new CmdSendParser();
            SGEventArgs   args       = sendParser.RequestCmd("CMD_STR_SENDCANCEL", dic);

            hsNet.SendMessage(args);
            return(0);
        }
Ejemplo n.º 17
0
        public int RequestTransDetail(HsNetWork hsNet, int groupid, string strUserID, string strTransSeq)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

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

            sendParser.SetSessionKey(hsNet.GetSeedKey());
            SGEventArgs args = sendParser.RequestCmd("CMD_STR_TRANS_DETAIL", dic);

            hsNet.SendMessage(args);
            return(0);
        }
Ejemplo n.º 18
0
        public int RequestSendSVRGPKIRegChange(HsNetWork hsNet, string strUserID, string strGpkiCN)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic["APPID"]    = "0x00000000";
            dic["CLIENTID"] = strUserID;
            dic["GPKI_CN"]  = strGpkiCN;

            CmdSendParser sendParser = new CmdSendParser();

            sendParser.SetSessionKey(hsNet.GetSeedKey());
            SGEventArgs args = sendParser.RequestCmd("CMD_STR_CHANGEGPKI_CN", dic);

            return(hsNet.SendMessage(args));
        }
Ejemplo n.º 19
0
        public int RequestEmailApproveBatch(HsNetWork hsNet, int groupid, string strUserID, string strProcID, string strReason, string strApproveSeqs)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic["APPID"]            = "0x00000000";
            dic["CLIENTID"]         = strUserID;
            dic["PROCID"]           = strProcID;
            dic["REASON"]           = strReason;
            dic["EMAILAPPROVESEQS"] = strApproveSeqs;
            CmdSendParser sendParser = new CmdSendParser();

            sendParser.SetSessionKey(hsNet.GetSeedKey());
            SGEventArgs args = sendParser.RequestCmd("CMD_STR_EMAIL_APPROVE_BATCH", dic);

            return(hsNet.SendMessage(args));
        }
Ejemplo n.º 20
0
        public int RequestSendSVRGPKICert(HsNetWork hsNet, string strUserID, string sessionKey, byte[] byteSignedDataHex)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic["APPID"]      = "0x00000000";
            dic["CLIENTID"]   = strUserID;  // 통신단에서 Utf8로 변환해서 전송해야됨
            dic["SESSIONKEY"] = sessionKey;
            dic["SIGNLEN"]    = byteSignedDataHex.Length.ToString();
            dic["SIGNDATA"]   = byteSignedDataHex.ByteToBase64String(); // 정각과장과 협의

            CmdSendParser sendParser = new CmdSendParser();

            sendParser.SetSessionKey(hsNet.GetSeedKey());
            SGEventArgs args = sendParser.RequestCmd("CMD_STR_GPKICERT", dic);

            return(hsNet.SendMessage(args));
        }
Ejemplo n.º 21
0
        public int RequestApproveBatch(HsNetWork hsNet, int groupid, string strUserID, string strProcID, string strReason, string strApproveSeqs, string strApprover, string strApproveUserKind)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic["APPID"]           = "0x00000000";
            dic["CLIENTID"]        = strUserID;
            dic["PROCID"]          = strProcID;
            dic["REASON"]          = strReason;
            dic["APPROVESEQS"]     = strApproveSeqs;
            dic["APPROVER"]        = strApprover;
            dic["APPROVEUSERKIND"] = strApproveUserKind;
            CmdSendParser sendParser = new CmdSendParser();
            SGEventArgs   args       = sendParser.RequestCmd("CMD_STR_APPROVEBATCH", dic);

            hsNet.SendMessage(args);
            return(0);
        }
Ejemplo n.º 22
0
        public int RequestSendEmailDownload(HsNetWork hsNet, int groupid, string strUserID, string stEmailSeq, string sFileName, string filekey, string fileseq)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic["APPID"]    = "0x00000000";
            dic["CLIENTID"] = strUserID;
            dic["EMAILSEQ"] = stEmailSeq;
            dic["FILENAME"] = sFileName;
            dic["FILEKEY"]  = filekey;
            dic["FILESEQ"]  = fileseq;
            CmdSendParser sendParser = new CmdSendParser();

            sendParser.SetSessionKey(hsNet.GetSeedKey());
            SGEventArgs args = sendParser.RequestCmd("CMD_STR_EMAIL_FILEDOWNLOAD64", dic);

            return(hsNet.SendMessage(args));
        }
Ejemplo n.º 23
0
        public int RequestInstApproveReg(HsNetWork hsNet, string strUserID, string strTeamCode, string startdate, string enddate, string appruserId, string apprteamcode)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic["APPID"]         = "0x00000000";
            dic["CLIENTID"]      = strUserID;
            dic["TEAMCODE"]      = strTeamCode;
            dic["STARTDATE"]     = startdate;
            dic["ENDDATE"]       = enddate;
            dic["APPR_TEAMCODE"] = apprteamcode;
            dic["APPR_USERID"]   = appruserId;
            CmdSendParser sendParser = new CmdSendParser();

            sendParser.SetSessionKey(hsNet.GetSeedKey());
            SGEventArgs args = sendParser.RequestCmd("CMD_STR_APPRINSTREG", dic);

            return(hsNet.SendMessage(args));
        }
Ejemplo n.º 24
0
        public int RequestSend_PRIVACY_CONTINUE(HsNetWork hsNet, string strUserID, string transSeq, string dlpApprove, string privacyConfirmSeq, string NetType)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic["APPID"]            = "0x00000000";
            dic["CLIENTID"]         = strUserID;
            dic["TRANSSEQ"]         = transSeq;
            dic["DLPAPPROVE"]       = dlpApprove;
            dic["PRIVACYCONFIRMID"] = privacyConfirmSeq;
            dic["NETOVERSYSTEM"]    = NetType;

            CmdSendParser sendParser = new CmdSendParser();

            sendParser.SetSessionKey(hsNet.GetSeedKey());
            SGEventArgs args = sendParser.RequestCmd("CMD_STR_PRIVACY_CONTINUE", dic);

            return(hsNet.SendMessage(args));
        }
Ejemplo n.º 25
0
        public int RequestSendFilePrev(HsNetWork hsNet, int groupid, string strUserID, string strTransSeq, string strFileName, string strFileKey, string strFileSeq, string strOrgData)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic["APPID"]    = "0x00000000";
            dic["CLIENTID"] = strUserID;
            dic["TRANSSEQ"] = strTransSeq;
            dic["FILENAME"] = strFileName;
            dic["FILEKEY"]  = strFileKey;
            dic["FILESEQ"]  = strFileSeq;
            dic["ORGDATA"]  = strOrgData;

            CmdSendParser sendParser = new CmdSendParser();

            sendParser.SetSessionKey(hsNet.GetSeedKey());
            SGEventArgs args = sendParser.RequestCmd("CMD_STR_FILEPREVIEW", dic);

            return(hsNet.SendMessage(args));
        }
Ejemplo n.º 26
0
        public int RequestSendClipBoard(HsNetWork hsNet, string strUserID, int TotalCount, int CurCount, int DataType, int ClipboardSize, byte[] ClipData)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic["APPID"]         = "0x00000000";
            dic["CLIENTID"]      = strUserID;
            dic["TOTALCOUNT"]    = TotalCount.ToString();
            dic["CURRENTCOUNT"]  = CurCount.ToString();
            dic["DATATYPE"]      = DataType.ToString();
            dic["CLIPBOARDSIZE"] = ClipboardSize.ToString();
            dic["CLIPBOARDDATA"] = "-";


            CmdSendParser sendParser = new CmdSendParser();

            sendParser.SetSessionKey(hsNet.GetSeedKey());
            SGEventArgs args = sendParser.RequestCmd("CMD_STR_CLIPBOARDTXT", dic);

            return(hsNet.SendMessageClipBoard(args, ClipData));
        }
Ejemplo n.º 27
0
        public int RequestFileTransList(HsNetWork hsNet, int groupid, string strUserID, string strFromDate, string strToDate, string strTransKind, string strTransStatus, string strApprStatus, string strDlp, string strTitle, string strDataType)
        {
            Dictionary <string, string> dic = new Dictionary <string, string>();

            dic["APPID"]         = "0x00000000";
            dic["CLIENTID"]      = strUserID;
            dic["FROMDATE"]      = strFromDate;
            dic["TODATE"]        = strToDate;
            dic["TRANSKIND"]     = strTransKind;
            dic["TRANSSTATUS"]   = strTransStatus;
            dic["APPROVESTATUS"] = strApprStatus;
            dic["DLP"]           = strDlp;
            dic["TITLE"]         = strTitle;
            dic["DATATYPE"]      = strDataType;
            CmdSendParser sendParser = new CmdSendParser();

            sendParser.SetSessionKey(hsNet.GetSeedKey());
            SGEventArgs args = sendParser.RequestCmd("CMD_STR_FILE_TRANSLIST", dic);

            return(hsNet.SendMessage(args));
        }