using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SteamWare.Reports
{
///
/// Corpo risposta alla chiamata
///
public class printTask
{
#region Public Properties
///
/// Ulteriore messaggio opzionale
///
public string message { get; set; } = "";
///
/// Stato da impostare sul task : 0 --> DA FARE, 1 --> fatto, -1 --> annullato
///
public int newStatus { get; set; } = 0;
///
/// Numero di ticket della richeista di stampa (per poter chiudere)
///
public string ticketNum { get; set; } = "";
#endregion Public Properties
}
///
/// Configuraizone di una coda di stampa (1 coda = 1 tipo di report + stampante)
///
public class queueConf
{
#region Public Properties
///
/// Configurazione device di stampa
///
public devInfoParam deviceInfoParam { get; set; }
///
/// Nome coda
///
public string name { get; set; } = "default";
///
/// Nome stampante (opzionale)
///
public string printerName { get; set; } = "Microsoft Print to PDF";
///
/// Template report (rdlc)
///
public string template { get; set; } = "default.rdlc";
#endregion Public Properties
}
///
/// Configuraizone di un report (nom/type --> template)
///
public class reportConf
{
#region Public Properties
///
/// Nome coda
///
public string name { get; set; } = "default";
///
/// Template report (rdlc)
///
public string template { get; set; } = "default.rdlc";
#endregion Public Properties
}
///
/// Istanza dei dati di stampa di un SINGOLO docuemnto (report SSRS)
///
public class reportData
{
#region Public Properties
///
/// Dictionary degli RDS da impiegare, chiave = nome RDS, valore = tabella RDS
///
public Dictionary rdsData { get; set; }
///
/// Template report (rdlc) della SINGOLA richiesta di stampa (per gestione multi coda), se vuoto --> prendo quello della coda
///
public string template { get; set; } = "";
///
/// Numero di ticket della richiesta di stampa (per poter chiudere)
///
public string ticketNum { get; set; } = "";
#endregion Public Properties
}
}