示例#1
0
 public IList <string> WireDevices()
 {
     return(_oneWire.GetDevicesList());
 }
示例#2
0
 private ICollection <string> GetAvailableSensors()
 {
     return(_oneWire.GetDevicesList()
            .Where(x => x.Length > 2 && SupportedDevicesPrefix.Contains(x.Substring(0, 2)))
            .ToList());
 }