public void SplitRatesReadResponse(string received, ref LMDAQ.RatesStatus p) { try { string[] ff = received.Split('='); string[] txt = ff[1].Split(','); for (int i = 1; i <= NC.ChannelCount && i < txt.Length; i++) { int r; bool b = Int32.TryParse(txt[i], out r); if (b) { p.channels[i] = r; } } } catch (Exception e) { commlog.TraceEvent(LogLevels.Error, 893, "SplitRatesReadResponse barfed on:" + received + "; " + e.Message); } }
public void SplitRatesReadResponse(string received, ref LMDAQ.RatesStatus p) { cmdprocessor.SplitRatesReadResponse(received, ref p); }