Pre-visualize the estimated Sud course in the Automatic tab

Adds a static forecast plot to the (previously empty) Automatic tab,
showing the planned temperature course derived from a schedule's
declared ramp rates and hold durations alone (no plant/controller
model - just how long the schedule itself says each step takes).

The client now requests the schedule via Download right after
connecting, routing the reply to the forecast instead of a save
dialog since sud_download_path is only set for the user-initiated
download. SudTask also echoes the just-applied document back after a
successful Upload, so editing the schedule refreshes the forecast
without an extra round trip.
This commit is contained in:
2026-06-20 22:54:34 +02:00
parent 0e27c66fc7
commit 3289288488
4 changed files with 113 additions and 13 deletions
+1
View File
@@ -74,6 +74,7 @@ class SudTask(ATask):
elif 'Upload' in pair[0]:
if self.sud.upload(pair[1]):
await self.send({'Name': self.sud.name, 'Description': self.sud.description})
await self.send({'Json': pair[1]})
async def send(self, data):
await self.msg_handler.send(data)