Modifica classi x gestione oggetti report

This commit is contained in:
Samuele E. Locatelli
2020-02-12 12:24:48 +01:00
parent c7039a44a3
commit 4ff39f83c0
4 changed files with 52 additions and 34 deletions
Vendored
+1 -1
View File
@@ -11,7 +11,7 @@ pipeline {
steps {
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
script {
withEnv(['NEXT_BUILD_NUMBER=716']) {
withEnv(['NEXT_BUILD_NUMBER=717']) {
// env.versionNumber = VersionNumber(versionNumberString : '3.5.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
env.versionNumber = VersionNumber(versionNumberString : '3.5.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
env.versionNumberBeta = VersionNumber(versionNumberString : '3.5.${BUILD_DATE_FORMATTED, "yyMM"}-beta.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
+1 -1
View File
@@ -244,7 +244,7 @@
<Compile Include="memLayer.cs" />
<Compile Include="NetworkConnection.cs" />
<Compile Include="pdfUtils.cs" />
<Compile Include="reportGen.cs" />
<Compile Include="reportGenObj.cs" />
<Compile Include="SteamWare.cs">
<DependentUpon>SteamWare.tt</DependentUpon>
<AutoGen>True</AutoGen>
-32
View File
@@ -1,32 +0,0 @@
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SteamWare
{
/// <summary>
/// classe contenente oggetti generazione report SSRS (configurazioni + tabella valori)
/// </summary>
public class reportData
{
/// <summary>
/// Template report (rdlc)
/// </summary>
public string template { get; set; } = "";
/// <summary>
/// Configurazione device di stampa
/// </summary>
public devInfoParam deviceInfoParam { get; set; }
/// <summary>
/// Nome del ReportDataSource
/// </summary>
public string rdsName { get; set; } = "";
/// <summary>
/// Contenuto tabellare del ReportDataSource
/// </summary>
public DataTable rdsTable { get; set; }
}
}
+50
View File
@@ -0,0 +1,50 @@
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SteamWare
{
/// <summary>
/// Configuraizone di una coda di stampa (1 coda = 1 tipo di report + stampante)
/// </summary>
public class queueConf
{
/// <summary>
/// Nome coda
/// </summary>
public string name { get; set; } = "default";
/// <summary>
/// Template report (rdlc)
/// </summary>
public string template { get; set; } = "default.rdlc";
/// <summary>
/// Nome stampante (opzionale)
/// </summary>
public string printerName { get; set; } = "Microsoft Print to PDF";
/// <summary>
/// Configurazione device di stampa
/// </summary>
public devInfoParam deviceInfoParam { get; set; }
/// <summary>
/// Nome del ReportDataSource da impiegare
/// </summary>
public string rdsName { get; set; } = "ReportDataSource";
}
/// <summary>
/// Istanza dei dati di stampa di un SINGOLO docuemnto (report SSRS)
/// </summary>
public class reportData
{
/// <summary>
/// Numero di ticket della richeista di stampa (per poter chiudere)
/// </summary>
public string ticketNum { get; set; } = "";
/// <summary>
/// Contenuto tabellare del ReportDataSource
/// </summary>
public DataTable rdsTable { get; set; }
}
}