Format and typos
This commit is contained in:
@ -2,8 +2,7 @@
|
||||
|
||||
namespace GoveeCSharpConnector.Interfaces;
|
||||
|
||||
public interface IGoveeApiService
|
||||
{
|
||||
public interface IGoveeApiService {
|
||||
/// <summary>
|
||||
/// Sets the required Api Key for the Govee Api.
|
||||
/// Request Api Key in the Mobile Phone App.
|
||||
|
||||
@ -2,8 +2,7 @@ using GoveeCSharpConnector.Objects;
|
||||
|
||||
namespace GoveeCSharpConnector.Interfaces;
|
||||
|
||||
public interface IGoveeService
|
||||
{
|
||||
public interface IGoveeService {
|
||||
/// <summary>
|
||||
/// Govee Api Key
|
||||
/// </summary>
|
||||
|
||||
@ -1,14 +1,8 @@
|
||||
using System.Data;
|
||||
using System.Net;
|
||||
using System.Net.Sockets;
|
||||
using System.Text;
|
||||
using System.Text.Json;
|
||||
using GoveeCSharpConnector.Objects;
|
||||
using GoveeCSharpConnector.Objects;
|
||||
|
||||
namespace GoveeCSharpConnector.Interfaces;
|
||||
|
||||
public interface IGoveeUdpService
|
||||
{
|
||||
public interface IGoveeUdpService {
|
||||
/// <summary>
|
||||
/// Sends a Scan Command via Udp Multicast.
|
||||
/// </summary>
|
||||
@ -32,7 +26,7 @@ public interface IGoveeUdpService
|
||||
/// <param name="on"></param>
|
||||
/// <param name="uniCastPort">Port of the Device. Standard 4003</param>
|
||||
/// <returns></returns>
|
||||
Task ToggleDevice(string deviceAddress, bool on, int uniCastPort = 4003);
|
||||
void ToggleDevice(string deviceAddress, bool on, int uniCastPort = 4003);
|
||||
/// <summary>
|
||||
/// Sets the Brightness of the Device
|
||||
/// </summary>
|
||||
@ -40,7 +34,7 @@ public interface IGoveeUdpService
|
||||
/// <param name="brightness">In Percent 1-100</param>
|
||||
/// <param name="uniCastPort">Port of the Device. Standard 4003</param>
|
||||
/// <returns></returns>
|
||||
Task SetBrightness(string deviceAddress, int brightness, int uniCastPort = 4003);
|
||||
void SetBrightness(string deviceAddress, int brightness, int uniCastPort = 4003);
|
||||
/// <summary>
|
||||
/// Sets the Color of the Device
|
||||
/// </summary>
|
||||
@ -48,7 +42,7 @@ public interface IGoveeUdpService
|
||||
/// <param name="color"></param>
|
||||
/// <param name="uniCastPort">Port of the Device. Standard 4003</param>
|
||||
/// <returns></returns>
|
||||
Task SetColor(string deviceAddress, RgbColor color, int uniCastPort = 4003);
|
||||
void SetColor(string deviceAddress, RgbColor color, int uniCastPort = 4003);
|
||||
|
||||
/// <summary>
|
||||
/// Sets the ColorTemp of the Device
|
||||
@ -57,7 +51,7 @@ public interface IGoveeUdpService
|
||||
/// <param name="colorTempInKelvin"></param>
|
||||
/// <param name="uniCastPort">Port of the Device. Standard 4003</param>
|
||||
/// <returns></returns>
|
||||
Task SetColorTemp(string deviceAddress, int colorTempInKelvin, int uniCastPort = 4003);
|
||||
void SetColorTemp(string deviceAddress, int colorTempInKelvin, int uniCastPort = 4003);
|
||||
/// <summary>
|
||||
/// Starts the Udp Listener
|
||||
/// </summary>
|
||||
@ -73,4 +67,4 @@ public interface IGoveeUdpService
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
void StopUdpListener();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user