Beispiel #1
0
        public SGData GetApprManageData(int groupid)
        {
            SGApprManageData tmpData = null;

            if (m_DicApprManageData.TryGetValue(groupid, out tmpData) != true)
            {
                return(null);
            }
            return(m_DicApprManageData[groupid]);
        }
Beispiel #2
0
        public void SetApprManageData(HsNetWork hs, int groupid, SGData data)
        {
            SGApprManageData tmpData = null;

            if (m_DicApprManageData.TryGetValue(groupid, out tmpData) == true)
            {
                m_DicApprManageData.Remove(groupid);
                tmpData = null;
            }
            tmpData = new SGApprManageData();
            tmpData.Copy(hs, data);

            m_DicApprManageData[groupid] = tmpData;
        }