コード例 #1
0
        //public TestingArea ConsumableTestingArea { get; set; }

        public void InitForCalculation()
        {
            if (_platformFactory == null)
            {
                _platformFactory = new PlatformFactory();
            }

            if (!_isProtocolInitalized)
            {
                InitProtocols();
            }

            if (_listOfMorbidityCalcContainers != null)
            {
                _listOfMorbidityCalcContainers.Clear();
                _listOfMorbidityCalcContainers = null;
            }
            _listOfMorbidityCalcContainers = new Dictionary <int, MorbidityCalcContainer>();

            if (_artsiteCalculated != null)
            {
                _artsiteCalculated.Clear();
                _artsiteCalculated = null;
            }
            _artsiteCalculated = new Dictionary <int, ArtSiteCalculated>();
        }
コード例 #2
0
        public void InitForCalculation()
        {
            if (_platformFactory == null)
                _platformFactory = new PlatformFactory();

            if (!_isProtocolInitalized)
                InitProtocols();

            if(_listOfMorbidityCalcContainers != null)
            {
                _listOfMorbidityCalcContainers.Clear();
                _listOfMorbidityCalcContainers = null;
            }
            _listOfMorbidityCalcContainers = new Dictionary<int, MorbidityCalcContainer>();

            if (_artsiteCalculated != null)
            {
                _artsiteCalculated.Clear();
                _artsiteCalculated = null;
            }
            _artsiteCalculated = new Dictionary<int, ArtSiteCalculated>();
        }