示例#1
0
 public void AutoLoadData(ISubSystemData systemData)
 {
     try
     {
         if (!this.m_NetWorkTypeList.Contains(NetWorkType.CDMA))
         {
             this.m_TrafficMapSerializedData = (TrafficMapSerializedData) systemData;
             this.ClearMapData();
             this.UpdateSavedToProject();
             this.setMapNodeCheckState();
         }
     }
     catch (Exception exception)
     {
         WriteLog.Logger.Error(exception.StackTrace);
         throw exception;
     }
 }
示例#2
0
        public void InitStage1(IApplicationContext appContext)
        {
            try
            {
                if (!this.m_NetWorkTypeList.Contains(NetWorkType.CDMA))
                {
                    this.m_ServiceContext = appContext;
                    this.treeNode = new TrafficMapTreeNodeOperation(appContext, this.m_NetWorkTypeList);
                    this.m_TreeNodeOperList.Add(this.treeNode);
                    this.m_TrafficMapSerializedData = new TrafficMapSerializedData();
                    this.m_TrafficMapSerializedData.SubSystemName = typeof(TrafficMapUISubSys).FullName;
                }
            }
            catch (Exception exception)
            {
                WriteLog.Logger.Error(exception.StackTrace);
                //throw exception;
            }

        }