public static AdmLevelList GetUniqueInstance()
        {
            if (_uniqueInstance == null)
                _uniqueInstance = new AdmLevelList("SF_AdmLevel");

            return _uniqueInstance;
        }
示例#2
0
        public static AdmLevelList GetUniqueInstance()
        {
            if (_uniqueInstance == null)
            {
                _uniqueInstance = new AdmLevelList("SF_AdmLevel");
            }

            return(_uniqueInstance);
        }
 public ReadFileOrganization()
 {
     organizationList = OrganizationList.GetUniqueInstance();
     realRegionList = RealRegionList.GetUniqueInstance();
     admLevelList = AdmLevelList.GetUniqueInstance();
     typeFinList = TypeFinList.GetUniqueInstance();
     mainSpecList = MainSpecList.GetUniqueInstance();
     subRegionList = SubRegionList.GetUniqueInstance();
     typeLPUList = TypeLPUList.GetUniqueInstance();
     ownershipList = OwnershipList.GetUniqueInstance();
 }
示例#4
0
        public FormAddLPU(LPU lpu)
        {
            InitializeComponent();
            
            _lpu = lpu;

            if (_lpu.ParentOrganization != null)
                _parentLPU = (_lpu.ParentOrganization as LPU);

            _isLoad = false;

            _typeLPUList = TypeLPUList.GetUniqueInstance();
            _ownershipList = OwnershipList.GetUniqueInstance();
            _admLevelList = AdmLevelList.GetUniqueInstance();
            _mainSpecList = MainSpecList.GetUniqueInstance();
            _realRegionList = RealRegionList.GetUniqueInstance();
            _typeFinList = TypeFinList.GetUniqueInstance();
            _historyList = HistoryList.GetUniqueInstance();
            _lpuRRList = LpuRRList.GetUniqueInstance();
        }