using System;

namespace NcProgramManager.Cnc.Mitsubishi
{
    public sealed class MitsubishiConnectionConfig
    {
        public string Name { get; set; }
        public string IpAddress { get; set; }
        public int Port { get; set; } = 21;
        public string Username { get; set; } = string.Empty;
        public string Password { get; set; } = string.Empty;
        /// <summary>NC directory for programs on the Mitsubishi FTP server.</summary>
        public string ProgramDirectory { get; set; } = "/PRG/";
        public TimeSpan RequestTimeout { get; set; } = TimeSpan.FromSeconds(10);
    }
}
