Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
jobily
Iot
提交
a39fbbae
I
Iot
项目概览
jobily
/
Iot
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
I
Iot
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
a39fbbae
编写于
3月 09, 2022
作者:
K
Krzysztof Wicher
提交者:
GitHub
3月 09, 2022
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Check copyright header during the build (#1829)
上级
cf3887b5
变更
83
隐藏空白更改
内联
并排
Showing
83 changed file
with
116 addition
and
87 deletion
+116
-87
eng/StyleCop.Analyzers.ruleset
eng/StyleCop.Analyzers.ruleset
+5
-5
eng/stylecop.json
eng/stylecop.json
+3
-1
src/System.Device.Gpio.Tests/RetryHelper.cs
src/System.Device.Gpio.Tests/RetryHelper.cs
+0
-1
src/System.Device.Gpio.Tests/TimeoutHelper.cs
src/System.Device.Gpio.Tests/TimeoutHelper.cs
+0
-1
src/System.Device.Gpio/Interop/Unix/libbcm_host/Interop.libbcmhost.cs
...evice.Gpio/Interop/Unix/libbcm_host/Interop.libbcmhost.cs
+0
-1
src/System.Device.Gpio/Interop/Unix/libgpiod/Interop.libgpiod.cs
...tem.Device.Gpio/Interop/Unix/libgpiod/Interop.libgpiod.cs
+0
-1
src/System.Device.Gpio/System/Device/Gpio/Drivers/LibGpiodDriver.cs
....Device.Gpio/System/Device/Gpio/Drivers/LibGpiodDriver.cs
+0
-1
src/System.Device.Gpio/System/Device/Gpio/LibgpiodDriverEventHandler.cs
...ice.Gpio/System/Device/Gpio/LibgpiodDriverEventHandler.cs
+0
-1
src/System.Device.Gpio/System/Device/Gpio/WaitEventResult.cs
src/System.Device.Gpio/System/Device/Gpio/WaitEventResult.cs
+0
-1
src/devices/Arduino/ArduinoI2cBus.cs
src/devices/Arduino/ArduinoI2cBus.cs
+4
-1
src/devices/Arduino/CommandError.cs
src/devices/Arduino/CommandError.cs
+4
-1
src/devices/Board/CustomBoard.cs
src/devices/Board/CustomBoard.cs
+4
-1
src/devices/Board/I2cBusExtensions.cs
src/devices/Board/I2cBusExtensions.cs
+4
-1
src/devices/Board/samples/Program.cs
src/devices/Board/samples/Program.cs
+0
-1
src/devices/Board/tests/I2cBusManagerTest.cs
src/devices/Board/tests/I2cBusManagerTest.cs
+4
-1
src/devices/Board/tests/I2cDummyBus.cs
src/devices/Board/tests/I2cDummyBus.cs
+4
-1
src/devices/Card/CardTransceiver.cs
src/devices/Card/CardTransceiver.cs
+4
-1
src/devices/CharacterLcd/CharacterLcdExtensions.cs
src/devices/CharacterLcd/CharacterLcdExtensions.cs
+4
-1
src/devices/CharacterLcd/LcdValueUnitDisplay.cs
src/devices/CharacterLcd/LcdValueUnitDisplay.cs
+0
-1
src/devices/CharacterLcd/samples/LargeValueSample.cs
src/devices/CharacterLcd/samples/LargeValueSample.cs
+4
-1
src/devices/CharacterLcd/tests/LcdConsoleTests.cs
src/devices/CharacterLcd/tests/LcdConsoleTests.cs
+4
-1
src/devices/CharacterLcd/tests/LcdValueUnitDisplayTests.cs
src/devices/CharacterLcd/tests/LcdValueUnitDisplayTests.cs
+4
-1
src/devices/Charlieplex/CharlieplexSegment.cs
src/devices/Charlieplex/CharlieplexSegment.cs
+4
-1
src/devices/Charlieplex/CharlieplexSegmentNode.cs
src/devices/Charlieplex/CharlieplexSegmentNode.cs
+4
-1
src/devices/Charlieplex/samples/Program.cs
src/devices/Charlieplex/samples/Program.cs
+4
-1
src/devices/Charlieplex/tests/CharlieplexLayout.cs
src/devices/Charlieplex/tests/CharlieplexLayout.cs
+4
-1
src/devices/Common/Iot/Device/Common/ValueArray.cs
src/devices/Common/Iot/Device/Common/ValueArray.cs
+4
-1
src/devices/Common/Iot/Device/Multiplexing/GpioOutputSegment.cs
...vices/Common/Iot/Device/Multiplexing/GpioOutputSegment.cs
+0
-1
src/devices/Common/Iot/Device/Multiplexing/tests/OutputSegmentTests.cs
...ommon/Iot/Device/Multiplexing/tests/OutputSegmentTests.cs
+4
-1
src/devices/Common/samples/MyTestComponent.cs
src/devices/Common/samples/MyTestComponent.cs
+4
-1
src/devices/GoPiGo3/Models/GrovePort.cs
src/devices/GoPiGo3/Models/GrovePort.cs
+4
-1
src/devices/KeyMatrix/KeyMatrix.cs
src/devices/KeyMatrix/KeyMatrix.cs
+0
-1
src/devices/KeyMatrix/KeyMatrixEvent.cs
src/devices/KeyMatrix/KeyMatrixEvent.cs
+0
-1
src/devices/KeyMatrix/samples/Program.cs
src/devices/KeyMatrix/samples/Program.cs
+0
-1
src/devices/Mcp25xxx/tests/Register/AcceptanceFilter/RxFxSidhTests.cs
...Mcp25xxx/tests/Register/AcceptanceFilter/RxFxSidhTests.cs
+2
-1
src/devices/Media/VideoDevice/samples/MjpegStream/Camera.cs
src/devices/Media/VideoDevice/samples/MjpegStream/Camera.cs
+0
-1
src/devices/Media/VideoDevice/samples/MjpegStream/Controllers/Image.cs
...edia/VideoDevice/samples/MjpegStream/Controllers/Image.cs
+0
-1
src/devices/Media/VideoDevice/samples/MjpegStream/Program.cs
src/devices/Media/VideoDevice/samples/MjpegStream/Program.cs
+0
-1
src/devices/Media/VideoDevice/samples/MjpegStream/Startup.cs
src/devices/Media/VideoDevice/samples/MjpegStream/Startup.cs
+0
-1
src/devices/Nmea0183/Identification.Extra.cs
src/devices/Nmea0183/Identification.Extra.cs
+4
-1
src/devices/Nmea0183/Sentences/NavigationStatus.cs
src/devices/Nmea0183/Sentences/NavigationStatus.cs
+4
-1
src/devices/Nmea0183/Sentences/RotationSource.cs
src/devices/Nmea0183/Sentences/RotationSource.cs
+4
-1
src/devices/Nmea0183/samples/SimpleParser/SimpleParser.cs
src/devices/Nmea0183/samples/SimpleParser/SimpleParser.cs
+0
-1
src/devices/PiJuice/Models/BatteryChargingTemperatureFault.cs
...devices/PiJuice/Models/BatteryChargingTemperatureFault.cs
+0
-1
src/devices/PiJuice/Models/BatteryChemistry.cs
src/devices/PiJuice/Models/BatteryChemistry.cs
+0
-1
src/devices/PiJuice/Models/BatteryExtendedProfile.cs
src/devices/PiJuice/Models/BatteryExtendedProfile.cs
+0
-1
src/devices/PiJuice/Models/BatteryOrigin.cs
src/devices/PiJuice/Models/BatteryOrigin.cs
+0
-1
src/devices/PiJuice/Models/BatteryProfile.cs
src/devices/PiJuice/Models/BatteryProfile.cs
+0
-1
src/devices/PiJuice/Models/BatteryProfileSource.cs
src/devices/PiJuice/Models/BatteryProfileSource.cs
+0
-1
src/devices/PiJuice/Models/BatteryProfileStatus.cs
src/devices/PiJuice/Models/BatteryProfileStatus.cs
+0
-1
src/devices/PiJuice/Models/BatteryState.cs
src/devices/PiJuice/Models/BatteryState.cs
+0
-1
src/devices/PiJuice/Models/BatteryTemperatureSense.cs
src/devices/PiJuice/Models/BatteryTemperatureSense.cs
+0
-1
src/devices/PiJuice/Models/Button.cs
src/devices/PiJuice/Models/Button.cs
+0
-1
src/devices/PiJuice/Models/ButtonEventType.cs
src/devices/PiJuice/Models/ButtonEventType.cs
+0
-1
src/devices/PiJuice/Models/ChargingConfig.cs
src/devices/PiJuice/Models/ChargingConfig.cs
+0
-1
src/devices/PiJuice/Models/FaultStatus.cs
src/devices/PiJuice/Models/FaultStatus.cs
+0
-1
src/devices/PiJuice/Models/IdEepromAddress.cs
src/devices/PiJuice/Models/IdEepromAddress.cs
+0
-1
src/devices/PiJuice/Models/LED.cs
src/devices/PiJuice/Models/LED.cs
+0
-1
src/devices/PiJuice/Models/LEDBlink.cs
src/devices/PiJuice/Models/LEDBlink.cs
+0
-1
src/devices/PiJuice/Models/LEDConfig.cs
src/devices/PiJuice/Models/LEDConfig.cs
+0
-1
src/devices/PiJuice/Models/LEDFunction.cs
src/devices/PiJuice/Models/LEDFunction.cs
+0
-1
src/devices/PiJuice/Models/PiJuiceCommand.cs
src/devices/PiJuice/Models/PiJuiceCommand.cs
+0
-1
src/devices/PiJuice/Models/PiJuiceInfo.cs
src/devices/PiJuice/Models/PiJuiceInfo.cs
+0
-1
src/devices/PiJuice/Models/PowerInState.cs
src/devices/PiJuice/Models/PowerInState.cs
+0
-1
src/devices/PiJuice/Models/PowerInput.cs
src/devices/PiJuice/Models/PowerInput.cs
+0
-1
src/devices/PiJuice/Models/PowerInputType.cs
src/devices/PiJuice/Models/PowerInputType.cs
+0
-1
src/devices/PiJuice/Models/PowerRegulatorMode.cs
src/devices/PiJuice/Models/PowerRegulatorMode.cs
+0
-1
src/devices/PiJuice/Models/RelativeStateOfChangeEstimationType.cs
...ces/PiJuice/Models/RelativeStateOfChangeEstimationType.cs
+0
-1
src/devices/PiJuice/Models/RunPin.cs
src/devices/PiJuice/Models/RunPin.cs
+0
-1
src/devices/PiJuice/Models/Status.cs
src/devices/PiJuice/Models/Status.cs
+0
-1
src/devices/PiJuice/Models/SystemPowerSwitch.cs
src/devices/PiJuice/Models/SystemPowerSwitch.cs
+0
-1
src/devices/PiJuice/Models/WakeUpOnCharge.cs
src/devices/PiJuice/Models/WakeUpOnCharge.cs
+0
-1
src/devices/PiJuice/PiJuice.cs
src/devices/PiJuice/PiJuice.cs
+0
-1
src/devices/PiJuice/PiJuiceConfig.cs
src/devices/PiJuice/PiJuiceConfig.cs
+0
-1
src/devices/PiJuice/PiJuicePower.cs
src/devices/PiJuice/PiJuicePower.cs
+0
-1
src/devices/PiJuice/PiJuiceStatus.cs
src/devices/PiJuice/PiJuiceStatus.cs
+0
-1
src/devices/PiJuice/samples/PiJuiceDevice.sample.cs
src/devices/PiJuice/samples/PiJuiceDevice.sample.cs
+4
-1
src/devices/Ssd13xx/samples/Ssd1306Extensions.cs
src/devices/Ssd13xx/samples/Ssd1306Extensions.cs
+4
-1
src/devices/Tlc1543/samples/Tlc1543.Sample.cs
src/devices/Tlc1543/samples/Tlc1543.Sample.cs
+0
-1
src/devices/UFireIse/UFireIse.cs
src/devices/UFireIse/UFireIse.cs
+1
-1
src/devices/UFireIse/UFireOrp.cs
src/devices/UFireIse/UFireOrp.cs
+1
-1
src/devices/Uln2003/StepperMode.cs
src/devices/Uln2003/StepperMode.cs
+4
-1
src/devices/Uln2003/Uln2003.cs
src/devices/Uln2003/Uln2003.cs
+4
-1
未找到文件。
eng/StyleCop.Analyzers.ruleset
浏览文件 @
a39fbbae
...
...
@@ -164,10 +164,10 @@
<Rule
Id=
"SA1626"
Action=
"None"
/>
<!-- Single-line comments should not use documentation style slashes -->
<Rule
Id=
"SA1627"
Action=
"None"
/>
<!-- The documentation text within the \'exception\' tag should not be empty -->
<Rule
Id=
"SA1629"
Action=
"None"
/>
<!-- Documentation text should end with a period -->
<Rule
Id=
"SA1633"
Action=
"
None
"
/>
<!-- File should have header -->
<Rule
Id=
"SA1634"
Action=
"None"
/>
<!-- File Header must show copyright.
Our header does not use the expected syntax
-->
<Rule
Id=
"SA1635"
Action=
"
None
"
/>
<!-- Same as SA1634? -->
<Rule
Id=
"SA1636"
Action=
"
None
"
/>
<!-- File Header copyright tag must match -->
<Rule
Id=
"SA1633"
Action=
"
Error
"
/>
<!-- File should have header -->
<Rule
Id=
"SA1634"
Action=
"None"
/>
<!-- File Header must show copyright. -->
<Rule
Id=
"SA1635"
Action=
"
Error
"
/>
<!-- Same as SA1634? -->
<Rule
Id=
"SA1636"
Action=
"
Error
"
/>
<!-- File Header copyright tag must match -->
<Rule
Id=
"SA1637"
Action=
"None"
/>
<!-- File Header must contain file name -->
<Rule
Id=
"SA1638"
Action=
"Error"
/>
<Rule
Id=
"SA1640"
Action=
"None"
/>
<!-- File header must have valid company text -->
...
...
@@ -179,6 +179,6 @@
<Rule
Id=
"SA1651"
Action=
"Error"
/>
<Rule
Id=
"SA1652"
Action=
"Error"
/>
<Rule
Id=
"SX1101"
Action=
"Error"
/>
<!-- Do not prefix local members with this -->
<Rule
Id=
"SX1309"
Action=
"Error"
/>
<!-- Members should be prefixed with _ -->
<Rule
Id=
"SX1309"
Action=
"Error"
/>
<!-- Members should be prefixed with _ -->
</Rules>
</RuleSet>
eng/stylecop.json
浏览文件 @
a39fbbae
...
...
@@ -12,7 +12,9 @@
},
"documentationRules"
:
{
"documentInterfaces"
:
true
,
"documentInternalElements"
:
false
"documentInternalElements"
:
false
,
"copyrightText"
:
"Licensed to the .NET Foundation under one or more agreements.
\n
The .NET Foundation licenses this file to you under the MIT license."
,
"xmlHeader"
:
false
}
}
}
src/System.Device.Gpio.Tests/RetryHelper.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information
using
System.Collections.Generic
;
using
System.Threading
;
...
...
src/System.Device.Gpio.Tests/TimeoutHelper.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information
using
System.Threading.Tasks
;
...
...
src/System.Device.Gpio/Interop/Unix/libbcm_host/Interop.libbcmhost.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information
// Disable these StyleCop rules for this file, as we are using native names here.
#pragma warning disable SA1300 // Element should begin with upper-case letter
...
...
src/System.Device.Gpio/Interop/Unix/libgpiod/Interop.libgpiod.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information
// Disable these StyleCop rules for this file, as we are using native names here.
#pragma warning disable SA1300 // Element should begin with upper-case letter
...
...
src/System.Device.Gpio/System/Device/Gpio/Drivers/LibGpiodDriver.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information
using
System.Collections.Generic
;
using
System.Threading
;
...
...
src/System.Device.Gpio/System/Device/Gpio/LibgpiodDriverEventHandler.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information
using
System.Diagnostics
;
using
System.Runtime.InteropServices
;
...
...
src/System.Device.Gpio/System/Device/Gpio/WaitEventResult.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information
namespace
System.Device.Gpio
{
...
...
src/devices/Arduino/ArduinoI2cBus.cs
浏览文件 @
a39fbbae
using
System
;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using
System
;
using
System.Collections.Generic
;
using
System.Device.I2c
;
using
System.Linq
;
...
...
src/devices/Arduino/CommandError.cs
浏览文件 @
a39fbbae
namespace
Iot.Device.Arduino
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace
Iot.Device.Arduino
{
/// <summary>
/// Possible results of sending a Firmata command
...
...
src/devices/Board/CustomBoard.cs
浏览文件 @
a39fbbae
using
System
;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using
System
;
using
System.Collections.Generic
;
using
System.Device.Gpio
;
using
System.Device.I2c
;
...
...
src/devices/Board/I2cBusExtensions.cs
浏览文件 @
a39fbbae
using
System
;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using
System
;
using
System.Collections.Generic
;
using
System.Device.I2c
;
using
System.IO
;
...
...
src/devices/Board/samples/Program.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using
System
;
using
System.Device.Gpio
;
...
...
src/devices/Board/tests/I2cBusManagerTest.cs
浏览文件 @
a39fbbae
using
System
;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using
System
;
using
System.Collections.Generic
;
using
System.Device.I2c
;
using
System.Text
;
...
...
src/devices/Board/tests/I2cDummyBus.cs
浏览文件 @
a39fbbae
using
System
;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using
System
;
using
System.Collections.Generic
;
using
System.Device.I2c
;
using
System.Text
;
...
...
src/devices/Card/CardTransceiver.cs
浏览文件 @
a39fbbae
using
System
;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
...
...
src/devices/CharacterLcd/CharacterLcdExtensions.cs
浏览文件 @
a39fbbae
using
System
;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
...
...
src/devices/CharacterLcd/LcdValueUnitDisplay.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using
System
;
using
System.Collections.Generic
;
...
...
src/devices/CharacterLcd/samples/LargeValueSample.cs
浏览文件 @
a39fbbae
using
System
;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using
System
;
using
System.Collections.Generic
;
using
System.Globalization
;
using
System.Linq
;
...
...
src/devices/CharacterLcd/tests/LcdConsoleTests.cs
浏览文件 @
a39fbbae
using
System
;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using
System
;
using
System.Collections.Generic
;
using
System.Globalization
;
using
System.Text
;
...
...
src/devices/CharacterLcd/tests/LcdValueUnitDisplayTests.cs
浏览文件 @
a39fbbae
using
System
;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using
System
;
using
System.Collections.Generic
;
using
System.Globalization
;
using
System.Text
;
...
...
src/devices/Charlieplex/CharlieplexSegment.cs
浏览文件 @
a39fbbae
using
System
;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using
System
;
using
System.Device.Gpio
;
using
System.Diagnostics
;
using
System.Threading
;
...
...
src/devices/Charlieplex/CharlieplexSegmentNode.cs
浏览文件 @
a39fbbae
using
System
;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using
System
;
using
System.Device.Gpio
;
using
System.Diagnostics
;
using
System.Threading
;
...
...
src/devices/Charlieplex/samples/Program.cs
浏览文件 @
a39fbbae
using
System
;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using
System
;
using
System.Linq
;
using
System.Threading
;
using
Iot.Device.Multiplexing
;
...
...
src/devices/Charlieplex/tests/CharlieplexLayout.cs
浏览文件 @
a39fbbae
using
System
;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using
System
;
using
Iot.Device.Multiplexing
;
using
Xunit
;
...
...
src/devices/Common/Iot/Device/Common/ValueArray.cs
浏览文件 @
a39fbbae
using
System
;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using
System
;
using
System.Collections
;
using
System.Collections.Generic
;
using
System.Linq
;
...
...
src/devices/Common/Iot/Device/Multiplexing/GpioOutputSegment.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using
System
;
using
System.Device.Gpio
;
...
...
src/devices/Common/Iot/Device/Multiplexing/tests/OutputSegmentTests.cs
浏览文件 @
a39fbbae
using
System
;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using
System
;
using
System.Threading
;
using
System.Device.Gpio
;
using
Iot.Device.Multiplexing.Utility
;
...
...
src/devices/Common/samples/MyTestComponent.cs
浏览文件 @
a39fbbae
using
System
;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
...
...
src/devices/GoPiGo3/Models/GrovePort.cs
浏览文件 @
a39fbbae
using
System
;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
...
...
src/devices/KeyMatrix/KeyMatrix.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using
System
;
using
System.Collections.Generic
;
...
...
src/devices/KeyMatrix/KeyMatrixEvent.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using
System.Device.Gpio
;
...
...
src/devices/KeyMatrix/samples/Program.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using
System
;
using
System.Collections.Generic
;
...
...
src/devices/Mcp25xxx/tests/Register/AcceptanceFilter/RxFxSidhTests.cs
浏览文件 @
a39fbbae
// The .NET Foundation licenses this file to you under the MIT license.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using
Iot.Device.Mcp25xxx.Register
;
using
Iot.Device.Mcp25xxx.Register.AcceptanceFilter
;
...
...
src/devices/Media/VideoDevice/samples/MjpegStream/Camera.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using
System
;
using
System.Drawing
;
...
...
src/devices/Media/VideoDevice/samples/MjpegStream/Controllers/Image.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using
System
;
using
System.Buffers
;
...
...
src/devices/Media/VideoDevice/samples/MjpegStream/Program.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using
System
;
using
System.IO
;
...
...
src/devices/Media/VideoDevice/samples/MjpegStream/Startup.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using
Microsoft.AspNetCore.Builder
;
using
Microsoft.AspNetCore.Hosting
;
...
...
src/devices/Nmea0183/Identification.Extra.cs
浏览文件 @
a39fbbae
using
System
;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using
System
;
namespace
Iot.Device.Nmea0183
{
...
...
src/devices/Nmea0183/Sentences/NavigationStatus.cs
浏览文件 @
a39fbbae
using
System
;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
...
...
src/devices/Nmea0183/Sentences/RotationSource.cs
浏览文件 @
a39fbbae
namespace
Iot.Device.Nmea0183.Sentences
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace
Iot.Device.Nmea0183.Sentences
{
/// <summary>
/// Source for the engine revolution data
...
...
src/devices/Nmea0183/samples/SimpleParser/SimpleParser.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using
System
;
using
System.IO.Ports
;
...
...
src/devices/PiJuice/Models/BatteryChargingTemperatureFault.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace
Iot.Device.PiJuiceDevice.Models
{
...
...
src/devices/PiJuice/Models/BatteryChemistry.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace
Iot.Device.PiJuiceDevice.Models
{
...
...
src/devices/PiJuice/Models/BatteryExtendedProfile.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using
UnitsNet
;
...
...
src/devices/PiJuice/Models/BatteryOrigin.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace
Iot.Device.PiJuiceDevice.Models
{
...
...
src/devices/PiJuice/Models/BatteryProfile.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using
UnitsNet
;
...
...
src/devices/PiJuice/Models/BatteryProfileSource.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace
Iot.Device.PiJuiceDevice.Models
{
...
...
src/devices/PiJuice/Models/BatteryProfileStatus.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#pragma warning disable CS1591, CS1572, CS1573
...
...
src/devices/PiJuice/Models/BatteryState.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace
Iot.Device.PiJuiceDevice.Models
{
...
...
src/devices/PiJuice/Models/BatteryTemperatureSense.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace
Iot.Device.PiJuiceDevice.Models
{
...
...
src/devices/PiJuice/Models/Button.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace
Iot.Device.PiJuiceDevice.Models
{
...
...
src/devices/PiJuice/Models/ButtonEventType.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace
Iot.Device.PiJuiceDevice.Models
{
...
...
src/devices/PiJuice/Models/ChargingConfig.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#pragma warning disable CS1591, CS1572, CS1573
...
...
src/devices/PiJuice/Models/FaultStatus.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#pragma warning disable CS1591, CS1572, CS1573
...
...
src/devices/PiJuice/Models/IdEepromAddress.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace
Iot.Device.PiJuiceDevice.Models
{
...
...
src/devices/PiJuice/Models/LED.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace
Iot.Device.PiJuiceDevice.Models
{
...
...
src/devices/PiJuice/Models/LEDBlink.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using
System
;
using
System.Drawing
;
...
...
src/devices/PiJuice/Models/LEDConfig.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using
System.Drawing
;
...
...
src/devices/PiJuice/Models/LEDFunction.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace
Iot.Device.PiJuiceDevice.Models
{
...
...
src/devices/PiJuice/Models/PiJuiceCommand.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace
Iot.Device.PiJuiceDevice.Models
{
...
...
src/devices/PiJuice/Models/PiJuiceInfo.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using
System
;
...
...
src/devices/PiJuice/Models/PowerInState.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace
Iot.Device.PiJuiceDevice.Models
{
...
...
src/devices/PiJuice/Models/PowerInput.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using
UnitsNet
;
...
...
src/devices/PiJuice/Models/PowerInputType.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace
Iot.Device.PiJuiceDevice.Models
{
...
...
src/devices/PiJuice/Models/PowerRegulatorMode.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace
Iot.Device.PiJuiceDevice.Models
{
...
...
src/devices/PiJuice/Models/RelativeStateOfChangeEstimationType.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace
Iot.Device.PiJuiceDevice.Models
{
...
...
src/devices/PiJuice/Models/RunPin.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace
Iot.Device.PiJuiceDevice.Models
{
...
...
src/devices/PiJuice/Models/Status.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#pragma warning disable CS1591, CS1572, CS1573
...
...
src/devices/PiJuice/Models/SystemPowerSwitch.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace
Iot.Device.PiJuiceDevice.Models
{
...
...
src/devices/PiJuice/Models/WakeUpOnCharge.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using
UnitsNet
;
...
...
src/devices/PiJuice/PiJuice.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using
System
;
using
System.Device
;
...
...
src/devices/PiJuice/PiJuiceConfig.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using
System
;
using
System.Buffers.Binary
;
...
...
src/devices/PiJuice/PiJuicePower.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using
System
;
using
System.Buffers.Binary
;
...
...
src/devices/PiJuice/PiJuiceStatus.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using
System
;
using
System.Buffers.Binary
;
...
...
src/devices/PiJuice/samples/PiJuiceDevice.sample.cs
浏览文件 @
a39fbbae
using
System
;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using
System
;
using
System.Device.I2c
;
using
System.Threading
;
using
Iot.Device.PiJuiceDevice
;
...
...
src/devices/Ssd13xx/samples/Ssd1306Extensions.cs
浏览文件 @
a39fbbae
using
System
;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using
System
;
using
System.Linq
;
using
System.Collections.Generic
;
using
SixLabors.ImageSharp
;
...
...
src/devices/Tlc1543/samples/Tlc1543.Sample.cs
浏览文件 @
a39fbbae
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using
System
;
using
System.Collections.Generic
;
...
...
src/devices/UFireIse/UFireIse.cs
浏览文件 @
a39fbbae
// Licensed to the.NET Foundation under one or more agreements.
// Licensed to the
.NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using
System
;
...
...
src/devices/UFireIse/UFireOrp.cs
浏览文件 @
a39fbbae
// Licensed to the.NET Foundation under one or more agreements.
// Licensed to the
.NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using
System.Device.I2c
;
...
...
src/devices/Uln2003/StepperMode.cs
浏览文件 @
a39fbbae
namespace
Iot.Device.Uln2003
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace
Iot.Device.Uln2003
{
/// <summary>
/// The 28BYJ-48 motor has 512 full engine rotations to rotate the drive shaft once.
...
...
src/devices/Uln2003/Uln2003.cs
浏览文件 @
a39fbbae
using
System
;
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using
System
;
using
System.Device.Gpio
;
using
System.Diagnostics
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录