public void SaveModuleNode(KonstructionModuleResource mod)
        {
            KonstructionModuleResource c = null;
            var count = _moduleResources.Count;

            for (int i = 0; i < count; ++i)
            {
                var n = _moduleResources[i];
                if (n.moduleName == mod.moduleName)
                {
                    c = n;
                    break;
                }
            }

            if (c == null)
            {
                c = new KonstructionModuleResource
                {
                    moduleName     = mod.moduleName,
                    resourceName   = mod.resourceName,
                    massMultiplier = mod.massMultiplier
                };
                _moduleResources.Add(c);
            }
        }
        public void AddModuleResourceNode(KonstructionModuleResource mod)
        {
            var count = _moduleResources.Count;

            for (int i = 0; i < count; ++i)
            {
                if (_moduleResources[i].moduleName == mod.moduleName)
                {
                    return;
                }
            }
            _moduleResources.Add(mod);
        }