Reintrodotte modifiche viste con Ermanno x vers 156

git-svn-id: https://keyhammer.ath.cx/svn/WebGIM/trunk@161 3e04ef4b-3b25-4b6c-be27-bb5389ca777b
This commit is contained in:
samuele
2010-01-22 12:25:10 +00:00
parent 7d02ffc6cb
commit d2a58d79e7
34 changed files with 870 additions and 482 deletions
+106 -26
View File
@@ -4910,6 +4910,8 @@ namespace GIM_data {
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class v_mtzProgPendingExpDataTable : global::System.Data.TypedTableBase<v_mtzProgPendingExpRow> {
private global::System.Data.DataColumn columnidxPending;
private global::System.Data.DataColumn columncodImpianto;
private global::System.Data.DataColumn columnnomeImpianto;
@@ -4928,7 +4930,11 @@ namespace GIM_data {
private global::System.Data.DataColumn columndescrTipo;
private global::System.Data.DataColumn columnidxPending;
private global::System.Data.DataColumn columnidxTipo;
private global::System.Data.DataColumn columnidxMacchina;
private global::System.Data.DataColumn columnidxImpianto;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public v_mtzProgPendingExpDataTable() {
@@ -4960,6 +4966,13 @@ namespace GIM_data {
this.InitVars();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn idxPendingColumn {
get {
return this.columnidxPending;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn codImpiantoColumn {
get {
@@ -5024,9 +5037,23 @@ namespace GIM_data {
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn idxPendingColumn {
public global::System.Data.DataColumn idxTipoColumn {
get {
return this.columnidxPending;
return this.columnidxTipo;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn idxMacchinaColumn {
get {
return this.columnidxMacchina;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public global::System.Data.DataColumn idxImpiantoColumn {
get {
return this.columnidxImpianto;
}
}
@@ -5059,9 +5086,10 @@ namespace GIM_data {
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public v_mtzProgPendingExpRow Addv_mtzProgPendingExpRow(string codImpianto, string nomeImpianto, string codMacchina, string nomeMacchina, System.DateTime data, string descrizione, string descrPriorita, bool isFermo, string descrTipo, int idxPending) {
public v_mtzProgPendingExpRow Addv_mtzProgPendingExpRow(int idxPending, string codImpianto, string nomeImpianto, string codMacchina, string nomeMacchina, System.DateTime data, string descrizione, string descrPriorita, bool isFermo, string descrTipo, int idxTipo, int idxMacchina, int idxImpianto) {
v_mtzProgPendingExpRow rowv_mtzProgPendingExpRow = ((v_mtzProgPendingExpRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
idxPending,
codImpianto,
nomeImpianto,
codMacchina,
@@ -5071,18 +5099,14 @@ namespace GIM_data {
descrPriorita,
isFermo,
descrTipo,
idxPending};
idxTipo,
idxMacchina,
idxImpianto};
rowv_mtzProgPendingExpRow.ItemArray = columnValuesArray;
this.Rows.Add(rowv_mtzProgPendingExpRow);
return rowv_mtzProgPendingExpRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public v_mtzProgPendingExpRow FindByidxPending(int idxPending) {
return ((v_mtzProgPendingExpRow)(this.Rows.Find(new object[] {
idxPending})));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public override global::System.Data.DataTable Clone() {
v_mtzProgPendingExpDataTable cln = ((v_mtzProgPendingExpDataTable)(base.Clone()));
@@ -5097,6 +5121,7 @@ namespace GIM_data {
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnidxPending = base.Columns["idxPending"];
this.columncodImpianto = base.Columns["codImpianto"];
this.columnnomeImpianto = base.Columns["nomeImpianto"];
this.columncodMacchina = base.Columns["codMacchina"];
@@ -5106,11 +5131,15 @@ namespace GIM_data {
this.columndescrPriorita = base.Columns["descrPriorita"];
this.columnisFermo = base.Columns["isFermo"];
this.columndescrTipo = base.Columns["descrTipo"];
this.columnidxPending = base.Columns["idxPending"];
this.columnidxTipo = base.Columns["idxTipo"];
this.columnidxMacchina = base.Columns["idxMacchina"];
this.columnidxImpianto = base.Columns["idxImpianto"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnidxPending = new global::System.Data.DataColumn("idxPending", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnidxPending);
this.columncodImpianto = new global::System.Data.DataColumn("codImpianto", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columncodImpianto);
this.columnnomeImpianto = new global::System.Data.DataColumn("nomeImpianto", typeof(string), null, global::System.Data.MappingType.Element);
@@ -5129,19 +5158,22 @@ namespace GIM_data {
base.Columns.Add(this.columnisFermo);
this.columndescrTipo = new global::System.Data.DataColumn("descrTipo", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columndescrTipo);
this.columnidxPending = new global::System.Data.DataColumn("idxPending", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnidxPending);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnidxPending}, true));
this.columnidxTipo = new global::System.Data.DataColumn("idxTipo", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnidxTipo);
this.columnidxMacchina = new global::System.Data.DataColumn("idxMacchina", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnidxMacchina);
this.columnidxImpianto = new global::System.Data.DataColumn("idxImpianto", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnidxImpianto);
this.columnidxPending.AllowDBNull = false;
this.columncodImpianto.MaxLength = 50;
this.columnnomeImpianto.MaxLength = 50;
this.columncodMacchina.MaxLength = 50;
this.columnnomeMacchina.MaxLength = 50;
this.columnnomeMacchina.MaxLength = 250;
this.columndescrizione.MaxLength = 500;
this.columndescrPriorita.MaxLength = 50;
this.columndescrTipo.MaxLength = 50;
this.columnidxPending.AllowDBNull = false;
this.columnidxPending.Unique = true;
this.columnidxTipo.AllowDBNull = false;
this.columnidxMacchina.AllowDBNull = false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -6695,6 +6727,16 @@ namespace GIM_data {
this.tablev_mtzProgPendingExp = ((v_mtzProgPendingExpDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int idxPending {
get {
return ((int)(this[this.tablev_mtzProgPendingExp.idxPendingColumn]));
}
set {
this[this.tablev_mtzProgPendingExp.idxPendingColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string codImpianto {
get {
@@ -6831,12 +6873,37 @@ namespace GIM_data {
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int idxPending {
public int idxTipo {
get {
return ((int)(this[this.tablev_mtzProgPendingExp.idxPendingColumn]));
return ((int)(this[this.tablev_mtzProgPendingExp.idxTipoColumn]));
}
set {
this[this.tablev_mtzProgPendingExp.idxPendingColumn] = value;
this[this.tablev_mtzProgPendingExp.idxTipoColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int idxMacchina {
get {
return ((int)(this[this.tablev_mtzProgPendingExp.idxMacchinaColumn]));
}
set {
this[this.tablev_mtzProgPendingExp.idxMacchinaColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public int idxImpianto {
get {
try {
return ((int)(this[this.tablev_mtzProgPendingExp.idxImpiantoColumn]));
}
catch (global::System.InvalidCastException e) {
throw new global::System.Data.StrongTypingException("The value for column \'idxImpianto\' in table \'v_mtzProgPendingExp\' is DBNull.", e);
}
}
set {
this[this.tablev_mtzProgPendingExp.idxImpiantoColumn] = value;
}
}
@@ -6929,6 +6996,16 @@ namespace GIM_data {
public void SetdescrTipoNull() {
this[this.tablev_mtzProgPendingExp.descrTipoColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsidxImpiantoNull() {
return this.IsNull(this.tablev_mtzProgPendingExp.idxImpiantoColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetidxImpiantoNull() {
this[this.tablev_mtzProgPendingExp.idxImpiantoColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
@@ -9695,6 +9772,7 @@ namespace GIM_data.DS_utilityTableAdapters {
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "v_mtzProgPendingExp";
tableMapping.ColumnMappings.Add("idxPending", "idxPending");
tableMapping.ColumnMappings.Add("codImpianto", "codImpianto");
tableMapping.ColumnMappings.Add("nomeImpianto", "nomeImpianto");
tableMapping.ColumnMappings.Add("codMacchina", "codMacchina");
@@ -9704,7 +9782,9 @@ namespace GIM_data.DS_utilityTableAdapters {
tableMapping.ColumnMappings.Add("descrPriorita", "descrPriorita");
tableMapping.ColumnMappings.Add("isFermo", "isFermo");
tableMapping.ColumnMappings.Add("descrTipo", "descrTipo");
tableMapping.ColumnMappings.Add("idxPending", "idxPending");
tableMapping.ColumnMappings.Add("idxTipo", "idxTipo");
tableMapping.ColumnMappings.Add("idxMacchina", "idxMacchina");
tableMapping.ColumnMappings.Add("idxImpianto", "idxImpianto");
this._adapter.TableMappings.Add(tableMapping);
}
@@ -9719,9 +9799,9 @@ namespace GIM_data.DS_utilityTableAdapters {
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 codImpianto, nomeImpianto, codMacchina, nomeMacchina, data, descrizion" +
"e, descrPriorita, isFermo, descrTipo, idxPending\r\nFROM v_mtzProgPendingE" +
"xp\r\nORDER BY data";
this._commandCollection[0].CommandText = "SELECT idxPending, codImpianto, nomeImpianto, codMacchina, nomeMacchina, data, de" +
"scrizione, descrPriorita, isFermo, descrTipo, idxTipo, idxMacchina, idxImpianto " +
"FROM dbo.v_mtzProgPendingExp";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
+9 -1
View File
@@ -1 +1,9 @@

<?xml version="1.0" encoding="utf-8"?>
<!--<autogenerated>
This code was generated by a tool.
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DataSetUISetting Version="1.00" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TableUISettings />
</DataSetUISetting>
+284 -284
View File
@@ -4,7 +4,7 @@
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
<DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<Connections>
<Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="GIMConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="GIMConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.GIMConnectionString.ConnectionString" Provider="System.Data.SqlClient" />
<Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="GIMConnectionString" IsAppSettingsProperty="true" Modifier="Assembly" Name="GIMConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.GIMConnectionString.ConnectionString" Provider="System.Data.SqlClient" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selImpiantiTableAdapter" GeneratorDataComponentClassName="v_selImpiantiTableAdapter" Name="v_selImpianti" UserDataComponentName="v_selImpiantiTableAdapter">
@@ -386,16 +386,15 @@ WHERE (conditio = @conditio)</CommandText>
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_mtzProgPendingExp" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT codImpianto, nomeImpianto, codMacchina, nomeMacchina, data, descrizione, descrPriorita, isFermo, descrTipo, idxPending
FROM v_mtzProgPendingExp
ORDER BY data</CommandText>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT idxPending, codImpianto, nomeImpianto, codMacchina, nomeMacchina, data, descrizione, descrPriorita, isFermo, descrTipo, idxTipo, idxMacchina, idxImpianto FROM dbo.v_mtzProgPendingExp</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="idxPending" DataSetColumn="idxPending" />
<Mapping SourceColumn="codImpianto" DataSetColumn="codImpianto" />
<Mapping SourceColumn="nomeImpianto" DataSetColumn="nomeImpianto" />
<Mapping SourceColumn="codMacchina" DataSetColumn="codMacchina" />
@@ -405,7 +404,9 @@ ORDER BY data</CommandText>
<Mapping SourceColumn="descrPriorita" DataSetColumn="descrPriorita" />
<Mapping SourceColumn="isFermo" DataSetColumn="isFermo" />
<Mapping SourceColumn="descrTipo" DataSetColumn="descrTipo" />
<Mapping SourceColumn="idxPending" DataSetColumn="idxPending" />
<Mapping SourceColumn="idxTipo" DataSetColumn="idxTipo" />
<Mapping SourceColumn="idxMacchina" DataSetColumn="idxMacchina" />
<Mapping SourceColumn="idxImpianto" DataSetColumn="idxImpianto" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_mtzProgPendingExp" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByDataMax" GetMethodModifier="Public" GetMethodName="getByDataMax" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByDataMax" UserSourceName="getByDataMax">
@@ -431,8 +432,8 @@ ORDER BY data</CommandText>
<xs:element name="v_selImpianti" msprop:Generator_UserTableName="v_selImpianti" msprop:Generator_RowDeletedName="v_selImpiantiRowDeleted" msprop:Generator_RowChangedName="v_selImpiantiRowChanged" msprop:Generator_RowClassName="v_selImpiantiRow" msprop:Generator_RowChangingName="v_selImpiantiRowChanging" msprop:Generator_RowEvArgName="v_selImpiantiRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selImpiantiRowChangeEventHandler" msprop:Generator_TableClassName="v_selImpiantiDataTable" msprop:Generator_TableVarName="tablev_selImpianti" msprop:Generator_RowDeletingName="v_selImpiantiRowDeleting" msprop:Generator_TablePropName="v_selImpianti">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="156" />
@@ -445,23 +446,23 @@ ORDER BY data</CommandText>
<xs:element name="v_selMacchine" msprop:Generator_UserTableName="v_selMacchine" msprop:Generator_RowDeletedName="v_selMacchineRowDeleted" msprop:Generator_RowChangedName="v_selMacchineRowChanged" msprop:Generator_RowClassName="v_selMacchineRow" msprop:Generator_RowChangingName="v_selMacchineRowChanging" msprop:Generator_RowEvArgName="v_selMacchineRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selMacchineRowChangeEventHandler" msprop:Generator_TableClassName="v_selMacchineDataTable" msprop:Generator_TableVarName="tablev_selMacchine" msprop:Generator_RowDeletingName="v_selMacchineRowDeleting" msprop:Generator_TablePropName="v_selMacchine">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="213" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" type="xs:int" minOccurs="0" />
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selPrior" msprop:Generator_UserTableName="v_selPrior" msprop:Generator_RowDeletedName="v_selPriorRowDeleted" msprop:Generator_RowChangedName="v_selPriorRowChanged" msprop:Generator_RowClassName="v_selPriorRow" msprop:Generator_RowChangingName="v_selPriorRowChanging" msprop:Generator_RowEvArgName="v_selPriorRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selPriorRowChangeEventHandler" msprop:Generator_TableClassName="v_selPriorDataTable" msprop:Generator_TableVarName="tablev_selPrior" msprop:Generator_RowDeletingName="v_selPriorRowDeleting" msprop:Generator_TablePropName="v_selPrior">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="57" />
@@ -474,8 +475,8 @@ ORDER BY data</CommandText>
<xs:element name="v_selAmbiti" msprop:Generator_UserTableName="v_selAmbiti" msprop:Generator_RowDeletedName="v_selAmbitiRowDeleted" msprop:Generator_RowChangedName="v_selAmbitiRowChanged" msprop:Generator_RowClassName="v_selAmbitiRow" msprop:Generator_RowChangingName="v_selAmbitiRowChanging" msprop:Generator_RowEvArgName="v_selAmbitiRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selAmbitiRowChangeEventHandler" msprop:Generator_TableClassName="v_selAmbitiDataTable" msprop:Generator_TableVarName="tablev_selAmbiti" msprop:Generator_RowDeletingName="v_selAmbitiRowDeleting" msprop:Generator_TablePropName="v_selAmbiti">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
@@ -486,75 +487,6 @@ ORDER BY data</CommandText>
</xs:complexType>
</xs:element>
<xs:element name="v_selCausaliMacchine" msprop:Generator_UserTableName="v_selCausaliMacchine" msprop:Generator_RowDeletedName="v_selCausaliMacchineRowDeleted" msprop:Generator_RowChangedName="v_selCausaliMacchineRowChanged" msprop:Generator_RowClassName="v_selCausaliMacchineRow" msprop:Generator_RowChangingName="v_selCausaliMacchineRowChanging" msprop:Generator_RowEvArgName="v_selCausaliMacchineRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selCausaliMacchineRowChangeEventHandler" msprop:Generator_TableClassName="v_selCausaliMacchineDataTable" msprop:Generator_TableVarName="tablev_selCausaliMacchine" msprop:Generator_RowDeletingName="v_selCausaliMacchineRowDeleting" msprop:Generator_TablePropName="v_selCausaliMacchine">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selTipoGuasto" msprop:Generator_UserTableName="v_selTipoGuasto" msprop:Generator_RowDeletedName="v_selTipoGuastoRowDeleted" msprop:Generator_RowChangedName="v_selTipoGuastoRowChanged" msprop:Generator_RowClassName="v_selTipoGuastoRow" msprop:Generator_RowChangingName="v_selTipoGuastoRowChanging" msprop:Generator_RowEvArgName="v_selTipoGuastoRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selTipoGuastoRowChangeEventHandler" msprop:Generator_TableClassName="v_selTipoGuastoDataTable" msprop:Generator_TableVarName="tablev_selTipoGuasto" msprop:Generator_RowDeletingName="v_selTipoGuastoRowDeleting" msprop:Generator_TablePropName="v_selTipoGuasto">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selSemafori" msprop:Generator_UserTableName="v_selSemafori" msprop:Generator_RowDeletedName="v_selSemaforiRowDeleted" msprop:Generator_RowChangedName="v_selSemaforiRowChanged" msprop:Generator_RowClassName="v_selSemaforiRow" msprop:Generator_RowChangingName="v_selSemaforiRowChanging" msprop:Generator_RowEvArgName="v_selSemaforiRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selSemaforiRowChangeEventHandler" msprop:Generator_TableClassName="v_selSemaforiDataTable" msprop:Generator_TableVarName="tablev_selSemafori" msprop:Generator_RowDeletingName="v_selSemaforiRowDeleting" msprop:Generator_TablePropName="v_selSemafori">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selFreq" msprop:Generator_UserTableName="v_selFreq" msprop:Generator_RowDeletedName="v_selFreqRowDeleted" msprop:Generator_RowChangedName="v_selFreqRowChanged" msprop:Generator_RowClassName="v_selFreqRow" msprop:Generator_RowChangingName="v_selFreqRowChanging" msprop:Generator_RowEvArgName="v_selFreqRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selFreqRowChangeEventHandler" msprop:Generator_TableClassName="v_selFreqDataTable" msprop:Generator_TableVarName="tablev_selFreq" msprop:Generator_RowDeletingName="v_selFreqRowDeleting" msprop:Generator_TablePropName="v_selFreq">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selStato" msprop:Generator_UserTableName="v_selStato" msprop:Generator_RowDeletedName="v_selStatoRowDeleted" msprop:Generator_RowChangedName="v_selStatoRowChanged" msprop:Generator_RowClassName="v_selStatoRow" msprop:Generator_RowChangingName="v_selStatoRowChanging" msprop:Generator_RowEvArgName="v_selStatoRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selStatoRowChangeEventHandler" msprop:Generator_TableClassName="v_selStatoDataTable" msprop:Generator_TableVarName="tablev_selStato" msprop:Generator_RowDeletingName="v_selStatoRowDeleting" msprop:Generator_TablePropName="v_selStato">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
@@ -565,198 +497,11 @@ ORDER BY data</CommandText>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selPeriodiTrad" msprop:Generator_UserTableName="v_selPeriodiTrad" msprop:Generator_RowDeletedName="v_selPeriodiTradRowDeleted" msprop:Generator_RowChangedName="v_selPeriodiTradRowChanged" msprop:Generator_RowClassName="v_selPeriodiTradRow" msprop:Generator_RowChangingName="v_selPeriodiTradRowChanging" msprop:Generator_RowEvArgName="v_selPeriodiTradRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selPeriodiTradRowChangeEventHandler" msprop:Generator_TableClassName="v_selPeriodiTradDataTable" msprop:Generator_TableVarName="tablev_selPeriodiTrad" msprop:Generator_RowDeletingName="v_selPeriodiTradRowDeleting" msprop:Generator_TablePropName="v_selPeriodiTrad">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="3" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_elencoImpiantiMacchine" msprop:Generator_UserTableName="v_elencoImpiantiMacchine" msprop:Generator_RowDeletedName="v_elencoImpiantiMacchineRowDeleted" msprop:Generator_RowChangedName="v_elencoImpiantiMacchineRowChanged" msprop:Generator_RowClassName="v_elencoImpiantiMacchineRow" msprop:Generator_RowChangingName="v_elencoImpiantiMacchineRowChanging" msprop:Generator_RowEvArgName="v_elencoImpiantiMacchineRowChangeEvent" msprop:Generator_RowEvHandlerName="v_elencoImpiantiMacchineRowChangeEventHandler" msprop:Generator_TableClassName="v_elencoImpiantiMacchineDataTable" msprop:Generator_TableVarName="tablev_elencoImpiantiMacchine" msprop:Generator_RowDeletingName="v_elencoImpiantiMacchineRowDeleting" msprop:Generator_TablePropName="v_elencoImpiantiMacchine">
<xs:complexType>
<xs:sequence>
<xs:element name="codImpianto" msprop:Generator_UserColumnName="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeImpianto" msprop:Generator_UserColumnName="nomeImpianto" msprop:Generator_ColumnVarNameInTable="columnnomeImpianto" msprop:Generator_ColumnPropNameInRow="nomeImpianto" msprop:Generator_ColumnPropNameInTable="nomeImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="tipoImpianto" msprop:Generator_UserColumnName="tipoImpianto" msprop:Generator_ColumnVarNameInTable="columntipoImpianto" msprop:Generator_ColumnPropNameInRow="tipoImpianto" msprop:Generator_ColumnPropNameInTable="tipoImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codMacchina" msprop:Generator_UserColumnName="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeMacchina" msprop:Generator_UserColumnName="nomeMacchina" msprop:Generator_ColumnVarNameInTable="columnnomeMacchina" msprop:Generator_ColumnPropNameInRow="nomeMacchina" msprop:Generator_ColumnPropNameInTable="nomeMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="modello" msprop:Generator_UserColumnName="modello" msprop:Generator_ColumnVarNameInTable="columnmodello" msprop:Generator_ColumnPropNameInRow="modello" msprop:Generator_ColumnPropNameInTable="modelloColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="matricola" msdata:ReadOnly="true" msprop:Generator_UserColumnName="matricola" msprop:Generator_ColumnVarNameInTable="columnmatricola" msprop:Generator_ColumnPropNameInRow="matricola" msprop:Generator_ColumnPropNameInTable="matricolaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="anno" msprop:Generator_UserColumnName="anno" msprop:Generator_ColumnVarNameInTable="columnanno" msprop:Generator_ColumnPropNameInRow="anno" msprop:Generator_ColumnPropNameInTable="annoColumn" type="xs:int" minOccurs="0" />
<xs:element name="kgPeso" msprop:Generator_UserColumnName="kgPeso" msprop:Generator_ColumnVarNameInTable="columnkgPeso" msprop:Generator_ColumnPropNameInRow="kgPeso" msprop:Generator_ColumnPropNameInTable="kgPesoColumn" type="xs:double" />
<xs:element name="kwConsumo" msprop:Generator_UserColumnName="kwConsumo" msprop:Generator_ColumnVarNameInTable="columnkwConsumo" msprop:Generator_ColumnPropNameInRow="kwConsumo" msprop:Generator_ColumnPropNameInTable="kwConsumoColumn" type="xs:double" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_elencoIntervFilt" msprop:Generator_UserTableName="v_elencoIntervFilt" msprop:Generator_RowDeletedName="v_elencoIntervFiltRowDeleted" msprop:Generator_RowChangedName="v_elencoIntervFiltRowChanged" msprop:Generator_RowClassName="v_elencoIntervFiltRow" msprop:Generator_RowChangingName="v_elencoIntervFiltRowChanging" msprop:Generator_RowEvArgName="v_elencoIntervFiltRowChangeEvent" msprop:Generator_RowEvHandlerName="v_elencoIntervFiltRowChangeEventHandler" msprop:Generator_TableClassName="v_elencoIntervFiltDataTable" msprop:Generator_TableVarName="tablev_elencoIntervFilt" msprop:Generator_RowDeletingName="v_elencoIntervFiltRowDeleting" msprop:Generator_TablePropName="v_elencoIntervFilt">
<xs:complexType>
<xs:sequence>
<xs:element name="numIntMtz" msprop:Generator_UserColumnName="numIntMtz" msprop:Generator_ColumnPropNameInRow="numIntMtz" msprop:Generator_ColumnVarNameInTable="columnnumIntMtz" msprop:Generator_ColumnPropNameInTable="numIntMtzColumn" type="xs:int" />
<xs:element name="richiesta" msprop:Generator_UserColumnName="richiesta" msprop:Generator_ColumnPropNameInRow="richiesta" msprop:Generator_ColumnVarNameInTable="columnrichiesta" msprop:Generator_ColumnPropNameInTable="richiestaColumn" type="xs:dateTime" />
<xs:element name="codImpianto" msprop:Generator_UserColumnName="codImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeImpianto" msprop:Generator_UserColumnName="nomeImpianto" msprop:Generator_ColumnPropNameInRow="nomeImpianto" msprop:Generator_ColumnVarNameInTable="columnnomeImpianto" msprop:Generator_ColumnPropNameInTable="nomeImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codMacchina" msprop:Generator_UserColumnName="codMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeMacchina" msprop:Generator_UserColumnName="nomeMacchina" msprop:Generator_ColumnPropNameInRow="nomeMacchina" msprop:Generator_ColumnVarNameInTable="columnnomeMacchina" msprop:Generator_ColumnPropNameInTable="nomeMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrizione" msprop:Generator_UserColumnName="descrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="inizioIntervento" msprop:Generator_UserColumnName="inizioIntervento" msprop:Generator_ColumnPropNameInRow="inizioIntervento" msprop:Generator_ColumnVarNameInTable="columninizioIntervento" msprop:Generator_ColumnPropNameInTable="inizioInterventoColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="fineIntervento" msprop:Generator_UserColumnName="fineIntervento" msprop:Generator_ColumnPropNameInRow="fineIntervento" msprop:Generator_ColumnVarNameInTable="columnfineIntervento" msprop:Generator_ColumnPropNameInTable="fineInterventoColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="descrizioneIntervento" msdata:ReadOnly="true" msprop:Generator_UserColumnName="descrizioneIntervento" msprop:Generator_ColumnPropNameInRow="descrizioneIntervento" msprop:Generator_ColumnVarNameInTable="columndescrizioneIntervento" msprop:Generator_ColumnPropNameInTable="descrizioneInterventoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrCausale" msdata:ReadOnly="true" msprop:Generator_UserColumnName="descrCausale" msprop:Generator_ColumnPropNameInRow="descrCausale" msprop:Generator_ColumnVarNameInTable="columndescrCausale" msprop:Generator_ColumnPropNameInTable="descrCausaleColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="minErogati" msdata:ReadOnly="true" msprop:Generator_UserColumnName="minErogati" msprop:Generator_ColumnPropNameInRow="minErogati" msprop:Generator_ColumnVarNameInTable="columnminErogati" msprop:Generator_ColumnPropNameInTable="minErogatiColumn" type="xs:decimal" minOccurs="0" />
<xs:element name="durataMtz" msdata:ReadOnly="true" msprop:Generator_UserColumnName="durataMtz" msprop:Generator_ColumnPropNameInRow="durataMtz" msprop:Generator_ColumnVarNameInTable="columndurataMtz" msprop:Generator_ColumnPropNameInTable="durataMtzColumn" type="xs:decimal" minOccurs="0" />
<xs:element name="durataOff" msdata:ReadOnly="true" msprop:Generator_UserColumnName="durataOff" msprop:Generator_ColumnPropNameInRow="durataOff" msprop:Generator_ColumnVarNameInTable="columndurataOff" msprop:Generator_ColumnPropNameInTable="durataOffColumn" type="xs:decimal" minOccurs="0" />
<xs:element name="guasto" msprop:Generator_UserColumnName="guasto" msprop:Generator_ColumnPropNameInRow="guasto" msprop:Generator_ColumnVarNameInTable="columnguasto" msprop:Generator_ColumnPropNameInTable="guastoColumn" type="xs:dateTime" />
<xs:element name="idxStato" msprop:Generator_UserColumnName="idxStato" msprop:Generator_ColumnVarNameInTable="columnidxStato" msprop:Generator_ColumnPropNameInRow="idxStato" msprop:Generator_ColumnPropNameInTable="idxStatoColumn" type="xs:int" />
<xs:element name="idxImpianto" msprop:Generator_UserColumnName="idxImpianto" msprop:Generator_ColumnPropNameInRow="idxImpianto" msprop:Generator_ColumnVarNameInTable="columnidxImpianto" msprop:Generator_ColumnPropNameInTable="idxImpiantoColumn" type="xs:int" />
<xs:element name="idxMacchina" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="sp_elencoIntMTBF_MTTR" msprop:Generator_UserTableName="sp_elencoIntMTBF_MTTR" msprop:Generator_RowDeletedName="sp_elencoIntMTBF_MTTRRowDeleted" msprop:Generator_RowChangedName="sp_elencoIntMTBF_MTTRRowChanged" msprop:Generator_RowClassName="sp_elencoIntMTBF_MTTRRow" msprop:Generator_RowChangingName="sp_elencoIntMTBF_MTTRRowChanging" msprop:Generator_RowEvArgName="sp_elencoIntMTBF_MTTRRowChangeEvent" msprop:Generator_RowEvHandlerName="sp_elencoIntMTBF_MTTRRowChangeEventHandler" msprop:Generator_TableClassName="sp_elencoIntMTBF_MTTRDataTable" msprop:Generator_TableVarName="tablesp_elencoIntMTBF_MTTR" msprop:Generator_RowDeletingName="sp_elencoIntMTBF_MTTRRowDeleting" msprop:Generator_TablePropName="sp_elencoIntMTBF_MTTR">
<xs:complexType>
<xs:sequence>
<xs:element name="numInterventi" msdata:ReadOnly="true" msprop:Generator_UserColumnName="numInterventi" msprop:Generator_ColumnPropNameInRow="numInterventi" msprop:Generator_ColumnVarNameInTable="columnnumInterventi" msprop:Generator_ColumnPropNameInTable="numInterventiColumn" type="xs:int" minOccurs="0" />
<xs:element name="totOreMtz" msdata:ReadOnly="true" msprop:Generator_UserColumnName="totOreMtz" msprop:Generator_ColumnPropNameInRow="totOreMtz" msprop:Generator_ColumnVarNameInTable="columntotOreMtz" msprop:Generator_ColumnPropNameInTable="totOreMtzColumn" type="xs:int" minOccurs="0" />
<xs:element name="totOreOfficina" msdata:ReadOnly="true" msprop:Generator_UserColumnName="totOreOfficina" msprop:Generator_ColumnPropNameInRow="totOreOfficina" msprop:Generator_ColumnVarNameInTable="columntotOreOfficina" msprop:Generator_ColumnPropNameInTable="totOreOfficinaColumn" type="xs:int" minOccurs="0" />
<xs:element name="codImpianto" msprop:Generator_UserColumnName="codImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codMacchina" msprop:Generator_UserColumnName="codMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeImpianto" msprop:Generator_UserColumnName="nomeImpianto" msprop:Generator_ColumnPropNameInRow="nomeImpianto" msprop:Generator_ColumnVarNameInTable="columnnomeImpianto" msprop:Generator_ColumnPropNameInTable="nomeImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeMacchina" msprop:Generator_UserColumnName="nomeMacchina" msprop:Generator_ColumnPropNameInRow="nomeMacchina" msprop:Generator_ColumnVarNameInTable="columnnomeMacchina" msprop:Generator_ColumnPropNameInTable="nomeMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selFam" msprop:Generator_UserTableName="v_selFam" msprop:Generator_RowDeletedName="v_selFamRowDeleted" msprop:Generator_RowChangedName="v_selFamRowChanged" msprop:Generator_RowClassName="v_selFamRow" msprop:Generator_RowChangingName="v_selFamRowChanging" msprop:Generator_RowEvArgName="v_selFamRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selFamRowChangeEventHandler" msprop:Generator_TableClassName="v_selFamDataTable" msprop:Generator_TableVarName="tablev_selFam" msprop:Generator_RowDeletingName="v_selFamRowDeleting" msprop:Generator_TablePropName="v_selFam">
<xs:element name="v_selTipoGuasto" msprop:Generator_UserTableName="v_selTipoGuasto" msprop:Generator_RowDeletedName="v_selTipoGuastoRowDeleted" msprop:Generator_RowChangedName="v_selTipoGuastoRowChanged" msprop:Generator_RowClassName="v_selTipoGuastoRow" msprop:Generator_RowChangingName="v_selTipoGuastoRowChanging" msprop:Generator_RowEvArgName="v_selTipoGuastoRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selTipoGuastoRowChangeEventHandler" msprop:Generator_TableClassName="v_selTipoGuastoDataTable" msprop:Generator_TableVarName="tablev_selTipoGuasto" msprop:Generator_RowDeletingName="v_selTipoGuastoRowDeleting" msprop:Generator_TablePropName="v_selTipoGuasto">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
@@ -770,29 +515,150 @@ ORDER BY data</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selOperMtz" msprop:Generator_UserTableName="v_selOperMtz" msprop:Generator_RowDeletedName="v_selOperMtzRowDeleted" msprop:Generator_RowChangedName="v_selOperMtzRowChanged" msprop:Generator_RowClassName="v_selOperMtzRow" msprop:Generator_RowChangingName="v_selOperMtzRowChanging" msprop:Generator_RowEvArgName="v_selOperMtzRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selOperMtzRowChangeEventHandler" msprop:Generator_TableClassName="v_selOperMtzDataTable" msprop:Generator_TableVarName="tablev_selOperMtz" msprop:Generator_RowDeletingName="v_selOperMtzRowDeleting" msprop:Generator_TablePropName="v_selOperMtz">
<xs:element name="v_selSemafori" msprop:Generator_UserTableName="v_selSemafori" msprop:Generator_RowDeletedName="v_selSemaforiRowDeleted" msprop:Generator_RowChangedName="v_selSemaforiRowChanged" msprop:Generator_RowClassName="v_selSemaforiRow" msprop:Generator_RowChangingName="v_selSemaforiRowChanging" msprop:Generator_RowEvArgName="v_selSemaforiRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selSemaforiRowChangeEventHandler" msprop:Generator_TableClassName="v_selSemaforiDataTable" msprop:Generator_TableVarName="tablev_selSemafori" msprop:Generator_RowDeletingName="v_selSemaforiRowDeleting" msprop:Generator_TablePropName="v_selSemafori">
<xs:complexType>
<xs:sequence>
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="101" />
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn">
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_mtzProgPendingExp" msprop:Generator_UserTableName="v_mtzProgPendingExp" msprop:Generator_RowDeletedName="v_mtzProgPendingExpRowDeleted" msprop:Generator_RowChangedName="v_mtzProgPendingExpRowChanged" msprop:Generator_RowClassName="v_mtzProgPendingExpRow" msprop:Generator_RowChangingName="v_mtzProgPendingExpRowChanging" msprop:Generator_RowEvArgName="v_mtzProgPendingExpRowChangeEvent" msprop:Generator_RowEvHandlerName="v_mtzProgPendingExpRowChangeEventHandler" msprop:Generator_TableClassName="v_mtzProgPendingExpDataTable" msprop:Generator_TableVarName="tablev_mtzProgPendingExp" msprop:Generator_RowDeletingName="v_mtzProgPendingExpRowDeleting" msprop:Generator_TablePropName="v_mtzProgPendingExp">
<xs:element name="v_selFreq" msprop:Generator_UserTableName="v_selFreq" msprop:Generator_RowDeletedName="v_selFreqRowDeleted" msprop:Generator_RowChangedName="v_selFreqRowChanged" msprop:Generator_RowClassName="v_selFreqRow" msprop:Generator_RowChangingName="v_selFreqRowChanging" msprop:Generator_RowEvArgName="v_selFreqRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selFreqRowChangeEventHandler" msprop:Generator_TableClassName="v_selFreqDataTable" msprop:Generator_TableVarName="tablev_selFreq" msprop:Generator_RowDeletingName="v_selFreqRowDeleting" msprop:Generator_TablePropName="v_selFreq">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selStato" msprop:Generator_UserTableName="v_selStato" msprop:Generator_RowDeletedName="v_selStatoRowDeleted" msprop:Generator_RowChangedName="v_selStatoRowChanged" msprop:Generator_RowClassName="v_selStatoRow" msprop:Generator_RowChangingName="v_selStatoRowChanging" msprop:Generator_RowEvArgName="v_selStatoRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selStatoRowChangeEventHandler" msprop:Generator_TableClassName="v_selStatoDataTable" msprop:Generator_TableVarName="tablev_selStato" msprop:Generator_RowDeletingName="v_selStatoRowDeleting" msprop:Generator_TablePropName="v_selStato">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selPeriodiTrad" msprop:Generator_UserTableName="v_selPeriodiTrad" msprop:Generator_RowDeletedName="v_selPeriodiTradRowDeleted" msprop:Generator_RowChangedName="v_selPeriodiTradRowChanged" msprop:Generator_RowClassName="v_selPeriodiTradRow" msprop:Generator_RowChangingName="v_selPeriodiTradRowChanging" msprop:Generator_RowEvArgName="v_selPeriodiTradRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selPeriodiTradRowChangeEventHandler" msprop:Generator_TableClassName="v_selPeriodiTradDataTable" msprop:Generator_TableVarName="tablev_selPeriodiTrad" msprop:Generator_RowDeletingName="v_selPeriodiTradRowDeleting" msprop:Generator_TablePropName="v_selPeriodiTrad">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInTable="conditioColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="3" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_elencoImpiantiMacchine" msprop:Generator_UserTableName="v_elencoImpiantiMacchine" msprop:Generator_RowDeletedName="v_elencoImpiantiMacchineRowDeleted" msprop:Generator_RowChangedName="v_elencoImpiantiMacchineRowChanged" msprop:Generator_RowClassName="v_elencoImpiantiMacchineRow" msprop:Generator_RowChangingName="v_elencoImpiantiMacchineRowChanging" msprop:Generator_RowEvArgName="v_elencoImpiantiMacchineRowChangeEvent" msprop:Generator_RowEvHandlerName="v_elencoImpiantiMacchineRowChangeEventHandler" msprop:Generator_TableClassName="v_elencoImpiantiMacchineDataTable" msprop:Generator_TableVarName="tablev_elencoImpiantiMacchine" msprop:Generator_RowDeletingName="v_elencoImpiantiMacchineRowDeleting" msprop:Generator_TablePropName="v_elencoImpiantiMacchine">
<xs:complexType>
<xs:sequence>
<xs:element name="codImpianto" msprop:Generator_UserColumnName="codImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeImpianto" msprop:Generator_UserColumnName="nomeImpianto" msprop:Generator_ColumnPropNameInRow="nomeImpianto" msprop:Generator_ColumnVarNameInTable="columnnomeImpianto" msprop:Generator_ColumnPropNameInTable="nomeImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="tipoImpianto" msprop:Generator_UserColumnName="tipoImpianto" msprop:Generator_ColumnPropNameInRow="tipoImpianto" msprop:Generator_ColumnVarNameInTable="columntipoImpianto" msprop:Generator_ColumnPropNameInTable="tipoImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codMacchina" msprop:Generator_UserColumnName="codMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeMacchina" msprop:Generator_UserColumnName="nomeMacchina" msprop:Generator_ColumnPropNameInRow="nomeMacchina" msprop:Generator_ColumnVarNameInTable="columnnomeMacchina" msprop:Generator_ColumnPropNameInTable="nomeMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="modello" msprop:Generator_UserColumnName="modello" msprop:Generator_ColumnPropNameInRow="modello" msprop:Generator_ColumnVarNameInTable="columnmodello" msprop:Generator_ColumnPropNameInTable="modelloColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="matricola" msdata:ReadOnly="true" msprop:Generator_UserColumnName="matricola" msprop:Generator_ColumnPropNameInRow="matricola" msprop:Generator_ColumnVarNameInTable="columnmatricola" msprop:Generator_ColumnPropNameInTable="matricolaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="anno" msprop:Generator_UserColumnName="anno" msprop:Generator_ColumnPropNameInRow="anno" msprop:Generator_ColumnVarNameInTable="columnanno" msprop:Generator_ColumnPropNameInTable="annoColumn" type="xs:int" minOccurs="0" />
<xs:element name="kgPeso" msprop:Generator_UserColumnName="kgPeso" msprop:Generator_ColumnPropNameInRow="kgPeso" msprop:Generator_ColumnVarNameInTable="columnkgPeso" msprop:Generator_ColumnPropNameInTable="kgPesoColumn" type="xs:double" />
<xs:element name="kwConsumo" msprop:Generator_UserColumnName="kwConsumo" msprop:Generator_ColumnPropNameInRow="kwConsumo" msprop:Generator_ColumnVarNameInTable="columnkwConsumo" msprop:Generator_ColumnPropNameInTable="kwConsumoColumn" type="xs:double" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_elencoIntervFilt" msprop:Generator_UserTableName="v_elencoIntervFilt" msprop:Generator_RowDeletedName="v_elencoIntervFiltRowDeleted" msprop:Generator_RowChangedName="v_elencoIntervFiltRowChanged" msprop:Generator_RowClassName="v_elencoIntervFiltRow" msprop:Generator_RowChangingName="v_elencoIntervFiltRowChanging" msprop:Generator_RowEvArgName="v_elencoIntervFiltRowChangeEvent" msprop:Generator_RowEvHandlerName="v_elencoIntervFiltRowChangeEventHandler" msprop:Generator_TableClassName="v_elencoIntervFiltDataTable" msprop:Generator_TableVarName="tablev_elencoIntervFilt" msprop:Generator_RowDeletingName="v_elencoIntervFiltRowDeleting" msprop:Generator_TablePropName="v_elencoIntervFilt">
<xs:complexType>
<xs:sequence>
<xs:element name="numIntMtz" msprop:Generator_UserColumnName="numIntMtz" msprop:Generator_ColumnVarNameInTable="columnnumIntMtz" msprop:Generator_ColumnPropNameInRow="numIntMtz" msprop:Generator_ColumnPropNameInTable="numIntMtzColumn" type="xs:int" />
<xs:element name="richiesta" msprop:Generator_UserColumnName="richiesta" msprop:Generator_ColumnVarNameInTable="columnrichiesta" msprop:Generator_ColumnPropNameInRow="richiesta" msprop:Generator_ColumnPropNameInTable="richiestaColumn" type="xs:dateTime" />
<xs:element name="codImpianto" msprop:Generator_UserColumnName="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
@@ -815,12 +681,148 @@ ORDER BY data</CommandText>
</xs:simpleType>
</xs:element>
<xs:element name="nomeMacchina" msprop:Generator_UserColumnName="nomeMacchina" msprop:Generator_ColumnVarNameInTable="columnnomeMacchina" msprop:Generator_ColumnPropNameInRow="nomeMacchina" msprop:Generator_ColumnPropNameInTable="nomeMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrizione" msprop:Generator_UserColumnName="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="inizioIntervento" msprop:Generator_UserColumnName="inizioIntervento" msprop:Generator_ColumnVarNameInTable="columninizioIntervento" msprop:Generator_ColumnPropNameInRow="inizioIntervento" msprop:Generator_ColumnPropNameInTable="inizioInterventoColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="fineIntervento" msprop:Generator_UserColumnName="fineIntervento" msprop:Generator_ColumnVarNameInTable="columnfineIntervento" msprop:Generator_ColumnPropNameInRow="fineIntervento" msprop:Generator_ColumnPropNameInTable="fineInterventoColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="descrizioneIntervento" msdata:ReadOnly="true" msprop:Generator_UserColumnName="descrizioneIntervento" msprop:Generator_ColumnVarNameInTable="columndescrizioneIntervento" msprop:Generator_ColumnPropNameInRow="descrizioneIntervento" msprop:Generator_ColumnPropNameInTable="descrizioneInterventoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrCausale" msdata:ReadOnly="true" msprop:Generator_UserColumnName="descrCausale" msprop:Generator_ColumnVarNameInTable="columndescrCausale" msprop:Generator_ColumnPropNameInRow="descrCausale" msprop:Generator_ColumnPropNameInTable="descrCausaleColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="minErogati" msdata:ReadOnly="true" msprop:Generator_UserColumnName="minErogati" msprop:Generator_ColumnVarNameInTable="columnminErogati" msprop:Generator_ColumnPropNameInRow="minErogati" msprop:Generator_ColumnPropNameInTable="minErogatiColumn" type="xs:decimal" minOccurs="0" />
<xs:element name="durataMtz" msdata:ReadOnly="true" msprop:Generator_UserColumnName="durataMtz" msprop:Generator_ColumnVarNameInTable="columndurataMtz" msprop:Generator_ColumnPropNameInRow="durataMtz" msprop:Generator_ColumnPropNameInTable="durataMtzColumn" type="xs:decimal" minOccurs="0" />
<xs:element name="durataOff" msdata:ReadOnly="true" msprop:Generator_UserColumnName="durataOff" msprop:Generator_ColumnVarNameInTable="columndurataOff" msprop:Generator_ColumnPropNameInRow="durataOff" msprop:Generator_ColumnPropNameInTable="durataOffColumn" type="xs:decimal" minOccurs="0" />
<xs:element name="guasto" msprop:Generator_UserColumnName="guasto" msprop:Generator_ColumnVarNameInTable="columnguasto" msprop:Generator_ColumnPropNameInRow="guasto" msprop:Generator_ColumnPropNameInTable="guastoColumn" type="xs:dateTime" />
<xs:element name="idxStato" msprop:Generator_UserColumnName="idxStato" msprop:Generator_ColumnPropNameInRow="idxStato" msprop:Generator_ColumnVarNameInTable="columnidxStato" msprop:Generator_ColumnPropNameInTable="idxStatoColumn" type="xs:int" />
<xs:element name="idxImpianto" msprop:Generator_UserColumnName="idxImpianto" msprop:Generator_ColumnVarNameInTable="columnidxImpianto" msprop:Generator_ColumnPropNameInRow="idxImpianto" msprop:Generator_ColumnPropNameInTable="idxImpiantoColumn" type="xs:int" />
<xs:element name="idxMacchina" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="sp_elencoIntMTBF_MTTR" msprop:Generator_UserTableName="sp_elencoIntMTBF_MTTR" msprop:Generator_RowDeletedName="sp_elencoIntMTBF_MTTRRowDeleted" msprop:Generator_RowChangedName="sp_elencoIntMTBF_MTTRRowChanged" msprop:Generator_RowClassName="sp_elencoIntMTBF_MTTRRow" msprop:Generator_RowChangingName="sp_elencoIntMTBF_MTTRRowChanging" msprop:Generator_RowEvArgName="sp_elencoIntMTBF_MTTRRowChangeEvent" msprop:Generator_RowEvHandlerName="sp_elencoIntMTBF_MTTRRowChangeEventHandler" msprop:Generator_TableClassName="sp_elencoIntMTBF_MTTRDataTable" msprop:Generator_TableVarName="tablesp_elencoIntMTBF_MTTR" msprop:Generator_RowDeletingName="sp_elencoIntMTBF_MTTRRowDeleting" msprop:Generator_TablePropName="sp_elencoIntMTBF_MTTR">
<xs:complexType>
<xs:sequence>
<xs:element name="numInterventi" msdata:ReadOnly="true" msprop:Generator_UserColumnName="numInterventi" msprop:Generator_ColumnVarNameInTable="columnnumInterventi" msprop:Generator_ColumnPropNameInRow="numInterventi" msprop:Generator_ColumnPropNameInTable="numInterventiColumn" type="xs:int" minOccurs="0" />
<xs:element name="totOreMtz" msdata:ReadOnly="true" msprop:Generator_UserColumnName="totOreMtz" msprop:Generator_ColumnVarNameInTable="columntotOreMtz" msprop:Generator_ColumnPropNameInRow="totOreMtz" msprop:Generator_ColumnPropNameInTable="totOreMtzColumn" type="xs:int" minOccurs="0" />
<xs:element name="totOreOfficina" msdata:ReadOnly="true" msprop:Generator_UserColumnName="totOreOfficina" msprop:Generator_ColumnVarNameInTable="columntotOreOfficina" msprop:Generator_ColumnPropNameInRow="totOreOfficina" msprop:Generator_ColumnPropNameInTable="totOreOfficinaColumn" type="xs:int" minOccurs="0" />
<xs:element name="codImpianto" msprop:Generator_UserColumnName="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codMacchina" msprop:Generator_UserColumnName="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeImpianto" msprop:Generator_UserColumnName="nomeImpianto" msprop:Generator_ColumnVarNameInTable="columnnomeImpianto" msprop:Generator_ColumnPropNameInRow="nomeImpianto" msprop:Generator_ColumnPropNameInTable="nomeImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeMacchina" msprop:Generator_UserColumnName="nomeMacchina" msprop:Generator_ColumnVarNameInTable="columnnomeMacchina" msprop:Generator_ColumnPropNameInRow="nomeMacchina" msprop:Generator_ColumnPropNameInTable="nomeMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selFam" msprop:Generator_UserTableName="v_selFam" msprop:Generator_RowDeletedName="v_selFamRowDeleted" msprop:Generator_RowChangedName="v_selFamRowChanged" msprop:Generator_RowClassName="v_selFamRow" msprop:Generator_RowChangingName="v_selFamRowChanging" msprop:Generator_RowEvArgName="v_selFamRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selFamRowChangeEventHandler" msprop:Generator_TableClassName="v_selFamDataTable" msprop:Generator_TableVarName="tablev_selFam" msprop:Generator_RowDeletingName="v_selFamRowDeleting" msprop:Generator_TablePropName="v_selFam">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_selOperMtz" msprop:Generator_UserTableName="v_selOperMtz" msprop:Generator_RowDeletedName="v_selOperMtzRowDeleted" msprop:Generator_RowChangedName="v_selOperMtzRowChanged" msprop:Generator_RowClassName="v_selOperMtzRow" msprop:Generator_RowChangingName="v_selOperMtzRowChanging" msprop:Generator_RowEvArgName="v_selOperMtzRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selOperMtzRowChangeEventHandler" msprop:Generator_TableClassName="v_selOperMtzDataTable" msprop:Generator_TableVarName="tablev_selOperMtz" msprop:Generator_RowDeletingName="v_selOperMtzRowDeleting" msprop:Generator_TablePropName="v_selOperMtz">
<xs:complexType>
<xs:sequence>
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="101" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="v_mtzProgPendingExp" msprop:Generator_UserTableName="v_mtzProgPendingExp" msprop:Generator_RowDeletedName="v_mtzProgPendingExpRowDeleted" msprop:Generator_RowChangedName="v_mtzProgPendingExpRowChanged" msprop:Generator_RowClassName="v_mtzProgPendingExpRow" msprop:Generator_RowChangingName="v_mtzProgPendingExpRowChanging" msprop:Generator_RowEvArgName="v_mtzProgPendingExpRowChangeEvent" msprop:Generator_RowEvHandlerName="v_mtzProgPendingExpRowChangeEventHandler" msprop:Generator_TableClassName="v_mtzProgPendingExpDataTable" msprop:Generator_TableVarName="tablev_mtzProgPendingExp" msprop:Generator_RowDeletingName="v_mtzProgPendingExpRowDeleting" msprop:Generator_TablePropName="v_mtzProgPendingExp">
<xs:complexType>
<xs:sequence>
<xs:element name="idxPending" msprop:Generator_UserColumnName="idxPending" msprop:Generator_ColumnVarNameInTable="columnidxPending" msprop:Generator_ColumnPropNameInRow="idxPending" msprop:Generator_ColumnPropNameInTable="idxPendingColumn" type="xs:int" />
<xs:element name="codImpianto" msprop:Generator_UserColumnName="codImpianto" msprop:Generator_ColumnVarNameInTable="columncodImpianto" msprop:Generator_ColumnPropNameInRow="codImpianto" msprop:Generator_ColumnPropNameInTable="codImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeImpianto" msprop:Generator_UserColumnName="nomeImpianto" msprop:Generator_ColumnVarNameInTable="columnnomeImpianto" msprop:Generator_ColumnPropNameInRow="nomeImpianto" msprop:Generator_ColumnPropNameInTable="nomeImpiantoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="codMacchina" msprop:Generator_UserColumnName="codMacchina" msprop:Generator_ColumnVarNameInTable="columncodMacchina" msprop:Generator_ColumnPropNameInRow="codMacchina" msprop:Generator_ColumnPropNameInTable="codMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="nomeMacchina" msprop:Generator_UserColumnName="nomeMacchina" msprop:Generator_ColumnVarNameInTable="columnnomeMacchina" msprop:Generator_ColumnPropNameInRow="nomeMacchina" msprop:Generator_ColumnPropNameInTable="nomeMacchinaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="data" msprop:Generator_UserColumnName="data" msprop:Generator_ColumnVarNameInTable="columndata" msprop:Generator_ColumnPropNameInRow="data" msprop:Generator_ColumnPropNameInTable="dataColumn" type="xs:dateTime" minOccurs="0" />
<xs:element name="descrizione" msprop:Generator_UserColumnName="descrizione" msprop:Generator_ColumnVarNameInTable="columndescrizione" msprop:Generator_ColumnPropNameInRow="descrizione" msprop:Generator_ColumnPropNameInTable="descrizioneColumn" minOccurs="0">
<xs:simpleType>
@@ -844,7 +846,9 @@ ORDER BY data</CommandText>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="idxPending" msprop:Generator_UserColumnName="idxPending" msprop:Generator_ColumnPropNameInRow="idxPending" msprop:Generator_ColumnVarNameInTable="columnidxPending" msprop:Generator_ColumnPropNameInTable="idxPendingColumn" type="xs:int" />
<xs:element name="idxTipo" msprop:Generator_UserColumnName="idxTipo" msprop:Generator_ColumnVarNameInTable="columnidxTipo" msprop:Generator_ColumnPropNameInRow="idxTipo" msprop:Generator_ColumnPropNameInTable="idxTipoColumn" type="xs:int" />
<xs:element name="idxMacchina" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" />
<xs:element name="idxImpianto" msprop:Generator_UserColumnName="idxImpianto" msprop:Generator_ColumnVarNameInTable="columnidxImpianto" msprop:Generator_ColumnPropNameInRow="idxImpianto" msprop:Generator_ColumnPropNameInTable="idxImpiantoColumn" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
@@ -899,9 +903,5 @@ ORDER BY data</CommandText>
<xs:selector xpath=".//mstns:v_selOperMtz" />
<xs:field xpath="mstns:value" />
</xs:unique>
<xs:unique name="v_mtzProgPendingExp_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:v_mtzProgPendingExp" />
<xs:field xpath="mstns:idxPending" />
</xs:unique>
</xs:element>
</xs:schema>
+2 -2
View File
@@ -4,7 +4,7 @@
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
</autogenerated>-->
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="422" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="-10" ViewPortY="279" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:v_selImpianti" ZOrder="16" X="70" Y="70" Height="122" Width="220" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_selMacchine" ZOrder="15" X="360" Y="70" Height="139" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
@@ -21,7 +21,7 @@
<Shape ID="DesignTable:sp_elencoIntMTBF_MTTR" ZOrder="6" X="365" Y="657" Height="190" Width="287" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="143" />
<Shape ID="DesignTable:v_selFam" ZOrder="3" X="104" Y="300" Height="105" Width="195" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_selOperMtz" ZOrder="2" X="68" Y="864" Height="122" Width="219" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_mtzProgPendingExp" ZOrder="1" X="473" Y="871" Height="258" Width="270" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="194" />
<Shape ID="DesignTable:v_mtzProgPendingExp" ZOrder="1" X="877" Y="955" Height="324" Width="275" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
</Shapes>
<Connectors />
</DiagramLayout>
Binary file not shown.
Binary file not shown.
@@ -37,6 +37,10 @@
OldValuesParameterFormatString="original_{0}" FilterExpression=" (codImpianto LIKE '%{0}%') OR (nomeImpianto LIKE '%{0}%') OR (codMacchina LIKE '%{0}%') OR (nomeMacchina LIKE '%{0}%') OR (descrizione LIKE '%{0}%') OR (descrPriorita LIKE '%{0}%') OR (descrTipo LIKE '%{0}%') ">
<FilterParameters>
<asp:SessionParameter DefaultValue="*" Name="ricerca" SessionField="valoreCercato" />
<asp:SessionParameter DefaultValue="0" Name="idxTipo" SessionField="idxTipo_filt"
Type="Int32" />
<asp:SessionParameter DefaultValue="0" Name="idxMacchina" SessionField="idxMacchina_filt"
Type="Int32" />
</FilterParameters>
</asp:ObjectDataSource>
</div>
@@ -3,8 +3,8 @@ using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
using System.Web.UI.HtmlControls;
using SteamWare;
public partial class ExcelExportMtzPrevPending : System.Web.UI.Page
{
@@ -83,7 +83,25 @@ public partial class ExcelExportMtzPrevPending : System.Web.UI.Page
public void aggiornamento()
{
grView.AllowPaging = false;
checkFixOds();
ods.DataBind();
grView.DataBind();
}
/// <summary>
/// sistemo filtraggio con valori selezionati
/// </summary>
private void checkFixOds()
{
ods.FilterExpression = "( (codImpianto LIKE '%{0}%') OR (nomeImpianto LIKE '%{0}%') OR (codMacchina LIKE '%{0}%') OR (nomeMacchina LIKE '%{0}%') OR (descrizione LIKE '%{0}%') OR (descrPriorita LIKE '%{0}%') OR (descrTipo LIKE '%{0}%') )";
if (memLayer.ML.isInSessionObject("idxTipo_filt"))
{
ods.FilterExpression += " AND (idxTipo = {1})";
}
if (memLayer.ML.isInSessionObject("idxMacchina_filt"))
{
ods.FilterExpression += " AND (idxMacchina = {2})";
}
}
+8
View File
@@ -466,6 +466,13 @@
<Compile Include="WebUserControls\mod_famiglieMacchine.ascx.designer.cs">
<DependentUpon>mod_famiglieMacchine.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_filtraMtzProg.ascx.cs">
<DependentUpon>mod_filtraMtzProg.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="WebUserControls\mod_filtraMtzProg.ascx.designer.cs">
<DependentUpon>mod_filtraMtzProg.ascx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_filtro.ascx.cs">
<DependentUpon>mod_filtro.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -963,6 +970,7 @@
<Content Include="WebUserControls\mod_elFamMacch.ascx" />
<Content Include="WebUserControls\mod_elMacch2Fam.ascx" />
<Content Include="WebUserControls\mod_famiglieMacchine.ascx" />
<Content Include="WebUserControls\mod_filtraMtzProg.ascx" />
<Content Include="WebUserControls\mod_filtro.ascx" />
<Content Include="WebUserControls\mod_fixCal.ascx" />
<Content Include="WebUserControls\mod_gestCausali.ascx" />
@@ -1,19 +1,28 @@
<%@ Control Language="C#" AutoEventWireup="true"
Inherits="mod_dettMtzProg" Codebehind="mod_dettMtzProg.ascx.cs" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<table style="background-color:#DFDFDF;">
<%@ Register Src="mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc1" %>
<table style="background-color: #DFDFDF;">
<tr>
<td colspan="2">
<div style="float:left;">
<h3>
<asp:Label ID="lblInsNewIntPro" runat="server" />
</h3>
</div>
<div style="float: right; padding-top: 20px;">
<uc1:mod_filtro ID="mod_filtroImpianto" runat="server" css="txtMini" Oneh_selValore="eh_selectedImpianto" />
<asp:ObjectDataSource ID="odsImpianti" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="GetData" TypeName="GIM_data.DS_utilityTableAdapters.v_selImpiantiTableAdapter">
</asp:ObjectDataSource>
</div>
</td>
</tr>
<tr valign="top">
<td>
<asp:Label runat="server" ID="lblDescrMtzPro" /><br />
<asp:TextBox runat="server" ID="txtDescrizione" TextMode="MultiLine" Rows="15" Width="420px"
CssClass="textEv_1Left"/>
CssClass="textEv_1Left" />
<asp:RequiredFieldValidator ID="rfvDescrizione" runat="server" ErrorMessage="!!!"
ControlToValidate="txtDescrizione" ValidationGroup="inserimento" Display="Dynamic"></asp:RequiredFieldValidator>
</td>
@@ -22,7 +31,11 @@
<asp:Label runat="server" ID="lblMacchineInteressate" />
</div>
<div style="float: right;">
<asp:TextBox runat="server" ID="txtCercaMacchine" Width="8em" Text="*" />
</div>
<div style="float: right;">
<asp:Label runat="server" ID="lblTxtCerca" Text="Ricerca"></asp:Label>
<asp:TextBox runat="server" ID="txtCercaMacchine" Width="8em" Text="*" OnTextChanged="txtCercaMacchine_TextChanged" />
</div>
<div>
<asp:ListBox ID="listMacchine" runat="server" AutoPostBack="True" DataSourceID="odsMacchine"
@@ -54,8 +67,7 @@
<div>
<asp:Label runat="server" ID="lblPrior" /><br />
<asp:DropDownList runat="server" ID="ddlPrior" DataSourceID="odsPrior" DataTextField="label"
DataValueField="value" CssClass="textEv_1"
ondatabound="ddlPrior_DataBound" />
DataValueField="value" CssClass="textEv_1" OnDataBound="ddlPrior_DataBound" />
<asp:ObjectDataSource ID="odsPrior" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetData" TypeName="GIM_data.DS_utilityTableAdapters.v_selPriorTableAdapter">
</asp:ObjectDataSource>
@@ -86,4 +86,47 @@ public partial class mod_dettMtzProg : System.Web.UI.UserControl
{
ddlPrior.SelectedIndex = 2;
}
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
if (!Page.IsPostBack)
{
mod_filtroImpianto.ods = odsImpianti;
}
}
/// <summary>
/// chiamato post modifica valore check/selezione nel selettore filtro impianto
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
public void eh_selectedImpianto(object sender, EventArgs e)
{
checkFixOds();
}
private void checkFixOds()
{
if (mod_filtroImpianto.valoreInt != 0)
{
// resetto la selezione...
listMacchine.SelectedIndex = -1;
// cambio filtro su ods macchine mostrate...
if (mod_filtroImpianto.valoreInt > 0)
{
odsMacchine.FilterExpression = "(label LIKE '%{0}%') AND conditio = " + mod_filtroImpianto.valore;
odsMacchine.DataBind();
}
}
else
{
odsMacchine.FilterExpression = "(label LIKE '%{0}%')";
odsMacchine.DataBind();
}
}
protected void txtCercaMacchine_TextChanged(object sender, EventArgs e)
{
checkFixOds();
}
}
@@ -21,6 +21,24 @@ public partial class mod_dettMtzProg {
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblInsNewIntPro;
/// <summary>
/// mod_filtroImpianto control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_filtro mod_filtroImpianto;
/// <summary>
/// odsImpianti control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsImpianti;
/// <summary>
/// lblDescrMtzPro control.
/// </summary>
@@ -57,6 +75,15 @@ public partial class mod_dettMtzProg {
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblMacchineInteressate;
/// <summary>
/// lblTxtCerca control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblTxtCerca;
/// <summary>
/// txtCercaMacchine control.
/// </summary>
@@ -3,42 +3,6 @@
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/WebUserControls/mod_filtro.ascx" TagName="mod_filtro" TagPrefix="uc1" %>
<div style="width: 100%; background: #cdcdcd;" class="txtMini">
<table cellpadding="5px">
<tr valign="top">
<td style="width: 250px;">
<div>
<asp:Label runat="server" ID="lblFiltTipo" />
</div>
<div>
<uc1:mod_filtro ID="mod_filtroTipo" runat="server" css="txtMini" />
<asp:ObjectDataSource ID="odsTipo" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="GetData" TypeName="GIM_data.DS_utilityTableAdapters.v_selTipoGuastoTableAdapter">
</asp:ObjectDataSource>
</div>
</td>
<td>
<div>
<asp:Label runat="server" ID="lblFiltMacchina" />
</div>
<div>
<uc1:mod_filtro ID="mod_filtroImpianto" runat="server" css="txtMini" Oneh_selValore="eh_selectedImpianto" />
<asp:ObjectDataSource ID="odsImpianti" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="GetData" TypeName="GIM_data.DS_utilityTableAdapters.v_selImpiantiTableAdapter">
</asp:ObjectDataSource>
</div>
<div>
<uc1:mod_filtro ID="mod_filtroMacchina" runat="server" css="txtMini" Visible="false" />
<asp:ObjectDataSource ID="odsMacchine" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="getByConditio" TypeName="GIM_data.DS_utilityTableAdapters.v_selMacchineTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="mod_filtroImpianto" DefaultValue="0" Name="conditio"
PropertyName="valoreInt" Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</td>
</tr>
</table>
<asp:Button ID="btnShowNew" runat="server" OnClick="btnShowNew_Click" />
</div>
<div style="font-size:9pt;">
@@ -110,10 +74,13 @@
DeleteMethod="Delete" InsertMethod="Insert" UpdateMethod="Update">
<FilterParameters>
<asp:SessionParameter DefaultValue="*" Name="ricerca" SessionField="valoreCercato" />
<asp:ControlParameter ControlID="mod_filtroTipo" DefaultValue="0" Name="idxTipo"
<asp:SessionParameter DefaultValue="0" Name="idxTipo" SessionField="idxTipo_filt" Type="Int32"/>
<asp:SessionParameter DefaultValue="0" Name="idxMacchina" SessionField="idxMacchina_filt" Type="Int32"/>
<%--<asp:ControlParameter ControlID="mod_filtroTipo" DefaultValue="0" Name="idxTipo"
PropertyName="valoreInt" Type="Int32" />
<asp:ControlParameter ControlID="mod_filtroMacchina" DefaultValue="0" Name="idxMacchina"
PropertyName="valoreInt" Type="Int32" />
PropertyName="valoreInt" Type="Int32" />--%>
</FilterParameters>
<DeleteParameters>
<asp:Parameter Name="Original_idxIntPro" Type="Int32" />
@@ -24,8 +24,8 @@ public partial class mod_elencoMtzProg : ApplicationUserControl
{
base.traduciObj();
btnShowNew.Text = traduci("btnShowNew");
lblFiltMacchina.Text = traduci("lblFiltMacchina");
lblFiltTipo.Text = traduci("lblFiltTipo");
//lblFiltMacchina.Text = traduci("lblFiltMacchina");
//lblFiltTipo.Text = traduci("lblFiltTipo");
}
/// <summary>
@@ -54,6 +54,7 @@ public partial class mod_elencoMtzProg : ApplicationUserControl
/// </summary>
public void doUpdate()
{
checkFixOds();
grView.DataBind();
}
/// <summary>
@@ -205,14 +206,6 @@ public partial class mod_elencoMtzProg : ApplicationUserControl
{
base.OnInit(e);
_idxGridView = "idxIntPro";
if (!Page.IsPostBack)
{
mod_filtroImpianto.ods = odsImpianti;
mod_filtroMacchina.ods = odsMacchine;
mod_filtroTipo.ods = odsTipo;
}
mod_filtroTipo.eh_selValore += new EventHandler(mod_filtroTipo_eh_selValore);
mod_filtroMacchina.eh_selValore += new EventHandler(mod_filtroMacchina_eh_selValore);
}
void mod_filtroMacchina_eh_selValore(object sender, EventArgs e)
@@ -231,39 +224,14 @@ public partial class mod_elencoMtzProg : ApplicationUserControl
private void checkFixOds()
{
ods.FilterExpression = "( codMacchina LIKE '%{0}%' OR nomeMacchina LIKE '%{0}%' OR descrizione LIKE '%{0}%' )";
if (mod_filtroTipo.valoreInt != 0)
if (memLayer.ML.isInSessionObject("idxTipo_filt"))
{
ods.FilterExpression += " AND (idxTipo = {1})";
}
if (mod_filtroMacchina.valoreInt != 0)
if (memLayer.ML.isInSessionObject("idxMacchina_filt"))
{
ods.FilterExpression += " AND (idxMacchina = {2})";
}
ods.DataBind();
}
/// <summary>
/// chiamato post modifica valore check/selezione nel selettore filtro impianto
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
public void eh_selectedImpianto(object sender, EventArgs e)
{
if (mod_filtroImpianto.valoreInt != 0)
{
if (!mod_filtroMacchina.Visible)
{
mod_filtroMacchina.Visible = true;
}
else
{
mod_filtroMacchina.reset();
}
mod_filtroMacchina.ods = odsMacchine;
}
else
{
mod_filtroMacchina.reset();
mod_filtroMacchina.Visible = false;
}
}
}
@@ -12,78 +12,6 @@
public partial class mod_elencoMtzProg {
/// <summary>
/// lblFiltTipo control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblFiltTipo;
/// <summary>
/// mod_filtroTipo control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_filtro mod_filtroTipo;
/// <summary>
/// odsTipo control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsTipo;
/// <summary>
/// lblFiltMacchina control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblFiltMacchina;
/// <summary>
/// mod_filtroImpianto control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_filtro mod_filtroImpianto;
/// <summary>
/// odsImpianti control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsImpianti;
/// <summary>
/// mod_filtroMacchina control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_filtro mod_filtroMacchina;
/// <summary>
/// odsMacchine control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsMacchine;
/// <summary>
/// btnShowNew control.
/// </summary>
@@ -1,7 +1,8 @@
<%@ Control Language="C#" AutoEventWireup="true"
Inherits="mod_elencoRichieste" Codebehind="mod_elencoRichieste.ascx.cs" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/WebUserControls/mod_periodoAnalisi.ascx" TagName="mod_periodoAnalisi" TagPrefix="uc1" %>
<%@ Register Src="~/WebUserControls/mod_periodoAnalisi.ascx" TagName="mod_periodoAnalisi"
TagPrefix="uc1" %>
<div style="width: 100%; background-color: #cdcdcd; clear: both;" class="bg_plus">
<div style="float: left;">
<asp:CheckBox runat="server" ID="chkMostraIntChiusi" AutoPostBack="true" OnCheckedChanged="chkMostraIntChiusi_CheckedChanged"
@@ -14,9 +15,8 @@
<div style="font-size: 8pt; clear: both;">
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
Width="100%" OnSelectedIndexChanged="grView_SelectedIndexChanged" OnDataBound="grView_DataBound"
DataKeyNames="numIntMtz" DataSourceID="ods"
OnRowDataBound="grView_RowDataBound"
onpageindexchanged="grView_PageIndexChanged">
DataKeyNames="numIntMtz" DataSourceID="ods" OnRowDataBound="grView_RowDataBound"
OnPageIndexChanged="grView_PageIndexChanged">
<RowStyle CssClass="ctrRowStyle" />
<AlternatingRowStyle CssClass="ctrAltRowStyle" />
<EditRowStyle CssClass="ctrEditRowStyle" />
@@ -57,7 +57,7 @@
</asp:TemplateField>
<asp:TemplateField HeaderText="dataOraInsRichiesta" SortExpression="richiesta">
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Eval("richiesta") %>' />
<asp:Label ID="Label1" runat="server" Text='<%# Eval("richiesta") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="inizioFermata" SortExpression="guasto">
@@ -66,17 +66,29 @@
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="matr" HeaderText="matricola" SortExpression="matr" />
<asp:BoundField DataField="descrAmbitoGuasto" HeaderText="macrocausa" SortExpression="descrAmbitoGuasto" />
<asp:TemplateField HeaderText="macrocausa" SortExpression="descrAmbitoGuasto">
<EditItemTemplate>
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("descrAmbitoGuasto") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<span style="vertical-align: top; white-space: nowrap;">
<asp:Label ID="Label8" runat="server" Text='<%# Bind("descrAmbitoGuasto") %>' />
</span>
<asp:Image ID="imgMtzPrev" runat="server" ImageUrl="~/images/mtzProg.png" Visible='<%# isMtzProg(Eval("idxAmbito")) %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="lblPriorShort" SortExpression="descrPriorita" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:Label ID="Label6" runat="server" Text='<%# Eval("idxPriorita") %>' ToolTip='<%# Eval("descrPriorita") %>'
CssClass='<%# stileDaPrior(Eval("idxPriorita")) %>' />
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="chkImpFermoShort" SortExpression="isFermo" ItemStyle-HorizontalAlign="Center">
<ItemTemplate>
<asp:CheckBox ID="Label2" runat="server" Checked='<%# Eval("isFermo") %>' Enabled="false" />
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:BoundField DataField="descrTipo" HeaderText="lblTipoGuastoShort" SortExpression="descrTipo" />
<asp:BoundField DataField="nomeImpianto" HeaderText="nomeImpianto" SortExpression="nomeImpianto" />
@@ -274,7 +274,7 @@ public partial class mod_elencoRichieste : ApplicationUserControl
/// <returns></returns>
public string formattaUrl(object idx)
{
return String.Format("./ExportPdf.aspx?tipo={0}&idx={1}", Convert.ToInt32(reportRichiesto.RichiestaIntervento), idx);
return String.Format("./ExportPdf.aspx?tipo={0}&idx={1}", Convert.ToInt32(reportRichiesto.RichiestaIntervento), idx); // !!! verificare se . o ~
}
/// <summary>
/// prende in carico e stampa la scheda selezionata
@@ -370,5 +370,23 @@ public partial class mod_elencoRichieste : ApplicationUserControl
{
checkFixOds();
}
/// <summary>
/// determina se sia o meno un intervento di mtz programmata
/// </summary>
/// <param name="idxAmbitoGuasto"></param>
/// <returns></returns>
public bool isMtzProg(object _idxAmbitoGuasto)
{
bool answ = false;
try
{
int idxAmbito = Convert.ToInt32(_idxAmbitoGuasto);
if (idxAmbito == 7) answ = true;
}
catch
{ }
return answ;
}
#endregion
}
@@ -0,0 +1,40 @@
<%@ Control Language="C#" AutoEventWireup="true" Inherits="WebUserControls_mod_filtraMtzProg" Codebehind="mod_filtraMtzProg.ascx.cs" %>
<%@ Register src="mod_filtro.ascx" tagname="mod_filtro" tagprefix="uc1" %>
<div style="width: 100%; background: #cdcdcd;" class="txtMini">
<table cellpadding="5px">
<tr valign="top">
<td style="width: 250px;">
<div>
<asp:Label runat="server" ID="lblFiltTipo" />
</div>
<div>
<uc1:mod_filtro ID="mod_filtroTipo" runat="server" css="txtMini" />
<asp:ObjectDataSource ID="odsTipo" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="GetData" TypeName="GIM_data.DS_utilityTableAdapters.v_selTipoGuastoTableAdapter">
</asp:ObjectDataSource>
</div>
</td>
<td>
<div>
<asp:Label runat="server" ID="lblFiltMacchina" />
</div>
<div>
<uc1:mod_filtro ID="mod_filtroImpianto" runat="server" css="txtMini" Oneh_selValore="eh_selectedImpianto" />
<asp:ObjectDataSource ID="odsImpianti" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="GetData" TypeName="GIM_data.DS_utilityTableAdapters.v_selImpiantiTableAdapter">
</asp:ObjectDataSource>
</div>
<div>
<uc1:mod_filtro ID="mod_filtroMacchina" runat="server" css="txtMini" Visible="false" />
<asp:ObjectDataSource ID="odsMacchine" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="getByConditio" TypeName="GIM_data.DS_utilityTableAdapters.v_selMacchineTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="mod_filtroImpianto" DefaultValue="0" Name="conditio"
PropertyName="valoreInt" Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</td>
</tr>
</table>
</div>
@@ -0,0 +1,111 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
public partial class WebUserControls_mod_filtraMtzProg : ApplicationUserControl
{
/// <summary>
/// evento che segnala la disponibilità di un nuovo stato di filtraggio salvato in sessione...
/// </summary>
public event EventHandler eh_newFiltroSel;
// variabile per gridview - potrebbe non servire più FARE!!!
protected string _idxGridView;
/// <summary>
/// inizializzazione valori di default
/// </summary>
/// <param name="e"></param>
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
_idxGridView = "idxIntPro";
if (!Page.IsPostBack)
{
mod_filtroImpianto.ods = odsImpianti;
mod_filtroMacchina.ods = odsMacchine;
mod_filtroTipo.ods = odsTipo;
}
mod_filtroTipo.eh_selValore += new EventHandler(mod_filtroTipo_eh_selValore);
mod_filtroMacchina.eh_selValore += new EventHandler(mod_filtroMacchina_eh_selValore);
mod_filtroImpianto.eh_selValore += new EventHandler(mod_filtroImpianto_eh_selValore);
}
void mod_filtroImpianto_eh_selValore(object sender, EventArgs e)
{
// salvo in sessione il valore selezionato...
if (mod_filtroImpianto.valoreInt == 0)
{
memLayer.ML.emptySessionVal("idxMacchina_filt");
}
// chiamo procedura che innalza l'evento
raiseEvent();
}
/// <summary>
/// chiamato post modifica valore check/selezione nel selettore filtro impianto
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
public void eh_selectedImpianto(object sender, EventArgs e)
{
if (mod_filtroImpianto.valoreInt != 0)
{
if (!mod_filtroMacchina.Visible)
{
mod_filtroMacchina.Visible = true;
}
else
{
mod_filtroMacchina.reset();
}
mod_filtroMacchina.ods = odsMacchine;
}
else
{
mod_filtroMacchina.reset();
mod_filtroMacchina.Visible = false;
}
}
void mod_filtroMacchina_eh_selValore(object sender, EventArgs e)
{
// salvo in sessione il valore selezionato...
if (mod_filtroMacchina.valoreInt != 0)
{
memLayer.ML.setSessionVal("idxMacchina_filt", mod_filtroMacchina.valoreInt);
}
else
{
memLayer.ML.emptySessionVal("idxMacchina_filt");
}
// chiamo procedura che innalza l'evento
raiseEvent();
}
void mod_filtroTipo_eh_selValore(object sender, EventArgs e)
{
// salvo in sessione il valore selezionato...
if (mod_filtroTipo.valoreInt != 0)
{
memLayer.ML.setSessionVal("idxTipo_filt", mod_filtroTipo.valoreInt);
}
else
{
memLayer.ML.emptySessionVal("idxTipo_filt");
}
// chiamo procedura che innalza l'evento
raiseEvent();
}
private void raiseEvent()
{
if (eh_newFiltroSel != null)
{
eh_newFiltroSel(this, new EventArgs());
}
}
}
@@ -0,0 +1,86 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.4927
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
public partial class WebUserControls_mod_filtraMtzProg {
/// <summary>
/// lblFiltTipo control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblFiltTipo;
/// <summary>
/// mod_filtroTipo control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_filtro mod_filtroTipo;
/// <summary>
/// odsTipo control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsTipo;
/// <summary>
/// lblFiltMacchina control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblFiltMacchina;
/// <summary>
/// mod_filtroImpianto control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_filtro mod_filtroImpianto;
/// <summary>
/// odsImpianti control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsImpianti;
/// <summary>
/// mod_filtroMacchina control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_filtro mod_filtroMacchina;
/// <summary>
/// odsMacchine control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsMacchine;
}
@@ -94,7 +94,7 @@ public partial class mod_menuTop : ApplicationUserControl
// solo se user è auth...
if (user_std.UtSn.isAuth)
{
lnkShowHide.Text = user_std.UtSn.Traduci(SteamWare.memLayer.ML.confReadString("lnkShowHide"));
lnkShowHide.Text = user_std.UtSn.Traduci("lnkShowHide");
lblTitle.Text = user_std.UtSn.Traduci(SteamWare.memLayer.ML.confReadString("titleApp"));
if (_titleString != "")
{
@@ -4,7 +4,7 @@
<div style="text-align: right;">
<asp:HyperLink ID="hlExportExcel" runat="server" Target="_blank" />
</div>
<div style="font-size:8pt;">
<div style="font-size: 8pt;">
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
DataKeyNames="idxPending" DataSourceID="ods" OnDataBound="grView_DataBound">
<RowStyle CssClass="ctrRowStyle" />
@@ -36,6 +36,10 @@
OldValuesParameterFormatString="original_{0}" FilterExpression=" (codImpianto LIKE '%{0}%') OR (nomeImpianto LIKE '%{0}%') OR (codMacchina LIKE '%{0}%') OR (nomeMacchina LIKE '%{0}%') OR (descrizione LIKE '%{0}%') OR (descrPriorita LIKE '%{0}%') OR (descrTipo LIKE '%{0}%') ">
<FilterParameters>
<asp:SessionParameter DefaultValue="*" Name="ricerca" SessionField="valoreCercato" />
<asp:SessionParameter DefaultValue="0" Name="idxTipo" SessionField="idxTipo_filt"
Type="Int32" />
<asp:SessionParameter DefaultValue="0" Name="idxMacchina" SessionField="idxMacchina_filt"
Type="Int32" />
</FilterParameters>
</asp:ObjectDataSource>
</div>
@@ -7,6 +7,7 @@ using SteamWare;
public partial class mod_mtzPrevPending : ApplicationUserControl
{
public event EventHandler eh_resetSelezione;
/// <summary>
/// evento dati associati a controllo
/// </summary>
@@ -42,8 +43,7 @@ public partial class mod_mtzPrevPending : ApplicationUserControl
if (!Page.IsPostBack)
{
hlExportExcel.Text = traduci("hlExportExcel");
hlExportExcel.NavigateUrl = "./ExcelExportMtzPrevPending.aspx";
// vedo di rigenerare la coda...
hlExportExcel.NavigateUrl = "~/ExcelExportMtzPrevPending.aspx";
// verifico se devo generare degli interventi di MTZ programmata..
try
{
@@ -55,4 +55,30 @@ public partial class mod_mtzPrevPending : ApplicationUserControl
}
}
}
/// <summary>
/// aggiorno il controllo
/// </summary>
public void doUpdate()
{
checkFixOds();
//grView.DataBind();
}
/// <summary>
/// sistemo filtraggio con valori selezionati
/// </summary>
private void checkFixOds()
{
ods.FilterExpression = "( codMacchina LIKE '%{0}%' OR nomeMacchina LIKE '%{0}%' OR descrizione LIKE '%{0}%' )";
if (memLayer.ML.isInSessionObject("idxTipo_filt"))
{
ods.FilterExpression += " AND (idxTipo = {1})";
}
if (memLayer.ML.isInSessionObject("idxMacchina_filt"))
{
ods.FilterExpression += " AND (idxMacchina = {2})";
}
ods.DataBind();
}
}
@@ -55,7 +55,7 @@ public partial class mod_reportInterventi : System.Web.UI.UserControl
}
private string formattaUrl(reportRichiesto tipo, intervalloDate periodo)
{
return String.Format("./ExportPdf.aspx?tipo={0}&inizio={1}&fine={2}&username={3}", Convert.ToInt32(tipo), periodo.inizio, periodo.fine, user_std.UtSn.userNameAD);
return String.Format("./ExportPdf.aspx?tipo={0}&inizio={1}&fine={2}&username={3}", Convert.ToInt32(tipo), periodo.inizio, periodo.fine, user_std.UtSn.userNameAD); // !!! verificare se . o ~
}
#region gestione selettori valori multipli
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2
View File
@@ -5,7 +5,9 @@
<%@ Register Src="~/WebUserControls/mod_dettMtzProg.ascx" TagName="mod_dettMtzProg" TagPrefix="uc2" %>
<%@ Register Src="~/WebUserControls/mod_fixCal.ascx" TagName="mod_fixCal" TagPrefix="uc3" %>
<%@ Register Src="~/WebUserControls/mod_mtzPrevPending.ascx" tagname="mod_mtzPrevPending" tagprefix="uc4" %>
<%@ Register src="~/WebUserControls/mod_filtraMtzProg.ascx" tagname="mod_filtraMtzProg" tagprefix="uc5" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
<uc5:mod_filtraMtzProg ID="mod_filtraMtzProg1" runat="server" />
<cc1:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="0">
<cc1:TabPanel runat="server" HeaderText="Programmazione Intervento" ID="TabProgrammaMtz">
<ContentTemplate>
+17
View File
@@ -11,9 +11,26 @@ public partial class mtzProg : System.Web.UI.Page
{
mod_elencoMtzProg1.eh_newReq += new EventHandler(mod_elencoMtzProg1_eh_newReq);
mod_dettMtzProg1.eh_newInserted += new EventHandler(mod_dettMtzProg1_eh_newInserted);
mod_filtraMtzProg1.eh_newFiltroSel += new EventHandler(mod_filtraMtzProg1_eh_newFiltroSel);
traduciObj();
}
/// <summary>
/// è stato chiamato evento "nuovo filtro" e quindi aggiorno
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
void mod_filtraMtzProg1_eh_newFiltroSel(object sender, EventArgs e)
{
// richiamo update delle varie parti del mio modulo
// update della visualizzazione normale
mod_elencoMtzProg1.doUpdate();
// update della visualizzazione pre-export in excel
mod_mtzPrevPending1.doUpdate();
}
private void traduciObj()
{
((AjaxControlToolkit.TabPanel)TabContainer1.FindControl("TabProgrammaMtz")).HeaderText = traduci("TabProgrammaMtz");
+9
View File
@@ -12,6 +12,15 @@
public partial class mtzProg {
/// <summary>
/// mod_filtraMtzProg1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::WebUserControls_mod_filtraMtzProg mod_filtraMtzProg1;
/// <summary>
/// TabContainer1 control.
/// </summary>
@@ -1,6 +1,3 @@
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\obj\Debug\ResolveAssemblyReference.cache
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\obj\Debug\RdlCompile.cache
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\obj\Debug\RdlCompile.compiled
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\GIM_site.dll
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\GIM_site.pdb
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\AjaxControlToolkit.dll
@@ -29,5 +26,8 @@ c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\ru\Aj
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\tr-TR\AjaxControlToolkit.resources.dll
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\zh-CHS\AjaxControlToolkit.resources.dll
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\bin\zh-CHT\AjaxControlToolkit.resources.dll
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\obj\Debug\ResolveAssemblyReference.cache
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\obj\Debug\RdlCompile.cache
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\obj\Debug\RdlCompile.compiled
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\obj\Debug\GIM_site.dll
c:\Users\samuele\Documents\Visual Studio 2008\Projects\WebGIM\GIM_site\obj\Debug\GIM_site.pdb
Binary file not shown.
@@ -33,7 +33,7 @@ public partial class report_impianti : System.Web.UI.Page
private string formattaUrl()
{
return String.Format("./ExportPdf.aspx?tipo={0}", Convert.ToInt32(reportRichiesto.ElencoMacchine));
return String.Format("./ExportPdf.aspx?tipo={0}", Convert.ToInt32(reportRichiesto.ElencoMacchine)); // !!! verificare se . o ~
}
protected void btnPrint_Click(object sender, EventArgs e)