Converted hard coded strings to SettingsKey
This commit is contained in:
parent
701dd0bf48
commit
b6d34bcdf7
4 changed files with 11 additions and 8 deletions
|
|
@ -107,7 +107,10 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
public const string windows_driver = nameof(windows_driver);
|
||||
public const string z_can_be_negative = nameof(z_can_be_negative);
|
||||
public const string z_homes_to_max = nameof(z_homes_to_max);
|
||||
public const string enable_sailfish_communication = nameof(enable_sailfish_communication);
|
||||
public const string enable_network_printing = nameof(enable_network_printing);
|
||||
public const string ip_address = nameof(ip_address);
|
||||
public const string ip_port = nameof(ip_port);
|
||||
}
|
||||
|
||||
public class SettingsHelpers
|
||||
|
|
|
|||
|
|
@ -81,10 +81,10 @@ namespace MatterHackers.MatterControl.SlicerConfiguration
|
|||
SettingsKey.show_reset_connection,
|
||||
SettingsKey.make,
|
||||
SettingsKey.model,
|
||||
"enable_network_printing",
|
||||
"enable_sailfish_communication",
|
||||
"ip_address",
|
||||
"ip_port",
|
||||
SettingsKey.enable_network_printing,
|
||||
SettingsKey.enable_sailfish_communication,
|
||||
SettingsKey.ip_address,
|
||||
SettingsKey.ip_port,
|
||||
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue