Modifica classi x gestione oggetti report
This commit is contained in:
Vendored
+1
-1
@@ -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}')
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user