SetChemicalsData() 공개 메소드

public SetChemicalsData ( Newtonsoft.Json.Linq.JArray chemicalsData ) : void
chemicalsData Newtonsoft.Json.Linq.JArray
리턴 void
예제 #1
0
        public void RegisterEffectsMapTool(EffectsModelSettingsViewModel effectsSettingsViewModel)
        {
            _EffectsSettingsViewModels.Add(effectsSettingsViewModel);

            if (_effectsEvent == null)
            {
                ImbSubscribe();
            }

            if (_models == null)
            {
                GetModels();
            }
            else
            {
                effectsSettingsViewModel.SetModelData(_models);
            }

            if (_chemicalNames == null)
            {
                GetChemicalNames();
            }
            else
            {
                effectsSettingsViewModel.SetChemicalsData(_chemicalNames);
            }
        }