diff --git a/.vs/ApiPolo/DesignTimeBuild/.dtbcache.v2 b/.vs/ApiPolo/DesignTimeBuild/.dtbcache.v2 index eac7894..3f13998 100644 Binary files a/.vs/ApiPolo/DesignTimeBuild/.dtbcache.v2 and b/.vs/ApiPolo/DesignTimeBuild/.dtbcache.v2 differ diff --git a/.vs/ApiPolo/FileContentIndex/00921a20-b44f-405d-bcca-8788a1683c98.vsidx b/.vs/ApiPolo/FileContentIndex/00921a20-b44f-405d-bcca-8788a1683c98.vsidx new file mode 100644 index 0000000..f5fcc20 Binary files /dev/null and b/.vs/ApiPolo/FileContentIndex/00921a20-b44f-405d-bcca-8788a1683c98.vsidx differ diff --git a/.vs/ApiPolo/FileContentIndex/2e14e683-3c27-4b63-8a45-42d4e9d55966.vsidx b/.vs/ApiPolo/FileContentIndex/2e14e683-3c27-4b63-8a45-42d4e9d55966.vsidx new file mode 100644 index 0000000..8466faa Binary files /dev/null and b/.vs/ApiPolo/FileContentIndex/2e14e683-3c27-4b63-8a45-42d4e9d55966.vsidx differ diff --git a/.vs/ApiPolo/FileContentIndex/5137eb61-b80f-4dbc-8df7-abca8791a72d.vsidx b/.vs/ApiPolo/FileContentIndex/5137eb61-b80f-4dbc-8df7-abca8791a72d.vsidx deleted file mode 100644 index 09ba809..0000000 Binary files a/.vs/ApiPolo/FileContentIndex/5137eb61-b80f-4dbc-8df7-abca8791a72d.vsidx and /dev/null differ diff --git a/.vs/ApiPolo/FileContentIndex/94917b61-8e8f-460e-9305-b81926822e87.vsidx b/.vs/ApiPolo/FileContentIndex/94917b61-8e8f-460e-9305-b81926822e87.vsidx new file mode 100644 index 0000000..152068f Binary files /dev/null and b/.vs/ApiPolo/FileContentIndex/94917b61-8e8f-460e-9305-b81926822e87.vsidx differ diff --git a/.vs/ApiPolo/FileContentIndex/979c557d-b1c0-4316-919e-ba28aed0936b.vsidx b/.vs/ApiPolo/FileContentIndex/979c557d-b1c0-4316-919e-ba28aed0936b.vsidx deleted file mode 100644 index cd45dd2..0000000 Binary files a/.vs/ApiPolo/FileContentIndex/979c557d-b1c0-4316-919e-ba28aed0936b.vsidx and /dev/null differ diff --git a/.vs/ApiPolo/FileContentIndex/b00a70e1-a773-432a-8d03-992c2d734d43.vsidx b/.vs/ApiPolo/FileContentIndex/b00a70e1-a773-432a-8d03-992c2d734d43.vsidx deleted file mode 100644 index 34c42ec..0000000 Binary files a/.vs/ApiPolo/FileContentIndex/b00a70e1-a773-432a-8d03-992c2d734d43.vsidx and /dev/null differ diff --git a/.vs/ApiPolo/FileContentIndex/b7df3f3d-c040-4487-a1f8-cc20d0c1d55f.vsidx b/.vs/ApiPolo/FileContentIndex/b7df3f3d-c040-4487-a1f8-cc20d0c1d55f.vsidx new file mode 100644 index 0000000..5edd646 Binary files /dev/null and b/.vs/ApiPolo/FileContentIndex/b7df3f3d-c040-4487-a1f8-cc20d0c1d55f.vsidx differ diff --git a/.vs/ApiPolo/FileContentIndex/c645ad3e-95ae-4361-ba86-2048d1a3dd4e.vsidx b/.vs/ApiPolo/FileContentIndex/c645ad3e-95ae-4361-ba86-2048d1a3dd4e.vsidx deleted file mode 100644 index 167dfe8..0000000 Binary files a/.vs/ApiPolo/FileContentIndex/c645ad3e-95ae-4361-ba86-2048d1a3dd4e.vsidx and /dev/null differ diff --git a/.vs/ApiPolo/v17/.futdcache.v2 b/.vs/ApiPolo/v17/.futdcache.v2 index 74fcc4a..251d1c6 100644 Binary files a/.vs/ApiPolo/v17/.futdcache.v2 and b/.vs/ApiPolo/v17/.futdcache.v2 differ diff --git a/.vs/ApiPolo/v17/.suo b/.vs/ApiPolo/v17/.suo index da9dbc4..d348bfd 100644 Binary files a/.vs/ApiPolo/v17/.suo and b/.vs/ApiPolo/v17/.suo differ diff --git a/.vs/ProjectEvaluation/apipolo.metadata.v7.bin b/.vs/ProjectEvaluation/apipolo.metadata.v7.bin index 4a9d158..bf222d9 100644 Binary files a/.vs/ProjectEvaluation/apipolo.metadata.v7.bin and b/.vs/ProjectEvaluation/apipolo.metadata.v7.bin differ diff --git a/.vs/ProjectEvaluation/apipolo.projects.v7.bin b/.vs/ProjectEvaluation/apipolo.projects.v7.bin index 71c4b15..a6d5c71 100644 Binary files a/.vs/ProjectEvaluation/apipolo.projects.v7.bin and b/.vs/ProjectEvaluation/apipolo.projects.v7.bin differ diff --git a/ApiPolo/ApiPolo.csproj.user b/ApiPolo/ApiPolo.csproj.user index b7a1d6d..7c72e93 100644 --- a/ApiPolo/ApiPolo.csproj.user +++ b/ApiPolo/ApiPolo.csproj.user @@ -3,6 +3,6 @@ MvcControllerEmptyScaffolder root/Common/MVC/Controller - C:\SORGENTI\ApiPolo\ApiPolo\Properties\PublishProfiles\FolderProfile.pubxml + C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\Properties\PublishProfiles\FolderProfile.pubxml \ No newline at end of file diff --git a/ApiPolo/Controllers/PoloController.cs b/ApiPolo/Controllers/PoloController.cs index ed8cd31..48cce54 100644 --- a/ApiPolo/Controllers/PoloController.cs +++ b/ApiPolo/Controllers/PoloController.cs @@ -6,7 +6,9 @@ using ApiPolo.Models.Sicilia_dbcontext; using ApiPolo.Models.Sarom_dbcontext; using ApiPolo.Models.Gitoga_dbcontext; using ApiPolo.Models.Lifta_dbcontext; +using ApiPolo.Models.Lift_web_dbcontext; using ApiPolo.Models.Tedesco_dbcontext; + using Microsoft.AspNetCore.Mvc; using Microsoft.EntityFrameworkCore; using Microsoft.IdentityModel.Tokens; @@ -15,8 +17,7 @@ using System.IdentityModel.Tokens.Jwt; using System.Net; using System.Security.Claims; using System.Text; -using static System.Net.WebRequestMethods; -using System.Xml.Linq; + using ApiPolo.Models.Sinergo_dbcontext; using System.Collections.Generic; using System.Drawing; @@ -40,7 +41,10 @@ using System.Transactions; using System.Web.Razor.Parser; using System; using System.Collections; - +using Microsoft.EntityFrameworkCore.Metadata.Internal; +using static Microsoft.Extensions.Logging.EventSource.LoggingEventSource; +using static System.Net.Mime.MediaTypeNames; +using System.IO; namespace ApiPolo.Controllers { /// @@ -68,6 +72,8 @@ namespace ApiPolo.Controllers private readonly SIET_TECNICI_DbContext _Siet_tecnici; private readonly PMS_TECNICI_DbContext _Pms_tecnici; private readonly VT_TECNICI_DbContext _VT_tecnici; + private readonly LIFT_WEB_TECNICIDbContext _LW_tecnici; + private readonly TEDES_TECNICIDbContext _Tedes_tecnici; #endregion #region RAPP_NEW @@ -80,6 +86,8 @@ namespace ApiPolo.Controllers private readonly LIFTA_RAPP_NEW_Dbcontext _Lifta_rapp; private readonly SIET_RAPP_NEW_DbContext _Siet_rapp; private readonly PMS_RAPP_NEW_DbContext _Pms_rapp; + private readonly LIFT_WEB_RAPP_NEWDbContext _LW_rapp; + private readonly TEDES_RAPP_NEWDbContext _Tedes_rapp; #endregion #region CHIAMATE-TECNICI @@ -92,6 +100,8 @@ namespace ApiPolo.Controllers private readonly LIFTA_CHIAMATE_Dbcontext _Lifta_calltec; private readonly SIET_CHIAMATE_DbContext _Siet_calltec; private readonly PMS_CHIAMATE_DbContext _Pms_calltec; + private readonly LIFT_WEB_CHIAMATEDbContext _LW_calltec; + private readonly TEDES_CHIAMATE_DbContext _Tedes_calltec; #endregion #region CHIUSURE @@ -104,6 +114,8 @@ namespace ApiPolo.Controllers private readonly LIFTA_CHIUSURE_Dbcontext _Lifta_chiu; private readonly SIET_CHIUSURE_DbContext _Siet_chiu; private readonly PMS_CHIUSURE_DbContext _Pms_chiu; + private readonly LIFT_WEB_CHIUSUREDbContext _LW_chiu; + private readonly TEDES_CHIUSUREDbContext _Tedes_chiu; #endregion #region PRESE @@ -116,6 +128,8 @@ namespace ApiPolo.Controllers private readonly LIFTA_PRESE_Dbcontext _Lifta_prese; private readonly SIET_PRESE_DbContext _Siet_prese; private readonly PMS_PRESE_DbContext _PMS_prese; + private readonly LIFT_WEB_PRESEDbContext _LW_prese; + private readonly TEDES_PRESEDbContext _Tedes_prese; #endregion #region MANUTENZIONI PROGRAMMATE @@ -128,6 +142,8 @@ namespace ApiPolo.Controllers private readonly LIFTA_MANPROG_TEC_Dbcontext _Lifta_mp; private readonly SIET_MANPROG_TEC_DbContext _Siet_mp; private readonly PMS_MANPROG_TEC_DbContext _PMS_mp; + private readonly LIFT_WEB_MANPROG_TECDbContext _LW_mp; + private readonly TEDES_MANPROG_TECDbContext _Tedes_mp; #endregion #region Componenti Impianti @@ -135,6 +151,8 @@ namespace ApiPolo.Controllers private readonly DISCO_COMPO_IMPIADbContext _Disco_comp; private readonly SIET_COMPO_IMPIA_DbContext _Siet_comp; private readonly PMS_COMPO_IMPIA_DbContext _PMS_comp; + private readonly LIFT_WEB_COMPO_IMPIADbContext _LW_comp; + private readonly TEDES_COMPO_IMPIADbContext _Tedes_comp; #endregion #region Componenti impianti TABELLA @@ -142,6 +160,8 @@ namespace ApiPolo.Controllers private readonly DISCO_COMPO_IMPIA_TABLEDbContext _Disco_compTable; private readonly SIET_COMPO_IMPIA_TABLE_DbContext _Siet_compTable; private readonly PMS_COMPO_IMPIA_TABLE_DbContext _PMS_compTable; + private readonly LIFT_WEB_COMPO_IMPIA_TABLEDbContext _LW_compTable; + private readonly TEDES_COMPO_IMPIA_TABLEDbContext _Tedes_compTable; #endregion @@ -150,6 +170,8 @@ namespace ApiPolo.Controllers private readonly DISCO_SALDIARTDbContext _Disco_saldi; private readonly SIET_SALDIART_DbContext _Siet_saldi; private readonly PMS_SALDIART_DbContext _PMS_saldi; + private readonly LIFT_WEB_SALDIARTDbContext _LW_saldi; + private readonly TEDES_SALDIARTDbContext _Tedes_saldi; #endregion #region Magazzino articoli MAGNEW @@ -157,6 +179,8 @@ namespace ApiPolo.Controllers private readonly DISCO_MAG_NEWDbContext _Disco_mag; private readonly SIET_MAG_NEW_DbContext _Siet_mag; private readonly PMS_MAG_NEW_DbContext _PMS_mag; + private readonly LIFT_WEB_MAG_NEWDbContext _LW_mag; + private readonly TEDES_MAG_NEWDbContext _Tedes_mag; #endregion #region Magazzini @@ -165,6 +189,8 @@ namespace ApiPolo.Controllers private readonly SIET_MAGAZZINI_DbContext _Siet_magazzini; private readonly PMS_MAGAZZINI_DbContext _PMS_magazzini; + private readonly LIFT_WEB_MAGAZZINIDbContext _LW_magazzini; + private readonly TEDES_MAGAZZINIDbContext _Tedes_magazzini; #endregion #region Storico rapportini @@ -177,6 +203,8 @@ namespace ApiPolo.Controllers private readonly LIFTA_STO_RAPP_Dbcontext _Lifta_sto_rapp; private readonly SIET_STO_RAPP_DbContext _Siet_sto_rapp; private readonly PMS_STO_RAPP_DbContext _PMS_sto_rapp; + private readonly LIFT_WEB_STO_RAPPDbContext _LW_sto_rapp; + private readonly TEDES_STO_RAPPDbContext _Tedes_sto_rapp; #endregion #region anagrafica clienti @@ -189,6 +217,8 @@ namespace ApiPolo.Controllers private readonly LIFTA_CLIENTI_Dbcontext _Lifta_clienti; private readonly SIET_CLIENTI_DbContext _Siet_clienti; private readonly PMS_CLIENTI_DbContext _PMS_clienti; + private readonly LIFT_WEB_CLIENTIDbContext _LW_clienti; + private readonly TEDES_CLIENTIDbContext _Tedes_clienti; #endregion #region causali rapportino @@ -201,6 +231,8 @@ namespace ApiPolo.Controllers private readonly LIFTA_CAUS_RAPP_Dbcontext _Lifta_caus_rapp; private readonly SIET_CAUS_RAPP_DbContext _Siet_caus_rapp; private readonly PMS_CAUS_RAPP_DbContext _PMS_caus_rapp; + private readonly LIFT_WEB_CAUS_RAPPDbContext _LW_caus_rapp; + private readonly TEDES_CAUS_RAPP_DbContext _Tedes_caus_rapp; #endregion #region causali pagamenti @@ -213,6 +245,8 @@ namespace ApiPolo.Controllers private readonly LIFTA_PAGAM_Dbcontext _Lifta_pagam; private readonly SIET_PAGAM_DbContext _Siet_pagam; private readonly PMS_PAGAM_DbContext _PMS_pagam; + private readonly LIFT_WEB_PAGAMDbContext _LW_pagam; + private readonly TEDES_PAGAMDbContext _Tedes_pagam; #endregion #region commesse @@ -222,6 +256,8 @@ namespace ApiPolo.Controllers private readonly MARRO_COMMESSEDbContext _Marro_comm; private readonly SIET_COMMESSE_DbContext _Siet_comm; private readonly PMS_COMMESSE_DbContext _PMS_comm; + private readonly LIFT_WEB_COMMESSEDbContext _LW_comm; + private readonly TEDES_COMMESSEDbContext _Tedes_comm; #endregion #region timbrature @@ -229,6 +265,8 @@ namespace ApiPolo.Controllers private readonly SINERGO_TIMBRATUREDbContext _Sinergo_timbr; private readonly SIET_TIMBRATURE_DbContext _Siet_timbr; private readonly PMS_TIMBRATURE_DbContext _PMS_timbr; + private readonly LIFT_WEB_TIMBRATUREDbContext _LW_timbr; + private readonly TEDES_TIMBRATUREDbContext _Tedes_timbr; #endregion #region rapportini tecnico @@ -240,12 +278,16 @@ namespace ApiPolo.Controllers private readonly SICILIA_STO_IMPDbContext _Sicilia_sto_imp; private readonly SIET_STO_IMP_DbContext _Siet_sto_imp; private readonly PMS_STO_IMP_DbContext _PMS_sto_imp; + private readonly LIFT_WEB_STO_IMPDbContext _LW_sto_imp; + private readonly TEDES_STO_IMPDbContext _Tedes_sto_imp; #endregion #region aziende collegate private readonly DISCO_AziendaRifDbContext _Disco_azi_coll; private readonly SIET_AZIENDA_RIF_DbContext _Siet_azi_coll; private readonly PMS_AZIENDA_RIF_DbContext _PMS_azi_coll; + private readonly LIFT_WEB_AZIENDARIF_DbContext _LW_azi_coll; + private readonly TEDES_AZIENDA_RIF_DbContext _Tedes_azi_coll; #endregion #region Impianti @@ -256,6 +298,8 @@ namespace ApiPolo.Controllers private readonly SICILIA_IMPIANTIDbContext _Sicilia_impianti; private readonly SIET_IMPIANTI_DbContext _Siet_impianti; private readonly PMS_IMPIANTI_DbContext _PMS_impianti; + private readonly LIFT_WEB_IMPIANTIDbContext _LW_impianti; + private readonly TEDES_IMPIANTIDbContext _Tedes_impianti; #endregion #region Sostituzioni @@ -266,6 +310,8 @@ namespace ApiPolo.Controllers private readonly SIET_SOSTITUZIONI_DbContext _Siet_sostituzioni; private readonly SICILIA_SOSTITUZIONI_DbContext _Sicilia_sostituzioni; private readonly PMS_SOSTITUZIONI_DbContext _PMS_sostituzioni; + private readonly LIFT_WEB_SOSTITUZIONI_DbContext _LW_sostituzioni; + private readonly TEDES_SOSTITUZIONI_DbContext _Tedes_sostituzioni; #endregion #region ChiamateTable @@ -273,6 +319,8 @@ namespace ApiPolo.Controllers private readonly SIET_CHIAMATE_TABLE_DbContext _Siet_chiatable; private readonly SICILIA_CHIAMATE_TABLE_DbContext _Sicilia_chiatable; private readonly PMS_CHIAMATE_TABLE_DbContext _Pms_chiatable; + private readonly LIFT_WEB_CHIAMATE_TABLE_DbContext _LW_chiatable; + private readonly TEDES_CHIAMATE_TABLE_DbContext _Tedes_chiatable; #endregion #region ChiamateSeriale @@ -280,6 +328,7 @@ namespace ApiPolo.Controllers private readonly SIET_CHIAMATA_SERIALE_DbContext _Siet_chiaser; private readonly SICILIA_CHIAMATA_SERIALE_DbContext _Sicilia_chiaser; private readonly PMS_CHIAMATA_SERIALE_DbContext _PMS_chiaser; + #endregion #region ChiamateProgressivi @@ -289,6 +338,8 @@ namespace ApiPolo.Controllers private readonly SICILIA_CHIAMATA_PROG_DbContext _Sicilia_chiaprog; private readonly SICILIA_CPWARN_DbContext _Sicilia_cpwarn; private readonly PMS_CPWARN_DbContext _PMS_cpwarn; + private readonly LIFT_WEB_CPWARN_DbContext _LW_cpwarn; + private readonly TEDES_CPWARN_DbContext _Tedes_cpwarn; #endregion #region VT - Chiusure @@ -357,6 +408,18 @@ namespace ApiPolo.Controllers private readonly VT_DATI_AZIENDA_DbContext _VT_DatiAzienda; #endregion + #region VT-Storico Rapp + private readonly VT_STO_RAPP_DbContext _VT_StoRapp; + #endregion + + #region Commesse desc + private readonly SIET_COMMESSE_DESC_DbContext _Siet_commDesc; + #endregion + + #region Associazione Codici chiusura - codici intervento + private readonly DISCO_CC_CI_DbContext _Disco_ccci; + #endregion + private DbSet? _tecnici; private DbSet? _rapp_new; private DbSet? _chiamate; @@ -397,6 +460,8 @@ namespace ApiPolo.Controllers private DbSet? _VT_rapport; private DbSet? _VT_buo; private DbSet? _rapp_new_view; + private DbSet? _commDesc; + private DbSet? _ccci; private Configurazioni? _confLette; @@ -418,6 +483,8 @@ namespace ApiPolo.Controllers SIET_TECNICI_DbContext Siet_tecnici, PMS_TECNICI_DbContext Pms_tecnici, VT_TECNICI_DbContext VT_tecnici, + LIFT_WEB_TECNICIDbContext LW_tecnici, + TEDES_TECNICIDbContext Tedes_tecnici, #endregion #region CHIAMATE @@ -430,6 +497,8 @@ namespace ApiPolo.Controllers LIFTA_CHIAMATE_Dbcontext Lifta_calltec, SIET_CHIAMATE_DbContext Siet_calltec, PMS_CHIAMATE_DbContext Pms_calltec, + LIFT_WEB_CHIAMATEDbContext LW_calltec, + TEDES_CHIAMATE_DbContext Tedes_calltec, #endregion #region RAPPNEW @@ -442,6 +511,8 @@ namespace ApiPolo.Controllers LIFTA_RAPP_NEW_Dbcontext Lifta_rapp, SIET_RAPP_NEW_DbContext Siet_rapp, PMS_RAPP_NEW_DbContext Pms_rapp, + LIFT_WEB_RAPP_NEWDbContext LW_rapp, + TEDES_RAPP_NEWDbContext Tedes_rapp, #endregion #region chiusure @@ -454,6 +525,8 @@ namespace ApiPolo.Controllers LIFTA_CHIUSURE_Dbcontext Lifta_chiusure, SIET_CHIUSURE_DbContext Siet_chiusure, PMS_CHIUSURE_DbContext Pms_chiusure, + LIFT_WEB_CHIUSUREDbContext LW_chiusure, + TEDES_CHIUSUREDbContext Tedes_chiusure, #endregion #region manutenzioni @@ -466,6 +539,8 @@ namespace ApiPolo.Controllers LIFTA_MANPROG_TEC_Dbcontext Lifta_manut, SIET_MANPROG_TEC_DbContext Siet_manut, PMS_MANPROG_TEC_DbContext PMS_manut, + LIFT_WEB_MANPROG_TECDbContext LW_manut, + TEDES_MANPROG_TECDbContext Tedes_manut, #endregion #region PRESE @@ -478,6 +553,8 @@ namespace ApiPolo.Controllers LIFTA_PRESE_Dbcontext Lifta_prese, SIET_PRESE_DbContext Siet_prese, PMS_PRESE_DbContext PMS_prese, + LIFT_WEB_PRESEDbContext LW_prese, + TEDES_PRESEDbContext Tedes_prese, #endregion #region componenti impianto @@ -485,6 +562,8 @@ namespace ApiPolo.Controllers DISCO_COMPO_IMPIADbContext Disco_comp, SIET_COMPO_IMPIA_DbContext Siet_comp, PMS_COMPO_IMPIA_DbContext PMS_comp, + LIFT_WEB_COMPO_IMPIADbContext LW_comp, + TEDES_COMPO_IMPIADbContext Tedes_comp, #endregion #region componenti impianto TABLE @@ -492,6 +571,8 @@ namespace ApiPolo.Controllers DISCO_COMPO_IMPIA_TABLEDbContext Disco_compTable, SIET_COMPO_IMPIA_TABLE_DbContext Siet_compTable, PMS_COMPO_IMPIA_TABLE_DbContext PMS_compTable, + LIFT_WEB_COMPO_IMPIA_TABLEDbContext LW_compTable, + TEDES_COMPO_IMPIA_TABLEDbContext Tedes_compTable, #endregion #region saldi @@ -499,6 +580,8 @@ namespace ApiPolo.Controllers DISCO_SALDIARTDbContext Disco_saldi, SIET_SALDIART_DbContext Siet_saldi, PMS_SALDIART_DbContext PMS_saldi, + LIFT_WEB_SALDIARTDbContext LW_saldi, + TEDES_SALDIARTDbContext Tedes_saldi, #endregion #region MAGNEW @@ -506,6 +589,8 @@ namespace ApiPolo.Controllers DISCO_MAG_NEWDbContext Disco_mag, SIET_MAG_NEW_DbContext Siet_mag, PMS_MAG_NEW_DbContext PMS_mag, + LIFT_WEB_MAG_NEWDbContext LW_mag, + TEDES_MAG_NEWDbContext Tedes_mag, #endregion #region magazzini @@ -513,6 +598,8 @@ namespace ApiPolo.Controllers DISCO_MAGAZZINIDbContext Disco_magazzini, PMS_MAGAZZINI_DbContext PMS_magazzini, SIET_MAGAZZINI_DbContext Siet_magazzini, + LIFT_WEB_MAGAZZINIDbContext LW_magazzini, + TEDES_MAGAZZINIDbContext Tedes_magazzini, #endregion #region storico rapportini @@ -525,6 +612,8 @@ namespace ApiPolo.Controllers LIFTA_STO_RAPP_Dbcontext Lifta_sto_rapp, SIET_STO_RAPP_DbContext Siet_sto_rapp, PMS_STO_RAPP_DbContext PMS_sto_rapp, + LIFT_WEB_STO_RAPPDbContext LW_sto_rapp, + TEDES_STO_RAPPDbContext Tedes_sto_rapp, #endregion #region anagrafica clienti @@ -537,6 +626,8 @@ namespace ApiPolo.Controllers LIFTA_CLIENTI_Dbcontext Lifta_Clienti, SIET_CLIENTI_DbContext Siet_Clienti, PMS_CLIENTI_DbContext PMS_Clienti, + LIFT_WEB_CLIENTIDbContext LW_Clienti, + TEDES_CLIENTIDbContext Tedes_Clienti, #endregion #region RAPPNEW @@ -549,6 +640,8 @@ namespace ApiPolo.Controllers LIFTA_CAUS_RAPP_Dbcontext Lifta_caus_rapp, SIET_CAUS_RAPP_DbContext Siet_caus_rapp, PMS_CAUS_RAPP_DbContext PMS_caus_rapp, + LIFT_WEB_CAUS_RAPPDbContext LW_caus_rapp, + TEDES_CAUS_RAPP_DbContext Tedes_caus_rapp, #endregion #region pagamenti @@ -561,6 +654,8 @@ namespace ApiPolo.Controllers LIFTA_PAGAM_Dbcontext Lifta_pagam, SIET_PAGAM_DbContext Siet_pagam, PMS_PAGAM_DbContext PMS_pagam, + LIFT_WEB_PAGAMDbContext LW_pagam, + TEDES_PAGAMDbContext Tedes_pagam, #endregion #region Commesse @@ -570,6 +665,8 @@ namespace ApiPolo.Controllers MARRO_COMMESSEDbContext Marro_comm, SIET_COMMESSE_DbContext Siet_comm, PMS_COMMESSE_DbContext PMS_comm, + LIFT_WEB_COMMESSEDbContext LW_comm, + TEDES_COMMESSEDbContext Tedes_comm, #endregion #region timbrature @@ -577,6 +674,8 @@ namespace ApiPolo.Controllers SINERGO_TIMBRATUREDbContext Sinergo_timbr, SIET_TIMBRATURE_DbContext Siet_timbr, PMS_TIMBRATURE_DbContext PMS_timbr, + LIFT_WEB_TIMBRATUREDbContext LW_timbr, + TEDES_TIMBRATUREDbContext Tedes_timbr, #endregion #region rapportini @@ -589,12 +688,16 @@ namespace ApiPolo.Controllers SICILIA_STO_IMPDbContext Sicilia_sto_imp, SIET_STO_IMP_DbContext Siet_sto_imp, PMS_STO_IMP_DbContext PMS_sto_imp, + LIFT_WEB_STO_IMPDbContext LW_sto_imp, + TEDES_STO_IMPDbContext Tedes_sto_imp, #endregion #region azienda collegata DISCO_AziendaRifDbContext Disco_azi_coll, SIET_AZIENDA_RIF_DbContext Siet_azi_coll, PMS_AZIENDA_RIF_DbContext PMS_azi_coll, + LIFT_WEB_AZIENDARIF_DbContext LW_azi_coll, + TEDES_AZIENDA_RIF_DbContext Tedes_azi_coll, #endregion #region impianti @@ -605,6 +708,8 @@ namespace ApiPolo.Controllers SICILIA_IMPIANTIDbContext Sicilia_impianti, SIET_IMPIANTI_DbContext Siet_impianti, PMS_IMPIANTI_DbContext PMS_impianti, + LIFT_WEB_IMPIANTIDbContext LW_impianti, + TEDES_IMPIANTIDbContext Tedes_impianti, #endregion #region sostituzioni @@ -615,6 +720,8 @@ namespace ApiPolo.Controllers SIET_SOSTITUZIONI_DbContext Siet_sostituzioni, SICILIA_SOSTITUZIONI_DbContext Sicilia_sostituzioni, PMS_SOSTITUZIONI_DbContext PMS_sostituzioni, + LIFT_WEB_SOSTITUZIONI_DbContext LW_sostituzioni, + TEDES_SOSTITUZIONI_DbContext Tedes_sostituzioni, #endregion #region chiamate table @@ -622,29 +729,42 @@ namespace ApiPolo.Controllers SIET_CHIAMATE_TABLE_DbContext Siet_chiatable, SICILIA_CHIAMATE_TABLE_DbContext Sicilia_chiatable, PMS_CHIAMATE_TABLE_DbContext Pms_chiatable, + LIFT_WEB_CHIAMATE_TABLE_DbContext LW_chiatable, + TEDES_CHIAMATE_TABLE_DbContext Tedes_chiatable, #endregion - #region chiamate seriale MARRO_CHIAMATA_SERIALE_DbContext Marro_chiaser, SIET_CHIAMATA_SERIALE_DbContext Siet_chiaser, SICILIA_CHIAMATA_SERIALE_DbContext Sicilia_chiaser, PMS_CHIAMATA_SERIALE_DbContext PMS_chiaser, + #endregion #region chiamate progressivo MARRO_CHIAMATA_PROG_DbContext Marro_chiaprog, SIET_CHIAMATA_PROG_DbContext Siet_chiaprog, SICILIA_CHIAMATA_PROG_DbContext Sicilia_chiaprog, + #endregion - #region cpwarn SICILIA_CPWARN_DbContext Sicilia_cpwarn, SIET_CPWARN_DbContext Siet_cpwarn, PMS_CPWARN_DbContext PMS_cpwarn, + LIFT_WEB_CPWARN_DbContext LW_cpwarn, + TEDES_CPWARN_DbContext Tedes_cpwarn, #endregion + #region CommesseDesc + SIET_COMMESSE_DESC_DbContext Siet_commDesc, + #endregion + + #region Associazione Codici chiusura - codici intervento + DISCO_CC_CI_DbContext Disco_ccci, + #endregion + + #region Virtual task VT_TECNICI_TABLE_DbContext VT_tectable, VT_TECNICI_DbContext VT_tec, @@ -668,11 +788,12 @@ namespace ApiPolo.Controllers VT_COMMESSE_TABLE_DbContext VT_CommTable, VT_DATI_AZIENDA_DbContext VT_DatiAzienda, VT_RAPPORTINI_DbContext VT_Rapportini, - VT_Buoni_DbContext VT_Buoni - + VT_Buoni_DbContext VT_Buoni, + VT_STO_RAPP_DbContext VT_StoRapp #endregion + ) { _configuration = configuration; @@ -691,6 +812,8 @@ namespace ApiPolo.Controllers _Siet_tecnici = Siet_tecnici; _Pms_tecnici = Pms_tecnici; _VT_tecnici = VT_tecnici; + _LW_tecnici = LW_tecnici; + _Tedes_tecnici = Tedes_tecnici; #endregion #region CHIAMATE-TECNICI @@ -703,6 +826,8 @@ namespace ApiPolo.Controllers _Lifta_calltec = Lifta_calltec; _Siet_calltec = Siet_calltec; _Pms_calltec = Pms_calltec; + _LW_calltec = LW_calltec; + _Tedes_calltec = Tedes_calltec; #endregion #region CHIUSURE @@ -715,6 +840,8 @@ namespace ApiPolo.Controllers _Lifta_chiu = Lifta_chiusure; _Siet_chiu = Siet_chiusure; _Pms_chiu = Pms_chiusure; + _LW_chiu = LW_chiusure; + _Tedes_chiu = Tedes_chiusure; #endregion #region RAPP_NEW @@ -727,6 +854,8 @@ namespace ApiPolo.Controllers _Lifta_rapp = Lifta_rapp; _Siet_rapp = Siet_rapp; _Pms_rapp = Pms_rapp; + _LW_rapp = LW_rapp; + _Tedes_rapp = Tedes_rapp; #endregion #region MANUTENZIONI PROGRAMMATE @@ -739,6 +868,8 @@ namespace ApiPolo.Controllers _Lifta_mp = Lifta_manut; _Siet_mp = Siet_manut; _PMS_mp = PMS_manut; + _LW_mp = LW_manut; + _Tedes_mp = Tedes_manut; #endregion #region PRESE @@ -751,6 +882,8 @@ namespace ApiPolo.Controllers _Lifta_prese = Lifta_prese; _Siet_prese = Siet_prese; _PMS_prese = PMS_prese; + _LW_prese = LW_prese; + _Tedes_prese = Tedes_prese; #endregion #region Componenti impianto @@ -758,11 +891,14 @@ namespace ApiPolo.Controllers _Disco_comp = Disco_comp; _Siet_comp = Siet_comp; _PMS_comp = PMS_comp; + _Sicilia_compTable = Sicilia_compTable; _Disco_compTable = Disco_compTable; _Siet_compTable = Siet_compTable; _PMS_compTable = PMS_compTable; + _LW_compTable = LW_compTable; + _Tedes_comp = Tedes_comp; #endregion #region Saldi articoli @@ -770,6 +906,8 @@ namespace ApiPolo.Controllers _Disco_saldi = Disco_saldi; _Siet_saldi = Siet_saldi; _PMS_saldi = PMS_saldi; + _LW_saldi = LW_saldi; + _Tedes_saldi = Tedes_saldi; #endregion #region magazzino articoli @@ -777,6 +915,8 @@ namespace ApiPolo.Controllers _Disco_mag = Disco_mag; _Siet_mag = Siet_mag; _PMS_mag = PMS_mag; + _LW_mag = LW_mag; + _Tedes_mag = Tedes_mag; #endregion #region magazzini @@ -784,6 +924,8 @@ namespace ApiPolo.Controllers _Disco_magazzini = Disco_magazzini; _Siet_magazzini = Siet_magazzini; _PMS_magazzini = PMS_magazzini; + _LW_magazzini = LW_magazzini; + _Tedes_magazzini = Tedes_magazzini; #endregion #region storico rapportini @@ -796,6 +938,8 @@ namespace ApiPolo.Controllers _Lifta_sto_rapp = Lifta_sto_rapp; _Siet_sto_rapp = Siet_sto_rapp; _PMS_sto_rapp = PMS_sto_rapp; + _LW_sto_rapp = LW_sto_rapp; + _Tedes_sto_rapp = Tedes_sto_rapp; #endregion #region anagrafica clienti @@ -808,6 +952,8 @@ namespace ApiPolo.Controllers _Lifta_clienti = Lifta_Clienti; _Siet_clienti = Siet_Clienti; _PMS_clienti = PMS_Clienti; + _LW_clienti = LW_Clienti; + _Tedes_clienti = Tedes_Clienti; #endregion #region causali rapportino @@ -820,6 +966,8 @@ namespace ApiPolo.Controllers _Lifta_caus_rapp = Lifta_caus_rapp; _Siet_caus_rapp = Siet_caus_rapp; _PMS_caus_rapp = PMS_caus_rapp; + _LW_caus_rapp = LW_caus_rapp; + _Tedes_caus_rapp = Tedes_caus_rapp; #endregion #region causali pagamenti @@ -832,6 +980,8 @@ namespace ApiPolo.Controllers _Lifta_pagam = Lifta_pagam; _Siet_pagam = Siet_pagam; _PMS_pagam = PMS_pagam; + _LW_pagam = LW_pagam; + _Tedes_pagam = Tedes_pagam; #endregion #region commesse @@ -841,6 +991,8 @@ namespace ApiPolo.Controllers _Marro_comm = Marro_comm; _Siet_comm = Siet_comm; _PMS_comm = PMS_comm; + _LW_comm = LW_comm; + _Tedes_comm = Tedes_comm; #endregion #region timbrature @@ -848,6 +1000,8 @@ namespace ApiPolo.Controllers _Sinergo_timbr = Sinergo_timbr; _Siet_timbr = Siet_timbr; _PMS_timbr = PMS_timbr; + _LW_timbr = LW_timbr; + _Tedes_timbr = Tedes_timbr; #endregion #region rapportini @@ -859,12 +1013,16 @@ namespace ApiPolo.Controllers _Sicilia_sto_imp = Sicilia_sto_imp; _Siet_sto_imp = Siet_sto_imp; _PMS_sto_imp = PMS_sto_imp; + _LW_sto_imp = LW_sto_imp; + _Tedes_sto_imp = Tedes_sto_imp; #endregion #region aziende collegate _Disco_azi_coll = Disco_azi_coll; _Siet_azi_coll = Siet_azi_coll; _PMS_azi_coll = PMS_azi_coll; + _LW_azi_coll = LW_azi_coll; + _Tedes_azi_coll = Tedes_azi_coll; #endregion #region Impianti @@ -875,6 +1033,8 @@ namespace ApiPolo.Controllers _Sicilia_impianti = Sicilia_impianti; _Siet_impianti = Siet_impianti; _PMS_impianti = PMS_impianti; + _LW_impianti = LW_impianti; + _Tedes_impianti = Tedes_impianti; #endregion #region sostituzioni @@ -885,6 +1045,8 @@ namespace ApiPolo.Controllers _Siet_sostituzioni = Siet_sostituzioni; _Sicilia_sostituzioni = Sicilia_sostituzioni; _PMS_sostituzioni = PMS_sostituzioni; + _LW_sostituzioni = LW_sostituzioni; + _Tedes_sostituzioni = Tedes_sostituzioni; #endregion #region ChiamateTable @@ -892,6 +1054,8 @@ namespace ApiPolo.Controllers _Siet_chiatable = Siet_chiatable; _Sicilia_chiatable = Sicilia_chiatable; _Pms_chiatable = Pms_chiatable; + _LW_chiatable = LW_chiatable; + _Tedes_chiatable = Tedes_chiatable; #endregion #region ChiamateSeriale @@ -899,18 +1063,23 @@ namespace ApiPolo.Controllers _Siet_chiaser = Siet_chiaser; _Sicilia_chiaser = Sicilia_chiaser; _PMS_chiaser = PMS_chiaser; + #endregion #region ChiamateProgressivi _Marro_chiaprog = Marro_chiaprog; _Siet_chiaprog = Siet_chiaprog; _Sicilia_chiaprog = Sicilia_chiaprog; + #endregion #region cpwarn _Sicilia_cpwarn = Sicilia_cpwarn; _Siet_cpwarn = Siet_cpwarn; _PMS_cpwarn = PMS_cpwarn; + _LW_cpwarn = LW_cpwarn; + _Tedes_cpwarn = Tedes_cpwarn; + #endregion #region VIRTUAL TASK @@ -937,6 +1106,16 @@ namespace ApiPolo.Controllers _VT_DatiAzienda = VT_DatiAzienda; _VT_Rapportini = VT_Rapportini; _VT_Buoni = VT_Buoni; + _VT_StoRapp = VT_StoRapp; + + #endregion + + #region Commesse desc + _Siet_commDesc = Siet_commDesc; + #endregion + + #region Associazione codici chiusura - codici intervento + _Disco_ccci = Disco_ccci; #endregion } @@ -1080,7 +1259,12 @@ namespace ApiPolo.Controllers case Clienti.VT: _tecs = _VT_tec.Tecnici; break; - + case Clienti.LW: + _tecs = _LW_tecnici.Tecnici; + break; + case Clienti.Tedesco: + _tecs = _Tedes_tecnici.Tecnici; + break; default: _tecs = null; break; @@ -1121,7 +1305,12 @@ namespace ApiPolo.Controllers case Clienti.PMS: _rapps = _Pms_rapp.Rapps; break; - + case Clienti.LW: + _rapps = _LW_rapp.Rapps; + break; + case Clienti.Tedesco: + _rapps = _Tedes_rapp.Rapps; + break; default: _rapps = null; break; @@ -1164,7 +1353,12 @@ namespace ApiPolo.Controllers case Clienti.VT: _calls = _VT_chia.Chiamate; break; - + case Clienti.LW: + _calls = _LW_calltec.Chiamate; + break; + case Clienti.Tedesco: + _calls = _Tedes_calltec.Chiamate; + break; default: _calls = null; break; @@ -1208,6 +1402,12 @@ namespace ApiPolo.Controllers case Clienti.VT: _chiu = _VT_chiu.Chiu; break; + case Clienti.LW: + _chiu = _LW_chiu.Chiusure; + break; + case Clienti.Tedesco: + _chiu = _Tedes_chiu.Chiusure; + break; default: _chiu = null; break; @@ -1247,6 +1447,12 @@ namespace ApiPolo.Controllers case Clienti.PMS: _mans = _PMS_mp.Manutenzioni; break; + case Clienti.LW: + _mans = _LW_mp.Manutenzioni; + break; + case Clienti.Tedesco: + _mans = _Tedes_mp.Manutenzioni; + break; default: _mans = null; break; @@ -1286,6 +1492,12 @@ namespace ApiPolo.Controllers case Clienti.PMS: _pre = _PMS_prese.Prese; break; + case Clienti.LW: + _pre = _LW_prese.Prese; + break; + case Clienti.Tedesco: + _pre = _Tedes_prese.Prese; + break; default: _pre = null; break; @@ -1325,6 +1537,12 @@ namespace ApiPolo.Controllers case Clienti.PMS: _sto = _PMS_sto_rapp.StoRapp; break; + case Clienti.LW: + _sto = _LW_sto_rapp.StoRapp; + break; + case Clienti.Tedesco: + _sto = _Tedes_sto_rapp.StoRapp; + break; default: _sto = null; break; @@ -1364,6 +1582,12 @@ namespace ApiPolo.Controllers case Clienti.PMS: _cli = _PMS_clienti.Clienti; break; + case Clienti.LW: + _cli = _LW_clienti.Clienti; + break; + case Clienti.Tedesco: + _cli = _Tedes_clienti.Clienti; + break; default: _cli = null; break; @@ -1403,6 +1627,12 @@ namespace ApiPolo.Controllers case Clienti.PMS: _cau = _PMS_caus_rapp.Causali; break; + case Clienti.LW: + _cau = _LW_caus_rapp.Causali; + break; + case Clienti.Tedesco: + _cau = _Tedes_caus_rapp.Causali; + break; default: _cau = null; break; @@ -1442,6 +1672,12 @@ namespace ApiPolo.Controllers case Clienti.PMS: _pag = _PMS_pagam.Pagamenti; break; + case Clienti.LW: + _pag = _LW_pagam.Pagamenti; + break; + case Clienti.Tedesco: + _pag = _Tedes_pagam.Pagamenti; + break; default: _pag = null; break; @@ -1466,6 +1702,12 @@ namespace ApiPolo.Controllers case Clienti.PMS: _sa = _PMS_saldi.Saldi; break; + case Clienti.LW: + _sa = _LW_saldi.Saldi; + break; + case Clienti.Tedesco: + _sa = _Tedes_saldi.Saldi; + break; default: _sa = null; break; @@ -1490,6 +1732,12 @@ namespace ApiPolo.Controllers case Clienti.PMS: _compon = _PMS_comp.Componen; break; + case Clienti.LW: + _compon = _LW_comp.Componen; + break; + case Clienti.Tedesco: + _compon = _Tedes_comp.Componen; + break; default: _compon = null; break; @@ -1514,6 +1762,12 @@ namespace ApiPolo.Controllers case Clienti.PMS: _compon = _PMS_compTable.Componen; break; + case Clienti.LW: + _compon = _LW_compTable.Componen; + break; + case Clienti.Tedesco: + _compon = _Tedes_compTable.Componen; + break; default: _compon = null; break; @@ -1538,6 +1792,12 @@ namespace ApiPolo.Controllers case Clienti.PMS: _maga = _PMS_magazzini.Magaz; break; + case Clienti.LW: + _maga = _LW_magazzini.Magaz; + break; + case Clienti.Tedesco: + _maga = _Tedes_magazzini.Magaz; + break; default: _maga = null; break; @@ -1562,6 +1822,12 @@ namespace ApiPolo.Controllers case Clienti.PMS: _ma = _PMS_mag.Mag; break; + case Clienti.LW: + _ma = _LW_mag.Mag; + break; + case Clienti.Tedesco: + _ma = _Tedes_mag.Mag; + break; default: _ma = null; break; @@ -1601,6 +1867,12 @@ namespace ApiPolo.Controllers case Clienti.PMS: _imp = _PMS_impianti.Impia; break; + case Clienti.LW: + _imp = _LW_impianti.Impia; + break; + case Clienti.Tedesco: + _imp = _Tedes_impianti.Impia; + break; default: _imp = null; break; @@ -1634,6 +1906,12 @@ namespace ApiPolo.Controllers case Clienti.PMS: _commesse = _PMS_comm.Commesse; break; + case Clienti.LW: + _commesse = _LW_comm.Commesse; + break; + case Clienti.Tedesco: + _commesse = _Tedes_comm.Commesse; + break; default: _commesse = null; break; @@ -1664,6 +1942,12 @@ namespace ApiPolo.Controllers case Clienti.PMS: _timbrature = _PMS_timbr.Timbr; break; + case Clienti.LW: + _timbrature = _LW_timbr.Timbr; + break; + case Clienti.Tedesco: + _timbrature = _Tedes_timbr.Timbr; + break; default: _timbrature = null; break; @@ -1685,6 +1969,12 @@ namespace ApiPolo.Controllers case Clienti.PMS : _sto = _PMS_sto_imp.StoImp; break; + case Clienti.LW: + _sto = _LW_sto_imp.StoImp; + break; + case Clienti.Tedesco: + _sto = _Tedes_sto_imp.StoImp; + break; default: _sto = null; break; @@ -1706,6 +1996,12 @@ namespace ApiPolo.Controllers case Clienti.PMS: _azi = _PMS_azi_coll.Azi; break; + case Clienti.LW: + _azi = _LW_azi_coll.Azi; + break; + case Clienti.Tedesco: + _azi = _Tedes_azi_coll.Azi; + break; default: _azi = null; break; @@ -1739,6 +2035,12 @@ namespace ApiPolo.Controllers case Clienti.PMS: _sost = _PMS_sostituzioni.Sost; break; + case Clienti.LW: + _sost = _LW_sostituzioni.Sost; + break; + case Clienti.Tedesco: + _sost = _Tedes_sostituzioni.Sost; + break; default: _sost = null; break; @@ -1766,6 +2068,12 @@ namespace ApiPolo.Controllers case Clienti.VT: _chia = _VT_chiatable.Chi; break; + case Clienti.LW: + _chia = _LW_chiatable.Chi; + break; + case Clienti.Tedesco: + _chia = _Tedes_chiatable.Chi; + break; default: _chia = null; break; @@ -1790,6 +2098,7 @@ namespace ApiPolo.Controllers case Clienti.PMS: _chiaser = _PMS_chiaser.Seriali; break; + default: _chiaser = null; break; @@ -1835,6 +2144,12 @@ namespace ApiPolo.Controllers case Clienti.PMS: _cpwarn = _PMS_cpwarn.Progressivi; break; + case Clienti.LW: + _cpwarn = _LW_cpwarn.Progressivi; + break; + case Clienti.Tedesco: + _cpwarn = _Tedes_cpwarn.Progressivi; + break; default: _cpwarn = null; break; @@ -1865,6 +2180,12 @@ namespace ApiPolo.Controllers case Clienti.Sicilia: abilitata = true; break; + case Clienti.LW: + abilitata = true; + break; + case Clienti.Tedesco: + abilitata = true; + break; default: abilitata = false; break; @@ -1941,6 +2262,14 @@ namespace ApiPolo.Controllers suff_rapp = suffClienti.VT; primo_seriale = suff_rapp + "000000000"; break; + case Clienti.LW: + suff_rapp = suffClienti.LW; + primo_seriale = suff_rapp + "000000000"; + break; + case Clienti.Tedesco: + suff_rapp = suffClienti.Tedes; + primo_seriale = suff_rapp + "000000000"; + break; } @@ -2032,6 +2361,12 @@ namespace ApiPolo.Controllers case Clienti.VT: new_serial = suffClienti.VT + new_serial; break; + case Clienti.LW: + new_serial = suffClienti.LW + new_serial; + break; + case Clienti.Tedesco: + new_serial = suffClienti.Tedes + new_serial; + break; } return new_serial; } @@ -2371,6 +2706,12 @@ namespace ApiPolo.Controllers /// VT app public const string VT = "VIRTU"; + /// Lift-web + public const string LW = "DEMO"; + + /// Tedesco Impianti + public const string Tedesco = "TEDES"; + } /// public static class suffClienti @@ -2407,6 +2748,12 @@ namespace ApiPolo.Controllers /// Virtual task public const string VT = "V"; + + /// Lift web + public const string LW = "L"; + + /// Tedesco impianti + public const string Tedes = "T"; } /// trasforma un Saldiart in un Mag_New @@ -2535,6 +2882,35 @@ namespace ApiPolo.Controllers return formatst; } + /// formatta l'indirizzo della lista chiamate TEDESCO + public static string formattaItemChiamateTedesco(Chiamate i) + { + string formatst = string.Empty; + StringBuilder sb = new StringBuilder(); + sb.Append(!string.IsNullOrEmpty(i.imindiri1) ? i.imindiri1.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri2) ? i.imindiri2.Trim() + " " : string.Empty); + sb.Append(i.imindiri3 != null ? i.imindiri3.ToString() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri4) ? i.imindiri4.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri5) ? i.imindiri5.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imcodcap) ? " " + i.imcodcap.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imlocali) ? " " + i.imlocali.Trim() + " " : string.Empty); + + if (!string.IsNullOrEmpty(i.chcodimp)) + { + sb.Append("
"); + sb.Append("Impianto : " + i.chcodimp.Trim()); + } + + if (!string.IsNullOrEmpty(i.imdescri)) + { + sb.Append("
"); + sb.Append("N.pratica : " + i.imdescri.Trim()); + } + formatst = sb.ToString(); + + return formatst; + } + /// formatta il riferimento impainto (html) public static string formattaRiferimentoImpiantoMarrocco(Chiamate i) @@ -2915,7 +3291,7 @@ namespace ApiPolo.Controllers } } - // token salvataggio + /// token salvataggio [HttpPost] [Route("token/add")] public async Task> addToken(string tokenDevice, string token) @@ -2987,7 +3363,7 @@ namespace ApiPolo.Controllers } [HttpPost] - // token salvataggio + /// token salvataggio [Route("token/sendMessage")] public async Task> sendMessage(string tokenDevice,string _title, string _body) { @@ -3077,6 +3453,7 @@ namespace ApiPolo.Controllers [HttpGet("magazzini")] public async Task>> magazzini(string token) { + List < Magazzini > lst= new List(); string ten = getClaimValueByToken(token, "tenant"); if(ten.Equals(Clienti.VT)) @@ -3156,16 +3533,18 @@ namespace ApiPolo.Controllers o.Tccodice = tecnico.First().tccodice; Conf cc = new Conf(); - if(model.Tenant.Equals(Clienti.VT)) - { - string ten2 = tecnico.First().tccodazi; - _confLette = await readConf(ten2); - } - else - { - _confLette = await readConf(model.Tenant); - } - + //if(model.Tenant.Equals(Clienti.VT)) + //{ + // string ten2 = tecnico.First().tccodazi; + // _confLette = await readConf(ten2); + //} + //else + //{ + // _confLette = await readConf(model.Tenant); + //} + + //le configurazioni per VT vanno lette con il tenant generico VIRTU + _confLette = await readConf(model.Tenant); cc.abilita_naviga = _confLette.abilita_naviga; cc.abilita_telefona = _confLette.abilita_telefona; @@ -3678,9 +4057,29 @@ namespace ApiPolo.Controllers #region Discovery chiamataIndStampa = formattaIndirizzoStampaDiscovery(i); #endregion + break; + case Clienti.Siet: + //ragione sociale cliente + sb.Append("SPETT.LE :"); + sb.Append(!string.IsNullOrEmpty(i.andescri) ? i.andescri + " " : string.Empty); + sb.Append("
"); + //indirizzo + sb.Append(!string.IsNullOrEmpty(i.imindiri1) ? i.imindiri1.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri2) ? i.imindiri2.Trim() + " " : string.Empty); + sb.Append(i.imindiri3 != null ? i.imindiri3.ToString() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri4) ? i.imindiri4.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(i.imindiri5) ? i.imindiri5.Trim() : string.Empty); + chiamataIndStampa = sb.ToString(); + break; default: sb.Append("SPETT.LE :"); + if(!string.IsNullOrEmpty(i.andescri)) + { + sb.Append(!string.IsNullOrEmpty(i.andescri) ? i.andescri + " " : string.Empty); + sb.Append("
"); + } + sb.Append(!string.IsNullOrEmpty(i.imindiri1) ? i.imindiri1.Trim() + " " : string.Empty); sb.Append(!string.IsNullOrEmpty(i.imindiri2) ? i.imindiri2.Trim() + " " : string.Empty ); sb.Append(i.imindiri3 != null ? i.imindiri3.ToString() + " " : string.Empty); @@ -3710,6 +4109,11 @@ namespace ApiPolo.Controllers chiamataItemList = formattaItemChiamateMarrocco(i); #endregion break; + case Clienti.Tedesco: + #region Tedesco + chiamataItemList = formattaItemChiamateTedesco(i); + #endregion + break; default: #region default @@ -3761,7 +4165,26 @@ namespace ApiPolo.Controllers rif_impianto = formattaRiferimentoImpiantoFerrari(i); #endregion break; + case Clienti.Siet: + #region SIET + sb.AppendLine("N. Impianto: " + i.chcodimp); + if (!string.IsNullOrEmpty(i.imubicaz)) + { + sb.AppendLine("Ubicazione: " + i.imubicaz); + } + if (!string.IsNullOrEmpty(i.chrifer)) + { + string comm = getCommessaSietBySerial(i.chrifer); + if(!string.IsNullOrEmpty(comm)) + { + sb.AppendLine("Commessa: " + comm); + } + + } + rif_impianto = sb.ToString(); + #endregion + break; default: sb.AppendLine("N. Impianto: "+i.chcodimp ); if(!string.IsNullOrEmpty(i.imubicaz)) @@ -4105,6 +4528,22 @@ namespace ApiPolo.Controllers return o; } + private string getCommessaSietBySerial(string seriale) + { + string commessa = string.Empty; + _commDesc = _Siet_commDesc.Commdesc; + var c= _commDesc.Where(c => c.laserial.Equals(seriale)).First(); + if(c!=null && !string.IsNullOrEmpty(c.lacodcom)) + { + commessa = c.lacodcom.Trim(); + if(!string.IsNullOrEmpty(c.lacodcen)) + { + commessa = commessa + " - " + c.lacodcen.Trim(); + } + } + return commessa; + } + /// Codici di chiusura per scheda intevento return:ActionResult [HttpGet("codici_chiusura")] public async Task>> codiciChiusura(string token) @@ -4126,6 +4565,55 @@ namespace ApiPolo.Controllers } var l = await _chiusure.Where(c => c.cccodazi.Equals(ten)).ToListAsync(); + //per DISCOVERY devo riempire anche gli abbinamenti con il tipo manutenzione + switch (ten) + { + case Clienti.Discovery: + + _ccci = _Disco_ccci.ccci; + foreach (Chiusure t in l) + { + t.tipologieMan = new List(); + string cod = t.cccodice; + //logica per cercare nella tabella degli abbinamenti + var appo= await _ccci.Where(c => c.picodazi!=null && c.picodazi.Equals(ten) && c.picodchi != null && c.picodchi.Equals(cod)).ToListAsync(); + foreach (CC_CI c in appo) + { + t.tipologieMan.Add(c.picodint); + } + + + //ANN + //BIMESTRALE + //MENSILE + //QUADRIMEST + //SEMESTRALE + //TR + //VERSEM + //if (cod!=null && cod.Trim().Equals("012")) + //{ + // t.tipologieMan.Add("SEMESTRALE"); + // t.tipologieMan.Add("ANN "); + // t.tipologieMan.Add("BIMESTRALE"); + // t.tipologieMan.Add("MENSILE "); + // t.tipologieMan.Add("QUADRIMEST"); + // t.tipologieMan.Add("TR "); + // t.tipologieMan.Add("VERSEM "); + //} + //else + //{ + // t.tipologieMan.Add("SEMESTRALE"); + //} + + } + + break; + default: + + break; + } + + return StatusCode(StatusCodes.Status200OK, l); } catch (Exception ex) @@ -4316,6 +4804,22 @@ namespace ApiPolo.Controllers transactionVT.Commit(); } break; + case Clienti.LW: + using (var transactionLW = _LW_rapp.Database.BeginTransaction()) + { + await _LW_rapp.Rapps.AddAsync(r); + await _LW_rapp.SaveChangesAsync(); + transactionLW.Commit(); + } + break; + case Clienti.Tedesco: + using (var transactionTedes = _Tedes_rapp.Database.BeginTransaction()) + { + await _Tedes_rapp.Rapps.AddAsync(r); + await _Tedes_rapp.SaveChangesAsync(); + transactionTedes.Commit(); + } + break; default: break; } @@ -4446,6 +4950,22 @@ namespace ApiPolo.Controllers transactionVT.Commit(); } break; + case Clienti.LW: + using (var transactionLW = _LW_rapp.Database.BeginTransaction()) + { + await _LW_rapp.Rapps.AddAsync(r); + await _LW_rapp.SaveChangesAsync(); + transactionLW.Commit(); + } + break; + case Clienti.Tedesco: + using (var transactionTedes = _Tedes_rapp.Database.BeginTransaction()) + { + await _Tedes_rapp.Rapps.AddAsync(r); + await _Tedes_rapp.SaveChangesAsync(); + transactionTedes.Commit(); + } + break; default: break; } @@ -4729,6 +5249,91 @@ namespace ApiPolo.Controllers transactionVT.Commit(); } break; + case Clienti.LW: + + using (var transaction = _LW_rapp.Database.BeginTransaction()) + { + await _LW_rapp.Rapps.AddAsync(r); + await _LW_rapp.SaveChangesAsync(); + transaction.Commit(); + } + riga = 0; + if (model.compo_add != null && model.compo_add.Count() > 0) + { + using (var transaction2 = _LW_mag.Database.BeginTransaction()) + { + foreach (Saldiart co in model.compo_add) + { + riga = riga + 1; + Mag_New mn = new Mag_New(); + mn = saldiartToMag_New(co, riga, newSerial, tecnico); + + await _LW_mag.Mag.AddAsync(mn); + await _LW_mag.SaveChangesAsync(); + } + transaction2.Commit(); + } + } + if (model.compo_del != null && model.compo_del.Count() > 0) + { + using (var transaction3 = _LW_mag.Database.BeginTransaction()) + { + foreach (Compo_Impia co in model.compo_del) + { + Mag_New mn = new Mag_New(); + riga = riga + 1; + mn = compo_ImpiaToMag_New(co, riga, newSerial, tecnico); + + await _LW_mag.Mag.AddAsync(mn); + await _LW_mag.SaveChangesAsync(); + } + transaction3.Commit(); + } + } + break; + case Clienti.Tedesco: + + using (var transaction = _Tedes_rapp.Database.BeginTransaction()) + { + await _Tedes_rapp.Rapps.AddAsync(r); + await _Tedes_rapp.SaveChangesAsync(); + transaction.Commit(); + } + riga = 0; + if (model.compo_add != null && model.compo_add.Count() > 0) + { + using (var transaction2 = _Tedes_mag.Database.BeginTransaction()) + { + foreach (Saldiart co in model.compo_add) + { + riga = riga + 1; + Mag_New mn = new Mag_New(); + mn = saldiartToMag_New(co, riga, newSerial, tecnico); + + await _Tedes_mag.Mag.AddAsync(mn); + await _Tedes_mag.SaveChangesAsync(); + } + transaction2.Commit(); + } + } + if (model.compo_del != null && model.compo_del.Count() > 0) + { + using (var transaction3 = _Tedes_mag.Database.BeginTransaction()) + { + foreach (Compo_Impia co in model.compo_del) + { + Mag_New mn = new Mag_New(); + riga = riga + 1; + mn = compo_ImpiaToMag_New(co, riga, newSerial, tecnico); + + await _Tedes_mag.Mag.AddAsync(mn); + await _Tedes_mag.SaveChangesAsync(); + } + transaction3.Commit(); + } + } + break; + default: break; } @@ -4864,6 +5469,24 @@ namespace ApiPolo.Controllers transactionVT.Commit(); } break; + case Clienti.LW: + + using (var transaction = _LW_rapp.Database.BeginTransaction()) + { + _LW_rapp.Rapps.Remove(r); + await _LW_rapp.SaveChangesAsync(); + transaction.Commit(); + } + break; + case Clienti.Tedesco : + + using (var transaction = _Tedes_rapp.Database.BeginTransaction()) + { + _Tedes_rapp.Rapps.Remove(r); + await _Tedes_rapp.SaveChangesAsync(); + transaction.Commit(); + } + break; default: break; } @@ -5194,6 +5817,43 @@ namespace ApiPolo.Controllers #endregion break; + case Clienti.Tedesco: + #region Tedesco lista man + sb.Append(!string.IsNullOrEmpty(m.imindiri1) ? m.imindiri1.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imindiri2) ? m.imindiri2.Trim() + " " : string.Empty); + sb.Append(m.imindiri3 != null ? m.imindiri3.ToString() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imindiri4) ? m.imindiri4.Trim() + " " : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imindiri5) ? m.imindiri5.Trim() : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imcodcap) ? " " + m.imcodcap.Trim() : string.Empty); + sb.Append(!string.IsNullOrEmpty(m.imlocali) ? " " + m.imlocali.Trim() : string.Empty); + + if (!string.IsNullOrEmpty(m.ctcodimp)) + { + sb.Append("
"); + sb.Append("Impianto : " + m.ctcodimp.Trim()); + } + if (!string.IsNullOrEmpty(m.imubicaz)) + { + sb.Append("
"); + sb.Append("Ubicazione : " + m.imubicaz.Trim()); + } + if (!string.IsNullOrEmpty(m.immatric)) + { + sb.Append("
"); + sb.Append("Matricola : " + m.immatric.Trim()); + } + if (!string.IsNullOrEmpty(m.ctcodimp)) + { + sb.Append("
"); + //var sBuono = await getSerBuonoManutenzione(ten, co.prefisso_buoni_man); + var a = getDescrImpTedesco(m.ctcodimp, tenant); + string appo = a.Result; + sb.Append("N.pratica : " + appo); + } + itemList = sb.ToString(); + #endregion + break; + default: sb.Append(!string.IsNullOrEmpty(m.imindiri1) ? m.imindiri1.Trim() + " " : string.Empty); sb.Append(!string.IsNullOrEmpty(m.imindiri2) ? m.imindiri2.Trim() + " " : string.Empty); @@ -5555,6 +6215,21 @@ namespace ApiPolo.Controllers return o; } + private async Task getDescrImpTedesco(string codimp, string ten) + { + string descImp = string.Empty; + _impianto = _Tedes_impianti.Impia; + var l = await _impianto.Where(t => t.imcodazi != null && t.imcodazi.Equals(ten) && t.imcodimp != null && t.imcodimp.Equals(codimp)).ToListAsync(); + if (l != null && l.Count()>0 ) + { + foreach(Impianto i in l) + { + descImp = i.imdescri; + } + } + return descImp; + } + /// Manutenzioni per tecnico e azienda (tenant). Intervallo: 1 mese prima e 1 mese dopo rispetto a GETDATE() con GENERATO diverso da S return:ActionResult [HttpGet("manutenzioni")] public async Task>> manutenzioni(string token) @@ -5706,6 +6381,22 @@ namespace ApiPolo.Controllers transactionPMS.Commit(); } break; + case Clienti.LW: + using (var transactionLW = _LW_prese.Database.BeginTransaction()) + { + await _LW_prese.Prese.AddAsync(r); + await _LW_prese.SaveChangesAsync(); + transactionLW.Commit(); + } + break; + case Clienti.Tedesco: + using (var transactionTedes = _Tedes_prese.Database.BeginTransaction()) + { + await _Tedes_prese.Prese.AddAsync(r); + await _Tedes_prese.SaveChangesAsync(); + transactionTedes.Commit(); + } + break; default: break; } @@ -5946,6 +6637,99 @@ namespace ApiPolo.Controllers break; + case Clienti.LW: + using (var transactionLW = _LW_rapp.Database.BeginTransaction()) + { + await _LW_rapp.Rapps.AddAsync(r); + await _LW_rapp.SaveChangesAsync(); + transactionLW.Commit(); + } + int rigalw = 0; + if (model.compo_add != null && model.compo_add.Count() > 0) + { + + using (var transaction2 = _LW_mag.Database.BeginTransaction()) + { + + foreach (Saldiart co in model.compo_add) + { + rigalw = rigalw + 1; + Mag_New mn = new Mag_New(); + mn = saldiartToMag_New(co, rigalw, newSerial, tecnico); + + await _LW_mag.Mag.AddAsync(mn); + await _LW_mag.SaveChangesAsync(); + + } + transaction2.Commit(); + } + } + if (model.compo_del != null && model.compo_del.Count() > 0) + { + using (var transaction3 = _LW_mag.Database.BeginTransaction()) + { + foreach (Compo_Impia co in model.compo_del) + { + Mag_New mn = new Mag_New(); + rigalw = rigalw + 1; + mn = compo_ImpiaToMag_New(co, rigalw, newSerial, tecnico); + + await _LW_mag.Mag.AddAsync(mn); + await _LW_mag.SaveChangesAsync(); + } + transaction3.Commit(); + } + } + + break; + + case Clienti.Tedesco: + using (var transactionTedes = _Tedes_rapp.Database.BeginTransaction()) + { + await _Tedes_rapp.Rapps.AddAsync(r); + await _Tedes_rapp.SaveChangesAsync(); + transactionTedes.Commit(); + } + int rigatedes = 0; + if (model.compo_add != null && model.compo_add.Count() > 0) + { + + using (var transaction2 = _Tedes_mag.Database.BeginTransaction()) + { + + foreach (Saldiart co in model.compo_add) + { + rigatedes = rigatedes + 1; + Mag_New mn = new Mag_New(); + mn = saldiartToMag_New(co, rigatedes, newSerial, tecnico); + + await _Tedes_mag.Mag.AddAsync(mn); + await _Tedes_mag.SaveChangesAsync(); + + } + transaction2.Commit(); + } + } + if (model.compo_del != null && model.compo_del.Count() > 0) + { + using (var transaction3 = _Tedes_mag.Database.BeginTransaction()) + { + foreach (Compo_Impia co in model.compo_del) + { + Mag_New mn = new Mag_New(); + rigatedes = rigatedes + 1; + mn = compo_ImpiaToMag_New(co, rigatedes, newSerial, tecnico); + + await _Tedes_mag.Mag.AddAsync(mn); + await _Tedes_mag.SaveChangesAsync(); + } + transaction3.Commit(); + } + } + + break; + + default: break; } @@ -6066,6 +6850,22 @@ namespace ApiPolo.Controllers transactionPms.Commit(); } break; + case Clienti.LW: + using (var transactionLW = _LW_prese.Database.BeginTransaction()) + { + _LW_prese.Prese.Remove(pre); + await _LW_prese.SaveChangesAsync(); + transactionLW.Commit(); + } + break; + case Clienti.Tedesco: + using (var transactionTedes = _Tedes_prese.Database.BeginTransaction()) + { + _Tedes_prese.Prese.Remove(pre); + await _Tedes_prese.SaveChangesAsync(); + transactionTedes.Commit(); + } + break; default: break; } @@ -6285,6 +7085,12 @@ namespace ApiPolo.Controllers FtpSend(url, usr, pwd, files); break; case Clienti.PMS: + //url = _confLette.ftp_url + fileName; + //usr = _confLette.ftp_usr != null ? _confLette.ftp_usr : string.Empty; + //pwd = _confLette.ftp_pwd != null ? _confLette.ftp_pwd : string.Empty; + //port = _confLette.ftp_port != null ? _confLette.ftp_port : 0; + //ip = _confLette.ftp_url != null ? _confLette.ftp_url : string.Empty; + //FileUploadSFTP(files, ip, usr, pwd, port, fileName); url = _confLette.ftp_url + fileName; usr = _confLette.ftp_usr != null ? _confLette.ftp_usr : string.Empty; pwd = _confLette.ftp_pwd != null ? _confLette.ftp_pwd : string.Empty; @@ -6293,12 +7099,23 @@ namespace ApiPolo.Controllers case Clienti.VT: // per VT faccio solo il salvataggio in tabella - - //url = _confLette.ftp_url + fileName; - //usr = _confLette.ftp_usr != null ? _confLette.ftp_usr : string.Empty; - //pwd = _confLette.ftp_pwd != null ? _confLette.ftp_pwd : string.Empty; - //FtpSend(url, usr, pwd, files); + + //2024-04-08: CONTRORDINE: devo salvare il file perchè il file deve essere depositato nella directory + //dove risiedono le API per poter essere esposto con un url pubblico in modo da poter essere utilizzato dall'app + + + break; + case Clienti.LW: + + //DA VEDERE + break; + case Clienti.Tedesco: + + url = _confLette.ftp_url + fileName; + usr = _confLette.ftp_usr != null ? _confLette.ftp_usr : string.Empty; + pwd = _confLette.ftp_pwd != null ? _confLette.ftp_pwd : string.Empty; + FtpSend(url, usr, pwd, files); break; default: break; @@ -6341,7 +7158,7 @@ namespace ApiPolo.Controllers catch (Exception ex) { //return Json(new { Name = ex.Message, ID = 1, Filename= fileName }); ; - return StatusCode(StatusCodes.Status500InternalServerError, ex.Message); + return StatusCode(StatusCodes.Status500InternalServerError, "Error: "+ex.InnerException); } } @@ -6455,6 +7272,22 @@ namespace ApiPolo.Controllers transactionPms.Commit(); } break; + case Clienti.LW: + using (var transactionlw = _LW_compTable.Database.BeginTransaction()) + { + await _LW_compTable.Componen.AddAsync(co); + await _LW_compTable.SaveChangesAsync(); + transactionlw.Commit(); + } + break; + case Clienti.Tedesco: + using (var transactionTedes = _Tedes_compTable.Database.BeginTransaction()) + { + await _Tedes_compTable.Componen.AddAsync(co); + await _Tedes_compTable.SaveChangesAsync(); + transactionTedes.Commit(); + } + break; default: break; } @@ -6517,6 +7350,22 @@ namespace ApiPolo.Controllers transactionPMS.Commit(); } break; + case Clienti.LW: + using (var transactionlw = _LW_compTable.Database.BeginTransaction()) + { + _LW_compTable.Entry(t).State = EntityState.Deleted; + await _LW_compTable.SaveChangesAsync(); + transactionlw.Commit(); + } + break; + case Clienti.Tedesco: + using (var transactionTedes = _Tedes_compTable.Database.BeginTransaction()) + { + _Tedes_compTable.Entry(t).State = EntityState.Deleted; + await _Tedes_compTable.SaveChangesAsync(); + transactionTedes.Commit(); + } + break; default: break; } @@ -6570,13 +7419,7 @@ namespace ApiPolo.Controllers { codlis = string.IsNullOrEmpty(a.First().annumlis) ? conf.listino : a.First().annumlis; } - var co = await _saldi.Where(t => t.slcodmag != null && t.slcodmag.Equals(maga) && t.licodlis != null && t.licodlis.Equals(codlis)).ToListAsync(); - //var co = await _saldi.Where(t => t.licodlis != null && t.licodlis.Equals(codlis)).ToListAsync(); - //if (!string.IsNullOrEmpty(maga)) - //{ - // co = co.Where(t => t.slcodmag != null && t.slcodmag.Equals(maga)).ToList(); - //} - + var co = await _saldi.Where(t => t.slcodmag != null && t.slcodmag.Equals(maga) && t.licodlis != null && t.licodlis.Equals(codlis)).ToListAsync(); if (!string.IsNullOrEmpty(art)) { @@ -6588,17 +7431,37 @@ namespace ApiPolo.Controllers } if (!string.IsNullOrEmpty(matric)) { - var codart = co.Where(m => m.amcodice != null && m.amcodice.ToUpper().Contains(matric.ToUpper())).ToList(); - if (codart != null && codart.Count() > 0) + //List lista = new List(); + //var codart = co.Where(m => m.amcodice != null && m.amcodice.ToUpper().Contains(matric.ToUpper())).ToList(); + //var query = co.Where(p => codart.Any(kw => p..StartsWith(kw))); + //if (codart != null && codart.Count() > 0) + //{ + // foreach(Saldiart sa in codart) + // { + // string artTrovato = sa.slcodice; + // co= co.Where(t => t.slcodice != null && t.slcodice.ToUpper().Contains(artTrovato.ToUpper()) + // && t.amcodice.ToUpper().Contains(matric.ToUpper())).ToList(); + // } + //} + //else + //{ + // // devo svuotare l'elenco articoli + // co = co.Take(0).ToList(); + //} + co = co.Where(t => t.amcodice != null && t.amcodice.ToUpper().Contains(matric.ToUpper())).ToList(); + + } + //2024-02-19: se l'articolo è gestito a matricole, la query restituisce tutte le righe splittate, + //in questo caso forzo la quantità a 1 + if (co != null && co.Count() > 0) + { + foreach (Saldiart s in co) { - string artTrovato = codart.First().slcodice; - co = co.Where(t => t.slcodice != null && t.slcodice.ToUpper().Contains(artTrovato.ToUpper()) - && t.amcodice.ToUpper().Contains(matric.ToUpper())).ToList(); - } - else - { - // devo svuotare l'elenco articoli - co = co.Take(0).ToList(); + if (s.gest_matr!=null && s.gest_matr.Equals("S")) + { + s.slqtaper = 1; + } + } } co = co.Take(max_record).ToList(); @@ -6708,6 +7571,22 @@ namespace ApiPolo.Controllers transactionPMS.Commit(); } break; + case Clienti.LW: + using (var transactionlw = _LW_mag.Database.BeginTransaction()) + { + await _LW_mag.Mag.AddAsync(co); + await _LW_mag.SaveChangesAsync(); + transactionlw.Commit(); + } + break; + case Clienti.Tedesco: + using (var transactionTedes = _Tedes_mag.Database.BeginTransaction()) + { + await _Tedes_mag.Mag.AddAsync(co); + await _Tedes_mag.SaveChangesAsync(); + transactionTedes.Commit(); + } + break; default: break; } @@ -9146,6 +10025,81 @@ namespace ApiPolo.Controllers #endregion break; default: + string appo = string.Empty; + if (!string.IsNullOrEmpty(i.codice_chiusura_1) && !i.codice_chiusura_1.Trim().Equals(string.Empty)) + { + appo = string.Empty; + appo = !string.IsNullOrEmpty(i.cc1) ? " - " + i.cc1 : string.Empty; + dic.Add("Cod. Chiusura 1", i.codice_chiusura_1.Trim()+appo); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_2) && !i.codice_chiusura_2.Trim().Equals(string.Empty)) + { + appo = string.Empty; + appo = !string.IsNullOrEmpty(i.cc2) ? " - " + i.cc2 : string.Empty; + dic.Add("Cod. Chiusura 2", i.codice_chiusura_2.Trim() + appo); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_3) && !i.codice_chiusura_3.Trim().Equals(string.Empty)) + { + appo = string.Empty; + appo = !string.IsNullOrEmpty(i.cc3) ? " - " + i.cc3 : string.Empty; + dic.Add("Cod. Chiusura 3", i.codice_chiusura_3.Trim() + appo); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_4) && !i.codice_chiusura_4.Trim().Equals(string.Empty)) + { + appo = string.Empty; + appo = !string.IsNullOrEmpty(i.cc4) ? " - " + i.cc4 : string.Empty; + dic.Add("Cod. Chiusura 4", i.codice_chiusura_4.Trim() + appo); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_5) && !i.codice_chiusura_5.Trim().Equals(string.Empty)) + { + appo = string.Empty; + appo = !string.IsNullOrEmpty(i.cc5) ? " - " + i.cc5 : string.Empty; + dic.Add("Cod. Chiusura 5", i.codice_chiusura_5.Trim() + appo); + } + + + if (!string.IsNullOrEmpty(i.codice_chiusura_6) && !i.codice_chiusura_6.Trim().Equals(string.Empty)) + { + appo = string.Empty; + appo = !string.IsNullOrEmpty(i.cc6) ? " - " + i.cc6 : string.Empty; + dic.Add("Cod. Chiusura 6", i.codice_chiusura_6.Trim() + appo); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_7) && !i.codice_chiusura_7.Trim().Equals(string.Empty)) + { + appo = string.Empty; + appo = !string.IsNullOrEmpty(i.cc7) ? " - " + i.cc7 : string.Empty; + dic.Add("Cod. Chiusura 7", i.codice_chiusura_7.Trim() + appo); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_8) && !i.codice_chiusura_8.Trim().Equals(string.Empty)) + { + appo = string.Empty; + appo = !string.IsNullOrEmpty(i.cc8) ? " - " + i.cc8 : string.Empty; + dic.Add("Cod. Chiusura 8", i.codice_chiusura_8.Trim() + appo); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_9) && !i.codice_chiusura_9.Trim().Equals(string.Empty)) + { + appo = string.Empty; + appo = !string.IsNullOrEmpty(i.cc9) ? " - " + i.cc9 : string.Empty; + dic.Add("Cod. Chiusura 9", i.codice_chiusura_9.Trim() + appo); + } + if (!string.IsNullOrEmpty(i.codice_chiusura_10) && !i.codice_chiusura_10.Trim().Equals(string.Empty)) + { + appo = string.Empty; + appo = !string.IsNullOrEmpty(i.cc10) ? " - " + i.cc10 : string.Empty; + dic.Add("Cod. Chiusura 10", i.codice_chiusura_10.Trim() + appo); + } + if (!string.IsNullOrEmpty(i.descrizione_intervento) && !i.descrizione_intervento.Trim().Equals(string.Empty)) + { + dic.Add("Descrizione intervento", i.descrizione_intervento.Trim()); + } + if (!string.IsNullOrEmpty(i.note_intervento) && !i.note_intervento.Trim().Equals(string.Empty)) + { + dic.Add("Note intervento", i.note_intervento.Trim()); + } + if (!string.IsNullOrEmpty(i.esito_intervento) && !i.esito_intervento.Trim().Equals(string.Empty)) + { + dic.Add("Esito intervento", i.esito_intervento.Trim()); + } break; } @@ -9201,7 +10155,17 @@ namespace ApiPolo.Controllers else { string ten = getClaimValueByToken(token, "tenant"); - _impianto = getImpiantiByTenant(ten); + string ten2 = getClaimValueByToken(token, "tenant2"); + if(ten.Equals(Clienti.VT)) + { + ten = ten2; + _impianto = _VT_impia.Impia; + } + else + { + _impianto = getImpiantiByTenant(ten); + } + var l = await _impianto.Where(t => t.imcodazi != null && t.imcodazi.Equals(ten)).ToListAsync(); if (!string.IsNullOrEmpty(codimp)) { @@ -9239,11 +10203,21 @@ namespace ApiPolo.Controllers try { string ten = getClaimValueByToken(token, "tenant"); + string ten2 = getClaimValueByToken(token, "tenant2"); string tecnico = getClaimValueByToken(token, "tccodice"); - _sto_rapp = getSto_RappByTenant(ten); - //var l = await _sto_rapp.Where(t => t.azienda_impianto != null && t.azienda_impianto.Equals(ten) && t.codice_impianto != null && t.codice_impianto.Equals(codimp)).ToListAsync(); + if(ten.Equals(Clienti.VT)) + { + _sto_rapp = _VT_StoRapp.StoRapp; + ten = ten2; + } + else + { + _sto_rapp = getSto_RappByTenant(ten); + } var l = await _sto_rapp.Where(t => t.azienda_impianto != null && t.azienda_impianto.Equals(ten)).ToListAsync(); - if(!string.IsNullOrEmpty(codimp)) + //var l = await _sto_rapp.Where(t => t.azienda_impianto != null && t.azienda_impianto.Equals(ten) && t.codice_impianto != null && t.codice_impianto.Equals(codimp)).ToListAsync(); + + if (!string.IsNullOrEmpty(codimp)) { l = l.Where(t => t.codice_impianto != null && t.codice_impianto.Trim().Equals(codimp.Trim())).ToList(); } @@ -9514,6 +10488,22 @@ namespace ApiPolo.Controllers transactionPMS.Commit(); } break; + case Clienti.LW: + using (var transactionlw = _LW_timbr.Database.BeginTransaction()) + { + await _LW_timbr.Timbr.AddAsync(t); + await _LW_timbr.SaveChangesAsync(); + transactionlw.Commit(); + } + break; + case Clienti.Tedesco: + using (var transactionTedes = _Tedes_timbr.Database.BeginTransaction()) + { + await _Tedes_timbr.Timbr.AddAsync(t); + await _Tedes_timbr.SaveChangesAsync(); + transactionTedes.Commit(); + } + break; default: break; } @@ -9743,18 +10733,18 @@ namespace ApiPolo.Controllers #region ricerca commessa try { - if (string.IsNullOrEmpty(codimp) && string.IsNullOrEmpty(indirizzo_imp) && string.IsNullOrEmpty(cli) && string.IsNullOrEmpty(comm)) - { + //if (string.IsNullOrEmpty(codimp) && string.IsNullOrEmpty(indirizzo_imp) && string.IsNullOrEmpty(cli) && string.IsNullOrEmpty(comm)) + //{ - uscita.err_title = "Errore in ricerca Commesse/Impianto."; - uscita.err_detail = "Immettere almeno un parametro di ricerca."; - uscita.err_status_code = StatiRisposta.OperazioneNonAmmessa; - //return StatusCode(StatusCodes.Status400BadRequest, uscita); - st = StatusCodes.Status400BadRequest; - lis.Add(uscita); - } - else - { + // uscita.err_title = "Errore in ricerca Commesse/Impianto."; + // uscita.err_detail = "Immettere almeno un parametro di ricerca."; + // uscita.err_status_code = StatiRisposta.OperazioneNonAmmessa; + // //return StatusCode(StatusCodes.Status400BadRequest, uscita); + // st = StatusCodes.Status400BadRequest; + // lis.Add(uscita); + //} + //else + //{ string ten = getClaimValueByToken(token, "tenant"); if (ten.Equals(Clienti.VT)) { @@ -9819,7 +10809,7 @@ namespace ApiPolo.Controllers lis.Add(o); } st = StatusCodes.Status200OK; - } + //} //return StatusCode(StatusCodes.Status200OK, lis); @@ -9842,19 +10832,42 @@ namespace ApiPolo.Controllers #region ricerca Impianto try { - if (string.IsNullOrEmpty(codimp) && string.IsNullOrEmpty(indirizzo_imp)) + //if (string.IsNullOrEmpty(codimp) && string.IsNullOrEmpty(indirizzo_imp)) + //{ + + // uscita.err_title = "Errore in ricerca_commessa_impianto."; + // uscita.err_detail = "Immettere almeno un parametro di ricerca."; + // uscita.err_status_code = StatiRisposta.OperazioneNonAmmessa; + // //return StatusCode(StatusCodes.Status400BadRequest, uscita); + // st = StatusCodes.Status400BadRequest; + // lis.Add(uscita); + //} + //else + //{ + string ten = getClaimValueByToken(token, "tenant"); + if (ten.Equals(Clienti.VT)) { - - uscita.err_title = "Errore in ricerca_commessa_impianto."; - uscita.err_detail = "Immettere almeno un parametro di ricerca."; - uscita.err_status_code = StatiRisposta.OperazioneNonAmmessa; - //return StatusCode(StatusCodes.Status400BadRequest, uscita); - st = StatusCodes.Status400BadRequest; - lis.Add(uscita); + string ten2 = getClaimValueByToken(token, "tenant2"); + var l = await _VT_impia.Impia.Where(t => t.imcodazi != null && t.imcodazi.Equals(ten2)).ToListAsync(); + if (!string.IsNullOrEmpty(codimp)) + { + l = l.Where(t => t.imcodimp != null && t.imcodimp.Contains(codimp)).ToList(); + } + if (!string.IsNullOrEmpty(indirizzo_imp)) + { + l = l.Where(t => t.imindiri2 != null && t.imindiri2.ToUpper().Contains(indirizzo_imp.ToUpper())).ToList(); + } + l = l.Take(300).ToList(); + foreach (Impianto i in l) + { + Output_Ricerca o = new Output_Ricerca(); + o = fillOutputRicercaByImpianto(i); + lis.Add(o); + } + st = StatusCodes.Status200OK; } else { - string ten = getClaimValueByToken(token, "tenant"); _impianto = getImpiantiByTenant(ten); var l = await _impianto.Where(t => t.imcodazi != null && t.imcodazi.Equals(ten)).ToListAsync(); if (!string.IsNullOrEmpty(codimp)) @@ -9873,8 +10886,8 @@ namespace ApiPolo.Controllers lis.Add(o); } st = StatusCodes.Status200OK; - //return StatusCode(StatusCodes.Status200OK, lis); } + //} } catch (Exception ex) { @@ -9974,15 +10987,6 @@ namespace ApiPolo.Controllers break; case Clienti.PMS: - //cpwarnNumChiamata = await leggiCpwarnProg(ten, "prog\\NUMCHI\\", esercizio); - //progChiamata = Convert.ToString(cpwarnNumChiamata.autonum); - //tablecodeProg = cpwarnNumChiamata.tablecode; - //warncodeProg = cpwarnNumChiamata.warncode; - - //cpwarnSeriale = await leggiCpwarnSeriale(ten, "prog\\SERCHI\\"); - //serialeChiamata = Convert.ToString(cpwarnSeriale.autonum); - //tablecodeSer = cpwarnSeriale.tablecode; - //warncodeSer = cpwarnSeriale.warncode; cpwarnNumChiamataDecimal = await leggiCpwarnProgDecimal(ten, "prog\\NUMCHI\\", esercizio); progChiamata = Convert.ToString(cpwarnNumChiamataDecimal.autonum); tablecodeProg = cpwarnNumChiamataDecimal.tablecode; @@ -9995,7 +10999,33 @@ namespace ApiPolo.Controllers warncodeSer = cpwarnSerialeDecimal.warncode; serialeLetto = cpwarnSerialeDecimal.autonum; + break; + case Clienti.LW: + cpwarnNumChiamataDecimal = await leggiCpwarnProgDecimal(ten, "prog\\NUMCHI\\", esercizio); + progChiamata = Convert.ToString(cpwarnNumChiamataDecimal.autonum); + tablecodeProg = cpwarnNumChiamataDecimal.tablecode; + warncodeProg = cpwarnNumChiamataDecimal.warncode; + progressivoLetto = cpwarnNumChiamataDecimal.autonum; + cpwarnSerialeDecimal = await leggiCpwarnSerialeDecimal(ten, "prog\\SERCHI\\"); + serialeChiamata = Convert.ToString(cpwarnSerialeDecimal.autonum); + tablecodeSer = cpwarnSerialeDecimal.tablecode; + warncodeSer = cpwarnSerialeDecimal.warncode; + serialeLetto = cpwarnSerialeDecimal.autonum; + + break; + case Clienti.Tedesco: + cpwarnNumChiamataDecimal = await leggiCpwarnProgDecimal(ten, "prog\\NUMCHI\\", esercizio); + progChiamata = Convert.ToString(cpwarnNumChiamataDecimal.autonum); + tablecodeProg = cpwarnNumChiamataDecimal.tablecode; + warncodeProg = cpwarnNumChiamataDecimal.warncode; + progressivoLetto = cpwarnNumChiamataDecimal.autonum; + + cpwarnSerialeDecimal = await leggiCpwarnSerialeDecimal(ten, "prog\\SERCHI\\"); + serialeChiamata = Convert.ToString(cpwarnSerialeDecimal.autonum); + tablecodeSer = cpwarnSerialeDecimal.tablecode; + warncodeSer = cpwarnSerialeDecimal.warncode; + serialeLetto = cpwarnSerialeDecimal.autonum; break; case Clienti.VT: @@ -10018,22 +11048,15 @@ namespace ApiPolo.Controllers serialeChiamata = Convert.ToString(val); serialeLetto = val; } - } - - break; - - } - //inserisco string serial_comm = string.Empty; switch (ten) { case Clienti.VT: - //string ten2 = getClaimValueByToken(token, "tenant2"); serial_comm = await leggiSerialeByCodCommessaVT(ten2, codice_commessa); tOut.uscita = await inserimentoChiamata2(ten, tecnico, codimp, serialeChiamata, progChiamata, serial_comm,ten2); break; @@ -10042,9 +11065,7 @@ namespace ApiPolo.Controllers tOut.uscita = await inserimentoChiamata2(ten, tecnico, codimp, serialeChiamata, progChiamata, serial_comm,ten); break; } - - - + //aggiornamento seriali e progressivi string serialeUpdate = string.Empty; float numeroUpdate = 0; @@ -10078,15 +11099,22 @@ namespace ApiPolo.Controllers break; case Clienti.PMS: - //serialeUpdate = tOut.uscita.chserial; - //decimal ssPMS = Convert.ToDecimal(serialeUpdate); - //float zzPMS = (float)ssPMS; - //tOut.prog_Out = await aggiornaprogressivo(ten, zzPMS, tablecodeSer, warncodeSer); + serialeUpdate = tOut.uscita.chserial; + serialeLetto = serialeLetto + 1; + tOut.prog_Out = await aggiornaprogressivoDecimal(ten, serialeLetto, tablecodeSer, warncodeSer); - //numeroUpdate = (float)tOut.uscita.chnumero; - //tOut.prog_Out = await aggiornaprogressivo(ten, numeroUpdate, tablecodeProg, warncodeProg); - //aggiornamento tabella con decimal + progressivoLetto = progressivoLetto + 1; + tOut.prog_Out = await aggiornaprogressivoDecimal(ten, progressivoLetto, tablecodeProg, warncodeProg); + break; + case Clienti.LW: + serialeUpdate = tOut.uscita.chserial; + serialeLetto = serialeLetto + 1; + tOut.prog_Out = await aggiornaprogressivoDecimal(ten, serialeLetto, tablecodeSer, warncodeSer); + progressivoLetto = progressivoLetto + 1; + tOut.prog_Out = await aggiornaprogressivoDecimal(ten, progressivoLetto, tablecodeProg, warncodeProg); + break; + case Clienti.Tedesco: serialeUpdate = tOut.uscita.chserial; serialeLetto = serialeLetto + 1; tOut.prog_Out = await aggiornaprogressivoDecimal(ten, serialeLetto, tablecodeSer, warncodeSer); @@ -10444,6 +11472,27 @@ namespace ApiPolo.Controllers tranVT.Commit(); } break; + case Clienti.Tedesco: + t = fillChiamateTableInput(tt.FirstOrDefault(), codimp, tecnico, ten, serLetto, progLetto, codice_commessa); + + using (var tranTedes = _Tedes_chiatable.Database.BeginTransaction()) + { + await _Tedes_chiatable.Chi.AddAsync(t); + await _Tedes_chiatable.SaveChangesAsync(); + tranTedes.Commit(); + } + break; + case Clienti.LW: + t = fillChiamateTableInput(tt.FirstOrDefault(), codimp, tecnico, ten, serLetto, progLetto, codice_commessa); + + using (var tranLW = _LW_chiatable.Database.BeginTransaction()) + { + await _LW_chiatable.Chi.AddAsync(t); + await _LW_chiatable.SaveChangesAsync(); + tranLW.Commit(); + } + break; + default: break; @@ -11823,6 +12872,7 @@ namespace ApiPolo.Controllers string ten2 = getClaimValueByToken(token, "tenant2"); model.piazihoc = ten; model.pirifazi = ten2; + _confLette = await readConf(ten2); try { using (var transaction = _VT_azi.Database.BeginTransaction()) @@ -11832,6 +12882,7 @@ namespace ApiPolo.Controllers transaction.Commit(); } + return StatusCode(StatusCodes.Status200OK, model); } catch (Exception ex) @@ -12173,6 +13224,7 @@ namespace ApiPolo.Controllers { string ten = getClaimValueByToken(token, "tenant"); string ten2 = getClaimValueByToken(token, "tenant2"); + _confLette = await readConf(ten2); //model.latipcli = "C"; //model.lacodazi = ten2; try @@ -12183,6 +13235,8 @@ namespace ApiPolo.Controllers await _VT_DatiAzienda.SaveChangesAsync(); transaction.Commit(); } + //devo fare la copia del logo e metterlo nella cartella del server a partire dal logo scritto in tabella + model = await readImgAndSave(model.azienda, model.tecnico, _confLette.path_buoni); return StatusCode(StatusCodes.Status200OK, model); } @@ -12248,10 +13302,65 @@ namespace ApiPolo.Controllers } } + /// VIRTUAL TASK: cancella una dati azienda return:ActionResult + [HttpPost] + [Route("datiazienda/saveFile")] + public async Task> saveFileDatiAzienda(string azienda, string tecnico, string pathSrv) + { + DatiAzienda model=new DatiAzienda(); + try + { + model = await readImgAndSave(azienda,tecnico,pathSrv); + return StatusCode(StatusCodes.Status200OK, model); + } + catch (Exception ex) + { + string errmsg = ex.InnerException != null ? ex.InnerException.Message : ex.Message; + return StatusCode(StatusCodes.Status500InternalServerError, errmsg); + } + } + + /// VIRTUAL TASK: legge e salva su server return:ActionResult + private async Task readImgAndSave(string azienda, string tecnico, string pathSrv) + { + _VT_DatiAzi = _VT_DatiAzienda.Dati; + var t = await _VT_DatiAzi.Where(t => t.azienda.Equals(azienda) && t.tecnico.Equals(tecnico)).ToListAsync(); + + DatiAzienda model = t.First(); + + string path = string.Empty; + string nomeFile = string.Empty; + nomeFile = getNomeFile(model.url_logo); + + path = pathSrv; + path = path +@"\"+azienda+ @"\" + nomeFile; + SaveByteArrayToFileWithBinaryWriter(model.logo, path); + return model; + } + + /// VIRTUAL TASK: salvataggio su disco + public static void SaveByteArrayToFileWithBinaryWriter(byte[] data, string filePath) + { + using var writer = new BinaryWriter(System.IO.File.OpenWrite(filePath)); + writer.Write(data); + //System.IO.File.WriteAllBytes("Foo.txt", data); + } + + /// VIRTUAL TASK: ricava il nome del file a partire dal path web + public static string getNomeFile(string path) + { + string nome = string.Empty; + string[] words = path.Split('/'); + int l = words.Length; + nome = words[l - 1]; + return nome; + } + + /// VIRTUAL TASK: dati Azienda [HttpGet("rapportiniList")] - public async Task>> rapportiniList(string token) + public async Task>> rapportiniList(string token) { try { diff --git a/ApiPolo/Models/CC_CI.cs b/ApiPolo/Models/CC_CI.cs new file mode 100644 index 0000000..30c22b7 --- /dev/null +++ b/ApiPolo/Models/CC_CI.cs @@ -0,0 +1,20 @@ +using System.ComponentModel.DataAnnotations; + +namespace ApiPolo.Models +{ + /// + public class CC_CI + { + /// codice azienda + [Key] + public string? picodazi { get; set; } + + /// codice di chiusura + [Key] + public string? picodchi { get; set; } + + /// codice intervento + [Key] + public string? picodint { get; set; } + } +} diff --git a/ApiPolo/Models/Chiusure.cs b/ApiPolo/Models/Chiusure.cs index 19f902d..505ef9c 100644 --- a/ApiPolo/Models/Chiusure.cs +++ b/ApiPolo/Models/Chiusure.cs @@ -26,6 +26,10 @@ namespace ApiPolo.Models /// Descrizione supplementare da mettere sul rapportino public string? ccdessup { get; set; } + + /// Contiena la lista di tipologie di manutenzione associate a quel codice + public List? tipologieMan { get; set; } + } } diff --git a/ApiPolo/Models/CommessaDesc.cs b/ApiPolo/Models/CommessaDesc.cs new file mode 100644 index 0000000..719a637 --- /dev/null +++ b/ApiPolo/Models/CommessaDesc.cs @@ -0,0 +1,22 @@ +using System.ComponentModel.DataAnnotations; + +namespace ApiPolo.Models +{ + /// Descrizione commessa per SIET + public class CommessaDesc + { + /// seriale Commessa + [Key] + public string? laserial { get; set; } + + /// tipo lavorazione + [Key] + public string? latiplav { get; set; } + + /// centro di costo - ticket + public string? lacodcen { get; set; } + + /// Codice commessa + public string? lacodcom { get; set; } + } +} diff --git a/ApiPolo/Models/Discovery_dbcontext/DISCO_CC_CI_DbContext.cs b/ApiPolo/Models/Discovery_dbcontext/DISCO_CC_CI_DbContext.cs new file mode 100644 index 0000000..654ae24 --- /dev/null +++ b/ApiPolo/Models/Discovery_dbcontext/DISCO_CC_CI_DbContext.cs @@ -0,0 +1,27 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Discovery_dbcontext +{ + /// + public class DISCO_CC_CI_DbContext : DbContext + { + /// + public DbSet? ccci { get; set; } + + /// + public DISCO_CC_CI_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("PIASSCHIU"); + modelBuilder.Entity().HasKey(table => new + { + table.picodazi, + table.picodint, + table.picodchi + }); + } + } +} diff --git a/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_AZIENDARIF_DbContext.cs b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_AZIENDARIF_DbContext.cs new file mode 100644 index 0000000..b8cbec6 --- /dev/null +++ b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_AZIENDARIF_DbContext.cs @@ -0,0 +1,28 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lift_web_dbcontext +{ + /// + public class LIFT_WEB_AZIENDARIF_DbContext : DbContext + { + /// + public DbSet? Azi { get; set; } + + /// + public LIFT_WEB_AZIENDARIF_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("PIAZIRIF"); + modelBuilder.Entity().HasKey(table => new + { + table.piazihoc, + table.picodtec, + table.pirifazi + }); + } + } +} diff --git a/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_CAUS_RAPPDbContext.cs b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_CAUS_RAPPDbContext.cs new file mode 100644 index 0000000..7c5f987 --- /dev/null +++ b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_CAUS_RAPPDbContext.cs @@ -0,0 +1,22 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lift_web_dbcontext +{ + /// + public class LIFT_WEB_CAUS_RAPPDbContext : DbContext + { + /// + public DbSet? Causali { get; set; } + + /// + public LIFT_WEB_CAUS_RAPPDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CAUS_RAPP"); + } + } +} diff --git a/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_CHIAMATA_PROG_DbContext.cs b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_CHIAMATA_PROG_DbContext.cs new file mode 100644 index 0000000..15f1763 --- /dev/null +++ b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_CHIAMATA_PROG_DbContext.cs @@ -0,0 +1,26 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lift_web_dbcontext +{ + /// + public class LIFT_WEB_CHIAMATA_PROG_DbContext : DbContext + { + /// + public DbSet? Progressivi { get; set; } + + /// + public LIFT_WEB_CHIAMATA_PROG_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("cpwarn"); + modelBuilder.Entity().HasKey(table => new { + table.tablecode, + table.warncode + }); + } + } +} diff --git a/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_CHIAMATEDbContext.cs b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_CHIAMATEDbContext.cs new file mode 100644 index 0000000..1d72253 --- /dev/null +++ b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_CHIAMATEDbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lift_web_dbcontext +{ + /// + public class LIFT_WEB_CHIAMATEDbContext : DbContext + { + /// + public DbSet? Chiamate { get; set; } + + /// + public LIFT_WEB_CHIAMATEDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CHIAMATE"); + } + } +} diff --git a/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_CHIAMATE_TABLE_DbContext.cs b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_CHIAMATE_TABLE_DbContext.cs new file mode 100644 index 0000000..a67ac88 --- /dev/null +++ b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_CHIAMATE_TABLE_DbContext.cs @@ -0,0 +1,27 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lift_web_dbcontext +{ + /// + public class LIFT_WEB_CHIAMATE_TABLE_DbContext : DbContext + { + /// + public DbSet? Chi { get; set; } + + /// + public LIFT_WEB_CHIAMATE_TABLE_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("CHIAMATE"); + modelBuilder.Entity().HasKey(table => new { + table.chcodazi, + table.chserial + }); + } + } +} diff --git a/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_CHIUSUREDbContext.cs b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_CHIUSUREDbContext.cs new file mode 100644 index 0000000..49a4bb8 --- /dev/null +++ b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_CHIUSUREDbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lift_web_dbcontext +{ + /// + public class LIFT_WEB_CHIUSUREDbContext : DbContext + { + /// + public DbSet? Chiusure { get; set; } + + /// + public LIFT_WEB_CHIUSUREDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CHIUSURE"); + } + } +} diff --git a/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_CLIENTIDbContext.cs b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_CLIENTIDbContext.cs new file mode 100644 index 0000000..ec6e4c7 --- /dev/null +++ b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_CLIENTIDbContext.cs @@ -0,0 +1,22 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lift_web_dbcontext +{ + /// + public class LIFT_WEB_CLIENTIDbContext : DbContext + { + /// + public DbSet? Clienti { get; set; } + + /// + public LIFT_WEB_CLIENTIDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CLIENTI"); + } + } +} diff --git a/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_COMMESSEDbContext.cs b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_COMMESSEDbContext.cs new file mode 100644 index 0000000..6dfde25 --- /dev/null +++ b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_COMMESSEDbContext.cs @@ -0,0 +1,23 @@ +using ApiPolo.Models.Sicilia_dbcontext; +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lift_web_dbcontext +{ + /// + public class LIFT_WEB_COMMESSEDbContext : DbContext + { + /// + public DbSet? Commesse { get; set; } + + /// + public LIFT_WEB_COMMESSEDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_COMMESSE"); + } + } +} diff --git a/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_COMPO_IMPIADbContext.cs b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_COMPO_IMPIADbContext.cs new file mode 100644 index 0000000..d13d03c --- /dev/null +++ b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_COMPO_IMPIADbContext.cs @@ -0,0 +1,22 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lift_web_dbcontext +{ + /// + public class LIFT_WEB_COMPO_IMPIADbContext : DbContext + { + /// + public DbSet? Componen { get; set; } + + /// + public LIFT_WEB_COMPO_IMPIADbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_MICOMIMP"); + } + } +} diff --git a/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_COMPO_IMPIA_TABLEDbContext.cs b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_COMPO_IMPIA_TABLEDbContext.cs new file mode 100644 index 0000000..1ce0ecb --- /dev/null +++ b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_COMPO_IMPIA_TABLEDbContext.cs @@ -0,0 +1,28 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lift_web_dbcontext +{ + /// + public class LIFT_WEB_COMPO_IMPIA_TABLEDbContext : DbContext + { + /// + public DbSet? Componen { get; set; } + + /// + public LIFT_WEB_COMPO_IMPIA_TABLEDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("DEMOMICOMIMP"); + modelBuilder.Entity().HasKey(table => new + { + table.cocodimp, + table.cprownum, + table.cocodazi + }); + } + } +} diff --git a/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_CPWARN_DbContext.cs b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_CPWARN_DbContext.cs new file mode 100644 index 0000000..6ae2e5f --- /dev/null +++ b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_CPWARN_DbContext.cs @@ -0,0 +1,26 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lift_web_dbcontext +{ + /// + public class LIFT_WEB_CPWARN_DbContext : DbContext + { + /// + public DbSet? Progressivi { get; set; } + + /// + public LIFT_WEB_CPWARN_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("cpwarn"); + modelBuilder.Entity().HasKey(table => new { + table.tablecode, + table.warncode + }); + } + } +} diff --git a/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_IMPIANTIDbContext.cs b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_IMPIANTIDbContext.cs new file mode 100644 index 0000000..ac0680c --- /dev/null +++ b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_IMPIANTIDbContext.cs @@ -0,0 +1,22 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lift_web_dbcontext +{ + /// + public class LIFT_WEB_IMPIANTIDbContext : DbContext + { + /// + public DbSet? Impia { get; set; } + + /// + public LIFT_WEB_IMPIANTIDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_IMPIANTI"); + } + } +} diff --git a/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_MAGAZZINIDbContext.cs b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_MAGAZZINIDbContext.cs new file mode 100644 index 0000000..946ad12 --- /dev/null +++ b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_MAGAZZINIDbContext.cs @@ -0,0 +1,27 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lift_web_dbcontext +{ + /// + public class LIFT_WEB_MAGAZZINIDbContext : DbContext + { + /// + public DbSet? Magaz { get; set; } + + /// + public LIFT_WEB_MAGAZZINIDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("DEMOMAGAZZIN"); + modelBuilder.Entity().HasKey(table => new + { + table.mgcodmag + }); + } + } +} diff --git a/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_MAG_NEWDbContext.cs b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_MAG_NEWDbContext.cs new file mode 100644 index 0000000..554bf6b --- /dev/null +++ b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_MAG_NEWDbContext.cs @@ -0,0 +1,28 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lift_web_dbcontext +{ + /// + public class LIFT_WEB_MAG_NEWDbContext : DbContext + { + /// + public DbSet? Mag { get; set; } + + /// + public LIFT_WEB_MAG_NEWDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("DEMOMAG_NEW"); + modelBuilder.Entity().HasKey(table => new + { + table.seriale_rapportino, + table.riga + + }); + } + } +} diff --git a/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_MANPROG_TECDbContext.cs b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_MANPROG_TECDbContext.cs new file mode 100644 index 0000000..552c832 --- /dev/null +++ b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_MANPROG_TECDbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lift_web_dbcontext +{ + /// + public class LIFT_WEB_MANPROG_TECDbContext : DbContext + { + /// + public DbSet? Manutenzioni { get; set; } + + /// + public LIFT_WEB_MANPROG_TECDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_MANPROG"); + } + } +} diff --git a/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_PAGAMDbContext.cs b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_PAGAMDbContext.cs new file mode 100644 index 0000000..351d874 --- /dev/null +++ b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_PAGAMDbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lift_web_dbcontext +{ + /// + public class LIFT_WEB_PAGAMDbContext : DbContext + { + /// + public DbSet? Pagamenti { get; set; } + + /// + public LIFT_WEB_PAGAMDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_PAGAMENTI"); + } + } +} diff --git a/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_PRESEDbContext.cs b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_PRESEDbContext.cs new file mode 100644 index 0000000..196a3b6 --- /dev/null +++ b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_PRESEDbContext.cs @@ -0,0 +1,28 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lift_web_dbcontext +{ + /// + public class LIFT_WEB_PRESEDbContext : DbContext + { + /// + public DbSet? Prese { get; set; } + + /// + public LIFT_WEB_PRESEDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("PRESA"); + modelBuilder.Entity().HasKey(table => new { + table.picodazi, + table.pimpianto, + table.picodint, + table.pidatman + }); + } + } +} diff --git a/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_RAPPORTINIDbContext.cs b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_RAPPORTINIDbContext.cs new file mode 100644 index 0000000..33fce2b --- /dev/null +++ b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_RAPPORTINIDbContext.cs @@ -0,0 +1,22 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lift_web_dbcontext +{ + /// Rapportini + public class LIFT_WEB_RAPPORTINIDbContext : DbContext + { + /// Rapportini + public DbSet? rapp { get; set; } + + /// ConfigurazioniDbContext + public LIFT_WEB_RAPPORTINIDbContext(DbContextOptions options) : base(options) + { + } + /// OnModelCreating + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_RAPPORTINI"); + } + } +} diff --git a/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_RAPP_NEWDbContext.cs b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_RAPP_NEWDbContext.cs new file mode 100644 index 0000000..69dce7a --- /dev/null +++ b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_RAPP_NEWDbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lift_web_dbcontext +{ + /// + public class LIFT_WEB_RAPP_NEWDbContext : DbContext + { + /// + public DbSet? Rapps { get; set; } + + /// + public LIFT_WEB_RAPP_NEWDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("RAPP_NEW"); + } + } +} diff --git a/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_SALDIARTDbContext.cs b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_SALDIARTDbContext.cs new file mode 100644 index 0000000..d1acf8d --- /dev/null +++ b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_SALDIARTDbContext.cs @@ -0,0 +1,22 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lift_web_dbcontext +{ + /// + public class LIFT_WEB_SALDIARTDbContext : DbContext + { + /// + public DbSet? Saldi { get; set; } + + /// + public LIFT_WEB_SALDIARTDbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_SALDIART_PREZZI"); + } + } +} diff --git a/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_SOSTITUZIONI_DbContext.cs b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_SOSTITUZIONI_DbContext.cs new file mode 100644 index 0000000..5891d22 --- /dev/null +++ b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_SOSTITUZIONI_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lift_web_dbcontext +{ + /// + public class LIFT_WEB_SOSTITUZIONI_DbContext : DbContext + { + /// + public DbSet? Sost { get; set; } + + /// + public LIFT_WEB_SOSTITUZIONI_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_SOSTITUZIONI"); + } + } +} diff --git a/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_STO_IMPDbContext.cs b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_STO_IMPDbContext.cs new file mode 100644 index 0000000..f566c97 --- /dev/null +++ b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_STO_IMPDbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lift_web_dbcontext +{ + /// + public class LIFT_WEB_STO_IMPDbContext : DbContext + { + /// + public DbSet? StoImp { get; set; } + + /// + public LIFT_WEB_STO_IMPDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_STO_IMP"); + } + } +} diff --git a/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_STO_RAPPDbContext.cs b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_STO_RAPPDbContext.cs new file mode 100644 index 0000000..4e1eba0 --- /dev/null +++ b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_STO_RAPPDbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lift_web_dbcontext +{ + /// + public class LIFT_WEB_STO_RAPPDbContext : DbContext + { + /// + public DbSet? StoRapp { get; set; } + + /// + public LIFT_WEB_STO_RAPPDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_STO_RAPP"); + } + } +} diff --git a/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_TECNICIDbContext.cs b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_TECNICIDbContext.cs new file mode 100644 index 0000000..91022fc --- /dev/null +++ b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_TECNICIDbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lift_web_dbcontext +{ + /// + public class LIFT_WEB_TECNICIDbContext : DbContext + { + /// + public DbSet? Tecnici { get; set; } + + /// + public LIFT_WEB_TECNICIDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_TECNICI"); + } + } +} diff --git a/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_TIMBRATUREDbContext.cs b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_TIMBRATUREDbContext.cs new file mode 100644 index 0000000..ab4ec4a --- /dev/null +++ b/ApiPolo/Models/Lift_web_dbcontext/LIFT_WEB_TIMBRATUREDbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Lift_web_dbcontext +{ + /// + public class LIFT_WEB_TIMBRATUREDbContext : DbContext + { + /// + public DbSet? Timbr { get; set; } + + /// + public LIFT_WEB_TIMBRATUREDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("TIMBRATURE"); + } + } +} diff --git a/ApiPolo/Models/Rapportino.cs b/ApiPolo/Models/Rapportino.cs index 4343733..2c8a47d 100644 --- a/ApiPolo/Models/Rapportino.cs +++ b/ApiPolo/Models/Rapportino.cs @@ -37,5 +37,96 @@ namespace ApiPolo.Models /// Data rapportino ///
public DateTime? data_rapportino { get; set; } + + /// Codice Cliente + public string? ancodice { get; set; } + + /// Ragione Sociale + public string? andescri { get; set; } + + /// ora inizio rapportino + public string? ora_ini_rapportino { get; set; } + + /// ora inizio rapportino + public string? ora_fin_rapportino { get; set; } + + /// min inizio rapportino + public string? min_ini_rapportino { get; set; } + + /// min inizio rapportino + public string? min_fin_rapportino { get; set; } + + /// codice chiusura 1 + public string? codice_chiusura_1 { get; set; } + + /// codice chiusura 2 + public string? codice_chiusura_2 { get; set; } + + /// codice chiusura 3 + public string? codice_chiusura_3 { get; set; } + + /// codice chiusura 4 + public string? codice_chiusura_4 { get; set; } + + /// codice chiusura 5 + public string? codice_chiusura_5 { get; set; } + + /// codice chiusura 6 + public string? codice_chiusura_6 { get; set; } + + /// codice chiusura 7 + public string? codice_chiusura_7 { get; set; } + + /// codice chiusura 8 + public string? codice_chiusura_8 { get; set; } + + /// codice chiusura 9 + public string? codice_chiusura_9 { get; set; } + + /// codice chiusura 10 + public string? codice_chiusura_10 { get; set; } + + /// descrizione int + public string? descrizione_intervento { get; set; } + + /// tecnico + public string? codice_tecnico { get; set; } + + /// firma + public string? firma { get; set; } + + /// cod intervento + public string? codice_intervento { get; set; } + + /// + public string? note_intervento { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 2)")] + public decimal? ore_lavoro { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 2)")] + public decimal? materiale { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 2)")] + public decimal? diritto_chiamata { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 2)")] + public decimal? manodopera { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 2)")] + public decimal? spese_viaggio { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(7, 2)")] + public decimal? anticipo { get; set; } + + /// + [System.ComponentModel.DataAnnotations.Schema.Column(TypeName = "decimal(9, 2)")] + public decimal? totale { get; set; } } } diff --git a/ApiPolo/Models/Registrazione.cs b/ApiPolo/Models/Registrazione.cs index e0a89bb..96133e6 100644 --- a/ApiPolo/Models/Registrazione.cs +++ b/ApiPolo/Models/Registrazione.cs @@ -51,5 +51,16 @@ namespace ApiPolo.Models /// Token registrazione public string? Token { get; set; } + /// Form registrazione: check 1 + public bool privacy1 { get; set; } + + /// Form registrazione: check 2 + public bool privacy2 { get; set; } + + /// Form registrazione: check 3 + public bool privacy3 { get; set; } + + /// Form registrazione: check 4 + public bool privacy4 { get; set; } } } diff --git a/ApiPolo/Models/Security_dbcontext/SECURITY_CAUS_RAPP_DbContext.cs b/ApiPolo/Models/Security_dbcontext/SECURITY_CAUS_RAPP_DbContext.cs new file mode 100644 index 0000000..6178898 --- /dev/null +++ b/ApiPolo/Models/Security_dbcontext/SECURITY_CAUS_RAPP_DbContext.cs @@ -0,0 +1,21 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Security_dbcontext +{ + /// + public class SECURITY_CAUS_RAPP_DbContext : DbContext + { + /// + public DbSet? Causali { get; set; } + + /// + public SECURITY_CAUS_RAPP_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CAUS_RAPP"); + } + } +} diff --git a/ApiPolo/Models/Security_dbcontext/SECURITY_CHIAMATA_PROG_DbContext.cs b/ApiPolo/Models/Security_dbcontext/SECURITY_CHIAMATA_PROG_DbContext.cs new file mode 100644 index 0000000..3e423f9 --- /dev/null +++ b/ApiPolo/Models/Security_dbcontext/SECURITY_CHIAMATA_PROG_DbContext.cs @@ -0,0 +1,26 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Security_dbcontext +{ + /// + public class SECURITY_CHIAMATA_PROG_DbContext:DbContext + { + /// + public DbSet? Progressivi { get; set; } + + /// + public SECURITY_CHIAMATA_PROG_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("cpwarn"); + modelBuilder.Entity().HasKey(table => new { + table.tablecode, + table.warncode + }); + } + } +} diff --git a/ApiPolo/Models/Security_dbcontext/SECURITY_CHIAMATA_SERIALE_DbContext.cs b/ApiPolo/Models/Security_dbcontext/SECURITY_CHIAMATA_SERIALE_DbContext.cs new file mode 100644 index 0000000..10c0ece --- /dev/null +++ b/ApiPolo/Models/Security_dbcontext/SECURITY_CHIAMATA_SERIALE_DbContext.cs @@ -0,0 +1,25 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Security_dbcontext +{ + /// + public class SECURITY_CHIAMATA_SERIALE_DbContext:DbContext + { + /// + public DbSet? Seriali { get; set; } + + /// + public SECURITY_CHIAMATA_SERIALE_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("LABSEPINUMCHI"); + modelBuilder.Entity().HasKey(table => new { + table.piditta + }); + } + } +} diff --git a/ApiPolo/Models/Security_dbcontext/SECURITY_CHIAMATEDbContext.cs b/ApiPolo/Models/Security_dbcontext/SECURITY_CHIAMATEDbContext.cs new file mode 100644 index 0000000..9fa0753 --- /dev/null +++ b/ApiPolo/Models/Security_dbcontext/SECURITY_CHIAMATEDbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Security_dbcontext +{ + /// + public class SECURITY_CHIAMATEDbContext : DbContext + { + /// + public DbSet? Chiamate { get; set; } + + /// + public SECURITY_CHIAMATEDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CHIAMATE"); + } + } +} diff --git a/ApiPolo/Models/Security_dbcontext/SECURITY_CHIAMATE_TABLE_DbContext.cs b/ApiPolo/Models/Security_dbcontext/SECURITY_CHIAMATE_TABLE_DbContext.cs new file mode 100644 index 0000000..e044aff --- /dev/null +++ b/ApiPolo/Models/Security_dbcontext/SECURITY_CHIAMATE_TABLE_DbContext.cs @@ -0,0 +1,27 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Security_dbcontext +{ + /// + public class SECURITY_CHIAMATE_TABLE_DbContext:DbContext + { + /// + public DbSet? Chi { get; set; } + + /// + public SECURITY_CHIAMATE_TABLE_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("CHIAMATE"); + modelBuilder.Entity().HasKey(table => new { + table.chcodazi, + table.chserial + }); + } + } +} diff --git a/ApiPolo/Models/Security_dbcontext/SECURITY_CHIUSURE_DbContext.cs b/ApiPolo/Models/Security_dbcontext/SECURITY_CHIUSURE_DbContext.cs new file mode 100644 index 0000000..0ea8740 --- /dev/null +++ b/ApiPolo/Models/Security_dbcontext/SECURITY_CHIUSURE_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Security_dbcontext +{ + /// + public class SECURITY_CHIUSURE_DbContext: DbContext + { + /// + public DbSet? Chiusure { get; set; } + + /// + public SECURITY_CHIUSURE_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CHIUSURE"); + } + } +} diff --git a/ApiPolo/Models/Security_dbcontext/SECURITY_CLIENTI_DbContext.cs b/ApiPolo/Models/Security_dbcontext/SECURITY_CLIENTI_DbContext.cs new file mode 100644 index 0000000..b15c3e5 --- /dev/null +++ b/ApiPolo/Models/Security_dbcontext/SECURITY_CLIENTI_DbContext.cs @@ -0,0 +1,22 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Security_dbcontext +{ + /// + public class SECURITY_CLIENTI_DbContext : DbContext + { + /// + public DbSet? Clienti { get; set; } + + /// + public SECURITY_CLIENTI_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_CLIENTI"); + } + } +} diff --git a/ApiPolo/Models/Security_dbcontext/SECURITY_COMMESSE_DbContext.cs b/ApiPolo/Models/Security_dbcontext/SECURITY_COMMESSE_DbContext.cs new file mode 100644 index 0000000..3de8e80 --- /dev/null +++ b/ApiPolo/Models/Security_dbcontext/SECURITY_COMMESSE_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Security_dbcontext +{ + /// + public class SECURITY_COMMESSE_DbContext :DbContext + { + /// + public DbSet? Commesse { get; set; } + + /// + public SECURITY_COMMESSE_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_COMMESSE"); + } + } +} diff --git a/ApiPolo/Models/Security_dbcontext/SECURITY_COMPO_IMPIA_DbContext.cs b/ApiPolo/Models/Security_dbcontext/SECURITY_COMPO_IMPIA_DbContext.cs new file mode 100644 index 0000000..e6309f6 --- /dev/null +++ b/ApiPolo/Models/Security_dbcontext/SECURITY_COMPO_IMPIA_DbContext.cs @@ -0,0 +1,22 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Security_dbcontext +{ + /// + public class SECURITY_COMPO_IMPIA_DbContext : DbContext + { + /// + public DbSet? Componen { get; set; } + + /// + public SECURITY_COMPO_IMPIA_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_MICOMIMP"); + } + } +} diff --git a/ApiPolo/Models/Security_dbcontext/SECURITY_COMPO_IMPIA_TABLE_DbContext.cs b/ApiPolo/Models/Security_dbcontext/SECURITY_COMPO_IMPIA_TABLE_DbContext.cs new file mode 100644 index 0000000..21bb21a --- /dev/null +++ b/ApiPolo/Models/Security_dbcontext/SECURITY_COMPO_IMPIA_TABLE_DbContext.cs @@ -0,0 +1,28 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Security_dbcontext +{ + /// + public class SECURITY_COMPO_IMPIA_TABLE_DbContext : DbContext + { + /// + public DbSet? Componen { get; set; } + + /// + public SECURITY_COMPO_IMPIA_TABLE_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("LABSEMICOMIMP"); + modelBuilder.Entity().HasKey(table => new + { + table.cocodimp, + table.cprownum, + table.cocodazi + }); + } + } +} diff --git a/ApiPolo/Models/Security_dbcontext/SECURITY_CPWARN_DbContext.cs b/ApiPolo/Models/Security_dbcontext/SECURITY_CPWARN_DbContext.cs new file mode 100644 index 0000000..a5d3561 --- /dev/null +++ b/ApiPolo/Models/Security_dbcontext/SECURITY_CPWARN_DbContext.cs @@ -0,0 +1,26 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Security_dbcontext +{ + /// + public class SECURITY_CPWARN_DbContext:DbContext + { + /// + public DbSet? Progressivi { get; set; } + + /// + public SECURITY_CPWARN_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("cpwarn"); + modelBuilder.Entity().HasKey(table => new { + table.tablecode, + table.warncode + }); + } + } +} diff --git a/ApiPolo/Models/Security_dbcontext/SECURITY_IMPIANTI_DbContext.cs b/ApiPolo/Models/Security_dbcontext/SECURITY_IMPIANTI_DbContext.cs new file mode 100644 index 0000000..b176f88 --- /dev/null +++ b/ApiPolo/Models/Security_dbcontext/SECURITY_IMPIANTI_DbContext.cs @@ -0,0 +1,22 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Security_dbcontext +{ + /// + public class SECURITY_IMPIANTI_DbContext:DbContext + { + /// + public DbSet? Impia { get; set; } + + /// + public SECURITY_IMPIANTI_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_IMPIANTI"); + } + } +} diff --git a/ApiPolo/Models/Security_dbcontext/SECURITY_MAGAZZINI_DbContext.cs b/ApiPolo/Models/Security_dbcontext/SECURITY_MAGAZZINI_DbContext.cs new file mode 100644 index 0000000..ffb0dcf --- /dev/null +++ b/ApiPolo/Models/Security_dbcontext/SECURITY_MAGAZZINI_DbContext.cs @@ -0,0 +1,27 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Security_dbcontext +{ + /// + public class SECURITY_MAGAZZINI_DbContext : DbContext + { + /// + public DbSet? Magaz { get; set; } + + /// + public SECURITY_MAGAZZINI_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("LABSEMAGAZZIN"); + modelBuilder.Entity().HasKey(table => new + { + table.mgcodmag + }); + } + } +} diff --git a/ApiPolo/Models/Security_dbcontext/SECURITY_MAG_NEW_DbContext.cs b/ApiPolo/Models/Security_dbcontext/SECURITY_MAG_NEW_DbContext.cs new file mode 100644 index 0000000..ab1d38c --- /dev/null +++ b/ApiPolo/Models/Security_dbcontext/SECURITY_MAG_NEW_DbContext.cs @@ -0,0 +1,28 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Security_dbcontext +{ + /// + public class SECURITY_MAG_NEW_DbContext:DbContext + { + /// + public DbSet? Mag { get; set; } + + /// + public SECURITY_MAG_NEW_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("LABSEMAG_NEW"); + modelBuilder.Entity().HasKey(table => new + { + table.seriale_rapportino, + table.riga + + }); + } + } +} diff --git a/ApiPolo/Models/Security_dbcontext/SECURITY_MANPROG_TECDbContext.cs b/ApiPolo/Models/Security_dbcontext/SECURITY_MANPROG_TECDbContext.cs new file mode 100644 index 0000000..dfaa654 --- /dev/null +++ b/ApiPolo/Models/Security_dbcontext/SECURITY_MANPROG_TECDbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Security_dbcontext +{ + /// + public class SECURITY_MANPROG_TECDbContext:DbContext + { + /// + public DbSet? Manutenzioni { get; set; } + + /// + public SECURITY_MANPROG_TECDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_MANPROG"); + } + } +} diff --git a/ApiPolo/Models/Security_dbcontext/SECURITY_PAGAM_DbContext.cs b/ApiPolo/Models/Security_dbcontext/SECURITY_PAGAM_DbContext.cs new file mode 100644 index 0000000..54db305 --- /dev/null +++ b/ApiPolo/Models/Security_dbcontext/SECURITY_PAGAM_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Security_dbcontext +{ + /// + public class SECURITY_PAGAM_DbContext:DbContext + { + /// + public DbSet? Pagamenti { get; set; } + + /// + public SECURITY_PAGAM_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_PAGAMENTI"); + } + } +} diff --git a/ApiPolo/Models/Security_dbcontext/SECURITY_PRESE_DbContext.cs b/ApiPolo/Models/Security_dbcontext/SECURITY_PRESE_DbContext.cs new file mode 100644 index 0000000..674f703 --- /dev/null +++ b/ApiPolo/Models/Security_dbcontext/SECURITY_PRESE_DbContext.cs @@ -0,0 +1,28 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Security_dbcontext +{ + /// + public class SECURITY_PRESE_DbContext:DbContext + { + /// + public DbSet? Prese { get; set; } + + /// + public SECURITY_PRESE_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("PRESA"); + modelBuilder.Entity().HasKey(table => new { + table.picodazi, + table.pimpianto, + table.picodint, + table.pidatman + }); + } + } +} diff --git a/ApiPolo/Models/Security_dbcontext/SECURITY_RAPPORTINI_DbContext.cs b/ApiPolo/Models/Security_dbcontext/SECURITY_RAPPORTINI_DbContext.cs new file mode 100644 index 0000000..ed23fd6 --- /dev/null +++ b/ApiPolo/Models/Security_dbcontext/SECURITY_RAPPORTINI_DbContext.cs @@ -0,0 +1,22 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Security_dbcontext +{ + /// Rapportini + public class SECURITY_RAPPORTINI_DbContext:DbContext + { + /// Rapportini + public DbSet? rapp { get; set; } + + /// ConfigurazioniDbContext + public SECURITY_RAPPORTINI_DbContext(DbContextOptions options) : base(options) + { + } + /// OnModelCreating + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_RAPPORTINI"); + } + } +} diff --git a/ApiPolo/Models/Security_dbcontext/SECURITY_RAPP_NEW_DbContext.cs b/ApiPolo/Models/Security_dbcontext/SECURITY_RAPP_NEW_DbContext.cs new file mode 100644 index 0000000..4cd9eec --- /dev/null +++ b/ApiPolo/Models/Security_dbcontext/SECURITY_RAPP_NEW_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Security_dbcontext +{ + /// + public class SECURITY_RAPP_NEW_DbContext:DbContext + { + /// + public DbSet? Rapps { get; set; } + + /// + public SECURITY_RAPP_NEW_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("RAPP_NEW"); + } + } +} diff --git a/ApiPolo/Models/Security_dbcontext/SECURITY_SALDIART_DbContext.cs b/ApiPolo/Models/Security_dbcontext/SECURITY_SALDIART_DbContext.cs new file mode 100644 index 0000000..a927a68 --- /dev/null +++ b/ApiPolo/Models/Security_dbcontext/SECURITY_SALDIART_DbContext.cs @@ -0,0 +1,22 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Security_dbcontext +{ + /// + public class SECURITY_SALDIART_DbContext:DbContext + { + /// + public DbSet? Saldi { get; set; } + + /// + public SECURITY_SALDIART_DbContext(DbContextOptions options) : base(options) + { + } + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_SALDIART_PREZZI"); + } + } +} diff --git a/ApiPolo/Models/Security_dbcontext/SECURITY_SOSTITUZIONI_DbContext.cs b/ApiPolo/Models/Security_dbcontext/SECURITY_SOSTITUZIONI_DbContext.cs new file mode 100644 index 0000000..6074731 --- /dev/null +++ b/ApiPolo/Models/Security_dbcontext/SECURITY_SOSTITUZIONI_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Security_dbcontext +{ + /// + public class SECURITY_SOSTITUZIONI_DbContext:DbContext + { + /// + public DbSet? Sost { get; set; } + + /// + public SECURITY_SOSTITUZIONI_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_SOSTITUZIONI"); + } + } +} diff --git a/ApiPolo/Models/Security_dbcontext/SECURITY_STO_IMP_DbContext.cs b/ApiPolo/Models/Security_dbcontext/SECURITY_STO_IMP_DbContext.cs new file mode 100644 index 0000000..6e07a0f --- /dev/null +++ b/ApiPolo/Models/Security_dbcontext/SECURITY_STO_IMP_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Security_dbcontext +{ + /// + public class SECURITY_STO_IMP_DbContext:DbContext + { + /// + public DbSet? StoImp { get; set; } + + /// + public SECURITY_STO_IMP_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_STO_IMP"); + } + } +} diff --git a/ApiPolo/Models/Security_dbcontext/SECURITY_STO_RAPPDbContext.cs b/ApiPolo/Models/Security_dbcontext/SECURITY_STO_RAPPDbContext.cs new file mode 100644 index 0000000..5a2a0e8 --- /dev/null +++ b/ApiPolo/Models/Security_dbcontext/SECURITY_STO_RAPPDbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Security_dbcontext +{ + /// + public class SECURITY_STO_RAPPDbContext:DbContext + { + /// + public DbSet? StoRapp { get; set; } + + /// + public SECURITY_STO_RAPPDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_STO_RAPP"); + } + } +} diff --git a/ApiPolo/Models/Security_dbcontext/SECURITY_TECNICI_DbContext.cs b/ApiPolo/Models/Security_dbcontext/SECURITY_TECNICI_DbContext.cs new file mode 100644 index 0000000..8ac0822 --- /dev/null +++ b/ApiPolo/Models/Security_dbcontext/SECURITY_TECNICI_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Security_dbcontext +{ + /// + public class SECURITY_TECNICI_DbContext:DbContext + { + /// + public DbSet? Tecnici { get; set; } + + /// + public SECURITY_TECNICI_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_TECNICI"); + } + } +} diff --git a/ApiPolo/Models/Security_dbcontext/SECURITY_TIMBRATUREDbContext.cs b/ApiPolo/Models/Security_dbcontext/SECURITY_TIMBRATUREDbContext.cs new file mode 100644 index 0000000..a1310b9 --- /dev/null +++ b/ApiPolo/Models/Security_dbcontext/SECURITY_TIMBRATUREDbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Security_dbcontext +{ + /// + public class SECURITY_TIMBRATUREDbContext:DbContext + { + /// + public DbSet? Timbr { get; set; } + + /// + public SECURITY_TIMBRATUREDbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("TIMBRATURE"); + } + } +} diff --git a/ApiPolo/Models/Siet_dbcontext/SIET_COMMESSE_DESC_DbContext.cs b/ApiPolo/Models/Siet_dbcontext/SIET_COMMESSE_DESC_DbContext.cs new file mode 100644 index 0000000..9b79547 --- /dev/null +++ b/ApiPolo/Models/Siet_dbcontext/SIET_COMMESSE_DESC_DbContext.cs @@ -0,0 +1,26 @@ +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Siet_dbcontext +{ + /// + public class SIET_COMMESSE_DESC_DbContext : DbContext + { + /// + public DbSet? Commdesc { get; set; } + + /// + public SIET_COMMESSE_DESC_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("SIET2LAV_MAST"); + modelBuilder.Entity().HasKey(table => new { + table.laserial, + table.latiplav + }); + } + } +} diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_CHIAMATA_SERIALE_DbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_CHIAMATA_SERIALE_DbContext.cs index 0170d5b..f46450c 100644 --- a/ApiPolo/Models/Tedesco_dbcontext/TEDES_CHIAMATA_SERIALE_DbContext.cs +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_CHIAMATA_SERIALE_DbContext.cs @@ -16,7 +16,7 @@ namespace ApiPolo.Models.Tedesco_dbcontext /// protected override void OnModelCreating(ModelBuilder modelBuilder) { - modelBuilder.Entity().ToTable("LABSEPINUMCHI"); + modelBuilder.Entity().ToTable("TEDESPINUMCHI"); modelBuilder.Entity().HasKey(table => new { table.piditta }); diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_CHIAMATE_DbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_CHIAMATE_DbContext.cs index b6cc90d..25395d4 100644 --- a/ApiPolo/Models/Tedesco_dbcontext/TEDES_CHIAMATE_DbContext.cs +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_CHIAMATE_DbContext.cs @@ -7,7 +7,7 @@ namespace ApiPolo.Models.Tedesco_dbcontext public class TEDES_CHIAMATE_DbContext : DbContext { /// - public DbSet? Chi { get; set; } + public DbSet? Chiamate { get; set; } /// public TEDES_CHIAMATE_DbContext(DbContextOptions options) : base(options) @@ -17,11 +17,7 @@ namespace ApiPolo.Models.Tedesco_dbcontext /// protected override void OnModelCreating(ModelBuilder modelBuilder) { - modelBuilder.Entity().ToTable("CHIAMATE"); - modelBuilder.Entity().HasKey(table => new { - table.chcodazi, - table.chserial - }); + modelBuilder.Entity().ToView("API_CHIAMATE"); } } } diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_CHIAMATE_TABLE_DbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_CHIAMATE_TABLE_DbContext.cs new file mode 100644 index 0000000..ae8efba --- /dev/null +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_CHIAMATE_TABLE_DbContext.cs @@ -0,0 +1,27 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.Tedesco_dbcontext +{ + /// + public class TEDES_CHIAMATE_TABLE_DbContext : DbContext + { + /// + public DbSet? Chi { get; set; } + + /// + public TEDES_CHIAMATE_TABLE_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToTable("CHIAMATE"); + modelBuilder.Entity().HasKey(table => new { + table.chcodazi, + table.chserial + }); + } + } +} diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_COMPO_IMPIA_TABLEDbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_COMPO_IMPIA_TABLEDbContext.cs index df5743d..a4fe4eb 100644 --- a/ApiPolo/Models/Tedesco_dbcontext/TEDES_COMPO_IMPIA_TABLEDbContext.cs +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_COMPO_IMPIA_TABLEDbContext.cs @@ -15,7 +15,7 @@ namespace ApiPolo.Models.Tedesco_dbcontext /// protected override void OnModelCreating(ModelBuilder modelBuilder) { - modelBuilder.Entity().ToTable("LABSEMICOMIMP"); + modelBuilder.Entity().ToTable("TEDESMICOMIMP"); modelBuilder.Entity().HasKey(table => new { table.cocodimp, diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_MAGAZZINIDbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_MAGAZZINIDbContext.cs index 14d315b..18fde64 100644 --- a/ApiPolo/Models/Tedesco_dbcontext/TEDES_MAGAZZINIDbContext.cs +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_MAGAZZINIDbContext.cs @@ -16,7 +16,7 @@ namespace ApiPolo.Models.Tedesco_dbcontext /// protected override void OnModelCreating(ModelBuilder modelBuilder) { - modelBuilder.Entity().ToTable("LABSEMAGAZZIN"); + modelBuilder.Entity().ToTable("TEDESMAGAZZIN"); modelBuilder.Entity().HasKey(table => new { table.mgcodmag diff --git a/ApiPolo/Models/Tedesco_dbcontext/TEDES_MAG_NEWDbContext.cs b/ApiPolo/Models/Tedesco_dbcontext/TEDES_MAG_NEWDbContext.cs index 0ab677c..af95652 100644 --- a/ApiPolo/Models/Tedesco_dbcontext/TEDES_MAG_NEWDbContext.cs +++ b/ApiPolo/Models/Tedesco_dbcontext/TEDES_MAG_NEWDbContext.cs @@ -15,7 +15,7 @@ namespace ApiPolo.Models.Tedesco_dbcontext /// protected override void OnModelCreating(ModelBuilder modelBuilder) { - modelBuilder.Entity().ToTable("LABSEMAG_NEW"); + modelBuilder.Entity().ToTable("TEDESMAG_NEW"); modelBuilder.Entity().HasKey(table => new { table.seriale_rapportino, diff --git a/ApiPolo/Models/VT_dbcontext/VT_STO_RAPP_DbContext.cs b/ApiPolo/Models/VT_dbcontext/VT_STO_RAPP_DbContext.cs new file mode 100644 index 0000000..f49a282 --- /dev/null +++ b/ApiPolo/Models/VT_dbcontext/VT_STO_RAPP_DbContext.cs @@ -0,0 +1,23 @@ + +using Microsoft.EntityFrameworkCore; + +namespace ApiPolo.Models.VT_dbcontext +{ + /// + public class VT_STO_RAPP_DbContext : DbContext + { + /// + public DbSet? StoRapp { get; set; } + + /// + public VT_STO_RAPP_DbContext(DbContextOptions options) : base(options) + { + } + + /// + protected override void OnModelCreating(ModelBuilder modelBuilder) + { + modelBuilder.Entity().ToView("API_STO_RAPP"); + } + } +} diff --git a/ApiPolo/Properties/PublishProfiles/FolderProfile.pubxml.user b/ApiPolo/Properties/PublishProfiles/FolderProfile.pubxml.user index 978b427..492fda5 100644 --- a/ApiPolo/Properties/PublishProfiles/FolderProfile.pubxml.user +++ b/ApiPolo/Properties/PublishProfiles/FolderProfile.pubxml.user @@ -5,7 +5,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121. <_PublishTargetUrl>C:\SORGENTI\_publish - True|2024-01-12T14:28:14.3310950Z;True|2024-01-11T12:17:47.0416265+01:00;True|2024-01-09T10:56:10.6108110+01:00;True|2024-01-09T10:01:29.4419062+01:00;True|2024-01-09T09:09:56.0678886+01:00;False|2024-01-09T09:09:34.2552726+01:00;True|2024-01-08T17:12:45.9831372+01:00;True|2024-01-08T14:29:20.6298939+01:00;True|2024-01-05T16:13:20.1834182+01:00;True|2024-01-04T16:37:06.7941235+01:00;True|2023-12-21T17:18:34.0526998+01:00;True|2023-12-21T16:15:05.7983943+01:00;False|2023-12-21T16:14:46.9213541+01:00;True|2023-12-21T15:37:56.3166908+01:00;True|2023-12-21T15:06:45.2960170+01:00;True|2023-12-19T10:07:15.3406839+01:00;True|2023-12-19T09:40:37.4542645+01:00;True|2023-12-18T18:10:38.7733804+01:00;True|2023-12-18T17:52:35.2759182+01:00;True|2023-12-18T17:27:30.6925247+01:00;False|2023-12-18T17:27:18.6654468+01:00;True|2023-12-18T17:19:53.6193809+01:00;True|2023-12-18T11:34:31.9683375+01:00;True|2023-12-18T10:49:14.0195219+01:00;True|2023-12-14T15:24:45.4235825+01:00;True|2023-12-14T12:12:59.2505838+01:00;True|2023-12-14T10:06:03.4821381+01:00;False|2023-12-14T10:05:56.1675464+01:00;True|2023-12-13T17:46:06.5114228+01:00;True|2023-12-13T17:18:32.9967555+01:00;True|2023-12-13T17:09:02.2153382+01:00;True|2023-12-13T16:54:26.3998101+01:00;True|2023-12-12T12:29:15.4496576+01:00;True|2023-12-12T10:07:33.8605887+01:00;True|2023-12-07T16:48:32.3661089+01:00;False|2023-12-07T16:48:16.7800909+01:00;True|2023-12-07T15:59:01.9494614+01:00;True|2023-12-06T16:37:11.4189532+01:00;False|2023-12-06T16:36:58.1903924+01:00;True|2023-12-06T15:04:14.7658513+01:00;True|2023-12-06T15:03:56.8183271+01:00;False|2023-12-06T15:02:43.1658892+01:00;True|2023-12-05T14:56:58.6533793+01:00;True|2023-12-05T11:27:46.7461820+01:00;False|2023-12-05T11:27:33.9312828+01:00;True|2023-12-05T10:50:28.4716173+01:00;True|2023-11-30T16:42:31.8596611+01:00;True|2023-11-30T15:55:03.2495195+01:00;True|2023-11-27T15:56:29.4491507+01:00;True|2023-11-27T12:01:19.1611383+01:00;True|2023-11-24T16:17:46.6740447+01:00;True|2023-11-24T14:45:39.1983088+01:00;True|2023-11-21T12:27:46.1304045+01:00;True|2023-11-20T14:46:36.7367797+01:00;True|2023-11-16T15:24:40.0316829+01:00;True|2023-11-16T11:01:34.3117013+01:00;True|2023-11-16T11:00:55.7387444+01:00;True|2023-11-14T09:11:56.7615009+01:00;True|2023-11-09T09:52:23.5464533+01:00;True|2023-11-07T16:06:54.6961557+01:00;False|2023-11-07T16:06:44.9066723+01:00;True|2023-11-06T12:13:06.8671991+01:00;True|2023-10-26T10:42:14.4857090+02:00;True|2023-10-24T09:42:38.9743258+02:00;True|2023-10-23T17:12:45.9054585+02:00;True|2023-10-23T16:29:52.5174378+02:00;True|2023-10-19T16:09:03.8796311+02:00;True|2023-10-19T15:59:31.4939287+02:00;True|2023-10-19T15:40:14.7096576+02:00;True|2023-10-19T14:56:26.8783257+02:00;True|2023-10-19T14:42:33.0463171+02:00;True|2023-10-17T16:39:01.8740450+02:00;True|2023-10-17T16:33:03.8236421+02:00;False|2023-10-17T16:32:49.7163540+02:00;True|2023-10-17T15:55:56.9396463+02:00;True|2023-10-17T15:38:05.1800302+02:00;True|2023-10-17T12:42:35.7979137+02:00;True|2023-10-13T17:43:19.5350513+02:00;True|2023-10-13T15:09:29.1892333+02:00;True|2023-10-10T10:40:11.4271446+02:00;True|2023-10-10T10:25:36.0756310+02:00;True|2023-10-10T10:12:13.5785443+02:00;True|2023-10-09T18:26:44.2790166+02:00;True|2023-10-09T17:20:03.1205720+02:00;False|2023-10-09T17:19:49.5869638+02:00;True|2023-10-09T16:21:22.1396153+02:00;True|2023-10-09T12:30:29.0785113+02:00;True|2023-10-09T11:51:35.1476417+02:00;True|2023-10-06T15:52:46.5217950+02:00;True|2023-10-05T17:12:51.6409719+02:00;True|2023-10-05T16:57:41.2838348+02:00;True|2023-10-05T15:09:47.2469186+02:00;True|2023-10-05T13:01:26.6213524+02:00;True|2023-10-05T11:28:28.2625915+02:00;True|2023-10-05T10:57:51.2833086+02:00;True|2023-10-05T09:50:51.3238703+02:00;True|2023-10-04T17:49:34.0728040+02:00;True|2023-10-02T11:56:53.6875755+02:00;True|2023-09-29T16:37:01.0471211+02:00;True|2023-09-29T15:24:54.9626631+02:00; + True|2024-04-23T12:16:13.9278392Z;True|2024-04-22T11:21:15.8891978+02:00;True|2024-04-19T17:01:58.4424326+02:00;True|2024-04-19T16:00:37.1516625+02:00;True|2024-04-18T17:56:38.4740471+02:00;True|2024-04-18T15:19:13.0301345+02:00;True|2024-04-18T15:08:29.5009047+02:00;True|2024-04-16T17:19:13.2405268+02:00;True|2024-04-16T16:44:53.5665827+02:00;True|2024-04-09T15:05:21.6859040+02:00;True|2024-04-09T12:31:53.7105489+02:00;True|2024-03-29T12:02:59.3951106+01:00;True|2024-03-28T15:51:54.4771087+01:00;True|2024-03-28T15:40:46.5889318+01:00;True|2024-03-28T15:02:39.2709767+01:00;True|2024-03-19T10:11:02.2184437+01:00;True|2024-03-19T09:46:29.5213786+01:00;True|2024-03-13T15:41:36.5129417+01:00;True|2024-03-13T15:04:45.8815190+01:00;True|2024-03-12T12:09:28.7378666+01:00;True|2024-03-07T16:49:05.8765453+01:00;True|2024-03-07T15:04:48.6785344+01:00;True|2024-03-05T18:12:38.1587810+01:00;True|2024-03-05T17:04:25.2897417+01:00;True|2024-02-23T17:51:33.5228272+01:00;True|2024-02-23T15:30:52.3064822+01:00;True|2024-02-21T17:45:19.5871889+01:00;True|2024-02-16T14:49:42.6218309+01:00;True|2024-01-12T15:28:14.3310950+01:00;True|2024-01-11T12:17:47.0416265+01:00;True|2024-01-09T10:56:10.6108110+01:00;True|2024-01-09T10:01:29.4419062+01:00;True|2024-01-09T09:09:56.0678886+01:00;False|2024-01-09T09:09:34.2552726+01:00;True|2024-01-08T17:12:45.9831372+01:00;True|2024-01-08T14:29:20.6298939+01:00;True|2024-01-05T16:13:20.1834182+01:00;True|2024-01-04T16:37:06.7941235+01:00;True|2023-12-21T17:18:34.0526998+01:00;True|2023-12-21T16:15:05.7983943+01:00;False|2023-12-21T16:14:46.9213541+01:00;True|2023-12-21T15:37:56.3166908+01:00;True|2023-12-21T15:06:45.2960170+01:00;True|2023-12-19T10:07:15.3406839+01:00;True|2023-12-19T09:40:37.4542645+01:00;True|2023-12-18T18:10:38.7733804+01:00;True|2023-12-18T17:52:35.2759182+01:00;True|2023-12-18T17:27:30.6925247+01:00;False|2023-12-18T17:27:18.6654468+01:00;True|2023-12-18T17:19:53.6193809+01:00;True|2023-12-18T11:34:31.9683375+01:00;True|2023-12-18T10:49:14.0195219+01:00;True|2023-12-14T15:24:45.4235825+01:00;True|2023-12-14T12:12:59.2505838+01:00;True|2023-12-14T10:06:03.4821381+01:00;False|2023-12-14T10:05:56.1675464+01:00;True|2023-12-13T17:46:06.5114228+01:00;True|2023-12-13T17:18:32.9967555+01:00;True|2023-12-13T17:09:02.2153382+01:00;True|2023-12-13T16:54:26.3998101+01:00;True|2023-12-12T12:29:15.4496576+01:00;True|2023-12-12T10:07:33.8605887+01:00;True|2023-12-07T16:48:32.3661089+01:00;False|2023-12-07T16:48:16.7800909+01:00;True|2023-12-07T15:59:01.9494614+01:00;True|2023-12-06T16:37:11.4189532+01:00;False|2023-12-06T16:36:58.1903924+01:00;True|2023-12-06T15:04:14.7658513+01:00;True|2023-12-06T15:03:56.8183271+01:00;False|2023-12-06T15:02:43.1658892+01:00;True|2023-12-05T14:56:58.6533793+01:00;True|2023-12-05T11:27:46.7461820+01:00;False|2023-12-05T11:27:33.9312828+01:00;True|2023-12-05T10:50:28.4716173+01:00;True|2023-11-30T16:42:31.8596611+01:00;True|2023-11-30T15:55:03.2495195+01:00;True|2023-11-27T15:56:29.4491507+01:00;True|2023-11-27T12:01:19.1611383+01:00;True|2023-11-24T16:17:46.6740447+01:00;True|2023-11-24T14:45:39.1983088+01:00;True|2023-11-21T12:27:46.1304045+01:00;True|2023-11-20T14:46:36.7367797+01:00;True|2023-11-16T15:24:40.0316829+01:00;True|2023-11-16T11:01:34.3117013+01:00;True|2023-11-16T11:00:55.7387444+01:00;True|2023-11-14T09:11:56.7615009+01:00;True|2023-11-09T09:52:23.5464533+01:00;True|2023-11-07T16:06:54.6961557+01:00;False|2023-11-07T16:06:44.9066723+01:00;True|2023-11-06T12:13:06.8671991+01:00;True|2023-10-26T10:42:14.4857090+02:00;True|2023-10-24T09:42:38.9743258+02:00;True|2023-10-23T17:12:45.9054585+02:00;True|2023-10-23T16:29:52.5174378+02:00;True|2023-10-19T16:09:03.8796311+02:00;True|2023-10-19T15:59:31.4939287+02:00;True|2023-10-19T15:40:14.7096576+02:00;True|2023-10-19T14:56:26.8783257+02:00;True|2023-10-19T14:42:33.0463171+02:00;True|2023-10-17T16:39:01.8740450+02:00; diff --git a/ApiPolo/Startup.cs b/ApiPolo/Startup.cs index d34c088..e895cea 100644 --- a/ApiPolo/Startup.cs +++ b/ApiPolo/Startup.cs @@ -14,6 +14,7 @@ using ApiPolo.Models.Siet_dbcontext; using ApiPolo.Models.PMS_dbcontext; using ApiPolo.Models.VT_dbcontext; using ApiPolo.Models.Tedesco_dbcontext; +using ApiPolo.Models.Lift_web_dbcontext; namespace ApiPolo { @@ -301,6 +302,9 @@ namespace ApiPolo services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("DISCO") , options => { options.CommandTimeout(commandTimeoutInSeconds); } )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("DISCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); #endregion #region SAROM @@ -534,6 +538,9 @@ namespace ApiPolo services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") , options => { options.CommandTimeout(commandTimeoutInSeconds); } )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SIET2") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); #endregion #region PMS @@ -708,6 +715,170 @@ namespace ApiPolo services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("VIRTUAL_TASK") , options => { options.CommandTimeout(commandTimeoutInSeconds); } )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("VIRTUAL_TASK") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + #endregion + + #region LIFT_WEB + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + + + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + + + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("SICILIA") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + #endregion + + #region TEDESCO + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("TEDESCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("TEDESCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("TEDESCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("TEDESCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("TEDESCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("TEDESCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("TEDESCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("TEDESCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("TEDESCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("TEDESCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("TEDESCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("TEDESCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("TEDESCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("TEDESCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("TEDESCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("TEDESCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("TEDESCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("TEDESCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("TEDESCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("TEDESCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("TEDESCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("TEDESCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("TEDESCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("TEDESCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("TEDESCO") + , options => { options.CommandTimeout(commandTimeoutInSeconds); } + )); + #endregion services.AddSwaggerGen(gen => @@ -718,7 +889,7 @@ namespace ApiPolo DateTime oggi = DateTime.Now; string dt = oggi.ToString(); //gen.SwaggerDoc("v1", new OpenApiInfo { Title = "POLO API TEST - v.app 1.13", Version = dt }); - gen.SwaggerDoc("v1", new OpenApiInfo { Title = "POLO API - v.app 1.14", Version = dt }); + gen.SwaggerDoc("v1", new OpenApiInfo { Title = "POLO API - v.app 1.23", Version = dt }); var filePath = Path.Combine(System.AppContext.BaseDirectory, "ApiPolo.xml"); gen.IncludeXmlComments(filePath); @@ -731,6 +902,14 @@ namespace ApiPolo //c.CronExpression = @"* * * * *"; }); + services.AddLogging(opt => + { + opt.AddConsole(c => + { + c.TimestampFormat = "[yyyy-MM-dd HH:mm:ss] "; + }); + }); + } catch (Exception ex) { Console.WriteLine(ex.Message); diff --git a/ApiPolo/appsettings.json b/ApiPolo/appsettings.json index 57b3441..36ee4d9 100644 --- a/ApiPolo/appsettings.json +++ b/ApiPolo/appsettings.json @@ -32,7 +32,7 @@ /*"DISCO": "Data Source=10.0.0.10;Initial Catalog=AHR60_FERRARI_VISTE_DISCO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ /*"DISCO": "Data Source=37.159.179.14;Initial Catalog=R80_DISCO;User Id=sa; Password=Poloinf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ - "DISCO": "Data Source=discoverylift.dyndns.org;Initial Catalog=TEST_APP_NEW;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + "DISCO": "Data Source=discoverylift.dyndns.org;Initial Catalog=DISCOVERY_80;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", "SAROM": "Data Source=37.159.179.14;Initial Catalog=AHR60_SAROM_TEST80;User Id=sa; Password=Poloinf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", /*"SAROM": "Data Source=10.0.0.10;Initial Catalog=AHR80_SAROM;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ @@ -43,7 +43,9 @@ "SIET2": "Data Source=194.50.74.66;Initial Catalog=R65_SIET;User Id=sa; Password=W1ld1x42;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", "PMS": "Data Source=10.0.0.10;Initial Catalog=PMS_DEMO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", - "VIRTUAL_TASK": "Data Source=10.0.0.10;Initial Catalog=VIRTUAL_TASK;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False" + "VIRTUAL_TASK": "Data Source=10.0.0.10;Initial Catalog=VIRTUAL_TASK;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + "LIFT_WEB": "Data Source=10.0.0.79;Initial Catalog= AHRW42_LIFT;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + "TEDESCO": "Data Source=MARCO_PC\\SQL_2022;Initial Catalog= AHR_TEDESCO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False" }, diff --git a/ApiPolo/bin/Debug/net6.0/ApiPolo.dll b/ApiPolo/bin/Debug/net6.0/ApiPolo.dll index 8b053d0..be3298a 100644 Binary files a/ApiPolo/bin/Debug/net6.0/ApiPolo.dll and b/ApiPolo/bin/Debug/net6.0/ApiPolo.dll differ diff --git a/ApiPolo/bin/Debug/net6.0/ApiPolo.pdb b/ApiPolo/bin/Debug/net6.0/ApiPolo.pdb index 40ea6df..10cf098 100644 Binary files a/ApiPolo/bin/Debug/net6.0/ApiPolo.pdb and b/ApiPolo/bin/Debug/net6.0/ApiPolo.pdb differ diff --git a/ApiPolo/bin/Debug/net6.0/ApiPolo.staticwebassets.runtime.json b/ApiPolo/bin/Debug/net6.0/ApiPolo.staticwebassets.runtime.json index e6de4a4..0eb1038 100644 --- a/ApiPolo/bin/Debug/net6.0/ApiPolo.staticwebassets.runtime.json +++ b/ApiPolo/bin/Debug/net6.0/ApiPolo.staticwebassets.runtime.json @@ -1 +1 @@ -{"ContentRoots":["C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\"],"Root":{"Children":{"logo_disco.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_disco.jpg"},"Patterns":null},"logo_ferra.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_ferra.jpg"},"Patterns":null},"logo_marro.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_marro.jpg"},"Patterns":null}},"Asset":null,"Patterns":[{"ContentRootIndex":0,"Pattern":"**","Depth":0}]}} \ No newline at end of file +{"ContentRoots":["C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\"],"Root":{"Children":{"logo_disco.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_disco.jpg"},"Patterns":null},"logo_ferra.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_ferra.jpg"},"Patterns":null},"logo_marro.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_marro.jpg"},"Patterns":null},"VIRTU":{"Children":{"AZI01":{"Children":{"AZI01_LOGO.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI01/AZI01_LOGO.jpg"},"Patterns":null}},"Asset":null,"Patterns":null},"AZI02":{"Children":{"AZI02_LOGO.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/AZI02_LOGO.jpg"},"Patterns":null},"company2.png":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/company2.png"},"Patterns":null},"img2.png":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/img2.png"},"Patterns":null},"No_image.png":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/No_image.png"},"Patterns":null},"R.png":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/R.png"},"Patterns":null}},"Asset":null,"Patterns":null},"CAV00001.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/CAV00001.jpg"},"Patterns":null}},"Asset":null,"Patterns":null}},"Asset":null,"Patterns":[{"ContentRootIndex":0,"Pattern":"**","Depth":0}]}} \ No newline at end of file diff --git a/ApiPolo/bin/Debug/net6.0/ApiPolo.xml b/ApiPolo/bin/Debug/net6.0/ApiPolo.xml index 9f420c7..ac2ecfc 100644 --- a/ApiPolo/bin/Debug/net6.0/ApiPolo.xml +++ b/ApiPolo/bin/Debug/net6.0/ApiPolo.xml @@ -9,7 +9,7 @@ Controller unico - + polocontroller @@ -24,6 +24,9 @@ + + + 200=Ok 500=ErroreInterno 400=OperazioneNonAmmessa @@ -66,6 +69,18 @@ Siet + + PMS + + + VT app + + + Lift-web + + + Tedesco Impianti + @@ -96,6 +111,18 @@ Siet + + PMS + + + Virtual task + + + Lift web + + + Tedesco impianti + trasforma un Saldiart in un Mag_New @@ -111,12 +138,36 @@ formatta l'indirizzo stampa chiamate + + formatta l'indirizzo stampa chiamateper Discovery + + + formatta l'indirizzo della lista chiamate TEDESCO + + + formatta il riferimento impainto (html) + + + formatta il riferimento impianto Disco (html) + + + formatta il riferimento impianto Ferrari (html) + formatta l'indirizzo stampa manutenzioni + + formatta il riferimento impainto (html) + formatta l'indirizzo della lista manutenzioni + + formatta riferimwnto impianto su buono (html) + + + formatta riferimwnto impianto su buono (html) Disco + Configurazioni per azienda return:ActionResult @@ -129,6 +180,9 @@ inserisce Token + + token salvataggio + Magazzini per login return:ActionResult @@ -213,9 +267,171 @@ Ricerca Commessa return:ActionResult - + Salva la timbratuta in tabella Timbrature return:ActionResult Timbratura_out + + Login iniziale return:ActionResult + + + VIRTUAL TASK: Tecnici per azienda + + + VIRTUAL TASK: Tecnici per azienda + + + VIRTUAL TASK: crea un tecnico return:ActionResult + + + VIRTUAL TASK: cancella un tecnico return:ActionResult + + + VIRTUAL TASK: modifica un tecnico return:ActionResult + + + VIRTUAL TASK: Codici di chiusura + + + VIRTUAL TASK: crea un codice chiusura return:ActionResult + + + VIRTUAL TASK: cancella un codice chiusura return:ActionResult + + + VIRTUAL TASK: modifica un codice chiusura return:ActionResult + + + VIRTUAL TASK: anagrafiche clienti per azienda + + + VIRTUAL TASK: crea una anagrafica return:ActionResult + + + VIRTUAL TASK: crea una anagrafica return:ActionResult + + + VIRTUAL TASK: modifica una anagrafica return:ActionResult + + + VIRTUAL TASK: cancella una anagrafica (valorizza data obsolescenza) return:ActionResult + + + VIRTUAL TASK: rapp_new per azienda + + + VIRTUAL TASK: crea una rappnew return:ActionResult + + + VIRTUAL TASK: modifica una anagrafica return:ActionResult + + + VIRTUAL TASK: cancella una rapp_new return:ActionResult + + + VIRTUAL TASK: impianti per azienda + + + VIRTUAL TASK: impianti per azienda + + + VIRTUAL TASK: crea un impianto return:ActionResult + + + VIRTUAL TASK: modifica un impianto return:ActionResult + + + VIRTUAL TASK: cancella un impianto return:ActionResult + + + VIRTUAL TASK: chiamate per azienda + + + VIRTUAL TASK: chiamate per azienda + + + VIRTUAL TASK: crea una chiamata return:ActionResult + + + VIRTUAL TASK: modifica una chiamata return:ActionResult + + + VIRTUAL TASK: cancella una chiamata return:ActionResult + + + VIRTUAL TASK: progressivi per azienda + + + VIRTUAL TASK: modifica un progressivo return:ActionResult + + + VIRTUAL TASK: dati azienda + + + VIRTUAL TASK: crea una azienda return:ActionResult + + + VIRTUAL TASK: modifica un progressivo return:ActionResult + + + VIRTUAL TASK: cancella una azienda return:ActionResult + + + VIRTUAL TASK: registrazioni + + + VIRTUAL TASK: crea una registrazione return:ActionResult + + + VIRTUAL TASK: modifica una registrazione return:ActionResult + + + VIRTUAL TASK: cancella una registrazione return:ActionResult + + + VIRTUAL TASK: registrazioni + + + VIRTUAL TASK: commesse + + + VIRTUAL TASK: crea una commessa return:ActionResult + + + VIRTUAL TASK: modifica una commessa return:ActionResult + + + VIRTUAL TASK: cancella una commessa (valorizza data obsolescenza) return:ActionResult + + + VIRTUAL TASK: dati Azienda + + + VIRTUAL TASK: crea dati azienda return:ActionResult + + + VIRTUAL TASK: modifica una commessa return:ActionResult + + + VIRTUAL TASK: cancella una dati azienda return:ActionResult + + + VIRTUAL TASK: cancella una dati azienda return:ActionResult + + + VIRTUAL TASK: legge e salva su server return:ActionResult + + + VIRTUAL TASK: salvataggio su disco + + + VIRTUAL TASK: ricava il nome del file a partire dal path web + + + VIRTUAL TASK: dati Azienda + + + VIRTUAL TASK: inserisce buono + Contiene i campi di SALDIART @@ -254,6 +470,114 @@ listino cliente + + + + + + + + + + + + + + + + + tipo + + + codice + + + codice azienda + + + email + + + codice fiscale + + + partita iva + + + indirizzo + + + telefono + + + cellulare + + + pec + + + descrizione + + + listino cliente + + + cliente eliminato + + + + Contiene i campi di API_CLIENTI + + + + tipo + + + codice + + + email + + + codice fiscale + + + partita iva + + + indirizzo + + + telefono + + + cellulare + + + pec + + + descrizione + + + listino cliente + + + cliente eliminato + + + azienda (tenant2) + + + + Azienda prsente + + + + + Azienda tecnico + + Azienda collegata all'azienda principale @@ -275,6 +599,21 @@ Testo rapportino + + buoni rapportini + + + azienda + + + seriale buono + + + immagine + + + data inserimento + Causali rapportino @@ -289,6 +628,18 @@ flag fatturazione + + + + + codice azienda + + + codice di chiusura + + + codice intervento + @@ -882,21 +1233,6 @@ - - - - - - - - - - - - - - - Tabella CHIAMATE (insert da app) - Output @@ -1371,11 +1707,14 @@ riferimento impianto (va su rapportino) - indirizzo stampa (html) + indirizzo stampa (html) su buono impianto per lista (html) + + riferimento impianto (html) su buono + Chiusure @@ -1400,22 +1739,93 @@ Descrizione supplementare da mettere sul rapportino + + Contiena la lista di tipologie di manutenzione associate a quel codice + + + + (Virtual Task) Contiene i campi di CCHIUSA + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ViSTA API_COMMESSE - + + seriale Commessa + + Codice Commessa - - Descrizione Commessa + + Fase Commessa - + data fine validita Commessa - + tipo - + codice cliente @@ -1448,6 +1858,21 @@ provincia + + Descrizione commessa per SIET + + + seriale Commessa + + + tipo lavorazione + + + centro di costo - ticket + + + Codice commessa + ViSTA API_COMMESSE @@ -1508,6 +1933,96 @@ Error code + + ViSTA API_COMMESSE - VT + + + seriale Commessa + + + Azienda + + + Codice Commessa + + + Fase Commessa + + + data fine validita Commessa + + + tipo + + + codice cliente + + + descrizione cliente + + + impianto + + + tipo ind + + + indirizzo + + + numero + + + lettera + + + scala + + + localita + + + CAP + + + provincia + + + codice impianto - commesse + + + flag commessa generica cliente + + + seriale Commessa + + + seriale Commessa + + + Azienda + + + Codice Commessa + + + Fase Commessa + + + data fine validita Commessa + + + tipo + + + codice cliente + + + codice impianto + + + flag commessa generica cliente + Contiene i campi di xxxMICOMIMP (componenti impianto) @@ -1559,6 +2074,9 @@ + + descrizione per ogni articolo (se abilitata da configurazioni) + Contiene i campi di xxxMICOMIMP (componenti impianto) oggetto di output @@ -1850,6 +2368,15 @@ 0=non abilitata 1,2,3=abilitata + + Data rapportino editabile + + + articoli impianto in forma decimale + + + max num record in ricerca + storico impianto @@ -2048,6 +2575,21 @@ 0=non abilitata 1,2,3=abilitata + + data rapportino editabile + + + articoli impianto in forma decimale se valore maggiore di 1 e la cifra indica il numero di cifre decimali, altrimenti sono numeri interi + + + max num record in ricerca + + + rende visibile la riga dei prezzi sul rapportino + + + rende visibile la riga dei prezzi sul rapportino + ConfigurazioniDbContext @@ -2060,6 +2602,27 @@ OnModelCreating + + + + + azienda + + + tecnico + + + Denominazione + + + url del logo esposto + + + logo + + + testo azienda rapportino + Aziende collegate @@ -2084,6 +2647,18 @@ + + + + + + + + + + + + @@ -2675,6 +3250,60 @@ Azienda + + cod cliente + + + descrizione cliente + + + Data cancellazione + + + + + + Codice Impianto + + + Azienda + + + Descrizione Impianto + + + Tipo indirizzo (Via, piazza..) + + + indirizzo + + + numero civico + + + sottonumero + + + scala + + + localita + + + Cap + + + Comune + + + Provincia + + + cliente associato + + + Data cancellazione + Impianto out @@ -3152,6 +3781,306 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LoginModel @@ -3326,6 +4255,21 @@ 0=non abilitata 1,2,3=abilitata + + data rapportino editabile + + + articoli impianto in forma decimale + + + max num record in ricerca + + + rende visibile la riga dei prezzi sul rapportino + + + rende visibile la riga dei prezzi sul rapportino + LoginOut (token+user) @@ -3353,6 +4297,12 @@ Status + + flag admin + + + tenant + Magazzini azienda @@ -3421,6 +4371,9 @@ cpccchk + + descrizione per ogni articolo (se abilitata da configurazioni) + @@ -3901,6 +4854,9 @@ impianto per lista (html) + + riferimento impianto (html) su buono + @@ -4117,6 +5073,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ViSTA Chiamate @@ -4233,6 +5237,366 @@ descrizione pagamento + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Tabella PRESA @@ -4280,6 +5644,54 @@ + + + + + + + + + + + + + + + + + + + + tabella progressivi + + + Azienda + + + stringa definisce il tipo di progressivo da gestire + + + valore progressivo + + + Azienda + + + stringa definisce il tipo di progressivo da gestire + + + valore progressivo + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + @@ -4722,6 +6134,124 @@ flag forza impianto + + + + + + + Seriale + + + + + Azienda + + + + + Codice Impianto + + + + + Seriale chiamata + + + + + Seriale chiamata + + + + + Data rapportino + + + + Codice Cliente + + + Ragione Sociale + + + ora inizio rapportino + + + ora inizio rapportino + + + min inizio rapportino + + + min inizio rapportino + + + codice chiusura 1 + + + codice chiusura 2 + + + codice chiusura 3 + + + codice chiusura 4 + + + codice chiusura 5 + + + codice chiusura 6 + + + codice chiusura 7 + + + codice chiusura 8 + + + codice chiusura 9 + + + codice chiusura 10 + + + descrizione int + + + tecnico + + + firma + + + cod intervento + + + + + + + + + + + + + + + + + + + + + + + + + Rapp_New @@ -4981,6 +6511,326 @@ + + Vista Rapp_New + + + Seriale rapportini + + + + Tipo rapportini + + + + + Azienda + + + + + Codice Impianto + + + + + Azienda su cui è la chiamata + + + + + Seriale chiamata + + + + + Seriale chiamata + + + + + Data rapportino + + + + + Ora inizio + + + + + minuto inizio + + + + + Ora fine + + + + + Minuto fine + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + descrizione intervento + + + + + stato + + + + + generato + + + + + azienda tecnico + + + + + codice tecnico + + + + + flag rifiutata + + + + + nminativo firma + + + + + flag stato In Carico + + + + + data validità + + + + + pathg immagine buono o firma + + + + + seriale del buono + + + + + data/ora effettiva del lavoro (nel caso dispositivo offline) + + + + + codice_intervento (valido per manutenzioni. Esempio: SEM=semestrale) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Form di registrazione + + + tipo + + + Nome + + + Cognome + + + Telefono + + + Cellulare + + + Email + + + Email di conferma + + + Azienda + + + Username + + + Password + + + Città + + + Provincia (sigla) + + + Nazione (sigla) + + + Attivato (S/N) + + + Token registrazione + + + Form registrazione: check 1 + + + Form registrazione: check 2 + + + Form registrazione: check 3 + + + Form registrazione: check 4 + Contiene i campi di SALDIART @@ -5037,6 +6887,9 @@ articolo gestito a lotti (S e C=si, N=no) + + descrizione per ogni articolo (se abilitata da configurazioni) + @@ -5217,6 +7070,318 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5229,6 +7394,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + @@ -5241,6 +7430,18 @@ + + + + + + + + + + + + @@ -5301,6 +7502,18 @@ + + + + + + + + + + + + @@ -5421,6 +7634,18 @@ + + + + + + + + + + + + @@ -5577,6 +7802,18 @@ + + + + + + + + + + + + @@ -5601,6 +7838,18 @@ + + + + + + + + + + + + @@ -6263,6 +8512,368 @@ data fine attività tecnico + + + (Virtual Task) Contiene i campi di TECNICI + + + + + + + + + + + + + + + + + + + + + + costo ordinario + + + costo notturno + + + costo straordinario + + + costo festivo + + + data cancellazione + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Tabella Timbrature @@ -6413,6 +9024,294 @@ response + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ApiPolo/bin/Debug/net6.0/appsettings.json b/ApiPolo/bin/Debug/net6.0/appsettings.json index 521bd26..36ee4d9 100644 --- a/ApiPolo/bin/Debug/net6.0/appsettings.json +++ b/ApiPolo/bin/Debug/net6.0/appsettings.json @@ -10,8 +10,9 @@ //connessione non sicura: Encrypt=False - /*"ApiStr": "Data Source=10.0.0.10;Initial Catalog=API_POLO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ - "ApiStr": "Data Source=10.0.0.10;Initial Catalog=API_POLO2;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + /*"ApiStr": "Data Source=10.0.0.19;Initial Catalog=API_POLO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + "ApiStr": "Data Source=10.0.0.10;Initial Catalog=API_POLO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + /*"ApiStr": "Data Source=10.0.0.19;Initial Catalog=API_POLO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ /*"FERRA": "Data Source=10.0.0.10;Initial Catalog=AHR60_FERRARI;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ "FERRA": "Data Source=37.159.179.14;Initial Catalog=AHR80_TEST;User Id=AppPolo; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False;Encrypt=False;Trust Server Certificate=True", @@ -26,17 +27,26 @@ "LIFTA": "Data Source=poloinformatico57.clienti.init-s.it;Initial Catalog=R80_LIFTA;User Id=app; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", "LIFTA_MARRO": "Data Source=poloinformatico57.clienti.init-s.it;Initial Catalog=R80_MARROCCO;User Id=app; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", - "SICILIA": "Data Source=10.0.0.10;Initial Catalog=AHR_SICILIA;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + /*"SICILIA": "Data Source=10.0.0.10;Initial Catalog=AHR_SICILIA;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ + "SICILIA": "Data Source=studioliuzzo.selfip.net;Initial Catalog=AHR_TEST_APP;User Id=sa; Password=1Zucchetti;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", /*"DISCO": "Data Source=10.0.0.10;Initial Catalog=AHR60_FERRARI_VISTE_DISCO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ /*"DISCO": "Data Source=37.159.179.14;Initial Catalog=R80_DISCO;User Id=sa; Password=Poloinf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ - "DISCO": "Data Source=discoverylift.dyndns.org;Initial Catalog=TEST_APP_NEW;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + "DISCO": "Data Source=discoverylift.dyndns.org;Initial Catalog=DISCOVERY_80;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", "SAROM": "Data Source=37.159.179.14;Initial Catalog=AHR60_SAROM_TEST80;User Id=sa; Password=Poloinf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", /*"SAROM": "Data Source=10.0.0.10;Initial Catalog=AHR80_SAROM;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ /*"SINER": "Data Source=10.0.0.10;Initial Catalog=AHR_SINERGO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False"*/ - "SINER": "Data Source=ufficio.sinergogroup.it,31433;Initial Catalog=AHR_TECLI;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False" + "SINER": "Data Source=ufficio.sinergogroup.it,31433;Initial Catalog=AHR_TECLI;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + + "SIET2": "Data Source=194.50.74.66;Initial Catalog=R65_SIET;User Id=sa; Password=W1ld1x42;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + + "PMS": "Data Source=10.0.0.10;Initial Catalog=PMS_DEMO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + "VIRTUAL_TASK": "Data Source=10.0.0.10;Initial Catalog=VIRTUAL_TASK;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + "LIFT_WEB": "Data Source=10.0.0.79;Initial Catalog= AHRW42_LIFT;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + "TEDESCO": "Data Source=MARCO_PC\\SQL_2022;Initial Catalog= AHR_TEDESCO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False" + }, "JWT": { diff --git a/ApiPolo/bin/Release/net6.0/ApiPolo.dll b/ApiPolo/bin/Release/net6.0/ApiPolo.dll index 405c9b4..71a2f90 100644 Binary files a/ApiPolo/bin/Release/net6.0/ApiPolo.dll and b/ApiPolo/bin/Release/net6.0/ApiPolo.dll differ diff --git a/ApiPolo/bin/Release/net6.0/ApiPolo.pdb b/ApiPolo/bin/Release/net6.0/ApiPolo.pdb index ea77028..35d8e6c 100644 Binary files a/ApiPolo/bin/Release/net6.0/ApiPolo.pdb and b/ApiPolo/bin/Release/net6.0/ApiPolo.pdb differ diff --git a/ApiPolo/bin/Release/net6.0/ApiPolo.staticwebassets.runtime.json b/ApiPolo/bin/Release/net6.0/ApiPolo.staticwebassets.runtime.json index bbdad6e..0eb1038 100644 --- a/ApiPolo/bin/Release/net6.0/ApiPolo.staticwebassets.runtime.json +++ b/ApiPolo/bin/Release/net6.0/ApiPolo.staticwebassets.runtime.json @@ -1 +1 @@ -{"ContentRoots":["C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\"],"Root":{"Children":{"logo_disco.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_disco.jpg"},"Patterns":null},"logo_ferra.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_ferra.jpg"},"Patterns":null},"logo_marro.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_marro.jpg"},"Patterns":null},"VIRTU":{"Children":{"AZI01":{"Children":{"AZI01_LOGO.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI01/AZI01_LOGO.jpg"},"Patterns":null}},"Asset":null,"Patterns":null},"AZI02":{"Children":{"AZI02_LOGO.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/AZI02_LOGO.jpg"},"Patterns":null},"company2.png":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/company2.png"},"Patterns":null},"R.png":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/R.png"},"Patterns":null}},"Asset":null,"Patterns":null},"CAV00001.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/CAV00001.jpg"},"Patterns":null}},"Asset":null,"Patterns":null}},"Asset":null,"Patterns":[{"ContentRootIndex":0,"Pattern":"**","Depth":0}]}} \ No newline at end of file +{"ContentRoots":["C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\"],"Root":{"Children":{"logo_disco.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_disco.jpg"},"Patterns":null},"logo_ferra.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_ferra.jpg"},"Patterns":null},"logo_marro.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_marro.jpg"},"Patterns":null},"VIRTU":{"Children":{"AZI01":{"Children":{"AZI01_LOGO.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI01/AZI01_LOGO.jpg"},"Patterns":null}},"Asset":null,"Patterns":null},"AZI02":{"Children":{"AZI02_LOGO.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/AZI02_LOGO.jpg"},"Patterns":null},"company2.png":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/company2.png"},"Patterns":null},"img2.png":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/img2.png"},"Patterns":null},"No_image.png":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/No_image.png"},"Patterns":null},"R.png":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/R.png"},"Patterns":null}},"Asset":null,"Patterns":null},"CAV00001.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/CAV00001.jpg"},"Patterns":null}},"Asset":null,"Patterns":null}},"Asset":null,"Patterns":[{"ContentRootIndex":0,"Pattern":"**","Depth":0}]}} \ No newline at end of file diff --git a/ApiPolo/bin/Release/net6.0/ApiPolo.xml b/ApiPolo/bin/Release/net6.0/ApiPolo.xml index ab2311f..ac2ecfc 100644 --- a/ApiPolo/bin/Release/net6.0/ApiPolo.xml +++ b/ApiPolo/bin/Release/net6.0/ApiPolo.xml @@ -9,7 +9,7 @@ Controller unico - + polocontroller @@ -75,6 +75,12 @@ VT app + + Lift-web + + + Tedesco Impianti + @@ -111,6 +117,12 @@ Virtual task + + Lift web + + + Tedesco impianti + trasforma un Saldiart in un Mag_New @@ -129,6 +141,9 @@ formatta l'indirizzo stampa chiamateper Discovery + + formatta l'indirizzo della lista chiamate TEDESCO + formatta il riferimento impainto (html) @@ -165,6 +180,9 @@ inserisce Token + + token salvataggio + Magazzini per login return:ActionResult @@ -396,6 +414,18 @@ VIRTUAL TASK: cancella una dati azienda return:ActionResult + + VIRTUAL TASK: cancella una dati azienda return:ActionResult + + + VIRTUAL TASK: legge e salva su server return:ActionResult + + + VIRTUAL TASK: salvataggio su disco + + + VIRTUAL TASK: ricava il nome del file a partire dal path web + VIRTUAL TASK: dati Azienda @@ -598,6 +628,18 @@ flag fatturazione + + + + + codice azienda + + + codice di chiusura + + + codice intervento + @@ -1697,6 +1739,9 @@ Descrizione supplementare da mettere sul rapportino + + Contiena la lista di tipologie di manutenzione associate a quel codice + (Virtual Task) Contiene i campi di CCHIUSA @@ -1813,6 +1858,21 @@ provincia + + Descrizione commessa per SIET + + + seriale Commessa + + + tipo lavorazione + + + centro di costo - ticket + + + Codice commessa + ViSTA API_COMMESSE @@ -2587,6 +2647,18 @@ + + + + + + + + + + + + @@ -3709,6 +3781,306 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LoginModel @@ -5796,6 +6168,90 @@ Data rapportino + + Codice Cliente + + + Ragione Sociale + + + ora inizio rapportino + + + ora inizio rapportino + + + min inizio rapportino + + + min inizio rapportino + + + codice chiusura 1 + + + codice chiusura 2 + + + codice chiusura 3 + + + codice chiusura 4 + + + codice chiusura 5 + + + codice chiusura 6 + + + codice chiusura 7 + + + codice chiusura 8 + + + codice chiusura 9 + + + codice chiusura 10 + + + descrizione int + + + tecnico + + + firma + + + cod intervento + + + + + + + + + + + + + + + + + + + + + + + + + Rapp_New @@ -6363,6 +6819,18 @@ Token registrazione + + Form registrazione: check 1 + + + Form registrazione: check 2 + + + Form registrazione: check 3 + + + Form registrazione: check 4 + Contiene i campi di SALDIART @@ -6602,6 +7070,306 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -7034,6 +7802,18 @@ + + + + + + + + + + + + @@ -7821,7 +8601,7 @@ - + @@ -7830,6 +8610,18 @@ + + + + + + + + + + + + @@ -8484,6 +9276,18 @@ + + + + + + + + + + + + diff --git a/ApiPolo/bin/Release/net6.0/appsettings.json b/ApiPolo/bin/Release/net6.0/appsettings.json index 57b3441..36ee4d9 100644 --- a/ApiPolo/bin/Release/net6.0/appsettings.json +++ b/ApiPolo/bin/Release/net6.0/appsettings.json @@ -32,7 +32,7 @@ /*"DISCO": "Data Source=10.0.0.10;Initial Catalog=AHR60_FERRARI_VISTE_DISCO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ /*"DISCO": "Data Source=37.159.179.14;Initial Catalog=R80_DISCO;User Id=sa; Password=Poloinf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ - "DISCO": "Data Source=discoverylift.dyndns.org;Initial Catalog=TEST_APP_NEW;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + "DISCO": "Data Source=discoverylift.dyndns.org;Initial Catalog=DISCOVERY_80;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", "SAROM": "Data Source=37.159.179.14;Initial Catalog=AHR60_SAROM_TEST80;User Id=sa; Password=Poloinf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", /*"SAROM": "Data Source=10.0.0.10;Initial Catalog=AHR80_SAROM;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ @@ -43,7 +43,9 @@ "SIET2": "Data Source=194.50.74.66;Initial Catalog=R65_SIET;User Id=sa; Password=W1ld1x42;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", "PMS": "Data Source=10.0.0.10;Initial Catalog=PMS_DEMO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", - "VIRTUAL_TASK": "Data Source=10.0.0.10;Initial Catalog=VIRTUAL_TASK;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False" + "VIRTUAL_TASK": "Data Source=10.0.0.10;Initial Catalog=VIRTUAL_TASK;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + "LIFT_WEB": "Data Source=10.0.0.79;Initial Catalog= AHRW42_LIFT;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + "TEDESCO": "Data Source=MARCO_PC\\SQL_2022;Initial Catalog= AHR_TEDESCO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False" }, diff --git a/ApiPolo/obj/Debug/net6.0/ApiPolo.GeneratedMSBuildEditorConfig.editorconfig b/ApiPolo/obj/Debug/net6.0/ApiPolo.GeneratedMSBuildEditorConfig.editorconfig index cbc3548..645bc61 100644 --- a/ApiPolo/obj/Debug/net6.0/ApiPolo.GeneratedMSBuildEditorConfig.editorconfig +++ b/ApiPolo/obj/Debug/net6.0/ApiPolo.GeneratedMSBuildEditorConfig.editorconfig @@ -9,9 +9,9 @@ build_property.EnforceExtendedAnalyzerRules = build_property._SupportedPlatformList = Linux,macOS,Windows build_property.RootNamespace = ApiPolo build_property.RootNamespace = ApiPolo -build_property.ProjectDir = C:\SORGENTI\ApiPolo\ApiPolo\ +build_property.ProjectDir = C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\ build_property.RazorLangVersion = 6.0 build_property.SupportLocalizedComponentNames = build_property.GenerateRazorMetadataSourceChecksumAttributes = -build_property.MSBuildProjectDirectory = C:\SORGENTI\ApiPolo\ApiPolo +build_property.MSBuildProjectDirectory = C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo build_property._RazorSourceGeneratorDebug = diff --git a/ApiPolo/obj/Debug/net6.0/ApiPolo.assets.cache b/ApiPolo/obj/Debug/net6.0/ApiPolo.assets.cache index 8aaf8dd..7688818 100644 Binary files a/ApiPolo/obj/Debug/net6.0/ApiPolo.assets.cache and b/ApiPolo/obj/Debug/net6.0/ApiPolo.assets.cache differ diff --git a/ApiPolo/obj/Debug/net6.0/ApiPolo.csproj.AssemblyReference.cache b/ApiPolo/obj/Debug/net6.0/ApiPolo.csproj.AssemblyReference.cache index 7cedbd3..cad837e 100644 Binary files a/ApiPolo/obj/Debug/net6.0/ApiPolo.csproj.AssemblyReference.cache and b/ApiPolo/obj/Debug/net6.0/ApiPolo.csproj.AssemblyReference.cache differ diff --git a/ApiPolo/obj/Debug/net6.0/ApiPolo.csproj.CoreCompileInputs.cache b/ApiPolo/obj/Debug/net6.0/ApiPolo.csproj.CoreCompileInputs.cache index 9a6f76d..b47aa5d 100644 --- a/ApiPolo/obj/Debug/net6.0/ApiPolo.csproj.CoreCompileInputs.cache +++ b/ApiPolo/obj/Debug/net6.0/ApiPolo.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -079867c601cac49bbe0d426d262e757d8470918f +176d63897cfc0614b5bfe24857cce51a153d09d4 diff --git a/ApiPolo/obj/Debug/net6.0/ApiPolo.csproj.FileListAbsolute.txt b/ApiPolo/obj/Debug/net6.0/ApiPolo.csproj.FileListAbsolute.txt index ec3517a..124d8fb 100644 --- a/ApiPolo/obj/Debug/net6.0/ApiPolo.csproj.FileListAbsolute.txt +++ b/ApiPolo/obj/Debug/net6.0/ApiPolo.csproj.FileListAbsolute.txt @@ -95,3 +95,100 @@ C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Google.Apis.Core.dll C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Microsoft.Bcl.AsyncInterfaces.dll C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Newtonsoft.Json.dll C:\SORGENTI\ApiPolo\ApiPolo\bin\Debug\net6.0\Cronos.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\appsettings.Development.json +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\private_key.json +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\appsettings.json +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\ApiPolo.staticwebassets.runtime.json +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\ApiPolo.exe +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\ApiPolo.deps.json +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\ApiPolo.runtimeconfig.json +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\ApiPolo.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\ApiPolo.pdb +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\ApiPolo.xml +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Cronos.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\FirebaseAdmin.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Google.Api.Gax.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Google.Api.Gax.Rest.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Google.Apis.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Google.Apis.Auth.PlatformServices.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Google.Apis.Auth.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Google.Apis.Core.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Humanizer.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\System.Web.Mvc.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\System.Web.Razor.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\System.Web.Helpers.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\System.Web.WebPages.Deployment.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\System.Web.WebPages.Razor.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\System.Web.WebPages.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Microsoft.AspNetCore.Authentication.Negotiate.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Microsoft.AspNetCore.Connections.Abstractions.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Microsoft.Bcl.AsyncInterfaces.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Microsoft.Data.SqlClient.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Microsoft.EntityFrameworkCore.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Microsoft.EntityFrameworkCore.Abstractions.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Microsoft.EntityFrameworkCore.Design.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Microsoft.EntityFrameworkCore.Relational.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Microsoft.EntityFrameworkCore.SqlServer.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Microsoft.Extensions.Caching.Memory.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Microsoft.Extensions.Features.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Microsoft.Identity.Client.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Microsoft.IdentityModel.JsonWebTokens.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Microsoft.IdentityModel.Logging.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Microsoft.IdentityModel.Protocols.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Microsoft.IdentityModel.Tokens.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Microsoft.OpenApi.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Microsoft.Web.Infrastructure.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Microsoft.Win32.SystemEvents.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Newtonsoft.Json.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Renci.SshNet.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\SshNet.Security.Cryptography.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Swashbuckle.AspNetCore.Swagger.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Swashbuckle.AspNetCore.SwaggerGen.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\Swashbuckle.AspNetCore.SwaggerUI.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\System.Configuration.ConfigurationManager.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\System.DirectoryServices.Protocols.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\System.Drawing.Common.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\System.IdentityModel.Tokens.Jwt.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\System.IO.Pipelines.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\System.Runtime.Caching.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\System.Security.Cryptography.ProtectedData.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\System.Security.Permissions.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\System.Windows.Extensions.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\runtimes\unix\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\runtimes\win\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\runtimes\win-arm\native\Microsoft.Data.SqlClient.SNI.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\runtimes\win-arm64\native\Microsoft.Data.SqlClient.SNI.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\runtimes\win-x64\native\Microsoft.Data.SqlClient.SNI.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\runtimes\win-x86\native\Microsoft.Data.SqlClient.SNI.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\runtimes\win\lib\netcoreapp3.0\Microsoft.Win32.SystemEvents.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\runtimes\linux\lib\net6.0\System.DirectoryServices.Protocols.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\runtimes\osx\lib\net6.0\System.DirectoryServices.Protocols.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\runtimes\win\lib\net6.0\System.DirectoryServices.Protocols.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\runtimes\unix\lib\netcoreapp3.0\System.Drawing.Common.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\runtimes\win\lib\netcoreapp3.0\System.Drawing.Common.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\runtimes\win\lib\netstandard2.0\System.Runtime.Caching.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\runtimes\win\lib\netstandard2.0\System.Security.Cryptography.ProtectedData.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Debug\net6.0\runtimes\win\lib\netcoreapp3.0\System.Windows.Extensions.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Debug\net6.0\ApiPolo.csproj.AssemblyReference.cache +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Debug\net6.0\ApiPolo.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Debug\net6.0\ApiPolo.AssemblyInfoInputs.cache +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Debug\net6.0\ApiPolo.AssemblyInfo.cs +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Debug\net6.0\ApiPolo.csproj.CoreCompileInputs.cache +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Debug\net6.0\ApiPolo.MvcApplicationPartsAssemblyInfo.cs +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Debug\net6.0\ApiPolo.MvcApplicationPartsAssemblyInfo.cache +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Debug\net6.0\staticwebassets\msbuild.ApiPolo.Microsoft.AspNetCore.StaticWebAssets.props +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Debug\net6.0\staticwebassets\msbuild.build.ApiPolo.props +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Debug\net6.0\staticwebassets\msbuild.buildMultiTargeting.ApiPolo.props +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Debug\net6.0\staticwebassets\msbuild.buildTransitive.ApiPolo.props +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Debug\net6.0\staticwebassets.pack.json +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Debug\net6.0\staticwebassets.build.json +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Debug\net6.0\staticwebassets.development.json +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Debug\net6.0\scopedcss\bundle\ApiPolo.styles.css +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Debug\net6.0\ApiPolo.csproj.CopyComplete +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Debug\net6.0\ApiPolo.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Debug\net6.0\refint\ApiPolo.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Debug\net6.0\ApiPolo.xml +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Debug\net6.0\ApiPolo.pdb +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Debug\net6.0\ApiPolo.genruntimeconfig.cache +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Debug\net6.0\ref\ApiPolo.dll diff --git a/ApiPolo/obj/Debug/net6.0/ApiPolo.dll b/ApiPolo/obj/Debug/net6.0/ApiPolo.dll index 8b053d0..be3298a 100644 Binary files a/ApiPolo/obj/Debug/net6.0/ApiPolo.dll and b/ApiPolo/obj/Debug/net6.0/ApiPolo.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/ApiPolo.genruntimeconfig.cache b/ApiPolo/obj/Debug/net6.0/ApiPolo.genruntimeconfig.cache index 88e3d8a..1623e29 100644 --- a/ApiPolo/obj/Debug/net6.0/ApiPolo.genruntimeconfig.cache +++ b/ApiPolo/obj/Debug/net6.0/ApiPolo.genruntimeconfig.cache @@ -1 +1 @@ -4890addb743df8cdabda2ce05a1be354d83573fa +153ebeadabf03a6a990455fbd32f181e14171207 diff --git a/ApiPolo/obj/Debug/net6.0/ApiPolo.pdb b/ApiPolo/obj/Debug/net6.0/ApiPolo.pdb index 40ea6df..10cf098 100644 Binary files a/ApiPolo/obj/Debug/net6.0/ApiPolo.pdb and b/ApiPolo/obj/Debug/net6.0/ApiPolo.pdb differ diff --git a/ApiPolo/obj/Debug/net6.0/ApiPolo.xml b/ApiPolo/obj/Debug/net6.0/ApiPolo.xml index 9f420c7..ac2ecfc 100644 --- a/ApiPolo/obj/Debug/net6.0/ApiPolo.xml +++ b/ApiPolo/obj/Debug/net6.0/ApiPolo.xml @@ -9,7 +9,7 @@ Controller unico - + polocontroller @@ -24,6 +24,9 @@ + + + 200=Ok 500=ErroreInterno 400=OperazioneNonAmmessa @@ -66,6 +69,18 @@ Siet + + PMS + + + VT app + + + Lift-web + + + Tedesco Impianti + @@ -96,6 +111,18 @@ Siet + + PMS + + + Virtual task + + + Lift web + + + Tedesco impianti + trasforma un Saldiart in un Mag_New @@ -111,12 +138,36 @@ formatta l'indirizzo stampa chiamate + + formatta l'indirizzo stampa chiamateper Discovery + + + formatta l'indirizzo della lista chiamate TEDESCO + + + formatta il riferimento impainto (html) + + + formatta il riferimento impianto Disco (html) + + + formatta il riferimento impianto Ferrari (html) + formatta l'indirizzo stampa manutenzioni + + formatta il riferimento impainto (html) + formatta l'indirizzo della lista manutenzioni + + formatta riferimwnto impianto su buono (html) + + + formatta riferimwnto impianto su buono (html) Disco + Configurazioni per azienda return:ActionResult @@ -129,6 +180,9 @@ inserisce Token + + token salvataggio + Magazzini per login return:ActionResult @@ -213,9 +267,171 @@ Ricerca Commessa return:ActionResult - + Salva la timbratuta in tabella Timbrature return:ActionResult Timbratura_out + + Login iniziale return:ActionResult + + + VIRTUAL TASK: Tecnici per azienda + + + VIRTUAL TASK: Tecnici per azienda + + + VIRTUAL TASK: crea un tecnico return:ActionResult + + + VIRTUAL TASK: cancella un tecnico return:ActionResult + + + VIRTUAL TASK: modifica un tecnico return:ActionResult + + + VIRTUAL TASK: Codici di chiusura + + + VIRTUAL TASK: crea un codice chiusura return:ActionResult + + + VIRTUAL TASK: cancella un codice chiusura return:ActionResult + + + VIRTUAL TASK: modifica un codice chiusura return:ActionResult + + + VIRTUAL TASK: anagrafiche clienti per azienda + + + VIRTUAL TASK: crea una anagrafica return:ActionResult + + + VIRTUAL TASK: crea una anagrafica return:ActionResult + + + VIRTUAL TASK: modifica una anagrafica return:ActionResult + + + VIRTUAL TASK: cancella una anagrafica (valorizza data obsolescenza) return:ActionResult + + + VIRTUAL TASK: rapp_new per azienda + + + VIRTUAL TASK: crea una rappnew return:ActionResult + + + VIRTUAL TASK: modifica una anagrafica return:ActionResult + + + VIRTUAL TASK: cancella una rapp_new return:ActionResult + + + VIRTUAL TASK: impianti per azienda + + + VIRTUAL TASK: impianti per azienda + + + VIRTUAL TASK: crea un impianto return:ActionResult + + + VIRTUAL TASK: modifica un impianto return:ActionResult + + + VIRTUAL TASK: cancella un impianto return:ActionResult + + + VIRTUAL TASK: chiamate per azienda + + + VIRTUAL TASK: chiamate per azienda + + + VIRTUAL TASK: crea una chiamata return:ActionResult + + + VIRTUAL TASK: modifica una chiamata return:ActionResult + + + VIRTUAL TASK: cancella una chiamata return:ActionResult + + + VIRTUAL TASK: progressivi per azienda + + + VIRTUAL TASK: modifica un progressivo return:ActionResult + + + VIRTUAL TASK: dati azienda + + + VIRTUAL TASK: crea una azienda return:ActionResult + + + VIRTUAL TASK: modifica un progressivo return:ActionResult + + + VIRTUAL TASK: cancella una azienda return:ActionResult + + + VIRTUAL TASK: registrazioni + + + VIRTUAL TASK: crea una registrazione return:ActionResult + + + VIRTUAL TASK: modifica una registrazione return:ActionResult + + + VIRTUAL TASK: cancella una registrazione return:ActionResult + + + VIRTUAL TASK: registrazioni + + + VIRTUAL TASK: commesse + + + VIRTUAL TASK: crea una commessa return:ActionResult + + + VIRTUAL TASK: modifica una commessa return:ActionResult + + + VIRTUAL TASK: cancella una commessa (valorizza data obsolescenza) return:ActionResult + + + VIRTUAL TASK: dati Azienda + + + VIRTUAL TASK: crea dati azienda return:ActionResult + + + VIRTUAL TASK: modifica una commessa return:ActionResult + + + VIRTUAL TASK: cancella una dati azienda return:ActionResult + + + VIRTUAL TASK: cancella una dati azienda return:ActionResult + + + VIRTUAL TASK: legge e salva su server return:ActionResult + + + VIRTUAL TASK: salvataggio su disco + + + VIRTUAL TASK: ricava il nome del file a partire dal path web + + + VIRTUAL TASK: dati Azienda + + + VIRTUAL TASK: inserisce buono + Contiene i campi di SALDIART @@ -254,6 +470,114 @@ listino cliente + + + + + + + + + + + + + + + + + tipo + + + codice + + + codice azienda + + + email + + + codice fiscale + + + partita iva + + + indirizzo + + + telefono + + + cellulare + + + pec + + + descrizione + + + listino cliente + + + cliente eliminato + + + + Contiene i campi di API_CLIENTI + + + + tipo + + + codice + + + email + + + codice fiscale + + + partita iva + + + indirizzo + + + telefono + + + cellulare + + + pec + + + descrizione + + + listino cliente + + + cliente eliminato + + + azienda (tenant2) + + + + Azienda prsente + + + + + Azienda tecnico + + Azienda collegata all'azienda principale @@ -275,6 +599,21 @@ Testo rapportino + + buoni rapportini + + + azienda + + + seriale buono + + + immagine + + + data inserimento + Causali rapportino @@ -289,6 +628,18 @@ flag fatturazione + + + + + codice azienda + + + codice di chiusura + + + codice intervento + @@ -882,21 +1233,6 @@ - - - - - - - - - - - - - - - Tabella CHIAMATE (insert da app) - Output @@ -1371,11 +1707,14 @@ riferimento impianto (va su rapportino) - indirizzo stampa (html) + indirizzo stampa (html) su buono impianto per lista (html) + + riferimento impianto (html) su buono + Chiusure @@ -1400,22 +1739,93 @@ Descrizione supplementare da mettere sul rapportino + + Contiena la lista di tipologie di manutenzione associate a quel codice + + + + (Virtual Task) Contiene i campi di CCHIUSA + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ViSTA API_COMMESSE - + + seriale Commessa + + Codice Commessa - - Descrizione Commessa + + Fase Commessa - + data fine validita Commessa - + tipo - + codice cliente @@ -1448,6 +1858,21 @@ provincia + + Descrizione commessa per SIET + + + seriale Commessa + + + tipo lavorazione + + + centro di costo - ticket + + + Codice commessa + ViSTA API_COMMESSE @@ -1508,6 +1933,96 @@ Error code + + ViSTA API_COMMESSE - VT + + + seriale Commessa + + + Azienda + + + Codice Commessa + + + Fase Commessa + + + data fine validita Commessa + + + tipo + + + codice cliente + + + descrizione cliente + + + impianto + + + tipo ind + + + indirizzo + + + numero + + + lettera + + + scala + + + localita + + + CAP + + + provincia + + + codice impianto - commesse + + + flag commessa generica cliente + + + seriale Commessa + + + seriale Commessa + + + Azienda + + + Codice Commessa + + + Fase Commessa + + + data fine validita Commessa + + + tipo + + + codice cliente + + + codice impianto + + + flag commessa generica cliente + Contiene i campi di xxxMICOMIMP (componenti impianto) @@ -1559,6 +2074,9 @@ + + descrizione per ogni articolo (se abilitata da configurazioni) + Contiene i campi di xxxMICOMIMP (componenti impianto) oggetto di output @@ -1850,6 +2368,15 @@ 0=non abilitata 1,2,3=abilitata + + Data rapportino editabile + + + articoli impianto in forma decimale + + + max num record in ricerca + storico impianto @@ -2048,6 +2575,21 @@ 0=non abilitata 1,2,3=abilitata + + data rapportino editabile + + + articoli impianto in forma decimale se valore maggiore di 1 e la cifra indica il numero di cifre decimali, altrimenti sono numeri interi + + + max num record in ricerca + + + rende visibile la riga dei prezzi sul rapportino + + + rende visibile la riga dei prezzi sul rapportino + ConfigurazioniDbContext @@ -2060,6 +2602,27 @@ OnModelCreating + + + + + azienda + + + tecnico + + + Denominazione + + + url del logo esposto + + + logo + + + testo azienda rapportino + Aziende collegate @@ -2084,6 +2647,18 @@ + + + + + + + + + + + + @@ -2675,6 +3250,60 @@ Azienda + + cod cliente + + + descrizione cliente + + + Data cancellazione + + + + + + Codice Impianto + + + Azienda + + + Descrizione Impianto + + + Tipo indirizzo (Via, piazza..) + + + indirizzo + + + numero civico + + + sottonumero + + + scala + + + localita + + + Cap + + + Comune + + + Provincia + + + cliente associato + + + Data cancellazione + Impianto out @@ -3152,6 +3781,306 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LoginModel @@ -3326,6 +4255,21 @@ 0=non abilitata 1,2,3=abilitata + + data rapportino editabile + + + articoli impianto in forma decimale + + + max num record in ricerca + + + rende visibile la riga dei prezzi sul rapportino + + + rende visibile la riga dei prezzi sul rapportino + LoginOut (token+user) @@ -3353,6 +4297,12 @@ Status + + flag admin + + + tenant + Magazzini azienda @@ -3421,6 +4371,9 @@ cpccchk + + descrizione per ogni articolo (se abilitata da configurazioni) + @@ -3901,6 +4854,9 @@ impianto per lista (html) + + riferimento impianto (html) su buono + @@ -4117,6 +5073,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ViSTA Chiamate @@ -4233,6 +5237,366 @@ descrizione pagamento + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Tabella PRESA @@ -4280,6 +5644,54 @@ + + + + + + + + + + + + + + + + + + + + tabella progressivi + + + Azienda + + + stringa definisce il tipo di progressivo da gestire + + + valore progressivo + + + Azienda + + + stringa definisce il tipo di progressivo da gestire + + + valore progressivo + + + errore titolo + + + errore dettaglio + + + errore status code (200, 500) + @@ -4722,6 +6134,124 @@ flag forza impianto + + + + + + + Seriale + + + + + Azienda + + + + + Codice Impianto + + + + + Seriale chiamata + + + + + Seriale chiamata + + + + + Data rapportino + + + + Codice Cliente + + + Ragione Sociale + + + ora inizio rapportino + + + ora inizio rapportino + + + min inizio rapportino + + + min inizio rapportino + + + codice chiusura 1 + + + codice chiusura 2 + + + codice chiusura 3 + + + codice chiusura 4 + + + codice chiusura 5 + + + codice chiusura 6 + + + codice chiusura 7 + + + codice chiusura 8 + + + codice chiusura 9 + + + codice chiusura 10 + + + descrizione int + + + tecnico + + + firma + + + cod intervento + + + + + + + + + + + + + + + + + + + + + + + + + Rapp_New @@ -4981,6 +6511,326 @@ + + Vista Rapp_New + + + Seriale rapportini + + + + Tipo rapportini + + + + + Azienda + + + + + Codice Impianto + + + + + Azienda su cui è la chiamata + + + + + Seriale chiamata + + + + + Seriale chiamata + + + + + Data rapportino + + + + + Ora inizio + + + + + minuto inizio + + + + + Ora fine + + + + + Minuto fine + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + codice chiusura + + + + + descrizione intervento + + + + + stato + + + + + generato + + + + + azienda tecnico + + + + + codice tecnico + + + + + flag rifiutata + + + + + nminativo firma + + + + + flag stato In Carico + + + + + data validità + + + + + pathg immagine buono o firma + + + + + seriale del buono + + + + + data/ora effettiva del lavoro (nel caso dispositivo offline) + + + + + codice_intervento (valido per manutenzioni. Esempio: SEM=semestrale) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Form di registrazione + + + tipo + + + Nome + + + Cognome + + + Telefono + + + Cellulare + + + Email + + + Email di conferma + + + Azienda + + + Username + + + Password + + + Città + + + Provincia (sigla) + + + Nazione (sigla) + + + Attivato (S/N) + + + Token registrazione + + + Form registrazione: check 1 + + + Form registrazione: check 2 + + + Form registrazione: check 3 + + + Form registrazione: check 4 + Contiene i campi di SALDIART @@ -5037,6 +6887,9 @@ articolo gestito a lotti (S e C=si, N=no) + + descrizione per ogni articolo (se abilitata da configurazioni) + @@ -5217,6 +7070,318 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -5229,6 +7394,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + @@ -5241,6 +7430,18 @@ + + + + + + + + + + + + @@ -5301,6 +7502,18 @@ + + + + + + + + + + + + @@ -5421,6 +7634,18 @@ + + + + + + + + + + + + @@ -5577,6 +7802,18 @@ + + + + + + + + + + + + @@ -5601,6 +7838,18 @@ + + + + + + + + + + + + @@ -6263,6 +8512,368 @@ data fine attività tecnico + + + (Virtual Task) Contiene i campi di TECNICI + + + + + + + + + + + + + + + + + + + + + + costo ordinario + + + costo notturno + + + costo straordinario + + + costo festivo + + + data cancellazione + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Tabella Timbrature @@ -6413,6 +9024,294 @@ response + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/ApiPolo/obj/Debug/net6.0/ref/ApiPolo.dll b/ApiPolo/obj/Debug/net6.0/ref/ApiPolo.dll index bb95460..769f63d 100644 Binary files a/ApiPolo/obj/Debug/net6.0/ref/ApiPolo.dll and b/ApiPolo/obj/Debug/net6.0/ref/ApiPolo.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/refint/ApiPolo.dll b/ApiPolo/obj/Debug/net6.0/refint/ApiPolo.dll index bb95460..769f63d 100644 Binary files a/ApiPolo/obj/Debug/net6.0/refint/ApiPolo.dll and b/ApiPolo/obj/Debug/net6.0/refint/ApiPolo.dll differ diff --git a/ApiPolo/obj/Debug/net6.0/staticwebassets.build.json b/ApiPolo/obj/Debug/net6.0/staticwebassets.build.json index fbc350b..9280caf 100644 --- a/ApiPolo/obj/Debug/net6.0/staticwebassets.build.json +++ b/ApiPolo/obj/Debug/net6.0/staticwebassets.build.json @@ -1,6 +1,6 @@ { "Version": 1, - "Hash": "mFfNkGHkjzWQ+syyTp5kdPuOLram9b605GbMRnW9Pmg=", + "Hash": "6FUn9i3U23wGJY86S2gwV9m2HGgYJ/0GV1WvmfP/Rew=", "Source": "ApiPolo", "BasePath": "_content/ApiPolo", "Mode": "Default", @@ -10,17 +10,17 @@ { "Name": "ApiPolo\\wwwroot", "Source": "ApiPolo", - "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", "BasePath": "_content/ApiPolo", "Pattern": "**" } ], "Assets": [ { - "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_disco.jpg", + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\logo_disco.jpg", "SourceId": "ApiPolo", "SourceType": "Discovered", - "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", "BasePath": "_content/ApiPolo", "RelativePath": "logo_disco.jpg", "AssetKind": "All", @@ -34,10 +34,10 @@ "OriginalItemSpec": "wwwroot\\logo_disco.jpg" }, { - "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_ferra.jpg", + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\logo_ferra.jpg", "SourceId": "ApiPolo", "SourceType": "Discovered", - "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", "BasePath": "_content/ApiPolo", "RelativePath": "logo_ferra.jpg", "AssetKind": "All", @@ -51,10 +51,10 @@ "OriginalItemSpec": "wwwroot\\logo_ferra.jpg" }, { - "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_marro.jpg", + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\logo_marro.jpg", "SourceId": "ApiPolo", "SourceType": "Discovered", - "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", "BasePath": "_content/ApiPolo", "RelativePath": "logo_marro.jpg", "AssetKind": "All", @@ -66,6 +66,125 @@ "CopyToOutputDirectory": "Never", "CopyToPublishDirectory": "PreserveNewest", "OriginalItemSpec": "wwwroot\\logo_marro.jpg" + }, + { + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI01\\AZI01_LOGO.jpg", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "VIRTU/AZI01/AZI01_LOGO.jpg", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\VIRTU\\AZI01\\AZI01_LOGO.jpg" + }, + { + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\AZI02_LOGO.jpg", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "VIRTU/AZI02/AZI02_LOGO.jpg", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\VIRTU\\AZI02\\AZI02_LOGO.jpg" + }, + { + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\company2.png", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "VIRTU/AZI02/company2.png", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\VIRTU\\AZI02\\company2.png" + }, + { + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\img2.png", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "VIRTU/AZI02/img2.png", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\VIRTU\\AZI02\\img2.png" + }, + { + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\No_image.png", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "VIRTU/AZI02/No_image.png", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\VIRTU\\AZI02\\No_image.png" + }, + { + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\R.png", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "VIRTU/AZI02/R.png", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\VIRTU\\AZI02\\R.png" + }, + { + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\CAV00001.jpg", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "VIRTU/CAV00001.jpg", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\VIRTU\\CAV00001.jpg" } ] } \ No newline at end of file diff --git a/ApiPolo/obj/Debug/net6.0/staticwebassets.development.json b/ApiPolo/obj/Debug/net6.0/staticwebassets.development.json index e6de4a4..0eb1038 100644 --- a/ApiPolo/obj/Debug/net6.0/staticwebassets.development.json +++ b/ApiPolo/obj/Debug/net6.0/staticwebassets.development.json @@ -1 +1 @@ -{"ContentRoots":["C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\"],"Root":{"Children":{"logo_disco.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_disco.jpg"},"Patterns":null},"logo_ferra.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_ferra.jpg"},"Patterns":null},"logo_marro.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_marro.jpg"},"Patterns":null}},"Asset":null,"Patterns":[{"ContentRootIndex":0,"Pattern":"**","Depth":0}]}} \ No newline at end of file +{"ContentRoots":["C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\"],"Root":{"Children":{"logo_disco.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_disco.jpg"},"Patterns":null},"logo_ferra.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_ferra.jpg"},"Patterns":null},"logo_marro.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_marro.jpg"},"Patterns":null},"VIRTU":{"Children":{"AZI01":{"Children":{"AZI01_LOGO.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI01/AZI01_LOGO.jpg"},"Patterns":null}},"Asset":null,"Patterns":null},"AZI02":{"Children":{"AZI02_LOGO.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/AZI02_LOGO.jpg"},"Patterns":null},"company2.png":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/company2.png"},"Patterns":null},"img2.png":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/img2.png"},"Patterns":null},"No_image.png":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/No_image.png"},"Patterns":null},"R.png":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/R.png"},"Patterns":null}},"Asset":null,"Patterns":null},"CAV00001.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/CAV00001.jpg"},"Patterns":null}},"Asset":null,"Patterns":null}},"Asset":null,"Patterns":[{"ContentRootIndex":0,"Pattern":"**","Depth":0}]}} \ No newline at end of file diff --git a/ApiPolo/obj/Debug/net6.0/staticwebassets.pack.json b/ApiPolo/obj/Debug/net6.0/staticwebassets.pack.json index ea277a6..eef77e0 100644 --- a/ApiPolo/obj/Debug/net6.0/staticwebassets.pack.json +++ b/ApiPolo/obj/Debug/net6.0/staticwebassets.pack.json @@ -1,15 +1,43 @@ { "Files": [ { - "Id": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_disco.jpg", + "Id": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI01\\AZI01_LOGO.jpg", + "PackagePath": "staticwebassets\\VIRTU\\AZI01\\AZI01_LOGO.jpg" + }, + { + "Id": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\AZI02_LOGO.jpg", + "PackagePath": "staticwebassets\\VIRTU\\AZI02\\AZI02_LOGO.jpg" + }, + { + "Id": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\No_image.png", + "PackagePath": "staticwebassets\\VIRTU\\AZI02\\No_image.png" + }, + { + "Id": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\R.png", + "PackagePath": "staticwebassets\\VIRTU\\AZI02\\R.png" + }, + { + "Id": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\company2.png", + "PackagePath": "staticwebassets\\VIRTU\\AZI02\\company2.png" + }, + { + "Id": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\img2.png", + "PackagePath": "staticwebassets\\VIRTU\\AZI02\\img2.png" + }, + { + "Id": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\CAV00001.jpg", + "PackagePath": "staticwebassets\\VIRTU\\CAV00001.jpg" + }, + { + "Id": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\logo_disco.jpg", "PackagePath": "staticwebassets\\logo_disco.jpg" }, { - "Id": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_ferra.jpg", + "Id": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\logo_ferra.jpg", "PackagePath": "staticwebassets\\logo_ferra.jpg" }, { - "Id": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_marro.jpg", + "Id": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\logo_marro.jpg", "PackagePath": "staticwebassets\\logo_marro.jpg" }, { diff --git a/ApiPolo/obj/Debug/net6.0/staticwebassets/msbuild.ApiPolo.Microsoft.AspNetCore.StaticWebAssets.props b/ApiPolo/obj/Debug/net6.0/staticwebassets/msbuild.ApiPolo.Microsoft.AspNetCore.StaticWebAssets.props index 4cb8f01..6f4ae5f 100644 --- a/ApiPolo/obj/Debug/net6.0/staticwebassets/msbuild.ApiPolo.Microsoft.AspNetCore.StaticWebAssets.props +++ b/ApiPolo/obj/Debug/net6.0/staticwebassets/msbuild.ApiPolo.Microsoft.AspNetCore.StaticWebAssets.props @@ -48,5 +48,117 @@ PreserveNewest $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\logo_marro.jpg)) + + Package + ApiPolo + $(MSBuildThisFileDirectory)..\staticwebassets\ + _content/ApiPolo + VIRTU/AZI01/AZI01_LOGO.jpg + All + All + Primary + + + + Never + PreserveNewest + $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\VIRTU\AZI01\AZI01_LOGO.jpg)) + + + Package + ApiPolo + $(MSBuildThisFileDirectory)..\staticwebassets\ + _content/ApiPolo + VIRTU/AZI02/AZI02_LOGO.jpg + All + All + Primary + + + + Never + PreserveNewest + $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\VIRTU\AZI02\AZI02_LOGO.jpg)) + + + Package + ApiPolo + $(MSBuildThisFileDirectory)..\staticwebassets\ + _content/ApiPolo + VIRTU/AZI02/company2.png + All + All + Primary + + + + Never + PreserveNewest + $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\VIRTU\AZI02\company2.png)) + + + Package + ApiPolo + $(MSBuildThisFileDirectory)..\staticwebassets\ + _content/ApiPolo + VIRTU/AZI02/img2.png + All + All + Primary + + + + Never + PreserveNewest + $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\VIRTU\AZI02\img2.png)) + + + Package + ApiPolo + $(MSBuildThisFileDirectory)..\staticwebassets\ + _content/ApiPolo + VIRTU/AZI02/No_image.png + All + All + Primary + + + + Never + PreserveNewest + $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\VIRTU\AZI02\No_image.png)) + + + Package + ApiPolo + $(MSBuildThisFileDirectory)..\staticwebassets\ + _content/ApiPolo + VIRTU/AZI02/R.png + All + All + Primary + + + + Never + PreserveNewest + $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\VIRTU\AZI02\R.png)) + + + Package + ApiPolo + $(MSBuildThisFileDirectory)..\staticwebassets\ + _content/ApiPolo + VIRTU/CAV00001.jpg + All + All + Primary + + + + Never + PreserveNewest + $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\VIRTU\CAV00001.jpg)) + \ No newline at end of file diff --git a/ApiPolo/obj/Release/net6.0/ApiPolo.csproj.CoreCompileInputs.cache b/ApiPolo/obj/Release/net6.0/ApiPolo.csproj.CoreCompileInputs.cache index 662cea3..ea0726a 100644 --- a/ApiPolo/obj/Release/net6.0/ApiPolo.csproj.CoreCompileInputs.cache +++ b/ApiPolo/obj/Release/net6.0/ApiPolo.csproj.CoreCompileInputs.cache @@ -1 +1 @@ -bf47b0c85106d7709c0ee9272b52acfafe30a0e2 +71d888e4a2407482603b54946eeb659e158ae1ab diff --git a/ApiPolo/obj/Release/net6.0/ApiPolo.csproj.FileListAbsolute.txt b/ApiPolo/obj/Release/net6.0/ApiPolo.csproj.FileListAbsolute.txt index a521d27..08fd73e 100644 --- a/ApiPolo/obj/Release/net6.0/ApiPolo.csproj.FileListAbsolute.txt +++ b/ApiPolo/obj/Release/net6.0/ApiPolo.csproj.FileListAbsolute.txt @@ -95,3 +95,100 @@ C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Google.Apis.Core.dll C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Microsoft.Bcl.AsyncInterfaces.dll C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Newtonsoft.Json.dll C:\SORGENTI\ApiPolo\ApiPolo\bin\Release\net6.0\Cronos.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\appsettings.Development.json +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\appsettings.json +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\private_key.json +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\ApiPolo.staticwebassets.runtime.json +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\ApiPolo.exe +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\ApiPolo.deps.json +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\ApiPolo.runtimeconfig.json +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\ApiPolo.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\ApiPolo.pdb +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\ApiPolo.xml +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Cronos.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\FirebaseAdmin.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Google.Api.Gax.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Google.Api.Gax.Rest.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Google.Apis.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Google.Apis.Auth.PlatformServices.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Google.Apis.Auth.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Google.Apis.Core.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Humanizer.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\System.Web.Mvc.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\System.Web.Razor.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\System.Web.Helpers.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\System.Web.WebPages.Deployment.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\System.Web.WebPages.Razor.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\System.Web.WebPages.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Microsoft.AspNetCore.Authentication.Negotiate.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Microsoft.AspNetCore.Connections.Abstractions.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Microsoft.Bcl.AsyncInterfaces.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Microsoft.Data.SqlClient.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Microsoft.EntityFrameworkCore.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Microsoft.EntityFrameworkCore.Abstractions.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Microsoft.EntityFrameworkCore.Design.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Microsoft.EntityFrameworkCore.Relational.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Microsoft.EntityFrameworkCore.SqlServer.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Microsoft.Extensions.Caching.Memory.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Microsoft.Extensions.Features.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Microsoft.Identity.Client.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Microsoft.IdentityModel.JsonWebTokens.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Microsoft.IdentityModel.Logging.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Microsoft.IdentityModel.Protocols.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Microsoft.IdentityModel.Tokens.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Microsoft.OpenApi.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Microsoft.Web.Infrastructure.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Microsoft.Win32.SystemEvents.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Newtonsoft.Json.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Renci.SshNet.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\SshNet.Security.Cryptography.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Swashbuckle.AspNetCore.Swagger.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Swashbuckle.AspNetCore.SwaggerGen.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\Swashbuckle.AspNetCore.SwaggerUI.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\System.Configuration.ConfigurationManager.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\System.DirectoryServices.Protocols.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\System.Drawing.Common.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\System.IdentityModel.Tokens.Jwt.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\System.IO.Pipelines.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\System.Runtime.Caching.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\System.Security.Cryptography.ProtectedData.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\System.Security.Permissions.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\System.Windows.Extensions.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\runtimes\unix\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\runtimes\win\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\runtimes\win-arm\native\Microsoft.Data.SqlClient.SNI.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\runtimes\win-arm64\native\Microsoft.Data.SqlClient.SNI.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\runtimes\win-x64\native\Microsoft.Data.SqlClient.SNI.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\runtimes\win-x86\native\Microsoft.Data.SqlClient.SNI.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\runtimes\win\lib\netcoreapp3.0\Microsoft.Win32.SystemEvents.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\runtimes\linux\lib\net6.0\System.DirectoryServices.Protocols.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\runtimes\osx\lib\net6.0\System.DirectoryServices.Protocols.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\runtimes\win\lib\net6.0\System.DirectoryServices.Protocols.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\runtimes\unix\lib\netcoreapp3.0\System.Drawing.Common.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\runtimes\win\lib\netcoreapp3.0\System.Drawing.Common.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\runtimes\win\lib\netstandard2.0\System.Runtime.Caching.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\runtimes\win\lib\netstandard2.0\System.Security.Cryptography.ProtectedData.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\bin\Release\net6.0\runtimes\win\lib\netcoreapp3.0\System.Windows.Extensions.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\ApiPolo.csproj.AssemblyReference.cache +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\ApiPolo.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\ApiPolo.AssemblyInfoInputs.cache +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\ApiPolo.AssemblyInfo.cs +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\ApiPolo.csproj.CoreCompileInputs.cache +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\ApiPolo.MvcApplicationPartsAssemblyInfo.cs +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\ApiPolo.MvcApplicationPartsAssemblyInfo.cache +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\staticwebassets\msbuild.ApiPolo.Microsoft.AspNetCore.StaticWebAssets.props +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\staticwebassets\msbuild.build.ApiPolo.props +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\staticwebassets\msbuild.buildMultiTargeting.ApiPolo.props +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\staticwebassets\msbuild.buildTransitive.ApiPolo.props +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\staticwebassets.pack.json +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\staticwebassets.build.json +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\staticwebassets.development.json +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\scopedcss\bundle\ApiPolo.styles.css +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\ApiPolo.csproj.CopyComplete +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\ApiPolo.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\refint\ApiPolo.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\ApiPolo.xml +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\ApiPolo.pdb +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\ApiPolo.genruntimeconfig.cache +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\ref\ApiPolo.dll diff --git a/ApiPolo/obj/Release/net6.0/ApiPolo.dll b/ApiPolo/obj/Release/net6.0/ApiPolo.dll index 405c9b4..71a2f90 100644 Binary files a/ApiPolo/obj/Release/net6.0/ApiPolo.dll and b/ApiPolo/obj/Release/net6.0/ApiPolo.dll differ diff --git a/ApiPolo/obj/Release/net6.0/ApiPolo.genruntimeconfig.cache b/ApiPolo/obj/Release/net6.0/ApiPolo.genruntimeconfig.cache index 226b282..f149512 100644 --- a/ApiPolo/obj/Release/net6.0/ApiPolo.genruntimeconfig.cache +++ b/ApiPolo/obj/Release/net6.0/ApiPolo.genruntimeconfig.cache @@ -1 +1 @@ -4a093cacb1924e570de3f17707e6df41c601e586 +732a121c7d5a2c3191ec60337238dba1c99a06b5 diff --git a/ApiPolo/obj/Release/net6.0/ApiPolo.pdb b/ApiPolo/obj/Release/net6.0/ApiPolo.pdb index ea77028..35d8e6c 100644 Binary files a/ApiPolo/obj/Release/net6.0/ApiPolo.pdb and b/ApiPolo/obj/Release/net6.0/ApiPolo.pdb differ diff --git a/ApiPolo/obj/Release/net6.0/ApiPolo.xml b/ApiPolo/obj/Release/net6.0/ApiPolo.xml index ab2311f..ac2ecfc 100644 --- a/ApiPolo/obj/Release/net6.0/ApiPolo.xml +++ b/ApiPolo/obj/Release/net6.0/ApiPolo.xml @@ -9,7 +9,7 @@ Controller unico - + polocontroller @@ -75,6 +75,12 @@ VT app + + Lift-web + + + Tedesco Impianti + @@ -111,6 +117,12 @@ Virtual task + + Lift web + + + Tedesco impianti + trasforma un Saldiart in un Mag_New @@ -129,6 +141,9 @@ formatta l'indirizzo stampa chiamateper Discovery + + formatta l'indirizzo della lista chiamate TEDESCO + formatta il riferimento impainto (html) @@ -165,6 +180,9 @@ inserisce Token + + token salvataggio + Magazzini per login return:ActionResult @@ -396,6 +414,18 @@ VIRTUAL TASK: cancella una dati azienda return:ActionResult + + VIRTUAL TASK: cancella una dati azienda return:ActionResult + + + VIRTUAL TASK: legge e salva su server return:ActionResult + + + VIRTUAL TASK: salvataggio su disco + + + VIRTUAL TASK: ricava il nome del file a partire dal path web + VIRTUAL TASK: dati Azienda @@ -598,6 +628,18 @@ flag fatturazione + + + + + codice azienda + + + codice di chiusura + + + codice intervento + @@ -1697,6 +1739,9 @@ Descrizione supplementare da mettere sul rapportino + + Contiena la lista di tipologie di manutenzione associate a quel codice + (Virtual Task) Contiene i campi di CCHIUSA @@ -1813,6 +1858,21 @@ provincia + + Descrizione commessa per SIET + + + seriale Commessa + + + tipo lavorazione + + + centro di costo - ticket + + + Codice commessa + ViSTA API_COMMESSE @@ -2587,6 +2647,18 @@ + + + + + + + + + + + + @@ -3709,6 +3781,306 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LoginModel @@ -5796,6 +6168,90 @@ Data rapportino + + Codice Cliente + + + Ragione Sociale + + + ora inizio rapportino + + + ora inizio rapportino + + + min inizio rapportino + + + min inizio rapportino + + + codice chiusura 1 + + + codice chiusura 2 + + + codice chiusura 3 + + + codice chiusura 4 + + + codice chiusura 5 + + + codice chiusura 6 + + + codice chiusura 7 + + + codice chiusura 8 + + + codice chiusura 9 + + + codice chiusura 10 + + + descrizione int + + + tecnico + + + firma + + + cod intervento + + + + + + + + + + + + + + + + + + + + + + + + + Rapp_New @@ -6363,6 +6819,18 @@ Token registrazione + + Form registrazione: check 1 + + + Form registrazione: check 2 + + + Form registrazione: check 3 + + + Form registrazione: check 4 + Contiene i campi di SALDIART @@ -6602,6 +7070,306 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -7034,6 +7802,18 @@ + + + + + + + + + + + + @@ -7821,7 +8601,7 @@ - + @@ -7830,6 +8610,18 @@ + + + + + + + + + + + + @@ -8484,6 +9276,18 @@ + + + + + + + + + + + + diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.dll b/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.dll index 40d8b15..71a2f90 100644 Binary files a/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.dll and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.dll differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.pdb b/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.pdb index 4861719..35d8e6c 100644 Binary files a/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.pdb and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.pdb differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.xml b/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.xml index fd2cf0b..ac2ecfc 100644 --- a/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.xml +++ b/ApiPolo/obj/Release/net6.0/PubTmp/Out/ApiPolo.xml @@ -9,7 +9,7 @@ Controller unico - + polocontroller @@ -75,6 +75,12 @@ VT app + + Lift-web + + + Tedesco Impianti + @@ -111,6 +117,12 @@ Virtual task + + Lift web + + + Tedesco impianti + trasforma un Saldiart in un Mag_New @@ -129,6 +141,9 @@ formatta l'indirizzo stampa chiamateper Discovery + + formatta l'indirizzo della lista chiamate TEDESCO + formatta il riferimento impainto (html) @@ -165,6 +180,9 @@ inserisce Token + + token salvataggio + Magazzini per login return:ActionResult @@ -396,6 +414,18 @@ VIRTUAL TASK: cancella una dati azienda return:ActionResult + + VIRTUAL TASK: cancella una dati azienda return:ActionResult + + + VIRTUAL TASK: legge e salva su server return:ActionResult + + + VIRTUAL TASK: salvataggio su disco + + + VIRTUAL TASK: ricava il nome del file a partire dal path web + VIRTUAL TASK: dati Azienda @@ -598,6 +628,18 @@ flag fatturazione + + + + + codice azienda + + + codice di chiusura + + + codice intervento + @@ -1697,6 +1739,9 @@ Descrizione supplementare da mettere sul rapportino + + Contiena la lista di tipologie di manutenzione associate a quel codice + (Virtual Task) Contiene i campi di CCHIUSA @@ -1813,6 +1858,21 @@ provincia + + Descrizione commessa per SIET + + + seriale Commessa + + + tipo lavorazione + + + centro di costo - ticket + + + Codice commessa + ViSTA API_COMMESSE @@ -2587,6 +2647,18 @@ + + + + + + + + + + + + @@ -3709,6 +3781,306 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LoginModel @@ -5796,6 +6168,90 @@ Data rapportino + + Codice Cliente + + + Ragione Sociale + + + ora inizio rapportino + + + ora inizio rapportino + + + min inizio rapportino + + + min inizio rapportino + + + codice chiusura 1 + + + codice chiusura 2 + + + codice chiusura 3 + + + codice chiusura 4 + + + codice chiusura 5 + + + codice chiusura 6 + + + codice chiusura 7 + + + codice chiusura 8 + + + codice chiusura 9 + + + codice chiusura 10 + + + descrizione int + + + tecnico + + + firma + + + cod intervento + + + + + + + + + + + + + + + + + + + + + + + + + Rapp_New @@ -6363,6 +6819,18 @@ Token registrazione + + Form registrazione: check 1 + + + Form registrazione: check 2 + + + Form registrazione: check 3 + + + Form registrazione: check 4 + Contiene i campi di SALDIART @@ -6602,6 +7070,306 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -7034,6 +7802,18 @@ + + + + + + + + + + + + @@ -7770,6 +8550,330 @@ data cancellazione + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Rapportini + + + ConfigurazioniDbContext + + + OnModelCreating + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Tabella Timbrature @@ -8172,6 +9276,18 @@ + + + + + + + + + + + + diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/appsettings.json b/ApiPolo/obj/Release/net6.0/PubTmp/Out/appsettings.json index 57b3441..36ee4d9 100644 --- a/ApiPolo/obj/Release/net6.0/PubTmp/Out/appsettings.json +++ b/ApiPolo/obj/Release/net6.0/PubTmp/Out/appsettings.json @@ -32,7 +32,7 @@ /*"DISCO": "Data Source=10.0.0.10;Initial Catalog=AHR60_FERRARI_VISTE_DISCO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ /*"DISCO": "Data Source=37.159.179.14;Initial Catalog=R80_DISCO;User Id=sa; Password=Poloinf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ - "DISCO": "Data Source=discoverylift.dyndns.org;Initial Catalog=TEST_APP_NEW;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + "DISCO": "Data Source=discoverylift.dyndns.org;Initial Catalog=DISCOVERY_80;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", "SAROM": "Data Source=37.159.179.14;Initial Catalog=AHR60_SAROM_TEST80;User Id=sa; Password=Poloinf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", /*"SAROM": "Data Source=10.0.0.10;Initial Catalog=AHR80_SAROM;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False",*/ @@ -43,7 +43,9 @@ "SIET2": "Data Source=194.50.74.66;Initial Catalog=R65_SIET;User Id=sa; Password=W1ld1x42;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", "PMS": "Data Source=10.0.0.10;Initial Catalog=PMS_DEMO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", - "VIRTUAL_TASK": "Data Source=10.0.0.10;Initial Catalog=VIRTUAL_TASK;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False" + "VIRTUAL_TASK": "Data Source=10.0.0.10;Initial Catalog=VIRTUAL_TASK;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + "LIFT_WEB": "Data Source=10.0.0.79;Initial Catalog= AHRW42_LIFT;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", + "TEDESCO": "Data Source=MARCO_PC\\SQL_2022;Initial Catalog= AHR_TEDESCO;User Id=sa; Password=p0l01nf.;Integrated Security=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False" }, diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/VIRTU/AZI02/No_image.png b/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/VIRTU/AZI02/No_image.png new file mode 100644 index 0000000..ba2d76f Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/VIRTU/AZI02/No_image.png differ diff --git a/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/VIRTU/AZI02/img2.png b/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/VIRTU/AZI02/img2.png new file mode 100644 index 0000000..ba2d76f Binary files /dev/null and b/ApiPolo/obj/Release/net6.0/PubTmp/Out/wwwroot/VIRTU/AZI02/img2.png differ diff --git a/ApiPolo/obj/Release/net6.0/PublishOutputs.d7b341024a.txt b/ApiPolo/obj/Release/net6.0/PublishOutputs.d7b341024a.txt new file mode 100644 index 0000000..3df9ae2 --- /dev/null +++ b/ApiPolo/obj/Release/net6.0/PublishOutputs.d7b341024a.txt @@ -0,0 +1,72 @@ +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\ApiPolo.exe +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\appsettings.Development.json +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\appsettings.json +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\private_key.json +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\ApiPolo.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\ApiPolo.runtimeconfig.json +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\ApiPolo.pdb +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Cronos.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\FirebaseAdmin.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Google.Api.Gax.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Google.Api.Gax.Rest.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Google.Apis.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Google.Apis.Auth.PlatformServices.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Google.Apis.Auth.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Google.Apis.Core.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.Web.Mvc.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.Web.Razor.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.Web.Helpers.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.Web.WebPages.Deployment.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.Web.WebPages.Razor.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.Web.WebPages.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.AspNetCore.Authentication.Negotiate.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.AspNetCore.Connections.Abstractions.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.Bcl.AsyncInterfaces.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.Data.SqlClient.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.EntityFrameworkCore.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.EntityFrameworkCore.Abstractions.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.EntityFrameworkCore.Relational.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.EntityFrameworkCore.SqlServer.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.Extensions.Caching.Memory.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.Extensions.Features.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.Identity.Client.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.IdentityModel.JsonWebTokens.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.IdentityModel.Logging.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.IdentityModel.Protocols.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.IdentityModel.Tokens.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.OpenApi.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.Web.Infrastructure.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Microsoft.Win32.SystemEvents.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Newtonsoft.Json.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Renci.SshNet.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\SshNet.Security.Cryptography.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Swashbuckle.AspNetCore.Swagger.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Swashbuckle.AspNetCore.SwaggerGen.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\Swashbuckle.AspNetCore.SwaggerUI.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.Configuration.ConfigurationManager.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.DirectoryServices.Protocols.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.Drawing.Common.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.IdentityModel.Tokens.Jwt.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.IO.Pipelines.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.Runtime.Caching.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.Security.Cryptography.ProtectedData.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.Security.Permissions.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\System.Windows.Extensions.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\unix\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\win\lib\netcoreapp3.1\Microsoft.Data.SqlClient.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\win-arm\native\Microsoft.Data.SqlClient.SNI.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\win-arm64\native\Microsoft.Data.SqlClient.SNI.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\win-x64\native\Microsoft.Data.SqlClient.SNI.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\win-x86\native\Microsoft.Data.SqlClient.SNI.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\win\lib\netcoreapp3.0\Microsoft.Win32.SystemEvents.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\linux\lib\net6.0\System.DirectoryServices.Protocols.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\osx\lib\net6.0\System.DirectoryServices.Protocols.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\win\lib\net6.0\System.DirectoryServices.Protocols.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\unix\lib\netcoreapp3.0\System.Drawing.Common.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\win\lib\netcoreapp3.0\System.Drawing.Common.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\win\lib\netstandard2.0\System.Runtime.Caching.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\win\lib\netstandard2.0\System.Security.Cryptography.ProtectedData.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\runtimes\win\lib\netcoreapp3.0\System.Windows.Extensions.dll +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\ApiPolo.xml +C:\Users\audif\source\repos\ApiManutenzioni\ApiPolo\obj\Release\net6.0\PubTmp\Out\ApiPolo.deps.json diff --git a/ApiPolo/obj/Release/net6.0/ref/ApiPolo.dll b/ApiPolo/obj/Release/net6.0/ref/ApiPolo.dll index f70d7b5..c9c65e2 100644 Binary files a/ApiPolo/obj/Release/net6.0/ref/ApiPolo.dll and b/ApiPolo/obj/Release/net6.0/ref/ApiPolo.dll differ diff --git a/ApiPolo/obj/Release/net6.0/refint/ApiPolo.dll b/ApiPolo/obj/Release/net6.0/refint/ApiPolo.dll index f70d7b5..c9c65e2 100644 Binary files a/ApiPolo/obj/Release/net6.0/refint/ApiPolo.dll and b/ApiPolo/obj/Release/net6.0/refint/ApiPolo.dll differ diff --git a/ApiPolo/obj/Release/net6.0/staticwebassets.build.json b/ApiPolo/obj/Release/net6.0/staticwebassets.build.json index 7cb6ccd..9280caf 100644 --- a/ApiPolo/obj/Release/net6.0/staticwebassets.build.json +++ b/ApiPolo/obj/Release/net6.0/staticwebassets.build.json @@ -1,6 +1,6 @@ { "Version": 1, - "Hash": "xz/I8POjZ1hTi96WfSSHRMF53NSMI5CNSFbrWdo6V2U=", + "Hash": "6FUn9i3U23wGJY86S2gwV9m2HGgYJ/0GV1WvmfP/Rew=", "Source": "ApiPolo", "BasePath": "_content/ApiPolo", "Mode": "Default", @@ -10,17 +10,17 @@ { "Name": "ApiPolo\\wwwroot", "Source": "ApiPolo", - "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", "BasePath": "_content/ApiPolo", "Pattern": "**" } ], "Assets": [ { - "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_disco.jpg", + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\logo_disco.jpg", "SourceId": "ApiPolo", "SourceType": "Discovered", - "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", "BasePath": "_content/ApiPolo", "RelativePath": "logo_disco.jpg", "AssetKind": "All", @@ -34,10 +34,10 @@ "OriginalItemSpec": "wwwroot\\logo_disco.jpg" }, { - "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_ferra.jpg", + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\logo_ferra.jpg", "SourceId": "ApiPolo", "SourceType": "Discovered", - "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", "BasePath": "_content/ApiPolo", "RelativePath": "logo_ferra.jpg", "AssetKind": "All", @@ -51,10 +51,10 @@ "OriginalItemSpec": "wwwroot\\logo_ferra.jpg" }, { - "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_marro.jpg", + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\logo_marro.jpg", "SourceId": "ApiPolo", "SourceType": "Discovered", - "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", "BasePath": "_content/ApiPolo", "RelativePath": "logo_marro.jpg", "AssetKind": "All", @@ -68,10 +68,10 @@ "OriginalItemSpec": "wwwroot\\logo_marro.jpg" }, { - "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\AZI01\\AZI01_LOGO.jpg", + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI01\\AZI01_LOGO.jpg", "SourceId": "ApiPolo", "SourceType": "Discovered", - "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", "BasePath": "_content/ApiPolo", "RelativePath": "VIRTU/AZI01/AZI01_LOGO.jpg", "AssetKind": "All", @@ -85,10 +85,10 @@ "OriginalItemSpec": "wwwroot\\VIRTU\\AZI01\\AZI01_LOGO.jpg" }, { - "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\AZI02_LOGO.jpg", + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\AZI02_LOGO.jpg", "SourceId": "ApiPolo", "SourceType": "Discovered", - "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", "BasePath": "_content/ApiPolo", "RelativePath": "VIRTU/AZI02/AZI02_LOGO.jpg", "AssetKind": "All", @@ -102,10 +102,10 @@ "OriginalItemSpec": "wwwroot\\VIRTU\\AZI02\\AZI02_LOGO.jpg" }, { - "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\company2.png", + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\company2.png", "SourceId": "ApiPolo", "SourceType": "Discovered", - "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", "BasePath": "_content/ApiPolo", "RelativePath": "VIRTU/AZI02/company2.png", "AssetKind": "All", @@ -119,10 +119,44 @@ "OriginalItemSpec": "wwwroot\\VIRTU\\AZI02\\company2.png" }, { - "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\R.png", + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\img2.png", "SourceId": "ApiPolo", "SourceType": "Discovered", - "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "VIRTU/AZI02/img2.png", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\VIRTU\\AZI02\\img2.png" + }, + { + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\No_image.png", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "VIRTU/AZI02/No_image.png", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\VIRTU\\AZI02\\No_image.png" + }, + { + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\R.png", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", "BasePath": "_content/ApiPolo", "RelativePath": "VIRTU/AZI02/R.png", "AssetKind": "All", @@ -136,10 +170,10 @@ "OriginalItemSpec": "wwwroot\\VIRTU\\AZI02\\R.png" }, { - "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\CAV00001.jpg", + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\CAV00001.jpg", "SourceId": "ApiPolo", "SourceType": "Discovered", - "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", "BasePath": "_content/ApiPolo", "RelativePath": "VIRTU/CAV00001.jpg", "AssetKind": "All", diff --git a/ApiPolo/obj/Release/net6.0/staticwebassets.development.json b/ApiPolo/obj/Release/net6.0/staticwebassets.development.json index bbdad6e..0eb1038 100644 --- a/ApiPolo/obj/Release/net6.0/staticwebassets.development.json +++ b/ApiPolo/obj/Release/net6.0/staticwebassets.development.json @@ -1 +1 @@ -{"ContentRoots":["C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\"],"Root":{"Children":{"logo_disco.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_disco.jpg"},"Patterns":null},"logo_ferra.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_ferra.jpg"},"Patterns":null},"logo_marro.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_marro.jpg"},"Patterns":null},"VIRTU":{"Children":{"AZI01":{"Children":{"AZI01_LOGO.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI01/AZI01_LOGO.jpg"},"Patterns":null}},"Asset":null,"Patterns":null},"AZI02":{"Children":{"AZI02_LOGO.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/AZI02_LOGO.jpg"},"Patterns":null},"company2.png":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/company2.png"},"Patterns":null},"R.png":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/R.png"},"Patterns":null}},"Asset":null,"Patterns":null},"CAV00001.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/CAV00001.jpg"},"Patterns":null}},"Asset":null,"Patterns":null}},"Asset":null,"Patterns":[{"ContentRootIndex":0,"Pattern":"**","Depth":0}]}} \ No newline at end of file +{"ContentRoots":["C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\"],"Root":{"Children":{"logo_disco.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_disco.jpg"},"Patterns":null},"logo_ferra.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_ferra.jpg"},"Patterns":null},"logo_marro.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"logo_marro.jpg"},"Patterns":null},"VIRTU":{"Children":{"AZI01":{"Children":{"AZI01_LOGO.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI01/AZI01_LOGO.jpg"},"Patterns":null}},"Asset":null,"Patterns":null},"AZI02":{"Children":{"AZI02_LOGO.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/AZI02_LOGO.jpg"},"Patterns":null},"company2.png":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/company2.png"},"Patterns":null},"img2.png":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/img2.png"},"Patterns":null},"No_image.png":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/No_image.png"},"Patterns":null},"R.png":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/AZI02/R.png"},"Patterns":null}},"Asset":null,"Patterns":null},"CAV00001.jpg":{"Children":null,"Asset":{"ContentRootIndex":0,"SubPath":"VIRTU/CAV00001.jpg"},"Patterns":null}},"Asset":null,"Patterns":null}},"Asset":null,"Patterns":[{"ContentRootIndex":0,"Pattern":"**","Depth":0}]}} \ No newline at end of file diff --git a/ApiPolo/obj/Release/net6.0/staticwebassets.pack.json b/ApiPolo/obj/Release/net6.0/staticwebassets.pack.json index 62aa5d5..e068ec0 100644 --- a/ApiPolo/obj/Release/net6.0/staticwebassets.pack.json +++ b/ApiPolo/obj/Release/net6.0/staticwebassets.pack.json @@ -1,35 +1,43 @@ { "Files": [ { - "Id": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\AZI01\\AZI01_LOGO.jpg", + "Id": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI01\\AZI01_LOGO.jpg", "PackagePath": "staticwebassets\\VIRTU\\AZI01\\AZI01_LOGO.jpg" }, { - "Id": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\AZI02_LOGO.jpg", + "Id": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\AZI02_LOGO.jpg", "PackagePath": "staticwebassets\\VIRTU\\AZI02\\AZI02_LOGO.jpg" }, { - "Id": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\R.png", + "Id": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\No_image.png", + "PackagePath": "staticwebassets\\VIRTU\\AZI02\\No_image.png" + }, + { + "Id": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\R.png", "PackagePath": "staticwebassets\\VIRTU\\AZI02\\R.png" }, { - "Id": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\company2.png", + "Id": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\company2.png", "PackagePath": "staticwebassets\\VIRTU\\AZI02\\company2.png" }, { - "Id": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\CAV00001.jpg", + "Id": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\img2.png", + "PackagePath": "staticwebassets\\VIRTU\\AZI02\\img2.png" + }, + { + "Id": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\CAV00001.jpg", "PackagePath": "staticwebassets\\VIRTU\\CAV00001.jpg" }, { - "Id": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_disco.jpg", + "Id": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\logo_disco.jpg", "PackagePath": "staticwebassets\\logo_disco.jpg" }, { - "Id": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_ferra.jpg", + "Id": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\logo_ferra.jpg", "PackagePath": "staticwebassets\\logo_ferra.jpg" }, { - "Id": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_marro.jpg", + "Id": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\logo_marro.jpg", "PackagePath": "staticwebassets\\logo_marro.jpg" }, { diff --git a/ApiPolo/obj/Release/net6.0/staticwebassets.publish.json b/ApiPolo/obj/Release/net6.0/staticwebassets.publish.json index a4477ca..bda6ffa 100644 --- a/ApiPolo/obj/Release/net6.0/staticwebassets.publish.json +++ b/ApiPolo/obj/Release/net6.0/staticwebassets.publish.json @@ -1,6 +1,6 @@ { "Version": 1, - "Hash": "wL/o9jW6TcFcJsAPdxhmnGF9Ul3RkiOg+6zwAhpXCN0=", + "Hash": "cr/SleopbcdqkCXRa0x3+mFfrkVapjVpz1VMh6t7QJM=", "Source": "ApiPolo", "BasePath": "_content/ApiPolo", "Mode": "Default", @@ -10,17 +10,17 @@ { "Name": "ApiPolo\\wwwroot", "Source": "ApiPolo", - "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", "BasePath": "_content/ApiPolo", "Pattern": "**" } ], "Assets": [ { - "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_disco.jpg", + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\logo_disco.jpg", "SourceId": "ApiPolo", "SourceType": "Discovered", - "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", "BasePath": "_content/ApiPolo", "RelativePath": "logo_disco.jpg", "AssetKind": "All", @@ -34,10 +34,10 @@ "OriginalItemSpec": "wwwroot\\logo_disco.jpg" }, { - "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_ferra.jpg", + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\logo_ferra.jpg", "SourceId": "ApiPolo", "SourceType": "Discovered", - "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", "BasePath": "_content/ApiPolo", "RelativePath": "logo_ferra.jpg", "AssetKind": "All", @@ -51,10 +51,10 @@ "OriginalItemSpec": "wwwroot\\logo_ferra.jpg" }, { - "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\logo_marro.jpg", + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\logo_marro.jpg", "SourceId": "ApiPolo", "SourceType": "Discovered", - "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", "BasePath": "_content/ApiPolo", "RelativePath": "logo_marro.jpg", "AssetKind": "All", @@ -68,10 +68,10 @@ "OriginalItemSpec": "wwwroot\\logo_marro.jpg" }, { - "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\AZI01\\AZI01_LOGO.jpg", + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI01\\AZI01_LOGO.jpg", "SourceId": "ApiPolo", "SourceType": "Discovered", - "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", "BasePath": "_content/ApiPolo", "RelativePath": "VIRTU/AZI01/AZI01_LOGO.jpg", "AssetKind": "All", @@ -85,10 +85,10 @@ "OriginalItemSpec": "wwwroot\\VIRTU\\AZI01\\AZI01_LOGO.jpg" }, { - "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\AZI02_LOGO.jpg", + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\AZI02_LOGO.jpg", "SourceId": "ApiPolo", "SourceType": "Discovered", - "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", "BasePath": "_content/ApiPolo", "RelativePath": "VIRTU/AZI02/AZI02_LOGO.jpg", "AssetKind": "All", @@ -102,10 +102,10 @@ "OriginalItemSpec": "wwwroot\\VIRTU\\AZI02\\AZI02_LOGO.jpg" }, { - "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\company2.png", + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\company2.png", "SourceId": "ApiPolo", "SourceType": "Discovered", - "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", "BasePath": "_content/ApiPolo", "RelativePath": "VIRTU/AZI02/company2.png", "AssetKind": "All", @@ -119,10 +119,44 @@ "OriginalItemSpec": "wwwroot\\VIRTU\\AZI02\\company2.png" }, { - "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\R.png", + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\img2.png", "SourceId": "ApiPolo", "SourceType": "Discovered", - "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "VIRTU/AZI02/img2.png", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\VIRTU\\AZI02\\img2.png" + }, + { + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\No_image.png", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", + "BasePath": "_content/ApiPolo", + "RelativePath": "VIRTU/AZI02/No_image.png", + "AssetKind": "All", + "AssetMode": "All", + "AssetRole": "Primary", + "RelatedAsset": "", + "AssetTraitName": "", + "AssetTraitValue": "", + "CopyToOutputDirectory": "Never", + "CopyToPublishDirectory": "PreserveNewest", + "OriginalItemSpec": "wwwroot\\VIRTU\\AZI02\\No_image.png" + }, + { + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\AZI02\\R.png", + "SourceId": "ApiPolo", + "SourceType": "Discovered", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", "BasePath": "_content/ApiPolo", "RelativePath": "VIRTU/AZI02/R.png", "AssetKind": "All", @@ -136,10 +170,10 @@ "OriginalItemSpec": "wwwroot\\VIRTU\\AZI02\\R.png" }, { - "Identity": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\VIRTU\\CAV00001.jpg", + "Identity": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\VIRTU\\CAV00001.jpg", "SourceId": "ApiPolo", "SourceType": "Discovered", - "ContentRoot": "C:\\SORGENTI\\ApiPolo\\ApiPolo\\wwwroot\\", + "ContentRoot": "C:\\Users\\audif\\source\\repos\\ApiManutenzioni\\ApiPolo\\wwwroot\\", "BasePath": "_content/ApiPolo", "RelativePath": "VIRTU/CAV00001.jpg", "AssetKind": "All", diff --git a/ApiPolo/obj/Release/net6.0/staticwebassets/msbuild.ApiPolo.Microsoft.AspNetCore.StaticWebAssets.props b/ApiPolo/obj/Release/net6.0/staticwebassets/msbuild.ApiPolo.Microsoft.AspNetCore.StaticWebAssets.props index c94d02e..6f4ae5f 100644 --- a/ApiPolo/obj/Release/net6.0/staticwebassets/msbuild.ApiPolo.Microsoft.AspNetCore.StaticWebAssets.props +++ b/ApiPolo/obj/Release/net6.0/staticwebassets/msbuild.ApiPolo.Microsoft.AspNetCore.StaticWebAssets.props @@ -96,6 +96,38 @@ PreserveNewest $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\VIRTU\AZI02\company2.png)) + + Package + ApiPolo + $(MSBuildThisFileDirectory)..\staticwebassets\ + _content/ApiPolo + VIRTU/AZI02/img2.png + All + All + Primary + + + + Never + PreserveNewest + $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\VIRTU\AZI02\img2.png)) + + + Package + ApiPolo + $(MSBuildThisFileDirectory)..\staticwebassets\ + _content/ApiPolo + VIRTU/AZI02/No_image.png + All + All + Primary + + + + Never + PreserveNewest + $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)..\staticwebassets\VIRTU\AZI02\No_image.png)) + Package ApiPolo diff --git a/ApiPolo/wwwroot/VIRTU/AZI02/No_image.png b/ApiPolo/wwwroot/VIRTU/AZI02/No_image.png new file mode 100644 index 0000000..ba2d76f Binary files /dev/null and b/ApiPolo/wwwroot/VIRTU/AZI02/No_image.png differ diff --git a/ApiPolo/wwwroot/VIRTU/AZI02/img2.png b/ApiPolo/wwwroot/VIRTU/AZI02/img2.png new file mode 100644 index 0000000..ba2d76f Binary files /dev/null and b/ApiPolo/wwwroot/VIRTU/AZI02/img2.png differ