public String ToJSONString()
        {
            var phStr   = "PH: " + Iph.ToString("F5");
            var doStr   = "DO: " + Ido.ToString("F5");
            var bod5Str = "BOD5: " + Ibod5.ToString("F5");
            var codStr  = "COD: " + Icod.ToString("F5");
            var nh4nStr = "NH4-N: " + Inh4n.ToString("F5");
            var no2nStr = "NO2-N: " + Ino2n.ToString("F5");
            var no3nStr = "NO3-N: " + Ino3n.ToString("F5");
            var ssStr   = "SS: " + Iss.ToString("F5");
            var clStr   = "CL: " + Icl.ToString("F5");
            var cbStr   = "CB: " + Icb.ToString("F5");

            return(phStr + ", " + doStr + ", " + bod5Str + ", " + codStr + ", " + nh4nStr + ", " + no2nStr + ", " + no3nStr + ", " + ssStr + ", " + clStr + ", " + cbStr);
        }
Esempio n. 2
0
 public string IdoFormalva() => $"{Ido.Substring(0, 2)}:{Ido.Substring(2)}";