Ejemplo n.º 1
0
        void LoadData()
        {
            System.Collections.ObjectModel.ObservableCollection <string> posts    = new System.Collections.ObjectModel.ObservableCollection <string>();
            System.Collections.ObjectModel.ObservableCollection <string> companys = new System.Collections.ObjectModel.ObservableCollection <string>();
            System.Collections.ObjectModel.ObservableCollection <string> departs  = new System.Collections.ObjectModel.ObservableCollection <string>();
            for (int i = 0; i < Common.CurrentLoginUserInfo.UserPosts.Count(); i++)
            {
                posts.Add(Common.CurrentLoginUserInfo.UserPosts[i].PostID);
                companys.Add(Common.CurrentLoginUserInfo.UserPosts[i].CompanyID);
                departs.Add(Common.CurrentLoginUserInfo.UserPosts[i].DepartmentID);
            }

            client.GetHouseIssueAndNoticeInfosAsync(Common.CurrentLoginUserInfo.EmployeeID, posts, companys, departs);
        }
Ejemplo n.º 2
0
        void LoadData()
        {
            System.Collections.ObjectModel.ObservableCollection <string> posts    = new System.Collections.ObjectModel.ObservableCollection <string>();
            System.Collections.ObjectModel.ObservableCollection <string> companys = new System.Collections.ObjectModel.ObservableCollection <string>();
            System.Collections.ObjectModel.ObservableCollection <string> departs  = new System.Collections.ObjectModel.ObservableCollection <string>();
            for (int i = 0; i < Common.CurrentLoginUserInfo.UserPosts.Count(); i++)
            {
                posts.Add(Common.CurrentLoginUserInfo.UserPosts[i].PostID);
                companys.Add(Common.CurrentLoginUserInfo.UserPosts[i].CompanyID);
                departs.Add(Common.CurrentLoginUserInfo.UserPosts[i].DepartmentID);
            }

            client.GetHouseIssueAndNoticeInfosAsync(Common.CurrentLoginUserInfo.EmployeeID, posts, companys, departs);

            //////client.GetHouseIssueAndNoticeInfosToMobileAsync(1,20,6,100,"ddddddddddddddd",SAAS1,SAAS2,SAAS3);
            //V_SystemNotice aa = new V_SystemNotice();
            //V_SystemNotice bb = new V_SystemNotice();
            //client.GetSysNoticeByFormidToMobileAsync("a7b7582c-5cb9-468e-b396-23fd85f1f0f3", SAAS1, SAAS2, SAAS3, "3303d827-e2df-48d6-8c21-8224a589c551", aa, bb);
        }