mattercontrol/SlicerConfiguration/SlicerMapping/MappingClasses.cs
larsbrubaker 263e2325f5 Put the slicing configuration files in their own folder
updated copy write date
added bsd to a few files
Made the mapping to slice engines more procedural to support more engines.
2014-02-15 18:06:03 -08:00

27 lines
741 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MatterHackers.MatterControl;
namespace MatterHackers.MatterControl.SlicerConfiguration
{
public class MapItem
{
string curaKey;
string defaultKey;
internal MapItem(string curaKey, string defaultKey)
{
this.curaKey = curaKey;
this.defaultKey = defaultKey;
}
public string CuraKey { get { return curaKey; } }
public string DefaultKey { get { return defaultKey; } }
public string SlicerValue { get { return ActiveSliceSettings.Instance.GetActiveValue(defaultKey); } }
public virtual string CuraValue { get { return SlicerValue; } }
}
}