feat(forecast): integrate full forecast charts and complete SDL visualization
Tests / test (push) Failing after 52s

This commit is contained in:
dh
2026-10-06 17:40:45 +00:00
parent 5687596799
commit 372b997876
30 changed files with 4377 additions and 53 deletions
+12
View File
@@ -11,6 +11,7 @@ final class ManagerSDLRuntime
public static array $media = [];
public static array $writes = [];
public static array $hidden = [];
public static array $logs = [];
private static int $nextID = 10000;
public static function reset(): void
@@ -21,6 +22,7 @@ final class ManagerSDLRuntime
self::$media = [];
self::$writes = [];
self::$hidden = [];
self::$logs = [];
self::$nextID = 10000;
}
@@ -145,6 +147,16 @@ function IPS_GetProperty(int $instanceID, string $property)
return ManagerSDLRuntime::$properties[$instanceID][$property];
}
function IPS_GetConfiguration(int $instanceID): string
{
return json_encode(ManagerSDLRuntime::$properties[$instanceID] ?? [], JSON_THROW_ON_ERROR);
}
function IPS_LogMessage(string $sender, string $message): void
{
ManagerSDLRuntime::$logs[] = [$sender, $message];
}
function IPS_SetProperty(int $instanceID, string $property, $value): void
{
ManagerSDLRuntime::$properties[$instanceID][$property] = $value;