public SGData GetApprManageData(int groupid) { SGApprManageData tmpData = null; if (m_DicApprManageData.TryGetValue(groupid, out tmpData) != true) { return(null); } return(m_DicApprManageData[groupid]); }
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; }