91 lines
2.2 KiB
C#
91 lines
2.2 KiB
C#
using Flir.Atlas.Image;
|
|
using Flir.Atlas.Live.Discovery;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Thermo.Cam.Utils
|
|
{
|
|
public class RangeVal
|
|
{
|
|
#region Public Properties
|
|
|
|
/// <summary>
|
|
/// VAlore MASSIMO
|
|
/// </summary>
|
|
public double Max { get; set; } = 50;
|
|
|
|
/// <summary>
|
|
/// Valore minimo
|
|
/// </summary>
|
|
public double Min { get; set; } = 0;
|
|
|
|
#endregion Public Properties
|
|
}
|
|
|
|
public class Size
|
|
{
|
|
#region Public Properties
|
|
|
|
/// <summary>
|
|
/// Dimensione X
|
|
/// </summary>
|
|
public int X { get; set; } = 100;
|
|
|
|
/// <summary>
|
|
/// Dimensione X
|
|
/// </summary>
|
|
public int Y { get; set; } = 100;
|
|
|
|
#endregion Public Properties
|
|
}
|
|
|
|
public class TConfig
|
|
{
|
|
#region Public Fields
|
|
|
|
/// <summary>
|
|
/// Elenco di punti x misurazione temperatura
|
|
/// </summary>
|
|
public List<MeasurePoint> MeasPoints = new List<MeasurePoint>();
|
|
|
|
#endregion Public Fields
|
|
|
|
#region Public Properties
|
|
|
|
/// <summary>
|
|
/// Indirizzo Camera selezionata x autoconnect ("" = nessun autoconnect)
|
|
/// </summary>
|
|
public string CameraAddress { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// Camera selezionata x autoconnect ("" = nessun autoconnect)
|
|
/// </summary>
|
|
public string CameraName { get; set; } = "";
|
|
|
|
/// <summary>
|
|
/// Punti su IMG destinazione
|
|
/// </summary>
|
|
public SetPoints DestPoints { get; set; } = new SetPoints();
|
|
|
|
/// <summary>
|
|
/// Punti su IMG origine
|
|
/// </summary>
|
|
public SetPoints OrigPoints { get; set; } = new SetPoints();
|
|
|
|
/// <summary>
|
|
/// Range scala colori desiderata
|
|
/// </summary>
|
|
public RangeVal TargetRange { get; set; } = new RangeVal();
|
|
|
|
/// <summary>
|
|
/// Target (transformed & colored) image size
|
|
/// </summary>
|
|
public Size TargetSize { get; set; } = new Size();
|
|
|
|
#endregion Public Properties
|
|
}
|
|
} |