/*
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License version 3 as published by
the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.cirqwizard.settings;
public class InsulationMillingSettings extends SettingsGroup
{
@PersistentPreference
@PreferenceGroup(name = "Tools")
private UserPreference<String> toolTable = new UserPreference<>("Tool table", "", "", PreferenceType.TOOL_TABLE);
@PersistentPreference
@PreferenceGroup(name = "Heights")
private UserPreference<Integer> clearance = new UserPreference<>("Clearance", 5000, "mm");
@PersistentPreference
@PreferenceGroup(name = "Heights")
private UserPreference<Integer> safetyHeight = new UserPreference<>("Safety height", 2000, "mm");
@PersistentPreference
@PreferenceGroup(name = "Heights")
private UserPreference<Integer> workingHeight = new UserPreference<>("Working height", -50, "mm");
@Override
public String getName()
{
return "Isolation milling";
}
@Override
public String getPreferencesPrefix()
{
return "insulation-milling";
}
public UserPreference<Integer> getClearance()
{
return clearance;
}
public void setClearance(UserPreference<Integer> clearance)
{
this.clearance = clearance;
}
public UserPreference<Integer> getSafetyHeight()
{
return safetyHeight;
}
public void setSafetyHeight(UserPreference<Integer> safetyHeight)
{
this.safetyHeight = safetyHeight;
}
public UserPreference<Integer> getWorkingHeight()
{
return workingHeight;
}
public void setWorkingHeight(UserPreference<Integer> workingHeight)
{
this.workingHeight = workingHeight;
}
public UserPreference<String> getToolTable()
{
return toolTable;
}
public void setToolTable(UserPreference<String> toolTable)
{
this.toolTable = toolTable;
}
}