Example #1
0
 public override void OnRelease()
 {
     this.wItemType   = 0;
     this.dwItemID    = 0u;
     this.ullUniqueID = 0uL;
     if (this.stItemInfo != null)
     {
         this.stItemInfo.Release();
         this.stItemInfo = null;
     }
 }
 public COMDT_ITEM_POSINFO()
 {
     this.stItemInfo = (COMDT_ITEM_DETAIL)ProtocolObjectPool.Get(COMDT_ITEM_DETAIL.CLASS_ID);
 }
 public override void OnUse()
 {
     this.stItemInfo = (COMDT_ITEM_DETAIL)ProtocolObjectPool.Get(COMDT_ITEM_DETAIL.CLASS_ID);
 }