1
0
mirror of https://github.com/akpaevj/onecmonitor.git synced 2025-11-25 22:22:15 +02:00

исправление передачи свойств сервера хранилищ в контекст интеграции

This commit is contained in:
akpaev.e
2025-08-05 20:44:20 +03:00
parent 626e674a36
commit a4868fde3b

View File

@@ -14,12 +14,12 @@ public class CrServerWrapper(CrServer service) : AutoContext<CrServerWrapper>
[ContextProperty("Запущена", "IsActive", CanWrite = false)]
public bool IsActive => service.IsActive;
[ContextProperty("Порт", "Port", CanWrite = false)]
public int Port { get; set; }
public int Port => service.Port;
[ContextProperty("Каталог", "Directory", CanWrite = false)]
public string Directory { get; set; } = null!;
public string Directory => service.Directory;
[ContextProperty("Платформа", "Platform", CanWrite = false)]
public V8PlatformWrapper Platform { get; } = new(service.Platform);