0
mirror of https://github.com/gusmanb/logicanalyzer.git synced 2024-12-22 09:39:35 +00:00
gusmanb-logicanalyzer/Software/LogicAnalyzer/CLCapture/CLNetworkOptions.cs
2023-02-04 15:49:15 +01:00

27 lines
944 B
C#

using CommandLine;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace CLCapture
{
[Verb(name: "netconfig", HelpText = "Configure the network options of the WiFi version.")]
public class CLNetworkOptions
{
[Value(0, Required = true, HelpText = "Device's serial port.")]
public string SerialPort { get; set; }
[Value(1, Required = true, HelpText = "Access point name.")]
public string AccessPoint { get; set; }
[Value(2, Required = true, HelpText = "Access point password.")]
public string Password { get; set; }
[Value(3, Required = true, HelpText = "Device IP address.")]
public string Address { get; set; }
[Value(4, Required = true, HelpText = "Device TCP port.")]
public ushort Port { get; set; }
}
}