full profile support

This commit is contained in:
Laura Klünder
2023-04-23 23:48:24 +02:00
parent 448e5c8ad1
commit cb2e8af700
15 changed files with 334 additions and 87 deletions

View File

@@ -101,6 +101,8 @@ def get_constants() -> List[Tuple[str, str]]:
("SmallSymbolSpace", " "),
("LargeSymbolDot", "."),
("SmallSymbolDot", "."),
("SmallSymbolSlash", "/"),
("SmallSymbolColon", ":"),
("LargeSymbolDegC", "C"),
("SmallSymbolDegC", "C"),
("LargeSymbolDegF", "F"),

View File

@@ -60,8 +60,17 @@
"OffString": {
"message": "Off"
},
"ProfilePreheatString": {
"message": "Preheat\n"
},
"ProfileCooldownString": {
"message": "Cooldown\n"
},
"DeviceFailedValidationWarning": {
"message": "Your device is most likely a counterfeit!"
},
"TooHotToStartProfileWarning": {
"message": "Too hot to\nstart profile"
}
},
"characters": {

View File

@@ -62,6 +62,16 @@
"note": "Preferably end with a space",
"description": "Prefix text for 'Input Voltage' shown before showing the input voltage reading."
},
{
"id": "ProfilePreheatString",
"maxLen": 9,
"description": "Shown when the soldering profile is preheating"
},
{
"id": "ProfileCooldownString",
"maxLen": 9,
"description": "Shown when the soldering profile is done and cooling down"
},
{
"id": "SleepingSimpleString",
"maxLen": 4,
@@ -86,6 +96,11 @@
"id": "DeviceFailedValidationWarning",
"default": "Device may be\ncounterfeit",
"description": "Warning shown if the device may be a clone or counterfeit unit."
},
{
"id": "TooHotToStartProfileWarning",
"default": "Too hot to\nstart profile",
"description": "Shown when profile mode is started while the device is too hot."
}
],
"characters": [{
@@ -257,84 +272,84 @@
"id": "ProfilePhases",
"maxLen": 6,
"maxLen2": 13,
"description": "Enable / set the number of phases for the soldering profile."
"description": "set the number of phases for the soldering profile."
},
{
"id": "ProfilePreheatTemp",
"maxLen": 6,
"maxLen2": 13,
"maxLen": 4,
"maxLen2": 9,
"description": "For the soldering profile, preheat to this temperature before proceeding with phase 1."
},
{
"id": "ProfilePreheatSpeed",
"maxLen": 6,
"maxLen2": 13,
"maxLen": 5,
"maxLen2": 11,
"description": "How fast the temperature is allowed to rise during the heatup phase of the soldering profile."
},
{
"id": "ProfilePhase1Temp",
"maxLen": 6,
"maxLen2": 13,
"maxLen": 4,
"maxLen2": 9,
"description": "Target temperature for the end of phase 1 of the soldering profile."
},
{
"id": "ProfilePhase1Duration",
"maxLen": 6,
"maxLen2": 13,
"maxLen": 4,
"maxLen2": 9,
"description": "Duration of phase 1 of the soldering profile. The phase might actually take longer if it takes longer to reach the target temperature."
},
{
"id": "ProfilePhase2Temp",
"maxLen": 6,
"maxLen2": 13,
"maxLen": 4,
"maxLen2": 9,
"description": "Target temperature for the end of phase 2 of the soldering profile."
},
{
"id": "ProfilePhase2Duration",
"maxLen": 6,
"maxLen2": 13,
"maxLen": 4,
"maxLen2": 9,
"description": "Duration of phase 2 of the soldering profile. The phase might actually take longer if it takes longer to reach the target temperature."
},
{
"id": "ProfilePhase3Temp",
"maxLen": 6,
"maxLen2": 13,
"maxLen": 4,
"maxLen2": 9,
"description": "Target temperature for the end of phase 3 of the soldering profile."
},
{
"id": "ProfilePhase3Duration",
"maxLen": 6,
"maxLen2": 13,
"maxLen": 4,
"maxLen2": 9,
"description": "Duration of phase 3 of the soldering profile. The phase might actually take longer if it takes longer to reach the target temperature."
},
{
"id": "ProfilePhase4Temp",
"maxLen": 6,
"maxLen2": 13,
"maxLen": 4,
"maxLen2": 9,
"description": "Target temperature for the end of phase 5 of the soldering profile."
},
{
"id": "ProfilePhase4Duration",
"maxLen": 6,
"maxLen2": 13,
"maxLen": 4,
"maxLen2": 9,
"description": "Duration of phase 5 of the soldering profile. The phase might actually take longer if it takes longer to reach the target temperature."
},
{
"id": "ProfilePhase5Temp",
"maxLen": 6,
"maxLen2": 13,
"maxLen": 4,
"maxLen2": 9,
"description": "Target temperature for the end of phase 5 of the soldering profile."
},
{
"id": "ProfilePhase5Duration",
"maxLen": 6,
"maxLen2": 13,
"maxLen": 4,
"maxLen2": 9,
"description": "Duration of phase 5 of the soldering profile. The phase might actually take longer if it takes longer to reach the target temperature."
},
{
"id": "ProfileCooldownSpeed",
"maxLen": 6,
"maxLen2": 13,
"maxLen": 5,
"maxLen2": 11,
"description": "How fast the temperature is allowed to drop after the last phase of the soldering profile."
},
{