Ejemplo n.º 1
0
    public string NotifyEventUpdate(string EVENT_ID_Collection,string SK)
    {
        string[,] p = new string[2, 1];
        p[0, 0] = "EVENT_ID_Collection";
        p[1, 0] = EVENT_ID_Collection;

        if (!COS_SECURITY_TOOL.SECURITY_RequestDecrypt(p, SK)) return COS_SECURITY_TOOL.SECURITY_ContentEncrypt("-4");

        EVENT_ID_Collection = COS_SECURITY_TOOL.SECURITY_ContentDecrypt(EVENT_ID_Collection);

        COS_WEBSERVICE_EVENTS cos_w_ev = new COS_WEBSERVICE_EVENTS();
        return COS_SECURITY_TOOL.SECURITY_ContentEncrypt(cos_w_ev.NotifyEventUpdate(EVENT_ID_Collection));
    }
Ejemplo n.º 2
0
    public string EVENTS_Sync(string HCCU_ID,string SK) {

        string[,] p = new string[2, 1];
        p[0, 0] = "HCCU_ID";
        p[1, 0] = HCCU_ID;

        if (!COS_SECURITY_TOOL.SECURITY_RequestDecrypt(p, SK)) return COS_SECURITY_TOOL.SECURITY_ContentEncrypt("-4");

        HCCU_ID = COS_SECURITY_TOOL.SECURITY_ContentDecrypt(HCCU_ID);

        COS_WEBSERVICE_EVENTS cos_w_ev = new COS_WEBSERVICE_EVENTS();
        return COS_SECURITY_TOOL.SECURITY_ContentEncrypt(cos_w_ev.EVENTS_Sync(HCCU_ID));
    }
Ejemplo n.º 3
0
    public string NotifyEventUpdate(string EVENT_ID_Collection, string SK)
    {
        string[,] p = new string[2, 1];
        p[0, 0]     = "EVENT_ID_Collection";
        p[1, 0]     = EVENT_ID_Collection;

        if (!COS_SECURITY_TOOL.SECURITY_RequestDecrypt(p, SK))
        {
            return(COS_SECURITY_TOOL.SECURITY_ContentEncrypt("-4"));
        }

        EVENT_ID_Collection = COS_SECURITY_TOOL.SECURITY_ContentDecrypt(EVENT_ID_Collection);

        COS_WEBSERVICE_EVENTS cos_w_ev = new COS_WEBSERVICE_EVENTS();

        return(COS_SECURITY_TOOL.SECURITY_ContentEncrypt(cos_w_ev.NotifyEventUpdate(EVENT_ID_Collection)));
    }
Ejemplo n.º 4
0
    public string EVENTS_Sync(string HCCU_ID, string SK)
    {
        string[,] p = new string[2, 1];
        p[0, 0]     = "HCCU_ID";
        p[1, 0]     = HCCU_ID;

        if (!COS_SECURITY_TOOL.SECURITY_RequestDecrypt(p, SK))
        {
            return(COS_SECURITY_TOOL.SECURITY_ContentEncrypt("-4"));
        }

        HCCU_ID = COS_SECURITY_TOOL.SECURITY_ContentDecrypt(HCCU_ID);

        COS_WEBSERVICE_EVENTS cos_w_ev = new COS_WEBSERVICE_EVENTS();

        return(COS_SECURITY_TOOL.SECURITY_ContentEncrypt(cos_w_ev.EVENTS_Sync(HCCU_ID)));
    }