CPropItemGrp.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using OTSModelSharp.ResourceManage;
  7. namespace OTSDataType
  8. {
  9. public class CPropItemGrp
  10. {
  11. public CPropItemGrp()
  12. { }// constructor
  13. public CPropItemGrp(CPropItemGrp g)
  14. { }// copy constructor
  15. // group name
  16. public string GetName() { return m_strName; }
  17. public void SetName(string a_strName) { m_strName = a_strName; }
  18. // items group Id
  19. public OTS_SAMPLE_PROP_GRID_ITEM_GROUPS GetGroupId() { return m_nId; }
  20. public void SetGroupId(OTS_SAMPLE_PROP_GRID_ITEM_GROUPS a_nId) { m_nId = a_nId; }
  21. // items list
  22. public List<CPropItem> GetItemsList() { return m_listPropItems; }
  23. public void SetItemsList(List<CPropItem> a_listPropItems)
  24. {
  25. m_listPropItems = a_listPropItems;
  26. }
  27. public void GetItemsIdRange(OTS_SAMPLE_PROP_GRID_ITEMS a_nItemIdMin, OTS_SAMPLE_PROP_GRID_ITEMS a_nItemIdMax)
  28. { }
  29. // cleanup
  30. public void Cleanup()
  31. { }
  32. // initialization
  33. public void Init()
  34. { }
  35. // duplication
  36. public void Duplicate(CPropItemGrp a_oSource)
  37. { }
  38. // group name
  39. string m_strName;
  40. // group id
  41. OTS_SAMPLE_PROP_GRID_ITEM_GROUPS m_nId;
  42. // items list
  43. List<CPropItem> m_listPropItems;
  44. };
  45. }