From 65a94311a36e8d8efa48f287604b1d671cfc31eb Mon Sep 17 00:00:00 2001 From: Mushinskiy Date: Tue, 20 Jan 2026 18:02:52 +0200 Subject: [PATCH] Fix processing an answer form a power command. --- .../ThreeByte.LinkLib.ProjectorLink/Commands/PowerCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ThreeByte.LinkLib/ThreeByte.LinkLib.ProjectorLink/Commands/PowerCommand.cs b/ThreeByte.LinkLib/ThreeByte.LinkLib.ProjectorLink/Commands/PowerCommand.cs index 3f14849..a0f45a7 100644 --- a/ThreeByte.LinkLib/ThreeByte.LinkLib.ProjectorLink/Commands/PowerCommand.cs +++ b/ThreeByte.LinkLib/ThreeByte.LinkLib.ProjectorLink/Commands/PowerCommand.cs @@ -48,7 +48,7 @@ internal override bool ProcessAnswerString(string a) if (_cmdDetail == Power.QUERY) { - a = a.Replace("%1POWR=", ""); + a = a.ToUpper().Replace("%1POWR=", ""); int retVal = int.Parse(a); if (retVal >= (int)PowerStatus.OFF && retVal <= (int)PowerStatus.WARMUP) {