Пример #1
0
 public SerializedHelper(TrafficCollectionModel model, TrafficSerializedData trafficSerializeData, List<NetWorkType> netTypeList)
 {
     this.m_TrafficColModel = model;
     this.m_TrafficSerializedData = trafficSerializeData;
     this.m_NetTypeList = netTypeList;
     this.InitDic();
 }
Пример #2
0
 public void AutoLoadData(ISubSystemData systemData)
 {
     try
     {
         if (this.m_NetWorkType != NetWorkType.CDMA)
         {
             this.m_TrafficSerializedData = (TrafficSerializedData) systemData;
             this.m_DeSerializeHelper = new DeSerializedHelper(this.m_Model, this.m_TrafficSerializedData, this.m_NetWorkTypeList);
             this.m_DeSerializeHelper.ClearDataToManagement();
             this.m_DeSerializeHelper.UpdateDataToManagement();
         }
     }
     catch (Exception exception)
     {
         WriteLog.Logger.Error(exception.StackTrace);
         throw exception;
     }
 }