From adb1d0e27cfa38a3513ec87c560d196caa8416c5 Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Fri, 30 Oct 2020 12:29:57 +0100 Subject: [PATCH] fix conv floating point --- THermo.Active.Thermocamera/ThermocameraComunicator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/THermo.Active.Thermocamera/ThermocameraComunicator.cs b/THermo.Active.Thermocamera/ThermocameraComunicator.cs index c3246746..9c218a2a 100644 --- a/THermo.Active.Thermocamera/ThermocameraComunicator.cs +++ b/THermo.Active.Thermocamera/ThermocameraComunicator.cs @@ -171,7 +171,7 @@ namespace Thermo.Active.Thermocamera if (!readCommand(accessorResp, tempCommand, timeoutMS, out response)) return false; - string[] respSplitted = response.Split(';'); + string[] respSplitted = response.Replace(",",".").Split(';'); int idxResp = 0; foreach (var item in points) {