mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-14 13:07:18 +00:00
docs: complete XML documentation for all projects with inheritdoc tags
Co-authored-by: andrew-welker <1765622+andrew-welker@users.noreply.github.com>
This commit is contained in:
parent
260677a37f
commit
7987eb8f9b
485 changed files with 8099 additions and 2490 deletions
|
|
@ -25,9 +25,9 @@ namespace PepperDash.Essentials.Core
|
|||
/// </summary>
|
||||
public static void Released(Sig sig, Action act) { if (!sig.BoolValue) act(); }
|
||||
|
||||
/// <summary>
|
||||
/// Safely sets an action to non-null sig
|
||||
/// </summary>
|
||||
/// <summary>
|
||||
/// SetBoolOutAction method
|
||||
/// </summary>
|
||||
public static void SetBoolOutAction(BoolOutputSig sig, Action<bool> a)
|
||||
{
|
||||
if (sig != null)
|
||||
|
|
@ -50,6 +50,9 @@ namespace PepperDash.Essentials.Core
|
|||
/// <param name="sig">Ushort sig to scale</param>
|
||||
/// <param name="newLevel">Level to go to</param>
|
||||
/// <param name="time">In ms (not hundredths like Crestron Sig ramp function)</param>
|
||||
/// <summary>
|
||||
/// RampTimeScaled method
|
||||
/// </summary>
|
||||
public static void RampTimeScaled(Sig sig, ushort newLevel, uint time)
|
||||
{
|
||||
ushort level = sig.UShortValue;
|
||||
|
|
@ -64,6 +67,9 @@ namespace PepperDash.Essentials.Core
|
|||
/// <param name="sig"></param>
|
||||
/// <param name="level"></param>
|
||||
/// <param name="time">In ms (not hundredths like Crestron Sig ramp function)</param>
|
||||
/// <summary>
|
||||
/// Ramp method
|
||||
/// </summary>
|
||||
public static void Ramp(Sig sig, ushort level, uint time)
|
||||
{
|
||||
sig.CreateRamp(level, time / 10);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue