Пример #1
0
 public override void OnRelease()
 {
     if (this.stKeyInfo != null)
     {
         this.stKeyInfo.Release();
         this.stKeyInfo = null;
     }
     if (this.stValueInfo != null)
     {
         this.stValueInfo.Release();
         this.stValueInfo = null;
     }
 }
Пример #2
0
 public COMDT_STATISTIC_BASE_STRUCT()
 {
     this.stKeyInfo   = (COMDT_STATISTIC_BASE_STRUCT_KEY_INFO)ProtocolObjectPool.Get(COMDT_STATISTIC_BASE_STRUCT_KEY_INFO.CLASS_ID);
     this.stValueInfo = (COMDT_STATISTIC_BASE_STRUCT_VALUE_INFO)ProtocolObjectPool.Get(COMDT_STATISTIC_BASE_STRUCT_VALUE_INFO.CLASS_ID);
 }