コード例 #1
0
        public SGData GetApprLineData(int groupid)
        {
            SGApprLineData tmpData = null;

            if (m_DicApprLineData.TryGetValue(groupid, out tmpData) != true)
            {
                return(null);
            }
            return(m_DicApprLineData[groupid]);
        }
コード例 #2
0
        public void SetApprLineData(HsNetWork hs, int groupid, SGData data)
        {
            SGApprLineData tmpData = null;

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

            m_DicApprLineData[groupid] = tmpData;
        }