37 lines
832 B
C#
37 lines
832 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace WebWindowComplex.DTO
|
|
{
|
|
/// <summary>
|
|
/// Dati specifici ricevuto dal chiamante x display e calcoli
|
|
/// </summary>
|
|
public class LivePayload
|
|
{
|
|
|
|
/// <summary>
|
|
/// JWD Corrente
|
|
/// </summary>
|
|
public string CurrJwd { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Preview SVG
|
|
/// </summary>
|
|
public string SvgPreview { get; set; } = string.Empty;
|
|
|
|
|
|
/// <summary>
|
|
/// Verifica di validità del Payload (solo jwd)
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
public bool IsValid()
|
|
{
|
|
bool jwdOK = !string.IsNullOrEmpty(CurrJwd);
|
|
return jwdOK;
|
|
}
|
|
}
|
|
}
|