39 lines
1.0 KiB
C#
39 lines
1.0 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace IobConf.Core
|
|
{
|
|
public class ServerMapo
|
|
{
|
|
/// <summary>
|
|
/// Indica il metodo di trasporto http/https
|
|
/// </summary>
|
|
public string Transport { get; set; } = "http";
|
|
|
|
/// <summary>
|
|
/// Indirizzo IP server
|
|
/// </summary>
|
|
public string IpAddr { get; set; } = "127.0.0.1";
|
|
|
|
/// <summary>
|
|
/// URL Base del server applicativo
|
|
/// </summary>
|
|
public string BaseAppUrl { get; set; } = "/MP/IO/";
|
|
|
|
/// <summary>
|
|
/// Dizionario comandi configurati
|
|
/// </summary>
|
|
public Dictionary<string, string> Commands { get; set; } = new CmdUri("IOB").StdCommands();
|
|
//public CmdUri Commands { get; set; } = new CmdUri();
|
|
|
|
/// <summary>
|
|
/// Installazione di riferimento
|
|
/// </summary>
|
|
public string ClientInstall { get; set; } = "SW";
|
|
|
|
}
|
|
}
|