提交 b7eee3bc 编写于 作者: D dotnet-maestro[bot] 提交者: Jose Perez Rodriguez

[master] Update dependencies from dotnet/iot (#413)

* Update dependencies from https://github.com/dotnet/iot build 20190509.3

- Iot.Device.Bindings - 0.1.0-prerelease.19259.3
- System.Device.Gpio - 0.1.0-prerelease.19259.3

* Fix build issues when ingesting new packages
上级 872a51aa
<?xml version="1.0" encoding="utf-8"?>
<Dependencies>
<ProductDependencies>
<Dependency Name="System.Device.Gpio" Version="0.1.0-prerelease.19254.2">
<Dependency Name="System.Device.Gpio" Version="0.1.0-prerelease.19259.3">
<Uri>https://github.com/dotnet/iot</Uri>
<Sha>69b56e6b96bdf29b1849f5e98e658c461d5aa370</Sha>
<Sha>c50778553947f58bf1ff78e327e01116e54428dd</Sha>
</Dependency>
<Dependency Name="Iot.Device.Bindings" Version="0.1.0-prerelease.19254.2">
<Dependency Name="Iot.Device.Bindings" Version="0.1.0-prerelease.19259.3">
<Uri>https://github.com/dotnet/iot</Uri>
<Sha>69b56e6b96bdf29b1849f5e98e658c461d5aa370</Sha>
<Sha>c50778553947f58bf1ff78e327e01116e54428dd</Sha>
</Dependency>
</ProductDependencies>
<ToolsetDependencies>
......
......@@ -2,7 +2,7 @@
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PreReleaseVersionLabel>prerelease</PreReleaseVersionLabel>
<SystemDeviceGpioPackageVersion>0.1.0-prerelease.19254.2</SystemDeviceGpioPackageVersion>
<IotDeviceBindingsPackageVersion>0.1.0-prerelease.19254.2</IotDeviceBindingsPackageVersion>
<SystemDeviceGpioPackageVersion>0.1.0-prerelease.19259.3</SystemDeviceGpioPackageVersion>
<IotDeviceBindingsPackageVersion>0.1.0-prerelease.19259.3</IotDeviceBindingsPackageVersion>
</PropertyGroup>
</Project>
......@@ -171,6 +171,8 @@ namespace Iot.Device.Mcp23xxx.Tests
{
private Dictionary<int, PinValue> _pinValues = new Dictionary<int, PinValue>();
public int PinCount => 10;
public void Reset() => _pinValues = new Dictionary<int, PinValue>();
public void ClosePin(int pinNumber)
......@@ -218,6 +220,16 @@ namespace Iot.Device.Mcp23xxx.Tests
Write(pin, value);
}
}
public void OpenPin(int pinNumber)
{
}
public bool IsPinOpen(int pinNumber) => true;
public PinMode GetPinMode(int pinNumber) => PinMode.Input;
public bool IsPinModeSupported(int pinNumber, PinMode mode) => true;
}
}
}
......@@ -125,6 +125,8 @@ namespace Iot.Device.Pcx857x.Tests
{
private Dictionary<int, PinValue> _pinValues = new Dictionary<int, PinValue>();
public int PinCount => 10;
public void Reset() => _pinValues = new Dictionary<int, PinValue>();
public void ClosePin(int pinNumber)
......@@ -172,6 +174,16 @@ namespace Iot.Device.Pcx857x.Tests
Write(pin, value);
}
}
public void OpenPin(int pinNumber)
{
}
public bool IsPinOpen(int pinNumber) => true;
public PinMode GetPinMode(int pinNumber) => PinMode.Input;
public bool IsPinModeSupported(int pinNumber, PinMode mode) => true;
}
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册