fix gestioen postazione e linee RX x DTX "Multipli"

This commit is contained in:
Samuele E. Locatelli
2015-04-21 12:20:44 +02:00
parent db683eae11
commit 8352d2faa8
17 changed files with 430 additions and 103 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
View File
@@ -78,6 +78,7 @@
<add key="urlRT" value="http://IIS02/GMW-RT" />
<add key="updateTablet" value="true" />
<add key="useStoredLiqSP" value="true" />
<add key="enableDtxNotAcq" value="false" />
<!--gestione clock-->
<add key="intUpdateClock_ms" value="1000" />
<add key="maxRefreshToReload" value="60" />
+162 -48
View File
@@ -205,6 +205,60 @@ namespace GMW.WebUserControls
}
}
/// <summary>
/// Formato Datamatrix della linea selezionata
/// </summary>
protected string FormatoDtmxLinea
{
get
{
string answ = "";
try
{
answ = MagClass.magazzino.taAL.getByKey(Postazione.currCodLinea)[0].FormatoDtmx;
}
catch
{ }
return answ;
}
}
/// <summary>
/// Formato Datamatrix dell'ultimo barcode letto
/// </summary>
protected string FormatoDtmxBarcode
{
get
{
string answ = "";
try
{
answ = DataMatrix.mgr.taVerifica.GetData(barcodeIn)[0].FormatoDtmx;
}
catch
{ }
return answ;
}
}
/// <summary>
/// codice particolare da datamatrix
/// </summary>
/// <param name="byTable">bollean:
/// true = utilizza lookUp su tabella dati acquisiti
/// false = prova a decodificare (da formato Dtmx linea)</param>
/// <returns></returns>
protected string partByDtmx(bool byTable)
{
string answ = "";
if (byTable)
{
answ = DataMatrix.mgr.taDtxAcquisiti.getByKey(barcodeIn)[0].Particolare; // Decode.GetData(barcodeIn, FormatoDtmxLinea)[0].Particolare;
}
else
{
answ = DataMatrix.mgr.taDecode.GetData(barcodeIn, FormatoDtmxLinea)[0].Particolare;
}
return answ;
}
/// <summary>
/// valore barcode
/// </summary>
public string barcodeIn
@@ -265,59 +319,66 @@ namespace GMW.WebUserControls
// controllo che il DTX non sia già assegnato...
if (DataMatrix.mgr.taDtx2UDC.getByDtx(barcodeIn).Rows.Count == 0)
{
// vers 2.9: verifico validità Dtmx x postazione... cerco da
// controllo formati compatibili in AnagFormatiDmtx...
// se è compatibile cerco se sia stato letto...
/*
* SELECT TOP 10 *
* FROM dmtx.v_ElencoDmtx
*
* select *
* from TrascFormatoDmtx
*
*
*/
// datamatrix ok: setto css e labels
Postazione.messaggiText = traduci("partSelected");
Postazione.warningText = "";
Postazione.CssClass = "stileComandoOk";
// controllo il particolare da Dtx + check capienza celle
if (Postazione.currCodCella != "")
// vers 2.9
// controllo formato datamatrix sia impostato sulla linea (altrimenti errore linea "non battezzata")
if (FormatoDtmxLinea == "")
{
// calcolo particolare!
try
// errore poiché non è stato non specificato tipo Dtmx assegnato alla linea!
Postazione.messaggiText = barcodeIn;
Postazione.warningText = traduci("ERR-DTX-013");
Postazione.CssClass = "stileComandoKo";
}
else
{
// verifico formato datamatrix letto sia quello della linea...
if (FormatoDtmxBarcode != FormatoDtmxLinea)
{
// vers 2.9 modifica per multi-datamatrix
currParticolare = DataMatrix.mgr.taDecode.GetData(barcodeIn, "")[0].Particolare;
// errore corrispondenza formato Dtmx
Postazione.messaggiText = barcodeIn;
Postazione.warningText = traduci("ERR-DTX-014");
Postazione.CssClass = "stileComandoKo";
}
catch (Exception exc)
else
{
logger.lg.scriviLog(string.Format("Errore in decodifica particolare da DataMatrix:{0}dtx:{1}{0}Eccezione:{0}{2}", Environment.NewLine, barcodeIn, exc), tipoLog.EXCEPTION);
currParticolare = "";
}
if (currParticolare != "")
{
// genera eventuale UDC del particolare su cella/posizione corrente
qta = 1; // tanto poi si ricalcola...
checkCreaUDC();
// verifico se devo fare gestione con intervallo dtx... da tab config DB)
if (utils.obj.configDbVal("CreaDtxByInt") == "1")
// datamatrix ok: setto css e labels
Postazione.messaggiText = traduci("partSelected");
Postazione.warningText = "";
Postazione.CssClass = "stileComandoOk";
// controllo il particolare da Dtx + check capienza celle
if (Postazione.currCodCella != "")
{
// ora chiamo la stored che fa il check x tutti i particolari nell'intervallo dei Dtx associati alla cella e (se almeno 2) nel caso crea UDC
checkIntervalloDtx();
// calcolo particolare!
try
{
// vers 2.9 modifica per multi-datamatrix
currParticolare = partByDtmx(true);
//currParticolare = DataMatrix.mgr.taDecode.GetData(barcodeIn, FormatoDtmxLinea)[0].Particolare;
}
catch (Exception exc)
{
logger.lg.scriviLog(string.Format("Errore in decodifica particolare da DataMatrix:{0}dtx:{1}{0}Formato Linea:{2}{0}Eccezione:{0}{3}", Environment.NewLine, barcodeIn, exc), tipoLog.EXCEPTION);
currParticolare = "";
}
if (currParticolare != "")
{
// genera eventuale UDC del particolare su cella/posizione corrente
qta = 1; // tanto poi si ricalcola...
checkCreaUDC();
// verifico se devo fare gestione con intervallo dtx... da tab config DB)
if (utils.obj.configDbVal("CreaDtxByInt") == "1")
{
// ora chiamo la stored che fa il check x tutti i particolari nell'intervallo dei Dtx associati alla cella e (se almeno 2) nel caso crea UDC
checkIntervalloDtx();
}
/*-------------------------------------------------------------------------------------------------
* chiamo la stored che in blocco
* - associa Dtx a UDC
* - fa controllo, se ho almeno 2 Dtx ok associo tutti i Dtx compresi nell'intervallo min-MAX
*--------------------------------------------------------------------------------------------------
*/
DataMatrix.mgr.taDtx2UDC.RxSetDtx2Udc(barcodeIn, MagClass.magazzino.CodSoggCurrUser, memLayer.ML.confReadInt("IdxPosizioneRxTemp"), Postazione.currIdxCella);
}
}
/*-----------------------------------------------
* chiamo la stored che in blocco
* - associa Dtx a UDC
* - fa controllo, se ho almeno 2 Dtx ok associo tutti i Dtx compresi nell'intervallo min-MAX
*-----------------------------------------------
*/
DataMatrix.mgr.taDtx2UDC.RxSetDtx2Udc(barcodeIn, MagClass.magazzino.CodSoggCurrUser, memLayer.ML.confReadInt("IdxPosizioneRxTemp"), Postazione.currIdxCella);
}
}
}
@@ -332,7 +393,60 @@ namespace GMW.WebUserControls
// SEGNALO che ho trovato un partnumber che è un possibile datamatrix, ma che non è nell'elenco dei datamatrix acquisiti...
Postazione.warningText = traduci("partNumFoundNoDtx");
Postazione.CssClass = "stileComandoWarn";
// creo comunque UDC ed associo datamatrix...
// faccio le verifiche... verifico formato datamatrix sia COMPATIBILE con formato datamatrix della linea corrente...
if (FormatoDtmxBarcode != FormatoDtmxLinea)
{
// errore corrispondenza formato Dtmx
Postazione.messaggiText = barcodeIn;
Postazione.warningText = traduci("ERR-DTX-014");
Postazione.CssClass = "stileComandoKo";
}
else
{
// se da web.config permesso il "force" di acquisizione
if (!memLayer.ML.confReadBool("enableDtxNotAcq"))
{
//errore gestione dmtx non acquisizione NON E' permessa
Postazione.messaggiText = barcodeIn;
Postazione.warningText = traduci("ERR-DTX-015");
Postazione.CssClass = "stileComandoKo";
}
else
{
// datamatrix ok: setto css e labels
Postazione.messaggiText = traduci("partSelected");
Postazione.warningText = "";
Postazione.CssClass = "stileComandoOk";
// controllo il particolare da Dtx + check capienza celle
if (Postazione.currCodCella != "")
{
// calcolo particolare!
try
{
// vers 2.9 modifica per multi-datamatrix
currParticolare = partByDtmx(false);
}
catch (Exception exc)
{
logger.lg.scriviLog(string.Format("Errore in decodifica particolare da DataMatrix:{0}dtx:{1}{0}Formato Linea:{2}{0}Eccezione:{0}{3}", Environment.NewLine, barcodeIn, exc), tipoLog.EXCEPTION);
currParticolare = "";
}
if (currParticolare != "")
{
// genera eventuale UDC del particolare su cella/posizione corrente
qta = 1; // tanto poi si ricalcola...
checkCreaUDC();
/*-------------------------------------------------------------------------------------------------
* chiamo la stored che in blocco
* - associa Dtx a UDC
* - fa controllo, se ho almeno 2 Dtx ok associo tutti i Dtx compresi nell'intervallo min-MAX
*--------------------------------------------------------------------------------------------------
*/
DataMatrix.mgr.taDtx2UDC.RxSetDtx2Udc(barcodeIn, MagClass.magazzino.CodSoggCurrUser, memLayer.ML.confReadInt("IdxPosizioneRxTemp"), Postazione.currIdxCella);
}
}
}
}
break;
default:
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+71 -3
View File
@@ -2124,6 +2124,8 @@ namespace GMW_data {
private global::System.Data.DataColumn columnStatoDtx;
private global::System.Data.DataColumn columnFormatoDtmx;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public stp_verificaDtxDataTable() {
@@ -2165,6 +2167,14 @@ namespace GMW_data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn FormatoDtmxColumn {
get {
return this.columnFormatoDtmx;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -2202,10 +2212,11 @@ namespace GMW_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public stp_verificaDtxRow Addstp_verificaDtxRow(string StatoDtx) {
public stp_verificaDtxRow Addstp_verificaDtxRow(string StatoDtx, string FormatoDtmx) {
stp_verificaDtxRow rowstp_verificaDtxRow = ((stp_verificaDtxRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
StatoDtx};
StatoDtx,
FormatoDtmx};
rowstp_verificaDtxRow.ItemArray = columnValuesArray;
this.Rows.Add(rowstp_verificaDtxRow);
return rowstp_verificaDtxRow;
@@ -2229,6 +2240,7 @@ namespace GMW_data {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
internal void InitVars() {
this.columnStatoDtx = base.Columns["StatoDtx"];
this.columnFormatoDtmx = base.Columns["FormatoDtmx"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -2236,8 +2248,12 @@ namespace GMW_data {
private void InitClass() {
this.columnStatoDtx = new global::System.Data.DataColumn("StatoDtx", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnStatoDtx);
this.columnFormatoDtmx = new global::System.Data.DataColumn("FormatoDtmx", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnFormatoDtmx);
this.columnStatoDtx.ReadOnly = true;
this.columnStatoDtx.MaxLength = 5;
this.columnFormatoDtmx.ReadOnly = true;
this.columnFormatoDtmx.MaxLength = 20;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -5809,6 +5825,22 @@ namespace GMW_data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string FormatoDtmx {
get {
try {
return ((string)(this[this.tablestp_verificaDtx.FormatoDtmxColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'FormatoDtmx\' in table \'stp_verificaDtx\' is DBNull.", e);
}
}
set {
this[this.tablestp_verificaDtx.FormatoDtmxColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsStatoDtxNull() {
@@ -5820,6 +5852,18 @@ namespace GMW_data {
public void SetStatoDtxNull() {
this[this.tablestp_verificaDtx.StatoDtxColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsFormatoDtmxNull() {
return this.IsNull(this.tablestp_verificaDtx.FormatoDtmxColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetFormatoDtmxNull() {
this[this.tablestp_verificaDtx.FormatoDtmxColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
@@ -8783,6 +8827,7 @@ SELECT CodDataMatrix, CodGitterbox, NumConchiglia, NumDisegno, EsponenteDisegno,
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "stp_verificaDtx";
tableMapping.ColumnMappings.Add("StatoDtx", "StatoDtx");
tableMapping.ColumnMappings.Add("FormatoDtmx", "FormatoDtmx");
this._adapter.TableMappings.Add(tableMapping);
}
@@ -9199,12 +9244,18 @@ SELECT CodDataMatrix, CodGitterbox, NumConchiglia, NumDisegno, EsponenteDisegno,
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT DataMatrix, DataOra, EsitoMarcatura, PartNumber, Particolare FROM dmtx.v_D" +
"txAcquisiti";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
this._commandCollection[1].CommandText = "dmtx.stp_DtxAcq_GetByDtx";
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@DataMatrix", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -9230,6 +9281,23 @@ SELECT CodDataMatrix, CodGitterbox, NumConchiglia, NumDisegno, EsponenteDisegno,
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_DataMatrix.v_DtxAcquisitiDataTable getByKey(string DataMatrix) {
this.Adapter.SelectCommand = this.CommandCollection[1];
if ((DataMatrix == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(DataMatrix));
}
DS_DataMatrix.v_DtxAcquisitiDataTable dataTable = new DS_DataMatrix.v_DtxAcquisitiDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
}
/// <summary>
+33 -13
View File
@@ -302,7 +302,7 @@ SELECT CodDataMatrix, CodGitterbox, NumConchiglia, NumDisegno, EsponenteDisegno,
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="stp_verificaDtxTableAdapter" GeneratorDataComponentClassName="stp_verificaDtxTableAdapter" Name="stp_verificaDtx" UserDataComponentName="stp_verificaDtxTableAdapter">
<MainSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dmtx.stp_verificaDtx" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dmtx.stp_verificaDtx" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dmtx.stp_verificaDtx</CommandText>
@@ -316,6 +316,7 @@ SELECT CodDataMatrix, CodGitterbox, NumConchiglia, NumDisegno, EsponenteDisegno,
</MainSource>
<Mappings>
<Mapping SourceColumn="StatoDtx" DataSetColumn="StatoDtx" />
<Mapping SourceColumn="FormatoDtmx" DataSetColumn="FormatoDtmx" />
</Mappings>
<Sources />
</TableAdapter>
@@ -370,7 +371,19 @@ SELECT CodDataMatrix, CodGitterbox, NumConchiglia, NumDisegno, EsponenteDisegno,
<Mapping SourceColumn="PartNumber" DataSetColumn="PartNumber" />
<Mapping SourceColumn="Particolare" DataSetColumn="Particolare" />
</Mappings>
<Sources />
<Sources>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dmtx.stp_DtxAcq_GetByDtx" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByKey" GetMethodModifier="Public" GetMethodName="getByKey" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByKey" UserSourceName="getByKey">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dmtx.stp_DtxAcq_GetByDtx</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@DataMatrix" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="stp_getFirstLastDtxTableAdapter" GeneratorDataComponentClassName="stp_getFirstLastDtxTableAdapter" Name="stp_getFirstLastDtx" UserDataComponentName="stp_getFirstLastDtxTableAdapter">
<MainSource>
@@ -897,7 +910,7 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh FROM AnagFormatiDtmx WHERE
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="stp_verificaDtx" msprop:Generator_TableClassName="stp_verificaDtxDataTable" msprop:Generator_TableVarName="tablestp_verificaDtx" msprop:Generator_RowChangedName="stp_verificaDtxRowChanged" msprop:Generator_TablePropName="stp_verificaDtx" msprop:Generator_RowDeletingName="stp_verificaDtxRowDeleting" msprop:Generator_RowChangingName="stp_verificaDtxRowChanging" msprop:Generator_RowEvHandlerName="stp_verificaDtxRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_verificaDtxRowDeleted" msprop:Generator_RowClassName="stp_verificaDtxRow" msprop:Generator_UserTableName="stp_verificaDtx" msprop:Generator_RowEvArgName="stp_verificaDtxRowChangeEvent">
<xs:element name="stp_verificaDtx" msprop:Generator_TableClassName="stp_verificaDtxDataTable" msprop:Generator_TableVarName="tablestp_verificaDtx" msprop:Generator_TablePropName="stp_verificaDtx" msprop:Generator_RowDeletingName="stp_verificaDtxRowDeleting" msprop:Generator_RowChangingName="stp_verificaDtxRowChanging" msprop:Generator_RowEvHandlerName="stp_verificaDtxRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_verificaDtxRowDeleted" msprop:Generator_UserTableName="stp_verificaDtx" msprop:Generator_RowChangedName="stp_verificaDtxRowChanged" msprop:Generator_RowEvArgName="stp_verificaDtxRowChangeEvent" msprop:Generator_RowClassName="stp_verificaDtxRow">
<xs:complexType>
<xs:sequence>
<xs:element name="StatoDtx" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnStatoDtx" msprop:Generator_ColumnPropNameInRow="StatoDtx" msprop:Generator_ColumnPropNameInTable="StatoDtxColumn" msprop:Generator_UserColumnName="StatoDtx" minOccurs="0">
@@ -907,10 +920,17 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh FROM AnagFormatiDtmx WHERE
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="FormatoDtmx" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnFormatoDtmx" msprop:Generator_ColumnPropNameInRow="FormatoDtmx" msprop:Generator_ColumnPropNameInTable="FormatoDtmxColumn" msprop:Generator_UserColumnName="FormatoDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="stp_conteggioDtx" msprop:Generator_TableClassName="stp_conteggioDtxDataTable" msprop:Generator_TableVarName="tablestp_conteggioDtx" msprop:Generator_RowChangedName="stp_conteggioDtxRowChanged" msprop:Generator_TablePropName="stp_conteggioDtx" msprop:Generator_RowDeletingName="stp_conteggioDtxRowDeleting" msprop:Generator_RowChangingName="stp_conteggioDtxRowChanging" msprop:Generator_RowEvHandlerName="stp_conteggioDtxRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_conteggioDtxRowDeleted" msprop:Generator_RowClassName="stp_conteggioDtxRow" msprop:Generator_UserTableName="stp_conteggioDtx" msprop:Generator_RowEvArgName="stp_conteggioDtxRowChangeEvent">
<xs:element name="stp_conteggioDtx" msprop:Generator_TableClassName="stp_conteggioDtxDataTable" msprop:Generator_TableVarName="tablestp_conteggioDtx" msprop:Generator_TablePropName="stp_conteggioDtx" msprop:Generator_RowDeletingName="stp_conteggioDtxRowDeleting" msprop:Generator_RowChangingName="stp_conteggioDtxRowChanging" msprop:Generator_RowEvHandlerName="stp_conteggioDtxRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_conteggioDtxRowDeleted" msprop:Generator_UserTableName="stp_conteggioDtx" msprop:Generator_RowChangedName="stp_conteggioDtxRowChanged" msprop:Generator_RowEvArgName="stp_conteggioDtxRowChangeEvent" msprop:Generator_RowClassName="stp_conteggioDtxRow">
<xs:complexType>
<xs:sequence>
<xs:element name="Particolare" msprop:Generator_ColumnVarNameInTable="columnParticolare" msprop:Generator_ColumnPropNameInRow="Particolare" msprop:Generator_ColumnPropNameInTable="ParticolareColumn" msprop:Generator_UserColumnName="Particolare" minOccurs="0">
@@ -924,7 +944,7 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh FROM AnagFormatiDtmx WHERE
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_DtxAcquisiti" msprop:Generator_TableClassName="v_DtxAcquisitiDataTable" msprop:Generator_TableVarName="tablev_DtxAcquisiti" msprop:Generator_RowChangedName="v_DtxAcquisitiRowChanged" msprop:Generator_TablePropName="v_DtxAcquisiti" msprop:Generator_RowDeletingName="v_DtxAcquisitiRowDeleting" msprop:Generator_RowChangingName="v_DtxAcquisitiRowChanging" msprop:Generator_RowEvHandlerName="v_DtxAcquisitiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_DtxAcquisitiRowDeleted" msprop:Generator_RowClassName="v_DtxAcquisitiRow" msprop:Generator_UserTableName="v_DtxAcquisiti" msprop:Generator_RowEvArgName="v_DtxAcquisitiRowChangeEvent">
<xs:element name="v_DtxAcquisiti" msprop:Generator_TableClassName="v_DtxAcquisitiDataTable" msprop:Generator_TableVarName="tablev_DtxAcquisiti" msprop:Generator_TablePropName="v_DtxAcquisiti" msprop:Generator_RowDeletingName="v_DtxAcquisitiRowDeleting" msprop:Generator_RowChangingName="v_DtxAcquisitiRowChanging" msprop:Generator_RowEvHandlerName="v_DtxAcquisitiRowChangeEventHandler" msprop:Generator_RowDeletedName="v_DtxAcquisitiRowDeleted" msprop:Generator_UserTableName="v_DtxAcquisiti" msprop:Generator_RowChangedName="v_DtxAcquisitiRowChanged" msprop:Generator_RowEvArgName="v_DtxAcquisitiRowChangeEvent" msprop:Generator_RowClassName="v_DtxAcquisitiRow">
<xs:complexType>
<xs:sequence>
<xs:element name="DataMatrix" msprop:Generator_ColumnVarNameInTable="columnDataMatrix" msprop:Generator_ColumnPropNameInRow="DataMatrix" msprop:Generator_ColumnPropNameInTable="DataMatrixColumn" msprop:Generator_UserColumnName="DataMatrix">
@@ -959,7 +979,7 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh FROM AnagFormatiDtmx WHERE
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="stp_decodeDtx" msprop:Generator_TableClassName="stp_decodeDtxDataTable" msprop:Generator_TableVarName="tablestp_decodeDtx" msprop:Generator_TablePropName="stp_decodeDtx" msprop:Generator_RowDeletingName="stp_decodeDtxRowDeleting" msprop:Generator_RowChangingName="stp_decodeDtxRowChanging" msprop:Generator_RowEvHandlerName="stp_decodeDtxRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_decodeDtxRowDeleted" msprop:Generator_UserTableName="stp_decodeDtx" msprop:Generator_RowChangedName="stp_decodeDtxRowChanged" msprop:Generator_RowEvArgName="stp_decodeDtxRowChangeEvent" msprop:Generator_RowClassName="stp_decodeDtxRow">
<xs:element name="stp_decodeDtx" msprop:Generator_TableClassName="stp_decodeDtxDataTable" msprop:Generator_TableVarName="tablestp_decodeDtx" msprop:Generator_RowChangedName="stp_decodeDtxRowChanged" msprop:Generator_TablePropName="stp_decodeDtx" msprop:Generator_RowDeletingName="stp_decodeDtxRowDeleting" msprop:Generator_RowChangingName="stp_decodeDtxRowChanging" msprop:Generator_RowEvHandlerName="stp_decodeDtxRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_decodeDtxRowDeleted" msprop:Generator_RowClassName="stp_decodeDtxRow" msprop:Generator_UserTableName="stp_decodeDtx" msprop:Generator_RowEvArgName="stp_decodeDtxRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="PartNumber" msprop:Generator_ColumnVarNameInTable="columnPartNumber" msprop:Generator_ColumnPropNameInRow="PartNumber" msprop:Generator_ColumnPropNameInTable="PartNumberColumn" msprop:Generator_UserColumnName="PartNumber">
@@ -979,7 +999,7 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh FROM AnagFormatiDtmx WHERE
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="stp_getFirstLastDtx" msprop:Generator_TableClassName="stp_getFirstLastDtxDataTable" msprop:Generator_TableVarName="tablestp_getFirstLastDtx" msprop:Generator_TablePropName="stp_getFirstLastDtx" msprop:Generator_RowDeletingName="stp_getFirstLastDtxRowDeleting" msprop:Generator_RowChangingName="stp_getFirstLastDtxRowChanging" msprop:Generator_RowEvHandlerName="stp_getFirstLastDtxRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_getFirstLastDtxRowDeleted" msprop:Generator_UserTableName="stp_getFirstLastDtx" msprop:Generator_RowChangedName="stp_getFirstLastDtxRowChanged" msprop:Generator_RowEvArgName="stp_getFirstLastDtxRowChangeEvent" msprop:Generator_RowClassName="stp_getFirstLastDtxRow">
<xs:element name="stp_getFirstLastDtx" msprop:Generator_TableClassName="stp_getFirstLastDtxDataTable" msprop:Generator_TableVarName="tablestp_getFirstLastDtx" msprop:Generator_RowChangedName="stp_getFirstLastDtxRowChanged" msprop:Generator_TablePropName="stp_getFirstLastDtx" msprop:Generator_RowDeletingName="stp_getFirstLastDtxRowDeleting" msprop:Generator_RowChangingName="stp_getFirstLastDtxRowChanging" msprop:Generator_RowEvHandlerName="stp_getFirstLastDtxRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_getFirstLastDtxRowDeleted" msprop:Generator_RowClassName="stp_getFirstLastDtxRow" msprop:Generator_UserTableName="stp_getFirstLastDtx" msprop:Generator_RowEvArgName="stp_getFirstLastDtxRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="DtxStart" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnDtxStart" msprop:Generator_ColumnPropNameInRow="DtxStart" msprop:Generator_ColumnPropNameInTable="DtxStartColumn" msprop:Generator_UserColumnName="DtxStart" minOccurs="0">
@@ -999,7 +1019,7 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh FROM AnagFormatiDtmx WHERE
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Dtx2UDC" msprop:Generator_TableClassName="Dtx2UDCDataTable" msprop:Generator_TableVarName="tableDtx2UDC" msprop:Generator_TablePropName="Dtx2UDC" msprop:Generator_RowDeletingName="Dtx2UDCRowDeleting" msprop:Generator_RowChangingName="Dtx2UDCRowChanging" msprop:Generator_RowEvHandlerName="Dtx2UDCRowChangeEventHandler" msprop:Generator_RowDeletedName="Dtx2UDCRowDeleted" msprop:Generator_UserTableName="Dtx2UDC" msprop:Generator_RowChangedName="Dtx2UDCRowChanged" msprop:Generator_RowEvArgName="Dtx2UDCRowChangeEvent" msprop:Generator_RowClassName="Dtx2UDCRow">
<xs:element name="Dtx2UDC" msprop:Generator_TableClassName="Dtx2UDCDataTable" msprop:Generator_TableVarName="tableDtx2UDC" msprop:Generator_RowChangedName="Dtx2UDCRowChanged" msprop:Generator_TablePropName="Dtx2UDC" msprop:Generator_RowDeletingName="Dtx2UDCRowDeleting" msprop:Generator_RowChangingName="Dtx2UDCRowChanging" msprop:Generator_RowEvHandlerName="Dtx2UDCRowChangeEventHandler" msprop:Generator_RowDeletedName="Dtx2UDCRowDeleted" msprop:Generator_RowClassName="Dtx2UDCRow" msprop:Generator_UserTableName="Dtx2UDC" msprop:Generator_RowEvArgName="Dtx2UDCRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="DataMatrix" msprop:Generator_ColumnVarNameInTable="columnDataMatrix" msprop:Generator_ColumnPropNameInRow="DataMatrix" msprop:Generator_ColumnPropNameInTable="DataMatrixColumn" msprop:Generator_UserColumnName="DataMatrix">
@@ -1041,7 +1061,7 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh FROM AnagFormatiDtmx WHERE
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="stp_DtxGetAvailFreeAnom" msprop:Generator_TableClassName="stp_DtxGetAvailFreeAnomDataTable" msprop:Generator_TableVarName="tablestp_DtxGetAvailFreeAnom" msprop:Generator_RowChangedName="stp_DtxGetAvailFreeAnomRowChanged" msprop:Generator_TablePropName="stp_DtxGetAvailFreeAnom" msprop:Generator_RowDeletingName="stp_DtxGetAvailFreeAnomRowDeleting" msprop:Generator_RowChangingName="stp_DtxGetAvailFreeAnomRowChanging" msprop:Generator_RowEvHandlerName="stp_DtxGetAvailFreeAnomRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_DtxGetAvailFreeAnomRowDeleted" msprop:Generator_RowClassName="stp_DtxGetAvailFreeAnomRow" msprop:Generator_UserTableName="stp_DtxGetAvailFreeAnom" msprop:Generator_RowEvArgName="stp_DtxGetAvailFreeAnomRowChangeEvent">
<xs:element name="stp_DtxGetAvailFreeAnom" msprop:Generator_TableClassName="stp_DtxGetAvailFreeAnomDataTable" msprop:Generator_TableVarName="tablestp_DtxGetAvailFreeAnom" msprop:Generator_TablePropName="stp_DtxGetAvailFreeAnom" msprop:Generator_RowDeletingName="stp_DtxGetAvailFreeAnomRowDeleting" msprop:Generator_RowChangingName="stp_DtxGetAvailFreeAnomRowChanging" msprop:Generator_RowEvHandlerName="stp_DtxGetAvailFreeAnomRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_DtxGetAvailFreeAnomRowDeleted" msprop:Generator_UserTableName="stp_DtxGetAvailFreeAnom" msprop:Generator_RowChangedName="stp_DtxGetAvailFreeAnomRowChanged" msprop:Generator_RowEvArgName="stp_DtxGetAvailFreeAnomRowChangeEvent" msprop:Generator_RowClassName="stp_DtxGetAvailFreeAnomRow">
<xs:complexType>
<xs:sequence>
<xs:element name="DataMatrix" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnDataMatrix" msprop:Generator_ColumnPropNameInRow="DataMatrix" msprop:Generator_ColumnPropNameInTable="DataMatrixColumn" msprop:Generator_UserColumnName="DataMatrix" minOccurs="0">
@@ -1054,7 +1074,7 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh FROM AnagFormatiDtmx WHERE
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Attr2Dtx" msprop:Generator_TableClassName="Attr2DtxDataTable" msprop:Generator_TableVarName="tableAttr2Dtx" msprop:Generator_RowChangedName="Attr2DtxRowChanged" msprop:Generator_TablePropName="Attr2Dtx" msprop:Generator_RowDeletingName="Attr2DtxRowDeleting" msprop:Generator_RowChangingName="Attr2DtxRowChanging" msprop:Generator_RowEvHandlerName="Attr2DtxRowChangeEventHandler" msprop:Generator_RowDeletedName="Attr2DtxRowDeleted" msprop:Generator_RowClassName="Attr2DtxRow" msprop:Generator_UserTableName="Attr2Dtx" msprop:Generator_RowEvArgName="Attr2DtxRowChangeEvent">
<xs:element name="Attr2Dtx" msprop:Generator_TableClassName="Attr2DtxDataTable" msprop:Generator_TableVarName="tableAttr2Dtx" msprop:Generator_TablePropName="Attr2Dtx" msprop:Generator_RowDeletingName="Attr2DtxRowDeleting" msprop:Generator_RowChangingName="Attr2DtxRowChanging" msprop:Generator_RowEvHandlerName="Attr2DtxRowChangeEventHandler" msprop:Generator_RowDeletedName="Attr2DtxRowDeleted" msprop:Generator_UserTableName="Attr2Dtx" msprop:Generator_RowChangedName="Attr2DtxRowChanged" msprop:Generator_RowEvArgName="Attr2DtxRowChangeEvent" msprop:Generator_RowClassName="Attr2DtxRow">
<xs:complexType>
<xs:sequence>
<xs:element name="idxAttr" msprop:Generator_ColumnVarNameInTable="columnidxAttr" msprop:Generator_ColumnPropNameInRow="idxAttr" msprop:Generator_ColumnPropNameInTable="idxAttrColumn" msprop:Generator_UserColumnName="idxAttr" type="xs:int" />
@@ -1090,7 +1110,7 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh FROM AnagFormatiDtmx WHERE
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_Attr2Dtx" msprop:Generator_TableClassName="v_Attr2DtxDataTable" msprop:Generator_TableVarName="tablev_Attr2Dtx" msprop:Generator_TablePropName="v_Attr2Dtx" msprop:Generator_RowDeletingName="v_Attr2DtxRowDeleting" msprop:Generator_RowChangingName="v_Attr2DtxRowChanging" msprop:Generator_RowEvHandlerName="v_Attr2DtxRowChangeEventHandler" msprop:Generator_RowDeletedName="v_Attr2DtxRowDeleted" msprop:Generator_UserTableName="v_Attr2Dtx" msprop:Generator_RowChangedName="v_Attr2DtxRowChanged" msprop:Generator_RowEvArgName="v_Attr2DtxRowChangeEvent" msprop:Generator_RowClassName="v_Attr2DtxRow">
<xs:element name="v_Attr2Dtx" msprop:Generator_TableClassName="v_Attr2DtxDataTable" msprop:Generator_TableVarName="tablev_Attr2Dtx" msprop:Generator_RowChangedName="v_Attr2DtxRowChanged" msprop:Generator_TablePropName="v_Attr2Dtx" msprop:Generator_RowDeletingName="v_Attr2DtxRowDeleting" msprop:Generator_RowChangingName="v_Attr2DtxRowChanging" msprop:Generator_RowEvHandlerName="v_Attr2DtxRowChangeEventHandler" msprop:Generator_RowDeletedName="v_Attr2DtxRowDeleted" msprop:Generator_RowClassName="v_Attr2DtxRow" msprop:Generator_UserTableName="v_Attr2Dtx" msprop:Generator_RowEvArgName="v_Attr2DtxRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="Particolare" msprop:Generator_ColumnVarNameInTable="columnParticolare" msprop:Generator_ColumnPropNameInRow="Particolare" msprop:Generator_ColumnPropNameInTable="ParticolareColumn" msprop:Generator_UserColumnName="Particolare" minOccurs="0">
@@ -1126,7 +1146,7 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh FROM AnagFormatiDtmx WHERE
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="stp_DtxCheckBlocked" msprop:Generator_TableClassName="stp_DtxCheckBlockedDataTable" msprop:Generator_TableVarName="tablestp_DtxCheckBlocked" msprop:Generator_RowChangedName="stp_DtxCheckBlockedRowChanged" msprop:Generator_TablePropName="stp_DtxCheckBlocked" msprop:Generator_RowDeletingName="stp_DtxCheckBlockedRowDeleting" msprop:Generator_RowChangingName="stp_DtxCheckBlockedRowChanging" msprop:Generator_RowEvHandlerName="stp_DtxCheckBlockedRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_DtxCheckBlockedRowDeleted" msprop:Generator_RowClassName="stp_DtxCheckBlockedRow" msprop:Generator_UserTableName="stp_DtxCheckBlocked" msprop:Generator_RowEvArgName="stp_DtxCheckBlockedRowChangeEvent">
<xs:element name="stp_DtxCheckBlocked" msprop:Generator_TableClassName="stp_DtxCheckBlockedDataTable" msprop:Generator_TableVarName="tablestp_DtxCheckBlocked" msprop:Generator_TablePropName="stp_DtxCheckBlocked" msprop:Generator_RowDeletingName="stp_DtxCheckBlockedRowDeleting" msprop:Generator_RowChangingName="stp_DtxCheckBlockedRowChanging" msprop:Generator_RowEvHandlerName="stp_DtxCheckBlockedRowChangeEventHandler" msprop:Generator_RowDeletedName="stp_DtxCheckBlockedRowDeleted" msprop:Generator_UserTableName="stp_DtxCheckBlocked" msprop:Generator_RowChangedName="stp_DtxCheckBlockedRowChanged" msprop:Generator_RowEvArgName="stp_DtxCheckBlockedRowChangeEvent" msprop:Generator_RowClassName="stp_DtxCheckBlockedRow">
<xs:complexType>
<xs:sequence>
<xs:element name="DataMatrix" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnDataMatrix" msprop:Generator_ColumnPropNameInRow="DataMatrix" msprop:Generator_ColumnPropNameInTable="DataMatrixColumn" msprop:Generator_UserColumnName="DataMatrix" minOccurs="0">
@@ -1139,7 +1159,7 @@ SELECT FormatoDtmx, Descrizione, FormatoEsteso, Lungh FROM AnagFormatiDtmx WHERE
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="AnagFormatiDtmx" msprop:Generator_TableClassName="AnagFormatiDtmxDataTable" msprop:Generator_TableVarName="tableAnagFormatiDtmx" msprop:Generator_TablePropName="AnagFormatiDtmx" msprop:Generator_RowDeletingName="AnagFormatiDtmxRowDeleting" msprop:Generator_RowChangingName="AnagFormatiDtmxRowChanging" msprop:Generator_RowEvHandlerName="AnagFormatiDtmxRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagFormatiDtmxRowDeleted" msprop:Generator_UserTableName="AnagFormatiDtmx" msprop:Generator_RowChangedName="AnagFormatiDtmxRowChanged" msprop:Generator_RowEvArgName="AnagFormatiDtmxRowChangeEvent" msprop:Generator_RowClassName="AnagFormatiDtmxRow">
<xs:element name="AnagFormatiDtmx" msprop:Generator_TableClassName="AnagFormatiDtmxDataTable" msprop:Generator_TableVarName="tableAnagFormatiDtmx" msprop:Generator_RowChangedName="AnagFormatiDtmxRowChanged" msprop:Generator_TablePropName="AnagFormatiDtmx" msprop:Generator_RowDeletingName="AnagFormatiDtmxRowDeleting" msprop:Generator_RowChangingName="AnagFormatiDtmxRowChanging" msprop:Generator_RowEvHandlerName="AnagFormatiDtmxRowChangeEventHandler" msprop:Generator_RowDeletedName="AnagFormatiDtmxRowDeleted" msprop:Generator_RowClassName="AnagFormatiDtmxRow" msprop:Generator_UserTableName="AnagFormatiDtmx" msprop:Generator_RowEvArgName="AnagFormatiDtmxRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="FormatoDtmx" msprop:Generator_ColumnVarNameInTable="columnFormatoDtmx" msprop:Generator_ColumnPropNameInRow="FormatoDtmx" msprop:Generator_ColumnPropNameInTable="FormatoDtmxColumn" msprop:Generator_UserColumnName="FormatoDtmx">
+3 -3
View File
@@ -10,12 +10,12 @@
<Shape ID="DesignTable:ElencoDataMatrix" ZOrder="12" X="604" Y="14" Height="400" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:v_trasfDataMatrix" ZOrder="13" X="951" Y="201" Height="324" Width="248" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:stp_decodeDtx" ZOrder="8" X="392" Y="663" Height="115" Width="257" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:stp_verificaDtx" ZOrder="11" X="403" Y="795" Height="96" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="46" />
<Shape ID="DesignTable:stp_verificaDtx" ZOrder="11" X="403" Y="795" Height="115" Width="231" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:stp_conteggioDtx" ZOrder="10" X="90" Y="664" Height="134" Width="235" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:v_DtxAcquisiti" ZOrder="9" X="664" Y="669" Height="172" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:v_DtxAcquisiti" ZOrder="9" X="664" Y="669" Height="191" Width="227" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:stp_getFirstLastDtx" ZOrder="7" X="96" Y="805" Height="115" Width="256" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:Dtx2UDC" ZOrder="5" X="104" Y="302" Height="324" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:stp_DtxGetAvailFreeAnom" ZOrder="6" X="933" Y="706" Height="130" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:stp_DtxGetAvailFreeAnom" ZOrder="6" X="933" Y="706" Height="130" Width="221" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:Attr2Dtx" ZOrder="3" X="71" Y="36" Height="229" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:v_Attr2Dtx" ZOrder="4" X="390" Y="69" Height="210" Width="191" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:stp_DtxCheckBlocked" ZOrder="2" X="463" Y="469" Height="96" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="45" />
+127 -26
View File
@@ -12205,6 +12205,8 @@ namespace GMW_data {
private global::System.Data.DataColumn columnnote;
private global::System.Data.DataColumn columnFormatoDtmx;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public ElencoPostazioniDataTable() {
@@ -12262,6 +12264,14 @@ namespace GMW_data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn FormatoDtmxColumn {
get {
return this.columnFormatoDtmx;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -12299,12 +12309,13 @@ namespace GMW_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public ElencoPostazioniRow AddElencoPostazioniRow(string codPostazione, string stampante, string note) {
public ElencoPostazioniRow AddElencoPostazioniRow(string codPostazione, string stampante, string note, string FormatoDtmx) {
ElencoPostazioniRow rowElencoPostazioniRow = ((ElencoPostazioniRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
codPostazione,
stampante,
note};
note,
FormatoDtmx};
rowElencoPostazioniRow.ItemArray = columnValuesArray;
this.Rows.Add(rowElencoPostazioniRow);
return rowElencoPostazioniRow;
@@ -12337,6 +12348,7 @@ namespace GMW_data {
this.columncodPostazione = base.Columns["codPostazione"];
this.columnstampante = base.Columns["stampante"];
this.columnnote = base.Columns["note"];
this.columnFormatoDtmx = base.Columns["FormatoDtmx"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -12348,6 +12360,8 @@ namespace GMW_data {
base.Columns.Add(this.columnstampante);
this.columnnote = new global::System.Data.DataColumn("note", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnnote);
this.columnFormatoDtmx = new global::System.Data.DataColumn("FormatoDtmx", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnFormatoDtmx);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columncodPostazione}, true));
this.columncodPostazione.AllowDBNull = false;
@@ -12355,6 +12369,8 @@ namespace GMW_data {
this.columncodPostazione.MaxLength = 250;
this.columnstampante.MaxLength = 250;
this.columnnote.MaxLength = 250;
this.columnFormatoDtmx.ReadOnly = true;
this.columnFormatoDtmx.MaxLength = 20;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -12502,6 +12518,8 @@ namespace GMW_data {
private global::System.Data.DataColumn columnCurrVal;
private global::System.Data.DataColumn columnFormatoDtmx;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public AnagLineeDataTable() {
@@ -12591,6 +12609,14 @@ namespace GMW_data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public global::System.Data.DataColumn FormatoDtmxColumn {
get {
return this.columnFormatoDtmx;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -12628,7 +12654,7 @@ namespace GMW_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public AnagLineeRow AddAnagLineeRow(string CodLinea, string Descrizione, string CodBlocco, string CodCella, string codPostazione, System.DateTime dtAccess, string CurrVal) {
public AnagLineeRow AddAnagLineeRow(string CodLinea, string Descrizione, string CodBlocco, string CodCella, string codPostazione, System.DateTime dtAccess, string CurrVal, string FormatoDtmx) {
AnagLineeRow rowAnagLineeRow = ((AnagLineeRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
CodLinea,
@@ -12637,7 +12663,8 @@ namespace GMW_data {
CodCella,
codPostazione,
dtAccess,
CurrVal};
CurrVal,
FormatoDtmx};
rowAnagLineeRow.ItemArray = columnValuesArray;
this.Rows.Add(rowAnagLineeRow);
return rowAnagLineeRow;
@@ -12674,6 +12701,7 @@ namespace GMW_data {
this.columncodPostazione = base.Columns["codPostazione"];
this.columndtAccess = base.Columns["dtAccess"];
this.columnCurrVal = base.Columns["CurrVal"];
this.columnFormatoDtmx = base.Columns["FormatoDtmx"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -12693,6 +12721,8 @@ namespace GMW_data {
base.Columns.Add(this.columndtAccess);
this.columnCurrVal = new global::System.Data.DataColumn("CurrVal", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnCurrVal);
this.columnFormatoDtmx = new global::System.Data.DataColumn("FormatoDtmx", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnFormatoDtmx);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnCodLinea}, true));
this.columnCodLinea.AllowDBNull = false;
@@ -12709,6 +12739,8 @@ namespace GMW_data {
this.columnCurrVal.AllowDBNull = false;
this.columnCurrVal.Caption = "AL";
this.columnCurrVal.MaxLength = 50;
this.columnFormatoDtmx.AllowDBNull = false;
this.columnFormatoDtmx.MaxLength = 20;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -20633,6 +20665,22 @@ namespace GMW_data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string FormatoDtmx {
get {
try {
return ((string)(this[this.tableElencoPostazioni.FormatoDtmxColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'FormatoDtmx\' in table \'ElencoPostazioni\' is DBNull.", e);
}
}
set {
this[this.tableElencoPostazioni.FormatoDtmxColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsstampanteNull() {
@@ -20656,6 +20704,18 @@ namespace GMW_data {
public void SetnoteNull() {
this[this.tableElencoPostazioni.noteColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsFormatoDtmxNull() {
return this.IsNull(this.tableElencoPostazioni.FormatoDtmxColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public void SetFormatoDtmxNull() {
this[this.tableElencoPostazioni.FormatoDtmxColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
@@ -20764,6 +20824,17 @@ namespace GMW_data {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public string FormatoDtmx {
get {
return ((string)(this[this.tableAnagLinee.FormatoDtmxColumn]));
}
set {
this[this.tableAnagLinee.FormatoDtmxColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
public bool IsCodBloccoNull() {
@@ -38096,6 +38167,7 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
tableMapping.ColumnMappings.Add("codPostazione", "codPostazione");
tableMapping.ColumnMappings.Add("stampante", "stampante");
tableMapping.ColumnMappings.Add("note", "note");
tableMapping.ColumnMappings.Add("FormatoDtmx", "FormatoDtmx");
this._adapter.TableMappings.Add(tableMapping);
}
@@ -38113,8 +38185,8 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT LTRIM(RTRIM(codPostazione)) AS codPostazione, LTRIM(RTRIM(stampante" +
")) AS stampante, LTRIM(RTRIM(note)) AS note\r\nFROM ElencoPostazioni\r\nO" +
"RDER BY codPostazione";
")) AS stampante, LTRIM(RTRIM(note)) AS note, LTRIM(RTRIM(FormatoDtmx)) AS Format" +
"oDtmx\r\nFROM ElencoPostazioni\r\nORDER BY codPostazione";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
@@ -38409,10 +38481,11 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
tableMapping.ColumnMappings.Add("dtAccess", "dtAccess");
tableMapping.ColumnMappings.Add("AL", "CurrVal");
tableMapping.ColumnMappings.Add("CurrVal", "CurrVal");
tableMapping.ColumnMappings.Add("FormatoDtmx", "FormatoDtmx");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[AnagLinee] WHERE (([CodLinea] = @Original_CodLinea) AND ([Descrizione] = @Original_Descrizione) AND ([CodBlocco] = @Original_CodBlocco) AND ([CodCella] = @Original_CodCella) AND ([codPostazione] = @Original_codPostazione) AND ((@IsNull_dtAccess = 1 AND [dtAccess] IS NULL) OR ([dtAccess] = @Original_dtAccess)) AND ([CurrVal] = @Original_CurrVal))";
this._adapter.DeleteCommand.CommandText = @"DELETE FROM [dbo].[AnagLinee] WHERE (([CodLinea] = @Original_CodLinea) AND ([Descrizione] = @Original_Descrizione) AND ([CodBlocco] = @Original_CodBlocco) AND ([CodCella] = @Original_CodCella) AND ([codPostazione] = @Original_codPostazione) AND ((@IsNull_dtAccess = 1 AND [dtAccess] IS NULL) OR ([dtAccess] = @Original_dtAccess)) AND ([CurrVal] = @Original_CurrVal) AND ([FormatoDtmx] = @Original_FormatoDtmx))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodLinea", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodLinea", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
@@ -38422,26 +38495,29 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dtAccess", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dtAccess", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dtAccess", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dtAccess", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CurrVal", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CurrVal", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FormatoDtmx", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FormatoDtmx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[AnagLinee] ([CodLinea], [Descrizione], [codPostazione], [dtAccess], [CurrVal]) VALUES (@CodLinea, @Descrizione, @codPostazione, @dtAccess, @CurrVal);
SELECT CodLinea, Descrizione, CodBlocco, CodCella, codPostazione, dtAccess, CurrVal FROM AnagLinee WHERE (CodLinea = @CodLinea)";
this._adapter.InsertCommand.CommandText = @"INSERT INTO [dbo].[AnagLinee] ([CodLinea], [Descrizione], [codPostazione], [dtAccess], [CurrVal], [FormatoDtmx]) VALUES (@CodLinea, @Descrizione, @codPostazione, @dtAccess, @CurrVal, @FormatoDtmx);
SELECT CodLinea, Descrizione, CodBlocco, CodCella, codPostazione, dtAccess, CurrVal, FormatoDtmx FROM AnagLinee WHERE (CodLinea = @CodLinea)";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLinea", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodLinea", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codPostazione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codPostazione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dtAccess", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dtAccess", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CurrVal", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CurrVal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FormatoDtmx", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FormatoDtmx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagLinee] SET [CodLinea] = @CodLinea, [Descrizione] = @Descrizione, [codPostazione] = @codPostazione, [dtAccess] = @dtAccess, [CurrVal] = @CurrVal WHERE (([CodLinea] = @Original_CodLinea) AND ([Descrizione] = @Original_Descrizione) AND ([CodBlocco] = @Original_CodBlocco) AND ([CodCella] = @Original_CodCella) AND ([codPostazione] = @Original_codPostazione) AND ((@IsNull_dtAccess = 1 AND [dtAccess] IS NULL) OR ([dtAccess] = @Original_dtAccess)) AND ([CurrVal] = @Original_CurrVal));
SELECT CodLinea, Descrizione, CodBlocco, CodCella, codPostazione, dtAccess, CurrVal FROM AnagLinee WHERE (CodLinea = @CodLinea)";
this._adapter.UpdateCommand.CommandText = @"UPDATE [dbo].[AnagLinee] SET [CodLinea] = @CodLinea, [Descrizione] = @Descrizione, [codPostazione] = @codPostazione, [dtAccess] = @dtAccess, [CurrVal] = @CurrVal, [FormatoDtmx] = @FormatoDtmx WHERE (([CodLinea] = @Original_CodLinea) AND ([Descrizione] = @Original_Descrizione) AND ([CodBlocco] = @Original_CodBlocco) AND ([CodCella] = @Original_CodCella) AND ([codPostazione] = @Original_codPostazione) AND ((@IsNull_dtAccess = 1 AND [dtAccess] IS NULL) OR ([dtAccess] = @Original_dtAccess)) AND ([CurrVal] = @Original_CurrVal) AND ([FormatoDtmx] = @Original_FormatoDtmx));
SELECT CodLinea, Descrizione, CodBlocco, CodCella, codPostazione, dtAccess, CurrVal, FormatoDtmx FROM AnagLinee WHERE (CodLinea = @CodLinea)";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodLinea", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodLinea", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@codPostazione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "codPostazione", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dtAccess", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dtAccess", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CurrVal", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CurrVal", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@FormatoDtmx", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FormatoDtmx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodLinea", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodLinea", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Descrizione", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Descrizione", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CodBlocco", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CodBlocco", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
@@ -38450,6 +38526,7 @@ SELECT CodLinea, Descrizione, CodBlocco, CodCella, codPostazione, dtAccess, Curr
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_dtAccess", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dtAccess", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_dtAccess", global::System.Data.SqlDbType.DateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "dtAccess", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_CurrVal", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "CurrVal", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_FormatoDtmx", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "FormatoDtmx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -38636,7 +38713,7 @@ SELECT CodLinea, Descrizione, CodBlocco, CodCella, codPostazione, dtAccess, Curr
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Delete, true)]
public virtual int Delete(string Original_CodLinea, string Original_Descrizione, string Original_CodBlocco, string Original_CodCella, string Original_codPostazione, global::System.Nullable<global::System.DateTime> Original_dtAccess, string Original_CurrVal) {
public virtual int Delete(string Original_CodLinea, string Original_Descrizione, string Original_CodBlocco, string Original_CodCella, string Original_codPostazione, global::System.Nullable<global::System.DateTime> Original_dtAccess, string Original_CurrVal, string Original_FormatoDtmx) {
if ((Original_CodLinea == null)) {
throw new global::System.ArgumentNullException("Original_CodLinea");
}
@@ -38681,6 +38758,12 @@ SELECT CodLinea, Descrizione, CodBlocco, CodCella, codPostazione, dtAccess, Curr
else {
this.Adapter.DeleteCommand.Parameters[7].Value = ((string)(Original_CurrVal));
}
if ((Original_FormatoDtmx == null)) {
throw new global::System.ArgumentNullException("Original_FormatoDtmx");
}
else {
this.Adapter.DeleteCommand.Parameters[8].Value = ((string)(Original_FormatoDtmx));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -38701,7 +38784,7 @@ SELECT CodLinea, Descrizione, CodBlocco, CodCella, codPostazione, dtAccess, Curr
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Insert, true)]
public virtual int Insert(string CodLinea, string Descrizione, string codPostazione, global::System.Nullable<global::System.DateTime> dtAccess, string CurrVal) {
public virtual int Insert(string CodLinea, string Descrizione, string codPostazione, global::System.Nullable<global::System.DateTime> dtAccess, string CurrVal, string FormatoDtmx) {
if ((CodLinea == null)) {
throw new global::System.ArgumentNullException("CodLinea");
}
@@ -38732,6 +38815,12 @@ SELECT CodLinea, Descrizione, CodBlocco, CodCella, codPostazione, dtAccess, Curr
else {
this.Adapter.InsertCommand.Parameters[4].Value = ((string)(CurrVal));
}
if ((FormatoDtmx == null)) {
throw new global::System.ArgumentNullException("FormatoDtmx");
}
else {
this.Adapter.InsertCommand.Parameters[5].Value = ((string)(FormatoDtmx));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -38752,7 +38841,7 @@ SELECT CodLinea, Descrizione, CodBlocco, CodCella, codPostazione, dtAccess, Curr
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(string CodLinea, string Descrizione, string codPostazione, global::System.Nullable<global::System.DateTime> dtAccess, string CurrVal, string Original_CodLinea, string Original_Descrizione, string Original_CodBlocco, string Original_CodCella, string Original_codPostazione, global::System.Nullable<global::System.DateTime> Original_dtAccess, string Original_CurrVal) {
public virtual int Update(string CodLinea, string Descrizione, string codPostazione, global::System.Nullable<global::System.DateTime> dtAccess, string CurrVal, string FormatoDtmx, string Original_CodLinea, string Original_Descrizione, string Original_CodBlocco, string Original_CodCella, string Original_codPostazione, global::System.Nullable<global::System.DateTime> Original_dtAccess, string Original_CurrVal, string Original_FormatoDtmx) {
if ((CodLinea == null)) {
throw new global::System.ArgumentNullException("CodLinea");
}
@@ -38783,49 +38872,61 @@ SELECT CodLinea, Descrizione, CodBlocco, CodCella, codPostazione, dtAccess, Curr
else {
this.Adapter.UpdateCommand.Parameters[4].Value = ((string)(CurrVal));
}
if ((FormatoDtmx == null)) {
throw new global::System.ArgumentNullException("FormatoDtmx");
}
else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(FormatoDtmx));
}
if ((Original_CodLinea == null)) {
throw new global::System.ArgumentNullException("Original_CodLinea");
}
else {
this.Adapter.UpdateCommand.Parameters[5].Value = ((string)(Original_CodLinea));
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_CodLinea));
}
if ((Original_Descrizione == null)) {
throw new global::System.ArgumentNullException("Original_Descrizione");
}
else {
this.Adapter.UpdateCommand.Parameters[6].Value = ((string)(Original_Descrizione));
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_Descrizione));
}
if ((Original_CodBlocco == null)) {
throw new global::System.ArgumentNullException("Original_CodBlocco");
}
else {
this.Adapter.UpdateCommand.Parameters[7].Value = ((string)(Original_CodBlocco));
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_CodBlocco));
}
if ((Original_CodCella == null)) {
throw new global::System.ArgumentNullException("Original_CodCella");
}
else {
this.Adapter.UpdateCommand.Parameters[8].Value = ((string)(Original_CodCella));
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_CodCella));
}
if ((Original_codPostazione == null)) {
throw new global::System.ArgumentNullException("Original_codPostazione");
}
else {
this.Adapter.UpdateCommand.Parameters[9].Value = ((string)(Original_codPostazione));
this.Adapter.UpdateCommand.Parameters[10].Value = ((string)(Original_codPostazione));
}
if ((Original_dtAccess.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[11].Value = ((System.DateTime)(Original_dtAccess.Value));
this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[12].Value = ((System.DateTime)(Original_dtAccess.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[10].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[11].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[11].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[12].Value = global::System.DBNull.Value;
}
if ((Original_CurrVal == null)) {
throw new global::System.ArgumentNullException("Original_CurrVal");
}
else {
this.Adapter.UpdateCommand.Parameters[12].Value = ((string)(Original_CurrVal));
this.Adapter.UpdateCommand.Parameters[13].Value = ((string)(Original_CurrVal));
}
if ((Original_FormatoDtmx == null)) {
throw new global::System.ArgumentNullException("Original_FormatoDtmx");
}
else {
this.Adapter.UpdateCommand.Parameters[14].Value = ((string)(Original_FormatoDtmx));
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
@@ -38847,8 +38948,8 @@ SELECT CodLinea, Descrizione, CodBlocco, CodCella, codPostazione, dtAccess, Curr
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "4.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, true)]
public virtual int Update(string Descrizione, string codPostazione, global::System.Nullable<global::System.DateTime> dtAccess, string CurrVal, string Original_CodLinea, string Original_Descrizione, string Original_CodBlocco, string Original_CodCella, string Original_codPostazione, global::System.Nullable<global::System.DateTime> Original_dtAccess, string Original_CurrVal) {
return this.Update(Original_CodLinea, Descrizione, codPostazione, dtAccess, CurrVal, Original_CodLinea, Original_Descrizione, Original_CodBlocco, Original_CodCella, Original_codPostazione, Original_dtAccess, Original_CurrVal);
public virtual int Update(string Descrizione, string codPostazione, global::System.Nullable<global::System.DateTime> dtAccess, string CurrVal, string FormatoDtmx, string Original_CodLinea, string Original_Descrizione, string Original_CodBlocco, string Original_CodCella, string Original_codPostazione, global::System.Nullable<global::System.DateTime> Original_dtAccess, string Original_CurrVal, string Original_FormatoDtmx) {
return this.Update(Original_CodLinea, Descrizione, codPostazione, dtAccess, CurrVal, FormatoDtmx, Original_CodLinea, Original_Descrizione, Original_CodBlocco, Original_CodCella, Original_codPostazione, Original_dtAccess, Original_CurrVal, Original_FormatoDtmx);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+29 -9
View File
@@ -3341,10 +3341,10 @@ SELECT idxEvento, DataOra, CodSoggetto, codPostazione, clientIP, UDC, Particolar
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ElencoPostazioniTableAdapter" GeneratorDataComponentClassName="ElencoPostazioniTableAdapter" Name="ElencoPostazioni" UserDataComponentName="ElencoPostazioniTableAdapter">
<MainSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT LTRIM(RTRIM(codPostazione)) AS codPostazione, LTRIM(RTRIM(stampante)) AS stampante, LTRIM(RTRIM(note)) AS note
<CommandText>SELECT LTRIM(RTRIM(codPostazione)) AS codPostazione, LTRIM(RTRIM(stampante)) AS stampante, LTRIM(RTRIM(note)) AS note, LTRIM(RTRIM(FormatoDtmx)) AS FormatoDtmx
FROM ElencoPostazioni
ORDER BY codPostazione</CommandText>
<Parameters />
@@ -3356,6 +3356,7 @@ ORDER BY codPostazione</CommandText>
<Mapping SourceColumn="codPostazione" DataSetColumn="codPostazione" />
<Mapping SourceColumn="stampante" DataSetColumn="stampante" />
<Mapping SourceColumn="note" DataSetColumn="note" />
<Mapping SourceColumn="FormatoDtmx" DataSetColumn="FormatoDtmx" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.stp_EP_delete" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="deleteQuery">
@@ -3369,7 +3370,7 @@ ORDER BY codPostazione</CommandText>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.stp_EP_insert" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="insertQuery">
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.stp_EP_insert" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="insertQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_EP_insert</CommandText>
@@ -3382,7 +3383,7 @@ ORDER BY codPostazione</CommandText>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.stp_EP_update" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateQuery" Modifier="Public" Name="updateQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="updateQuery">
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.stp_EP_update" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateQuery" Modifier="Public" Name="updateQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="updateQuery">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_EP_update</CommandText>
@@ -3403,7 +3404,7 @@ ORDER BY codPostazione</CommandText>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="GMW.dbo.AnagLinee" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[AnagLinee] WHERE (([CodLinea] = @Original_CodLinea) AND ([Descrizione] = @Original_Descrizione) AND ([CodBlocco] = @Original_CodBlocco) AND ([CodCella] = @Original_CodCella) AND ([codPostazione] = @Original_codPostazione) AND ((@IsNull_dtAccess = 1 AND [dtAccess] IS NULL) OR ([dtAccess] = @Original_dtAccess)) AND ([CurrVal] = @Original_CurrVal))</CommandText>
<CommandText>DELETE FROM [dbo].[AnagLinee] WHERE (([CodLinea] = @Original_CodLinea) AND ([Descrizione] = @Original_Descrizione) AND ([CodBlocco] = @Original_CodBlocco) AND ([CodCella] = @Original_CodCella) AND ([codPostazione] = @Original_codPostazione) AND ((@IsNull_dtAccess = 1 AND [dtAccess] IS NULL) OR ([dtAccess] = @Original_dtAccess)) AND ([CurrVal] = @Original_CurrVal) AND ([FormatoDtmx] = @Original_FormatoDtmx))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodLinea" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodLinea" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Original" />
@@ -3413,19 +3414,21 @@ ORDER BY codPostazione</CommandText>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dtAccess" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dtAccess" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dtAccess" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dtAccess" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CurrVal" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CurrVal" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_FormatoDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FormatoDtmx" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[AnagLinee] ([CodLinea], [Descrizione], [codPostazione], [dtAccess], [CurrVal]) VALUES (@CodLinea, @Descrizione, @codPostazione, @dtAccess, @CurrVal);
SELECT CodLinea, Descrizione, CodBlocco, CodCella, codPostazione, dtAccess, CurrVal FROM AnagLinee WHERE (CodLinea = @CodLinea)</CommandText>
<CommandText>INSERT INTO [dbo].[AnagLinee] ([CodLinea], [Descrizione], [codPostazione], [dtAccess], [CurrVal], [FormatoDtmx]) VALUES (@CodLinea, @Descrizione, @codPostazione, @dtAccess, @CurrVal, @FormatoDtmx);
SELECT CodLinea, Descrizione, CodBlocco, CodCella, codPostazione, dtAccess, CurrVal, FormatoDtmx FROM AnagLinee WHERE (CodLinea = @CodLinea)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodLinea" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodLinea" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@codPostazione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="codPostazione" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dtAccess" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dtAccess" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CurrVal" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CurrVal" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@FormatoDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FormatoDtmx" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
@@ -3437,14 +3440,15 @@ SELECT CodLinea, Descrizione, CodBlocco, CodCella, codPostazione, dtAccess, Curr
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[AnagLinee] SET [CodLinea] = @CodLinea, [Descrizione] = @Descrizione, [codPostazione] = @codPostazione, [dtAccess] = @dtAccess, [CurrVal] = @CurrVal WHERE (([CodLinea] = @Original_CodLinea) AND ([Descrizione] = @Original_Descrizione) AND ([CodBlocco] = @Original_CodBlocco) AND ([CodCella] = @Original_CodCella) AND ([codPostazione] = @Original_codPostazione) AND ((@IsNull_dtAccess = 1 AND [dtAccess] IS NULL) OR ([dtAccess] = @Original_dtAccess)) AND ([CurrVal] = @Original_CurrVal));
SELECT CodLinea, Descrizione, CodBlocco, CodCella, codPostazione, dtAccess, CurrVal FROM AnagLinee WHERE (CodLinea = @CodLinea)</CommandText>
<CommandText>UPDATE [dbo].[AnagLinee] SET [CodLinea] = @CodLinea, [Descrizione] = @Descrizione, [codPostazione] = @codPostazione, [dtAccess] = @dtAccess, [CurrVal] = @CurrVal, [FormatoDtmx] = @FormatoDtmx WHERE (([CodLinea] = @Original_CodLinea) AND ([Descrizione] = @Original_Descrizione) AND ([CodBlocco] = @Original_CodBlocco) AND ([CodCella] = @Original_CodCella) AND ([codPostazione] = @Original_codPostazione) AND ((@IsNull_dtAccess = 1 AND [dtAccess] IS NULL) OR ([dtAccess] = @Original_dtAccess)) AND ([CurrVal] = @Original_CurrVal) AND ([FormatoDtmx] = @Original_FormatoDtmx));
SELECT CodLinea, Descrizione, CodBlocco, CodCella, codPostazione, dtAccess, CurrVal, FormatoDtmx FROM AnagLinee WHERE (CodLinea = @CodLinea)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CodLinea" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodLinea" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@codPostazione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="codPostazione" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@dtAccess" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dtAccess" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CurrVal" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CurrVal" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@FormatoDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FormatoDtmx" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodLinea" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodLinea" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Descrizione" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CodBlocco" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CodBlocco" SourceColumnNullMapping="false" SourceVersion="Original" />
@@ -3453,6 +3457,7 @@ SELECT CodLinea, Descrizione, CodBlocco, CodCella, codPostazione, dtAccess, Curr
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_dtAccess" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="dtAccess" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_dtAccess" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="dtAccess" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_CurrVal" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CurrVal" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_FormatoDtmx" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="FormatoDtmx" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
@@ -3467,6 +3472,7 @@ SELECT CodLinea, Descrizione, CodBlocco, CodCella, codPostazione, dtAccess, Curr
<Mapping SourceColumn="dtAccess" DataSetColumn="dtAccess" />
<Mapping SourceColumn="AL" DataSetColumn="CurrVal" />
<Mapping SourceColumn="CurrVal" DataSetColumn="CurrVal" />
<Mapping SourceColumn="FormatoDtmx" DataSetColumn="FormatoDtmx" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GMWConnectionString (Settings)" DbObjectName="TK_GMW.dbo.stp_AL_getByKey" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByKey" GetMethodModifier="Public" GetMethodName="getByKey" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByKey" UserSourceName="getByKey">
@@ -5455,6 +5461,13 @@ SELECT Trattamento, AL, DataTrattEnd, Durezza, Punzone, DataDur, CodSoggettoDur,
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="FormatoDtmx" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnFormatoDtmx" msprop:Generator_ColumnPropNameInRow="FormatoDtmx" msprop:Generator_ColumnPropNameInTable="FormatoDtmxColumn" msprop:Generator_UserColumnName="FormatoDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
@@ -5504,6 +5517,13 @@ SELECT Trattamento, AL, DataTrattEnd, Durezza, Punzone, DataDur, CodSoggettoDur,
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="FormatoDtmx" msprop:Generator_ColumnVarNameInTable="columnFormatoDtmx" msprop:Generator_ColumnPropNameInRow="FormatoDtmx" msprop:Generator_ColumnPropNameInTable="FormatoDtmxColumn" msprop:Generator_UserColumnName="FormatoDtmx">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
+3
View File
@@ -25,6 +25,7 @@ namespace GMW_data
public DS_DataMatrixTableAdapters.stp_DtxCheckBlockedTableAdapter taDtxBlocked;
public DS_DataMatrixTableAdapters.Attr2DtxTableAdapter taAtt2Dtx;
public DS_DataMatrixTableAdapters.AnagFormatiDtmxTableAdapter taAnagFormDtx;
public DS_DataMatrixTableAdapters.v_DtxAcquisitiTableAdapter taDtxAcquisiti;
/// <summary>
/// init dei table adapters
@@ -44,6 +45,7 @@ namespace GMW_data
taDtxBlocked = new DS_DataMatrixTableAdapters.stp_DtxCheckBlockedTableAdapter();
taAtt2Dtx = new DS_DataMatrixTableAdapters.Attr2DtxTableAdapter();
taAnagFormDtx = new DS_DataMatrixTableAdapters.AnagFormatiDtmxTableAdapter();
taDtxAcquisiti = new DS_DataMatrixTableAdapters.v_DtxAcquisitiTableAdapter();
}
/// <summary>
/// effettua setup dei connection strings da web.config delal singola applicazione
@@ -64,6 +66,7 @@ namespace GMW_data
taDtxBlocked.Connection.ConnectionString = connString;
taAtt2Dtx.Connection.ConnectionString = connString;
taAnagFormDtx.Connection.ConnectionString = connString;
taDtxAcquisiti.Connection.ConnectionString = connString;
}
#endregion
+1 -1
View File
@@ -4,7 +4,7 @@
</configSections>
<connectionStrings>
<add name="GMW_data.Properties.Settings.GMWConnectionString"
connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=TK_GMW;Persist Security Info=True;User ID=sa;Password=keyhammer"
connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=GMW;Persist Security Info=True;User ID=sa;Password=keyhammer"
providerName="System.Data.SqlClient" />
<add name="GMW_data.Properties.Settings.SP_produzioneConnectionString"
connectionString="Data Source=10.74.82.217\SQL2008R2;Initial Catalog=SP_produzione;Persist Security Info=True;User ID=sa;Password=keyhammer"
Binary file not shown.