67 lines
1.5 KiB
C#
67 lines
1.5 KiB
C#
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 MeasurePoint
|
|
{
|
|
#region Public Properties
|
|
|
|
/// <summary>
|
|
/// Punto di riferimento
|
|
/// </summary>
|
|
public Point Coords { get; set; } = new Point();
|
|
|
|
/// <summary>
|
|
/// Id del punto
|
|
/// </summary>
|
|
public int Id { get; set; } = 0;
|
|
|
|
/// <summary>
|
|
/// Temperatura rilevata al punto
|
|
/// </summary>
|
|
public double Temperature { get; set; } = 0;
|
|
|
|
#endregion Public Properties
|
|
}
|
|
|
|
public class SetPoints
|
|
{
|
|
#region Public Properties
|
|
|
|
public List<Point> Coords { get; set; } = new List<Point>();
|
|
public int curr { get; set; } = 0;
|
|
|
|
#endregion Public Properties
|
|
}
|
|
|
|
[Serializable]
|
|
/// <summary>
|
|
/// Classe
|
|
/// </summary>
|
|
public class TemperatureData
|
|
{
|
|
#region Public Properties
|
|
|
|
/// <summary>
|
|
/// Size Reticolo (=immagine)
|
|
/// </summary>
|
|
public Size ArraySize { get; set; }
|
|
|
|
/// <summary>
|
|
/// Ordine scansione coordinate immagine, YX = prima Y (per righe), XY = prima X (per colonne)
|
|
/// </summary>
|
|
public string ScanOrder { get; set; } = "YX";
|
|
|
|
/// <summary>
|
|
/// valori associati al reticolo
|
|
/// </summary>
|
|
public double[] Values { get; set; }
|
|
|
|
#endregion Public Properties
|
|
}
|
|
} |