/// <summary> /// 直接读取SR90模块指定通道数据 /// </summary> /// <param name="value"></param> /// <param name="item"></param> /// <returns></returns> public bool Read(out float value, ReadItem item) { value = 0; List <float> tmp = new List <float>(); Dictionary <string, string> parm = new Dictionary <string, string>(); parm.Add("Code", item.ToString()); bool result = Read <float>(out tmp, parm); if (result) { if (tmp.Count > 0) { value = tmp[0]; } } return(result); }