Exemplo n.º 1
0
        //-------------------------------------------------------------------------
        public Dictionary <int, TbDataItem> getCurrentTypeItems()
        {
            Dictionary <int, TbDataItem> map_items = new Dictionary <int, TbDataItem>();

            foreach (var i in EbDataMgr.Instance.getMapData <TbDataItem>())
            {
                TbDataItem item = (TbDataItem)i.Value;
                if (item.ItemTypeId == Id)
                {
                    map_items.Add(item.Id, item);
                }
            }

            return(map_items);
        }
Exemplo n.º 2
0
 //-------------------------------------------------------------------------
 public List <ItemOperateInfo> getItemOperate(List <ItemOperateInfo> list_operate_info, TbDataItem tb_item)
 {
     return(list_operate_info);
 }