Update commands accorded to doc

Update Captors and Info commands
This commit is contained in:
2019-04-22 16:54:16 +02:00
parent 25891c6c9d
commit 9e78307541
3 changed files with 43 additions and 17 deletions

View File

@@ -7,6 +7,12 @@ namespace PlantBox.Shared.Extensions
{
public static class CommandSerializeExtensions
{
// Array extensions
public static (T first, T second) ToTuple<T>(this T[] array)
{
return (array[0], array[1]);
}
// String conversion
public static T ToEnumValue<T>(this string argument)
{