Update da WSP a WAP: creato sito nuovo, compila (manca deploy, installer...)

git-svn-id: https://keyhammer.ath.cx/svn/WebGIM/trunk@157 3e04ef4b-3b25-4b6c-be27-bb5389ca777b
This commit is contained in:
samuele
2010-01-21 16:41:14 +00:00
parent f15802d61f
commit b199d43bab
597 changed files with 80293 additions and 6 deletions
File diff suppressed because it is too large Load Diff
@@ -0,0 +1 @@

File diff suppressed because it is too large Load Diff
@@ -0,0 +1,213 @@
<?xml version="1.0" encoding="utf-8"?>
<!--<autogenerated>
This code was generated by a tool to store the dataset designer's layout information.
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="-54" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:LogUpdateDb" ZOrder="35" X="36" Y="19" Height="122" Width="219" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:AnagAmbitoGuasto" ZOrder="34" X="322" Y="20" Height="122" Width="251" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:AnagPriorita" ZOrder="23" X="153" Y="373" Height="190" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:AnagImpianti" ZOrder="28" X="810" Y="350" Height="207" Width="219" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="126" />
<Shape ID="DesignTable:v_macchine" ZOrder="13" X="1116" Y="309" Height="343" Width="246" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
<Shape ID="DesignTable:v_selFamMacc" ZOrder="24" X="1102" Y="88" Height="190" Width="218" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="92" />
<Shape ID="DesignTable:AnagFamMacchine" ZOrder="7" X="1080" Y="-44" Height="105" Width="248" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_intervExp" ZOrder="3" X="484" Y="217" Height="343" Width="248" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
<Shape ID="DesignTable:AnagTipoGuasto" ZOrder="26" X="118" Y="199" Height="105" Width="235" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:AnagStati" ZOrder="22" X="813" Y="178" Height="139" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:InterventoOpMtz" ZOrder="21" X="793" Y="582" Height="173" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:v_mtzProgExp" ZOrder="19" X="104" Y="603" Height="275" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
<Shape ID="DesignTable:MtzProgPending" ZOrder="18" X="882" Y="776" Height="224" Width="235" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="160" />
<Shape ID="DesignTable:MtzProgrammata" ZOrder="17" X="1141" Y="749" Height="241" Width="240" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="177" />
<Shape ID="DesignTable:CalendFesteFerie" ZOrder="15" X="78" Y="890" Height="122" Width="239" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:OreAperturaSett" ZOrder="6" X="366" Y="864" Height="156" Width="257" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:FiltroImpianti" ZOrder="10" X="1399" Y="644" Height="122" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:FiltroMacchine" ZOrder="11" X="1410" Y="168" Height="122" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:FiltroStati" ZOrder="9" X="764" Y="7" Height="122" Width="229" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:AnagCausali" ZOrder="5" X="1433" Y="-40" Height="156" Width="192" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="92" />
<Shape ID="DesignTable:AnagrOperMtz" ZOrder="2" X="531" Y="669" Height="122" Width="223" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_AnagMacchine_AnagImpianti" ZOrder="33" LineWidth="11">
<RoutePoints>
<Point>
<X>1029</X>
<Y>415</Y>
</Point>
<Point>
<X>1116</X>
<Y>415</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:Macchine2FamMacchine_v_macchine" ZOrder="32" LineWidth="11">
<RoutePoints>
<Point>
<X>1251</X>
<Y>278</Y>
</Point>
<Point>
<X>1251</X>
<Y>309</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:AnagFamMacchine_v_selFamMacc" ZOrder="31" LineWidth="11">
<RoutePoints>
<Point>
<X>1239</X>
<Y>61</Y>
</Point>
<Point>
<X>1239</X>
<Y>88</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_InterventiMtz_AnagAmbitoGuasto" ZOrder="29" LineWidth="11">
<RoutePoints>
<Point>
<X>511</X>
<Y>142</Y>
</Point>
<Point>
<X>511</X>
<Y>217</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_InterventiMtz_AnagImpianti" ZOrder="30" LineWidth="11">
<RoutePoints>
<Point>
<X>810</X>
<Y>429</Y>
</Point>
<Point>
<X>732</X>
<Y>429</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_InterventiMtz_AnagPriorita" ZOrder="27" LineWidth="11">
<RoutePoints>
<Point>
<X>453</X>
<Y>437</Y>
</Point>
<Point>
<X>484</X>
<Y>437</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_InterventiMtz_AnagTipoGuasto" ZOrder="25" LineWidth="11">
<RoutePoints>
<Point>
<X>353</X>
<Y>260</Y>
</Point>
<Point>
<X>484</X>
<Y>260</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:v_intervExp_InterventoOpMtz" ZOrder="20" LineWidth="11">
<RoutePoints>
<Point>
<X>631</X>
<Y>560</Y>
</Point>
<Point>
<X>631</X>
<Y>599</Y>
</Point>
<Point>
<X>793</X>
<Y>599</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_MtzProgPending_MtzProgrammata" ZOrder="16" LineWidth="11">
<RoutePoints>
<Point>
<X>1141</X>
<Y>846</Y>
</Point>
<Point>
<X>1117</X>
<Y>846</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_FiltroImpianti_AnagImpianti" ZOrder="14" LineWidth="11">
<RoutePoints>
<Point>
<X>1017</X>
<Y>557</Y>
</Point>
<Point>
<X>1017</X>
<Y>665</Y>
</Point>
<Point>
<X>1399</X>
<Y>665</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:v_macchine_FiltroMacchine" ZOrder="12" LineWidth="11">
<RoutePoints>
<Point>
<X>1362</X>
<Y>445</Y>
</Point>
<Point>
<X>1445</X>
<Y>445</Y>
</Point>
<Point>
<X>1445</X>
<Y>290</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_FiltroStati_AnagStati" ZOrder="8" LineWidth="11">
<RoutePoints>
<Point>
<X>922</X>
<Y>178</Y>
</Point>
<Point>
<X>922</X>
<Y>129</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_AnagCausali_AnagFamMacchine" ZOrder="4" LineWidth="11">
<RoutePoints>
<Point>
<X>1328</X>
<Y>-9</Y>
</Point>
<Point>
<X>1433</X>
<Y>-9</Y>
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_InterventoOpMtz_AnagrOperMtz" ZOrder="1" LineWidth="11">
<RoutePoints>
<Point>
<X>754</X>
<Y>712</Y>
</Point>
<Point>
<X>793</X>
<Y>712</Y>
</Point>
</RoutePoints>
</Connector>
</Connectors>
</DiagramLayout>
File diff suppressed because it is too large Load Diff
+1
View File
@@ -0,0 +1 @@

+907
View File
@@ -0,0 +1,907 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DS_utility" targetNamespace="http://tempuri.org/DS_utility.xsd" xmlns:mstns="http://tempuri.org/DS_utility.xsd" xmlns="http://tempuri.org/DS_utility.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:annotation>
<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" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selImpiantiTableAdapter" GeneratorDataComponentClassName="v_selImpiantiTableAdapter" Name="v_selImpianti" UserDataComponentName="v_selImpiantiTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selImpianti" 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 value, label FROM dbo.v_selImpianti
order by label</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="value" DataSetColumn="value" />
<Mapping SourceColumn="label" DataSetColumn="label" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selImpianti" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getImpiantiValidi" GetMethodModifier="Public" GetMethodName="getImpiantiValidi" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getImpiantiValidi" UserSourceName="getImpiantiValidi">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT label, value FROM v_selImpianti WHERE (value &gt; 1) ORDER BY label</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selMacchineTableAdapter" GeneratorDataComponentClassName="v_selMacchineTableAdapter" Name="v_selMacchine" UserDataComponentName="v_selMacchineTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selMacchine" 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 * FROM dbo.v_selMacchine</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="value" DataSetColumn="value" />
<Mapping SourceColumn="label" DataSetColumn="label" />
<Mapping SourceColumn="conditio" DataSetColumn="conditio" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selMacchine" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByConditio" GetMethodModifier="Public" GetMethodName="getByConditio" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByConditio" UserSourceName="getByConditio">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT * FROM dbo.v_selMacchine
where conditio=@conditio</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="conditio" ColumnName="conditio" DataSourceName="GIM.dbo.v_selMacchine" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@conditio" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="conditio" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selPriorTableAdapter" GeneratorDataComponentClassName="v_selPriorTableAdapter" Name="v_selPrior" UserDataComponentName="v_selPriorTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selPrior" 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="false">
<CommandText>SELECT value, label FROM dbo.v_selPrior</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="value" DataSetColumn="value" />
<Mapping SourceColumn="label" DataSetColumn="label" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selAmbitiTableAdapter" GeneratorDataComponentClassName="v_selAmbitiTableAdapter" Name="v_selAmbiti" UserDataComponentName="v_selAmbitiTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selAmbiti" 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="false">
<CommandText>SELECT value, label
FROM v_selAmbiti
ORDER BY label</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="value" DataSetColumn="value" />
<Mapping SourceColumn="label" DataSetColumn="label" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selCausaliMacchineTableAdapter" GeneratorDataComponentClassName="v_selCausaliMacchineTableAdapter" Name="v_selCausaliMacchine" UserDataComponentName="v_selCausaliMacchineTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selCausaliMacchine" 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="false">
<CommandText>SELECT value, label, conditio FROM dbo.v_selCausaliMacchine</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="value" DataSetColumn="value" />
<Mapping SourceColumn="label" DataSetColumn="label" />
<Mapping SourceColumn="conditio" DataSetColumn="conditio" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selCausaliMacchine" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByConditio" GetMethodModifier="Public" GetMethodName="getByConditio" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByConditio" UserSourceName="getByConditio">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT value, label, conditio
FROM v_selCausaliMacchine
WHERE (conditio = @conditio)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="conditio" ColumnName="conditio" DataSourceName="GIM.dbo.v_selCausaliMacchine" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@conditio" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="conditio" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selTipoGuastoTableAdapter" GeneratorDataComponentClassName="v_selTipoGuastoTableAdapter" Name="v_selTipoGuasto" UserDataComponentName="v_selTipoGuastoTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selTipoGuasto" 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="false">
<CommandText>SELECT value, label FROM dbo.v_selTipoGuasto</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="value" DataSetColumn="value" />
<Mapping SourceColumn="label" DataSetColumn="label" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selSemaforiTableAdapter" GeneratorDataComponentClassName="v_selSemaforiTableAdapter" Name="v_selSemafori" UserDataComponentName="v_selSemaforiTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selSemafori" 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="false">
<CommandText>SELECT value, label FROM dbo.v_selSemafori</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="value" DataSetColumn="value" />
<Mapping SourceColumn="label" DataSetColumn="label" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selFreqTableAdapter" GeneratorDataComponentClassName="v_selFreqTableAdapter" Name="v_selFreq" UserDataComponentName="v_selFreqTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selFreq" 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="false">
<CommandText>SELECT value, label FROM dbo.v_selFreq</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="value" DataSetColumn="value" />
<Mapping SourceColumn="label" DataSetColumn="label" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selStatoTableAdapter" GeneratorDataComponentClassName="v_selStatoTableAdapter" Name="v_selStato" UserDataComponentName="v_selStatoTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selStato" 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="false">
<CommandText>SELECT value, label FROM dbo.v_selStato</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="value" DataSetColumn="value" />
<Mapping SourceColumn="label" DataSetColumn="label" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selPeriodiTradTableAdapter" GeneratorDataComponentClassName="v_selPeriodiTradTableAdapter" Name="v_selPeriodiTrad" UserDataComponentName="v_selPeriodiTradTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selPeriodiTrad" 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 value, label, conditio FROM dbo.v_selPeriodiTrad</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="value" DataSetColumn="value" />
<Mapping SourceColumn="label" DataSetColumn="label" />
<Mapping SourceColumn="conditio" DataSetColumn="conditio" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selPeriodiTrad" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByConditio" GetMethodModifier="Public" GetMethodName="getByConditio" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByConditio" UserSourceName="getByConditio">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT conditio, label, value FROM v_selPeriodiTrad WHERE (conditio = @conditio) ORDER BY value</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="conditio" ColumnName="conditio" DataSourceName="GIM.dbo.v_selPeriodiTrad" DataTypeServer="nvarchar(3)" DbType="String" Direction="Input" ParameterName="@conditio" Precision="0" ProviderType="NVarChar" Scale="0" Size="3" SourceColumn="conditio" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_elencoImpiantiMacchineTableAdapter" GeneratorDataComponentClassName="v_elencoImpiantiMacchineTableAdapter" Name="v_elencoImpiantiMacchine" UserDataComponentName="v_elencoImpiantiMacchineTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_elencoImpiantiMacchine" 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="false">
<CommandText>SELECT codImpianto, nomeImpianto, tipoImpianto, codMacchina, nomeMacchina, modello, matricola, anno, kgPeso, kwConsumo FROM dbo.v_elencoImpiantiMacchine</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="codImpianto" DataSetColumn="codImpianto" />
<Mapping SourceColumn="nomeImpianto" DataSetColumn="nomeImpianto" />
<Mapping SourceColumn="tipoImpianto" DataSetColumn="tipoImpianto" />
<Mapping SourceColumn="codMacchina" DataSetColumn="codMacchina" />
<Mapping SourceColumn="nomeMacchina" DataSetColumn="nomeMacchina" />
<Mapping SourceColumn="modello" DataSetColumn="modello" />
<Mapping SourceColumn="matricola" DataSetColumn="matricola" />
<Mapping SourceColumn="anno" DataSetColumn="anno" />
<Mapping SourceColumn="kgPeso" DataSetColumn="kgPeso" />
<Mapping SourceColumn="kwConsumo" DataSetColumn="kwConsumo" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_elencoIntervFiltTableAdapter" GeneratorDataComponentClassName="v_elencoIntervFiltTableAdapter" Name="v_elencoIntervFilt" UserDataComponentName="v_elencoIntervFiltTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_elencoIntervFilt" 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 * FROM dbo.v_elencoIntervFilt</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="numIntMtz" DataSetColumn="numIntMtz" />
<Mapping SourceColumn="richiesta" DataSetColumn="richiesta" />
<Mapping SourceColumn="codImpianto" DataSetColumn="codImpianto" />
<Mapping SourceColumn="nomeImpianto" DataSetColumn="nomeImpianto" />
<Mapping SourceColumn="codMacchina" DataSetColumn="codMacchina" />
<Mapping SourceColumn="nomeMacchina" DataSetColumn="nomeMacchina" />
<Mapping SourceColumn="descrizione" DataSetColumn="descrizione" />
<Mapping SourceColumn="inizioIntervento" DataSetColumn="inizioIntervento" />
<Mapping SourceColumn="fineIntervento" DataSetColumn="fineIntervento" />
<Mapping SourceColumn="descrizioneIntervento" DataSetColumn="descrizioneIntervento" />
<Mapping SourceColumn="descrCausale" DataSetColumn="descrCausale" />
<Mapping SourceColumn="minErogati" DataSetColumn="minErogati" />
<Mapping SourceColumn="durataMtz" DataSetColumn="durataMtz" />
<Mapping SourceColumn="durataOff" DataSetColumn="durataOff" />
<Mapping SourceColumn="guasto" DataSetColumn="guasto" />
<Mapping SourceColumn="idxStato" DataSetColumn="idxStato" />
<Mapping SourceColumn="idxImpianto" DataSetColumn="idxImpianto" />
<Mapping SourceColumn="idxMacchina" DataSetColumn="idxMacchina" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_elencoIntervFilt" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByIntervDate" GetMethodModifier="Public" GetMethodName="getByIntervDate" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByIntervDate" UserSourceName="getByIntervDate">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT codImpianto, codMacchina, descrCausale, descrizione, descrizioneIntervento, durataMtz, durataOff, fineIntervento, guasto, idxImpianto, idxMacchina, idxStato, inizioIntervento, minErogati, nomeImpianto, nomeMacchina, numIntMtz, richiesta FROM v_elencoIntervFilt WHERE (richiesta BETWEEN @inizio AND @fine)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="inizio" ColumnName="richiesta" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@inizio" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="richiesta" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="fine" ColumnName="richiesta" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@fine" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="richiesta" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_elencoIntervFilt" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByIntervDateUsernameFilt" GetMethodModifier="Public" GetMethodName="getByIntervDateUsernameFilt" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByIntervDateUsernameFilt" UserSourceName="getByIntervDateUsernameFilt">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT v_elencoIntervFilt.codImpianto, v_elencoIntervFilt.codMacchina, v_elencoIntervFilt.descrCausale, v_elencoIntervFilt.descrizione, v_elencoIntervFilt.descrizioneIntervento, v_elencoIntervFilt.durataMtz, v_elencoIntervFilt.durataOff, v_elencoIntervFilt.fineIntervento, v_elencoIntervFilt.guasto, v_elencoIntervFilt.idxImpianto, v_elencoIntervFilt.idxMacchina, v_elencoIntervFilt.idxStato, v_elencoIntervFilt.inizioIntervento, v_elencoIntervFilt.minErogati, v_elencoIntervFilt.nomeImpianto, v_elencoIntervFilt.nomeMacchina, v_elencoIntervFilt.numIntMtz, v_elencoIntervFilt.richiesta FROM v_elencoIntervFilt INNER JOIN FiltroImpianti ON v_elencoIntervFilt.idxImpianto = FiltroImpianti.idxImpianto INNER JOIN FiltroMacchine ON v_elencoIntervFilt.idxMacchina = FiltroMacchine.idxMacchina INNER JOIN FiltroStati ON v_elencoIntervFilt.idxStato = FiltroStati.idxStato WHERE (v_elencoIntervFilt.richiesta BETWEEN @inizio AND @fine) AND (FiltroStati.username = @username) AND (FiltroMacchine.username = @username) AND (FiltroImpianti.username = @username)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="inizio" ColumnName="richiesta" DataSourceName="GIM.dbo.v_elencoIntervFilt" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@inizio" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="richiesta" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="fine" ColumnName="richiesta" DataSourceName="GIM.dbo.v_elencoIntervFilt" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@fine" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="richiesta" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="username" ColumnName="username" DataSourceName="GIM.dbo.FiltroStati" DataTypeServer="nvarchar(50)" DbType="String" Direction="Input" ParameterName="@username" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumn="username" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="sp_elencoIntMTBF_MTTRTableAdapter" GeneratorDataComponentClassName="sp_elencoIntMTBF_MTTRTableAdapter" Name="sp_elencoIntMTBF_MTTR" UserDataComponentName="sp_elencoIntMTBF_MTTRTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.sp_elencoIntMTBF_MTTR" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.sp_elencoIntMTBF_MTTR</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@inizio" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@fine" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="varchar" DbType="AnsiString" Direction="Input" ParameterName="@username" Precision="0" ProviderType="VarChar" Scale="0" Size="100" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="numInterventi" DataSetColumn="numInterventi" />
<Mapping SourceColumn="totOreMtz" DataSetColumn="totOreMtz" />
<Mapping SourceColumn="totOreOfficina" DataSetColumn="totOreOfficina" />
<Mapping SourceColumn="codImpianto" DataSetColumn="codImpianto" />
<Mapping SourceColumn="codMacchina" DataSetColumn="codMacchina" />
<Mapping SourceColumn="nomeImpianto" DataSetColumn="nomeImpianto" />
<Mapping SourceColumn="nomeMacchina" DataSetColumn="nomeMacchina" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selFamTableAdapter" GeneratorDataComponentClassName="v_selFamTableAdapter" Name="v_selFam" UserDataComponentName="v_selFamTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selFam" 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="false">
<CommandText>SELECT value, label FROM dbo.v_selFam</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="value" DataSetColumn="value" />
<Mapping SourceColumn="label" DataSetColumn="label" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_selOperMtzTableAdapter" GeneratorDataComponentClassName="v_selOperMtzTableAdapter" Name="v_selOperMtz" UserDataComponentName="v_selOperMtzTableAdapter">
<MainSource>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selOperMtz" 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 * FROM v_selOperMtz</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="label" DataSetColumn="label" />
<Mapping SourceColumn="value" DataSetColumn="value" />
</Mappings>
<Sources>
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.v_selOperMtz" DbObjectType="View" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByValue" GetMethodModifier="Public" GetMethodName="getByValue" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByValue" UserSourceName="getByValue">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT * FROM v_selOperMtz WHERE (value = @value)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="value" ColumnName="value" DataSourceName="GIM.dbo.v_selOperMtz" DataTypeServer="nvarchar(10)" DbType="String" Direction="Input" ParameterName="@value" Precision="0" ProviderType="NVarChar" Scale="0" Size="10" SourceColumn="value" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_mtzProgPendingExpTableAdapter" GeneratorDataComponentClassName="v_mtzProgPendingExpTableAdapter" Name="v_mtzProgPendingExp" UserDataComponentName="v_mtzProgPendingExpTableAdapter">
<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>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="codImpianto" DataSetColumn="codImpianto" />
<Mapping SourceColumn="nomeImpianto" DataSetColumn="nomeImpianto" />
<Mapping SourceColumn="codMacchina" DataSetColumn="codMacchina" />
<Mapping SourceColumn="nomeMacchina" DataSetColumn="nomeMacchina" />
<Mapping SourceColumn="data" DataSetColumn="data" />
<Mapping SourceColumn="descrizione" DataSetColumn="descrizione" />
<Mapping SourceColumn="descrPriorita" DataSetColumn="descrPriorita" />
<Mapping SourceColumn="isFermo" DataSetColumn="isFermo" />
<Mapping SourceColumn="descrTipo" DataSetColumn="descrTipo" />
<Mapping SourceColumn="idxPending" DataSetColumn="idxPending" />
</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">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT codImpianto, codMacchina, data, descrPriorita, descrTipo, descrizione, idxPending, isFermo, nomeImpianto, nomeMacchina FROM v_mtzProgPendingExp WHERE (data &lt;= @dataMax) ORDER BY data</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="dataMax" ColumnName="data" DataSourceName="GIM.dbo.v_mtzProgPendingExp" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@dataMax" Precision="0" ProviderType="DateTime" Scale="0" Size="8" SourceColumn="data" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="DS_utility" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="DS_utility" msprop:Generator_DataSetName="DS_utility">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<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:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="156" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<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: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: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:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="57" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<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: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_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" />
<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_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: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" 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_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_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" 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_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" 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="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="50" />
</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>
<xs:restriction base="xs:string">
<xs:maxLength value="500" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="descrPriorita" msprop:Generator_UserColumnName="descrPriorita" msprop:Generator_ColumnVarNameInTable="columndescrPriorita" msprop:Generator_ColumnPropNameInRow="descrPriorita" msprop:Generator_ColumnPropNameInTable="descrPrioritaColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="isFermo" msprop:Generator_UserColumnName="isFermo" msprop:Generator_ColumnVarNameInTable="columnisFermo" msprop:Generator_ColumnPropNameInRow="isFermo" msprop:Generator_ColumnPropNameInTable="isFermoColumn" type="xs:boolean" minOccurs="0" />
<xs:element name="descrTipo" msprop:Generator_UserColumnName="descrTipo" msprop:Generator_ColumnVarNameInTable="columndescrTipo" msprop:Generator_ColumnPropNameInRow="descrTipo" msprop:Generator_ColumnPropNameInTable="descrTipoColumn" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</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:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:v_selImpianti" />
<xs:field xpath="mstns:value" />
</xs:unique>
<xs:unique name="v_selMacchine_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:v_selMacchine" />
<xs:field xpath="mstns:value" />
</xs:unique>
<xs:unique name="v_selPrior_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:v_selPrior" />
<xs:field xpath="mstns:value" />
</xs:unique>
<xs:unique name="v_selAmbiti_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:v_selAmbiti" />
<xs:field xpath="mstns:value" />
</xs:unique>
<xs:unique name="v_selTipoGuasto_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:v_selTipoGuasto" />
<xs:field xpath="mstns:value" />
</xs:unique>
<xs:unique name="v_selSemafori_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:v_selSemafori" />
<xs:field xpath="mstns:value" />
</xs:unique>
<xs:unique name="v_selFreq_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:v_selFreq" />
<xs:field xpath="mstns:value" />
</xs:unique>
<xs:unique name="v_selStato_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:v_selStato" />
<xs:field xpath="mstns:value" />
</xs:unique>
<xs:unique name="v_selPeriodiTradKey1">
<xs:selector xpath=".//mstns:v_selPeriodiTrad" />
<xs:field xpath="mstns:value" />
<xs:field xpath="mstns:conditio" />
</xs:unique>
<xs:unique name="v_elencoIntervFilt_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:v_elencoIntervFilt" />
<xs:field xpath="mstns:numIntMtz" />
</xs:unique>
<xs:unique name="v_selFam_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:v_selFam" />
<xs:field xpath="mstns:value" />
</xs:unique>
<xs:unique name="v_selOperMtz_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<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>
+27
View File
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<!--<autogenerated>
This code was generated by a tool to store the dataset designer's layout information.
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">
<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" />
<Shape ID="DesignTable:v_selPrior" ZOrder="14" X="686" Y="79" Height="105" Width="199" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_selAmbiti" ZOrder="13" X="944" Y="83" Height="105" Width="208" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_selCausaliMacchine" ZOrder="12" X="957" Y="269" Height="139" Width="266" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:v_selTipoGuasto" ZOrder="11" X="1014" Y="466" Height="105" Width="236" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_selSemafori" ZOrder="10" X="666" Y="249" Height="105" Width="222" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_selFreq" ZOrder="9" X="744" Y="492" Height="105" Width="196" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_selStato" ZOrder="5" X="349" Y="327" Height="105" Width="201" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
<Shape ID="DesignTable:v_selPeriodiTrad" ZOrder="8" X="447" Y="478" Height="139" Width="237" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
<Shape ID="DesignTable:v_elencoImpiantiMacchine" ZOrder="7" X="853" Y="692" Height="241" Width="295" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="194" />
<Shape ID="DesignTable:v_elencoIntervFilt" ZOrder="4" X="53" Y="495" Height="309" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
<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" />
</Shapes>
<Connectors />
</DiagramLayout>
+140
View File
@@ -0,0 +1,140 @@
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.30729</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{F66427C8-882A-4EF8-B42F-EF142906DC8C}</ProjectGuid>
<ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>GIM_data</RootNamespace>
<AssemblyName>GIM_data</AssemblyName>
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.ReportViewer.WinForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" />
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Core">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data.DataSetExtensions">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Web.Extensions">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Xml.Linq">
<RequiredTargetFramework>3.5</RequiredTargetFramework>
</Reference>
<Reference Include="System.Drawing" />
<Reference Include="System.Web" />
<Reference Include="System.Xml" />
<Reference Include="System.Configuration" />
<Reference Include="System.Web.Services" />
<Reference Include="System.EnterpriseServices" />
<Reference Include="System.Web.Mobile" />
</ItemGroup>
<ItemGroup>
<Content Include="Web.config" />
</ItemGroup>
<ItemGroup>
<Compile Include="DS_applicazione.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>DS_applicazione.xsd</DependentUpon>
</Compile>
<Compile Include="DS_utility.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>DS_utility.xsd</DependentUpon>
</Compile>
<Compile Include="enumerazioni.cs" />
<Compile Include="mtzProgr.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="reportExporter.cs" />
<Compile Include="reportPrinter.cs" />
<Compile Include="selData.cs" />
<Compile Include="TA_app.cs" />
<Compile Include="WebGimUtils.cs" />
</ItemGroup>
<ItemGroup>
<None Include="DS_applicazione.xsc">
<DependentUpon>DS_applicazione.xsd</DependentUpon>
</None>
<None Include="DS_applicazione.xsd">
<Generator>MSDataSetGenerator</Generator>
<LastGenOutput>DS_applicazione.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</None>
<None Include="DS_applicazione.xss">
<DependentUpon>DS_applicazione.xsd</DependentUpon>
</None>
<None Include="DS_utility.xsc">
<DependentUpon>DS_utility.xsd</DependentUpon>
</None>
<None Include="DS_utility.xsd">
<Generator>MSDataSetGenerator</Generator>
<LastGenOutput>DS_utility.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</None>
<None Include="DS_utility.xss">
<DependentUpon>DS_utility.xsd</DependentUpon>
</None>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\SteamWare\SteamWare.csproj">
<Project>{2872DCFE-8B46-43B2-BAA0-842A816A2DD5}</Project>
<Name>SteamWare</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="App_Data\" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<Import Project="$(MSBuildExtensionsPath)\Microsoft\VisualStudio\v9.0\WebApplications\Microsoft.WebApplication.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
<WebProjectProperties>
<UseIIS>False</UseIIS>
<AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>51125</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>
</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer>
<CustomServerUrl>
</CustomServerUrl>
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
</WebProjectProperties>
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
</Project>
@@ -0,0 +1,32 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}" xmlns="">
<WebProjectProperties>
<StartPageUrl>
</StartPageUrl>
<StartAction>CurrentPage</StartAction>
<AspNetDebugging>True</AspNetDebugging>
<NativeDebugging>False</NativeDebugging>
<SQLDebugging>False</SQLDebugging>
<PublishCopyOption>RunFiles</PublishCopyOption>
<PublishTargetLocation>
</PublishTargetLocation>
<PublishDeleteAllFiles>False</PublishDeleteAllFiles>
<PublishCopyAppData>True</PublishCopyAppData>
<ExternalProgram>
</ExternalProgram>
<StartExternalURL>
</StartExternalURL>
<StartCmdLineArguments>
</StartCmdLineArguments>
<StartWorkingDirectory>
</StartWorkingDirectory>
<EnableENC>False</EnableENC>
<AlwaysStartWebServerOnDebug>True</AlwaysStartWebServerOnDebug>
<EnableWcfTestClientForSVC>False</EnableWcfTestClientForSVC>
</WebProjectProperties>
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
</Project>
@@ -0,0 +1,35 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("GIM_data")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("GIM_data")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2010")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("3d5900ae-111a-45be-96b3-d9e4606ca793")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
+153
View File
@@ -0,0 +1,153 @@
using System;
using System.Collections.Generic;
using System.Web;
using SteamWare;
/// <summary>
/// Summary description for TA_app
/// </summary>
public class TA_app
{
#region table adapters
public GIM_data.DS_applicazioneTableAdapters.LogUpdateDbTableAdapter taLogUpdate;
public GIM_data.DS_applicazioneTableAdapters.AnagImpiantiTableAdapter taImpianti;
public GIM_data.DS_applicazioneTableAdapters.v_macchineTableAdapter taMacchine;
public GIM_data.DS_utilityTableAdapters.v_selImpiantiTableAdapter taSelImpianti;
public GIM_data.DS_utilityTableAdapters.v_selMacchineTableAdapter taSelMacchine;
public GIM_data.DS_applicazioneTableAdapters.v_selFamMaccTableAdapter taMacc2Fam;
public GIM_data.DS_applicazioneTableAdapters.v_intervExpTableAdapter taInterventiMtz;
public GIM_data.DS_applicazioneTableAdapters.AnagStatiTableAdapter taStati;
public GIM_data.DS_applicazioneTableAdapters.AnagPrioritaTableAdapter taPrior;
public GIM_data.DS_applicazioneTableAdapters.InterventoOpMtzTableAdapter taIntOpMtz;
public GIM_data.DS_applicazioneTableAdapters.v_mtzProgExpTableAdapter taMtzPro;
public GIM_data.DS_utilityTableAdapters.v_elencoImpiantiMacchineTableAdapter taElencoImpMacch;
public GIM_data.DS_utilityTableAdapters.v_elencoIntervFiltTableAdapter taElencoIntFilt;
public GIM_data.DS_utilityTableAdapters.sp_elencoIntMTBF_MTTRTableAdapter taElenco_MTBF_MTTR;
public GIM_data.DS_applicazioneTableAdapters.CalendFesteFerieTableAdapter taCalFF;
public GIM_data.DS_applicazioneTableAdapters.OreAperturaSettTableAdapter taOreApert;
public GIM_data.DS_applicazioneTableAdapters.FiltroImpiantiTableAdapter taFiltImp;
public GIM_data.DS_applicazioneTableAdapters.FiltroMacchineTableAdapter taFiltMac;
public GIM_data.DS_applicazioneTableAdapters.FiltroStatiTableAdapter taFiltSta;
public GIM_data.DS_applicazioneTableAdapters.AnagCausaliTableAdapter taAnagCau;
public GIM_data.DS_utilityTableAdapters.v_selOperMtzTableAdapter taSelMatrOp;
#endregion
protected TA_app()
{
// avvio table adapters
taLogUpdate = new GIM_data.DS_applicazioneTableAdapters.LogUpdateDbTableAdapter();
taImpianti = new GIM_data.DS_applicazioneTableAdapters.AnagImpiantiTableAdapter();
taMacchine = new GIM_data.DS_applicazioneTableAdapters.v_macchineTableAdapter();
taSelImpianti = new GIM_data.DS_utilityTableAdapters.v_selImpiantiTableAdapter();
taSelMacchine = new GIM_data.DS_utilityTableAdapters.v_selMacchineTableAdapter();
taMacc2Fam = new GIM_data.DS_applicazioneTableAdapters.v_selFamMaccTableAdapter();
taInterventiMtz = new GIM_data.DS_applicazioneTableAdapters.v_intervExpTableAdapter();
taStati = new GIM_data.DS_applicazioneTableAdapters.AnagStatiTableAdapter();
taPrior = new GIM_data.DS_applicazioneTableAdapters.AnagPrioritaTableAdapter();
taIntOpMtz = new GIM_data.DS_applicazioneTableAdapters.InterventoOpMtzTableAdapter();
taMtzPro = new GIM_data.DS_applicazioneTableAdapters.v_mtzProgExpTableAdapter();
taElencoImpMacch = new GIM_data.DS_utilityTableAdapters.v_elencoImpiantiMacchineTableAdapter();
taElencoIntFilt = new GIM_data.DS_utilityTableAdapters.v_elencoIntervFiltTableAdapter();
taElenco_MTBF_MTTR = new GIM_data.DS_utilityTableAdapters.sp_elencoIntMTBF_MTTRTableAdapter();
taCalFF = new GIM_data.DS_applicazioneTableAdapters.CalendFesteFerieTableAdapter();
taOreApert = new GIM_data.DS_applicazioneTableAdapters.OreAperturaSettTableAdapter();
taFiltImp = new GIM_data.DS_applicazioneTableAdapters.FiltroImpiantiTableAdapter();
taFiltMac = new GIM_data.DS_applicazioneTableAdapters.FiltroMacchineTableAdapter();
taFiltSta = new GIM_data.DS_applicazioneTableAdapters.FiltroStatiTableAdapter();
taAnagCau = new GIM_data.DS_applicazioneTableAdapters.AnagCausaliTableAdapter();
taSelMatrOp = new GIM_data.DS_utilityTableAdapters.v_selOperMtzTableAdapter();
}
/// <summary>
/// Singleton
/// </summary>
public static TA_app obj = new TA_app();
/// <summary>
/// restituisce versione corrente del db applicativo
/// </summary>
public int appDB_act
{
get
{
int answ = -1;
try
{
answ = (int)taLogUpdate.getDbVers();
}
catch
{
logger.lg.scriviLog("Errore recupero versione DB applicativo GIM!", tipoLog.EXCEPTION);
}
return answ;
}
}
/// <summary>
/// restituisce versione corrente del db vocabolario
/// </summary>
public int vocDB_act
{
get
{
int answ = -1;
try
{
answ = (int)DataWrap.DW.taLogVoc.getDbVers();
}
catch
{
logger.lg.scriviLog("Errore recupero versione DB Vocabolario!", tipoLog.EXCEPTION);
}
return answ;
}
}
/// <summary>
/// restituisce versione corrente del db anagrafica
/// </summary>
public int anaDB_act
{
get
{
int answ = -1;
try
{
answ = answ = (int)DataWrap.DW.taLogAna.getDbVers();
}
catch
{
logger.lg.scriviLog("Errore recupero versione DB Anagrafica!", tipoLog.EXCEPTION);
}
return answ;
}
}
/// <summary>
/// restituisce versione richiesta per il db applicativo
/// </summary>
public int appDB_req
{
get
{
return memLayer.ML.confReadInt("dbAppVers");
}
}
/// <summary>
/// restituisce versione richiesta per il db vocabolario
/// </summary>
public int vocDB_req
{
get
{
return memLayer.ML.confReadInt("dbVocabVers");
}
}
/// <summary>
/// restituisce versione richiesta per il db anagrafica
/// </summary>
public int anaDB_req
{
get
{
return memLayer.ML.confReadInt("dbAuthVers");
}
}
}
+125
View File
@@ -0,0 +1,125 @@
<?xml version="1.0"?>
<configuration>
<configSections>
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
</sectionGroup>
</sectionGroup>
</sectionGroup>
</configSections>
<appSettings/>
<connectionStrings/>
<system.web>
<!--
Set compilation debug="true" to insert debugging
symbols into the compiled page. Because this
affects performance, set this value to true only
during development.
-->
<compilation debug="false">
<assemblies>
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
</assemblies>
</compilation>
<!--
The <authentication> section enables configuration
of the security authentication mode used by
ASP.NET to identify an incoming user.
-->
<authentication mode="Windows" />
<!--
The <customErrors> section enables configuration
of what to do if/when an unhandled error occurs
during the execution of a request. Specifically,
it enables developers to configure html error pages
to be displayed in place of a error stack trace.
<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
<error statusCode="403" redirect="NoAccess.htm" />
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</controls>
</pages>
<httpHandlers>
<remove verb="*" path="*.asmx"/>
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</httpModules>
</system.web>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" warningLevel="4"
type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<providerOption name="CompilerVersion" value="v3.5"/>
<providerOption name="WarnAsError" value="false"/>
</compiler>
</compilers>
</system.codedom>
<!--
The system.webServer section is required for running ASP.NET AJAX under Internet
Information Services 7.0. It is not necessary for previous version of IIS.
-->
<system.webServer>
<validation validateIntegratedModeConfiguration="false"/>
<modules>
<remove name="ScriptModule" />
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated"/>
<remove name="ScriptHandlerFactory" />
<remove name="ScriptHandlerFactoryAppServices" />
<remove name="ScriptResource" />
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode"
type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode"
type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</handlers>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
+49
View File
@@ -0,0 +1,49 @@
using System;
using System.Collections.Generic;
using System.Web;
using SteamWare;
/// <summary>
/// Utility varie di WebGim
/// </summary>
public class WebGimUtils
{
protected WebGimUtils()
{
}
/// <summary>
/// calcola le ore lavorative equivalenti ad un dato periodo calcolando la settimana tipo e togliendo le festività eventualmente presenti
/// </summary>
/// <param name="periodo"></param>
/// <returns></returns>
public double oreEquivalenti(intervalloDate periodo)
{
double answ = 0;
// carico valori di default
double oreSett = (double)TA_app.obj.taOreApert.oreAperturaSett();
GIM_data.DS_applicazione.OreAperturaSettDataTable tabOre = TA_app.obj.taOreApert.GetData();
GIM_data.DS_applicazione.CalendFesteFerieDataTable tabCalFF = TA_app.obj.taCalFF.getByPeriodo(periodo.inizio, periodo.fine);
// calcolo il numero di settimane comprese nel periodo
int numSett = (int)Math.Floor(periodo.fine.Subtract(periodo.inizio).TotalDays / 7);
// moltiplico per le h/sett
answ = oreSett * numSett;
// aggiungo le ore delle giornate che eccedono il multiplo delle settimane
int numGgRimanenti = (int)(periodo.fine.Subtract(periodo.inizio).TotalDays - numSett * 7);
// NB: dayOfWeek è 0-6 da domenica a sabato...
int ggSett = (int)periodo.inizio.DayOfWeek;
for (int i = 0; i < numGgRimanenti; i++)
{
// il primo giorno è pari al giorno iniziale... e poi calcolo il "modulo" a 7 (con "%")
answ = answ + (double)tabOre[(i + ggSett)%7].apertura;
}
// cerco eventuali festività che cadano nel periodo e le tolgo
foreach (GIM_data.DS_applicazione.CalendFesteFerieRow riga in tabCalFF)
{
answ = answ - (double)tabOre[(int)riga.data.DayOfWeek].apertura;
}
// restituisco risposta
return answ;
}
public static WebGimUtils obj = new WebGimUtils();
}
Binary file not shown.
File diff suppressed because it is too large Load Diff
Binary file not shown.
+24
View File
@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.Web;
/// <summary>
/// Summary description for enumerazioni
/// </summary>
public class enumerazioni
{
public enumerazioni()
{
//
// TODO: Add constructor logic here
//
}
}
public enum tipoSelettore
{
cdc,
impianti,
macchine,
utentiAll,
utentiCdc
}
+172
View File
@@ -0,0 +1,172 @@
using System;
using System.Collections.Generic;
using System.Web;
using SteamWare;
/// <summary>
/// Metodi di gestione della manutenzione programmata
/// </summary>
public class mtzProgr
{
#region table adapters
protected GIM_data.DS_applicazioneTableAdapters.MtzProgrammataTableAdapter taMtzProg;
protected GIM_data.DS_applicazioneTableAdapters.MtzProgPendingTableAdapter taMtzPend;
#endregion
/// <summary>
/// avvio componente
/// </summary>
protected mtzProgr()
{
taMtzPend = new GIM_data.DS_applicazioneTableAdapters.MtzProgPendingTableAdapter();
taMtzProg = new GIM_data.DS_applicazioneTableAdapters.MtzProgrammataTableAdapter();
}
/// <summary>
/// singleton accesso ai metodi di manutenzione programmata
/// </summary>
public static mtzProgr obj = new mtzProgr();
/// <summary>
/// verifica se ci siano interventi pending ed eventualmente li accoda
/// </summary>
public void processaCodaMtzPro()
{
// cerco eventuali interventi scaduti
insertPending();
// metto in coda tutte le ricorrenze non presenti...
rebuildPending();
}
/// <summary>
/// inserisce nelle richieste attuali gli interventi programmati scaduti
/// </summary>
private void insertPending()
{
int richInserted = 0;
//recupero solo gli interventi già "scaduti"
foreach (GIM_data.DS_applicazione.MtzProgPendingRow rigaMtz in taMtzPend.getByDataScad(DateTime.Now))
{
richInserted = insRich(rigaMtz);
// inserisco trasformandoli in richieste ...
if (richInserted != 0) // se va a buon fine
{
logger.lg.scriviLog(string.Format("Accodata la richiesta di manutenzione (programmata) num {0}", richInserted), tipoLog.INFO);
// ...e li tolgo dall'elenco pending
taMtzPend.Delete(rigaMtz.idxPending);
}
else
{
logger.lg.scriviLog(string.Format("Non è stato possibile accodare la richiesta di manutenzione programmata cod {0} relativa alla macchina {1}", rigaMtz.idxIntPro, rigaMtz.idxMacchina), tipoLog.ERROR);
}
}
}
/// <summary>
/// ricostruisce la coda degli intervneti pending
/// </summary>
private void rebuildPending()
{
int multiplo = 0;
int stimaIniz = 0;
double ggEquiv = 0;
TimeSpan distDate;
DateTime adesso = DateTime.Now;
DateTime dataProp;
foreach (GIM_data.DS_applicazione.MtzProgrammataRow rigaMtz in taMtzProg.getNotScheduled())
{
dataProp = rigaMtz.inizio;
// proseguo SOLO se inizio interventi <= data odierna...)
if (rigaMtz.inizio < adesso)
{
//calcolo l'intervallo timeSpan tra inizio interventi e data odierna
distDate = adesso.Subtract(rigaMtz.inizio);
// in base al tipo di intervallo faccio un calcolo grezzo del periodo trascorso...
ggEquiv = distDate.TotalDays;
switch (rigaMtz.codFrequenza)
{
case "dd":
stimaIniz = (int)Math.Floor(ggEquiv / rigaMtz.cadenza);
break;
case "ww":
stimaIniz = (int)Math.Floor(ggEquiv / (rigaMtz.cadenza * 7));
break;
case "MM":
stimaIniz = (int)Math.Floor(ggEquiv / (rigaMtz.cadenza * 30));
break;
case "yy":
stimaIniz = (int)Math.Floor(ggEquiv / (rigaMtz.cadenza * 365));
break;
}
// parto con la stima iniziale decrementata (se >0...)
if (stimaIniz == 0)
{
multiplo = 0;
}
else
{
multiplo = stimaIniz - 1;
}
// ciclo fino a quando la data indicata non è successiva all'adesso...
while (dataProp < adesso)
{
// aggiorno la data di riferimento
switch (rigaMtz.codFrequenza)
{
case "dd":
dataProp = rigaMtz.inizio.AddDays(rigaMtz.cadenza * multiplo);
break;
case "ww":
dataProp = rigaMtz.inizio.AddDays(rigaMtz.cadenza * 7 * multiplo);
break;
case "MM":
dataProp = rigaMtz.inizio.AddMonths(rigaMtz.cadenza * multiplo);
break;
case "yy":
dataProp = rigaMtz.inizio.AddYears(rigaMtz.cadenza * multiplo);
break;
}
multiplo++;
}
// salvo la data trovata...
rigaMtz.inizio = dataProp;
}
// infine inserisco intervento...
insMtzPend(rigaMtz);
}
}
/// <summary>
/// inserisce l'intervento della riga indicata tra quelli "pending"
/// </summary>
/// <param name="riga"></param>
protected void insMtzPend(GIM_data.DS_applicazione.MtzProgrammataRow riga)
{
mtzProgr.obj.taMtzPend.Insert(riga.idxIntPro, riga.idxMacchina, riga.inizio, riga.descrizione, riga.idxPriorita, riga.isFermo, riga.idxTipo);
}
/// <summary>
/// genera la richiesta di manutenzione dalla richeista pending associata
/// </summary>
/// <param name="riga"></param>
/// <returns></returns>
protected int insRich(GIM_data.DS_applicazione.MtzProgPendingRow riga)
{
int? answ = 0;
// calcolo date riferimento...
DateTime adesso = DateTime.Now;
int shift = memLayer.ML.confReadInt("shiftTurno");
int durataTurno = memLayer.ML.confReadInt("durataTurno");
int turno = Convert.ToInt32(Math.Ceiling((double)Convert.ToDouble(DateTime.Now.AddHours(-shift + 1).Hour) / durataTurno));
int idxAmbito = 7; //mtz programmata...
int idxImpianto = 0;
int idxCausale = 1;
try
{
idxImpianto = TA_app.obj.taMacchine.getByIdxMacchina(riga.idxMacchina)[0].idxImpianto;
}
catch (Exception e)
{
logger.lg.scriviLog(string.Format("Errore nel recuperare impianto relativo alla macchina {0}, eccezione {1}", riga.idxMacchina, e), tipoLog.EXCEPTION);
}
// inserisco
TA_app.obj.taInterventiMtz.sp_insRichiesta(adesso, adesso.AddHours(-shift + 1), turno, "PROG", riga.data, idxAmbito, riga.idxPriorita, riga.isFermo, riga.idxTipo, idxImpianto, riga.idxMacchina, riga.descrizione, idxCausale, ref answ);
return (int)answ;
}
}
+220
View File
@@ -0,0 +1,220 @@
using System;
using System.Data;
using SteamWare;
using Microsoft.Reporting.WinForms;
/// <summary>
/// Classe che restituisce uno stream ed i dati accessori per reinviare un report in pdf
/// </summary>
public class reportExporter
{
/// <summary>
/// mimeType del report
/// </summary>
public string mimeType;
/// <summary>
/// encoding dei dati
/// </summary>
public string encoding;
/// <summary>
/// nome estensione
/// </summary>
public string fileNameExtension;
/// <summary>
/// steam di bytes del report
/// </summary>
public byte[] renderedBytes;
/// <summary>
/// metodo protected
/// </summary>
public reportExporter()
{
}
/// <summary>
/// carica i dati richiesti dal report dalla StoredProcedure (filtrando quindi...)
/// </summary>
/// <param name="tipoReport">report ammessi: RichiestaIntervento</param>
/// <param name="idxObj">num int mtz</param>
/// <returns>tabella dati</returns>
private DataTable caricaDati(reportRichiesto tipoReport, string idxObj)
{
DataTable tab = new DataTable();
switch (tipoReport)
{
case reportRichiesto.ElencoMacchine:
tab = (DataTable)TA_app.obj.taElencoImpMacch.GetData();
break;
case reportRichiesto.RichiestaIntervento:
tab = (DataTable)TA_app.obj.taInterventiMtz.getByIdx(Convert.ToInt32(idxObj));
break;
default:
break;
}
return tab;
}
/// <summary>
/// carica i dati richiesti dal report dalla StoredProcedure (filtrando quindi...)
/// </summary>
/// <param name="tipoReport">report ammessi: ElencoMacchine</param>
/// <returns>tabella dati</returns>
private DataTable caricaDati(reportRichiesto tipoReport)
{
DataTable tab = new DataTable();
switch (tipoReport)
{
case reportRichiesto.ElencoMacchine:
tab = (DataTable)TA_app.obj.taElencoImpMacch.GetData();
break;
default:
break;
}
return tab;
}
/// <summary>
/// carica i dati richiesti dal report dalla StoredProcedure (filtrando quindi...)
/// </summary>
/// <param name="tipoReport">report ammessi: ElencoInterventi / MTBF_MTTR</param>
/// <param name="periodoAnalizzato">oggetto che contiene data inizio e data fine dell'analisi richiesta per il report</param>
/// <returns>tabella dati</returns>
private DataTable caricaDati(reportRichiesto tipoReport, intervalloDate periodoAnalizzato, string username)
{
DataTable tab = new DataTable();
switch (tipoReport)
{
case reportRichiesto.ElencoInterventi:
tab = (DataTable)TA_app.obj.taElencoIntFilt.getByIntervDateUsernameFilt(periodoAnalizzato.inizio, periodoAnalizzato.fine, username);
break;
case reportRichiesto.MTBF_MTTR:
tab = (DataTable)TA_app.obj.taElenco_MTBF_MTTR.GetData(periodoAnalizzato.inizio, periodoAnalizzato.fine, username);
break;
default:
break;
}
return tab;
}
/// <summary>
/// renderizza il report in pdf
/// </summary>
/// <param name="tipoReport">report ammessi: ElencoMacchine</param>
/// <returns></returns>
public void popolaPdfStream(reportRichiesto tipoReport)
{
LocalReport report = new LocalReport();
string deviceInfo = "";
switch (tipoReport)
{
case reportRichiesto.ElencoMacchine:
report.ReportPath = @".\MacchineReparti.rdlc";
report.DataSources.Add(new ReportDataSource("WebGim", caricaDati(tipoReport)));
deviceInfo = "<DeviceInfo>" +
" <OutputFormat>PDF</OutputFormat>" +
" <PageWidth>29.7cm</PageWidth>" +
" <PageHeight>21cm</PageHeight>" +
" <MarginTop>0.2cm</MarginTop>" +
" <MarginLeft>0.2cm</MarginLeft>" +
" <MarginRight>0.2cm</MarginRight>" +
" <MarginBottom>0.2cm</MarginBottom>" +
"</DeviceInfo>";
break;
default:
break;
}
createPdfStream(report, deviceInfo);
}
/// <summary>
/// renderizza il report in pdf
/// </summary>
/// <param name="tipoReport">report ammessi: RichiestaIntervento</param>
/// <param name="parametro">idx della richiesta (numIntMtz)</param>
/// <returns></returns>
public void popolaPdfStream(reportRichiesto tipoReport, string parametro)
{
LocalReport report = new LocalReport();
string deviceInfo = "";
switch (tipoReport)
{
case reportRichiesto.RichiestaIntervento:
report.ReportPath = @".\RichiestaIntervento.rdlc";
report.DataSources.Add(new ReportDataSource("WebGim", caricaDati(tipoReport, parametro))); // OCCHIO!!! va messa sorgente dati CORRETTA
deviceInfo = "<DeviceInfo>" +
" <OutputFormat>PDF</OutputFormat>" +
" <PageWidth>21cm</PageWidth>" +
" <PageHeight>29.7cm</PageHeight>" +
" <MarginTop>0.2cm</MarginTop>" +
" <MarginLeft>0.2cm</MarginLeft>" +
" <MarginRight>0.2cm</MarginRight>" +
" <MarginBottom>0.2cm</MarginBottom>" +
"</DeviceInfo>";
break;
default:
break;
}
createPdfStream(report, deviceInfo);
}
/// <summary>
/// renderizza il report in pdf
/// </summary>
/// <param name="tipoReport">report ammessi: ElencoInterventi / MTBF_MTTR</param>
/// <param name="periodoAnalizzato">oggetto che contiene data inizio e data fine dell'analisi richiesta per il report</param>
public void popolaPdfStream(reportRichiesto tipoReport, intervalloDate periodoAnalizzato, string username)
{
LocalReport report = new LocalReport();
string deviceInfo = "";
switch (tipoReport)
{
case reportRichiesto.ElencoInterventi:
report.ReportPath = @".\ReportInterventi.rdlc";
report.DataSources.Add(new ReportDataSource("WebGim", caricaDati(tipoReport, periodoAnalizzato, username)));
deviceInfo = "<DeviceInfo>" +
" <OutputFormat>PDF</OutputFormat>" +
" <PageWidth>21cm</PageWidth>" +
" <PageHeight>29.7cm</PageHeight>" +
" <MarginTop>0.2cm</MarginTop>" +
" <MarginLeft>0.2cm</MarginLeft>" +
" <MarginRight>0.2cm</MarginRight>" +
" <MarginBottom>0.2cm</MarginBottom>" +
"</DeviceInfo>";
break;
case reportRichiesto.MTBF_MTTR:
report.ReportPath = @".\Report_MTBF_MTTR.rdlc";
report.DataSources.Add(new ReportDataSource("WebGim", caricaDati(tipoReport, periodoAnalizzato, username)));
deviceInfo = "<DeviceInfo>" +
" <OutputFormat>PDF</OutputFormat>" +
" <PageWidth>21cm</PageWidth>" +
" <PageHeight>29.7cm</PageHeight>" +
" <MarginTop>0.2cm</MarginTop>" +
" <MarginLeft>0.2cm</MarginLeft>" +
" <MarginRight>0.2cm</MarginRight>" +
" <MarginBottom>0.2cm</MarginBottom>" +
"</DeviceInfo>";
// calcolo le ore totali equivalenti...
ReportParameter[] OreTotali = { new ReportParameter("OreTotali", WebGimUtils.obj.oreEquivalenti(periodoAnalizzato).ToString()) };
report.SetParameters(OreTotali);
break;
default:
break;
}
createPdfStream(report, deviceInfo);
}
/// <summary>
/// crea il vero e proprio stream pdf
/// </summary>
/// <param name="report"></param>
/// <param name="deviceInfo"></param>
private void createPdfStream(LocalReport report, string deviceInfo)
{
// export in PDF
string reportType = "PDF";
Warning[] warnings;
string[] streams;
renderedBytes = report.Render(
reportType,
deviceInfo,
out mimeType,
out encoding,
out fileNameExtension,
out streams,
out warnings);
}
}
+268
View File
@@ -0,0 +1,268 @@
using System;
using System.Collections.Generic;
using System.Data;
using System.Drawing.Imaging;
using System.Drawing.Printing;
using System.IO;
using System.Text;
using SteamWare;
using Microsoft.Reporting.WinForms;
/// <summary>
/// Classe che si occupa di stampare report da reportViewer via printer remota
/// </summary>
public class reportPrinter
{
#region area codice da non modificare
private int m_currentPageIndex;
private IList<Stream> m_streams;
/// <summary>
/// ciclo da fornire al renderizzatore dei report, per salvare 1 immagine da ogni pagina del report
/// </summary>
/// <param name="name"></param>
/// <param name="fileNameExtension"></param>
/// <param name="encoding"></param>
/// <param name="mimeType"></param>
/// <param name="willSeek"></param>
/// <returns></returns>
private Stream CreateStream(string name, string fileNameExtension, Encoding encoding, string mimeType, bool willSeek)
{
Stream stream = new FileStream(SteamWare.SteamwareStrings.getFilePath(@".\temp\" + name + "." + fileNameExtension), FileMode.Create);
m_streams.Add(stream);
return stream;
}
/// <summary>
/// Handler per PrintPageEvents
/// </summary>
/// <param name="sender"></param>
/// <param name="ev"></param>
private void PrintPage(object sender, PrintPageEventArgs ev)
{
Metafile pageImage = new Metafile(m_streams[m_currentPageIndex]);
ev.Graphics.DrawImage(pageImage, ev.PageBounds);
m_currentPageIndex++;
ev.HasMorePages = (m_currentPageIndex < m_streams.Count);
}
/// <summary>
/// funzione di stampa...
/// </summary>
private void Print(string printerName)
{
//const string printerName = "Microsoft Office Document Image Writer";
//const string printerName = "Brother HL-2170W series";
if (m_streams == null || m_streams.Count == 0)
return;
PrintDocument printDoc = new PrintDocument();
printDoc.PrinterSettings.PrinterName = printerName;
if (!printDoc.PrinterSettings.IsValid)
{
logger.lg.scriviLog(String.Format("Can't find printer \"{0}\".", printerName), tipoLog.ERROR);
return;
}
printDoc.PrintPage += new PrintPageEventHandler(PrintPage);
printDoc.Print();
}
/// <summary>
/// Export del report come EMF (Enhanced Metafile) file.
/// </summary>
/// <param name="report"></param>
private void Export(LocalReport report, string deviceInfo)
{
Warning[] warnings;
m_streams = new List<Stream>();
report.Render("Image", deviceInfo, CreateStream, out warnings);
foreach (Stream stream in m_streams) stream.Position = 0;
}
/// <summary>
/// dispone l'applicazione e rilascia le risorse
/// </summary>
public void Dispose()
{
if (m_streams != null)
{
foreach (Stream stream in m_streams)
stream.Close();
m_streams = null;
}
}
#endregion
#region area codice da modificare
/// <summary>
/// carica i dati richiesti dal report dalla StoredProcedure (filtrando quindi...)
/// </summary>
/// <param name="tipoReport">report ammessi: ElencoMacchine / RichiestaIntervento</param>
/// <param name="periodoAnalizzato">oggetto che contiene data inizio e data fine dell'analisi richiesta per il report</param>
/// <returns>tabella dati</returns>
private DataTable caricaDati(reportRichiesto tipoReport, string idxObj)
{
DataTable tab = new DataTable();
switch (tipoReport)
{
case reportRichiesto.ElencoMacchine:
tab = (DataTable)TA_app.obj.taElencoImpMacch.GetData();
break;
case reportRichiesto.RichiestaIntervento:
tab = (DataTable)TA_app.obj.taInterventiMtz.getByIdx(Convert.ToInt32(idxObj));
break;
default:
break;
}
return tab;
}
/// <summary>
/// carica i dati richiesti dal report dalla StoredProcedure (filtrando quindi...)
/// </summary>
/// <param name="tipoReport">report ammessi: ElencoInterventi / MTBF_MTTR</param>
/// <param name="periodoAnalizzato">oggetto che contiene data inizio e data fine dell'analisi richiesta per il report</param>
/// <returns>tabella dati</returns>
private DataTable caricaDati(reportRichiesto tipoReport, intervalloDate periodoAnalizzato, string username)
{
DataTable tab = new DataTable();
switch (tipoReport)
{
case reportRichiesto.ElencoInterventi:
tab = (DataTable)TA_app.obj.taElencoIntFilt.getByIntervDateUsernameFilt(periodoAnalizzato.inizio, periodoAnalizzato.fine, username);
break;
case reportRichiesto.MTBF_MTTR:
tab = (DataTable)TA_app.obj.taElenco_MTBF_MTTR.GetData(periodoAnalizzato.inizio, periodoAnalizzato.fine, username);
break;
default:
break;
}
return tab;
}
/// <summary>
/// Crea un report locale da file rdlc, carica i dati, esporta report come EMF file e quindi lo invia alla stampante
/// </summary>
/// <param name="tipoReport">report ammessi: ElencoMacchine / RichiestaIntervento</param>
/// <param name="printerName">nome completo stampante (rispetto al server)</param>
/// <param name="parametro">numIntMtz (codice numero richiesta)</param>
public void printReport(reportRichiesto tipoReport, string printerName, string parametro)
{
LocalReport report = new LocalReport();
string deviceInfo = "";
switch (tipoReport)
{
case reportRichiesto.ElencoMacchine:
report.ReportPath = @".\MacchineReparti.rdlc";
report.DataSources.Add(new ReportDataSource("WebGim", caricaDati(tipoReport, parametro)));
deviceInfo = "<DeviceInfo>" +
" <OutputFormat>EMF</OutputFormat>" +
" <PageWidth>29.7cm</PageWidth>" +
" <PageHeight>21cm</PageHeight>" +
" <MarginTop>0.2cm</MarginTop>" +
" <MarginLeft>0.2cm</MarginLeft>" +
" <MarginRight>0.2cm</MarginRight>" +
" <MarginBottom>0.2cm</MarginBottom>" +
"</DeviceInfo>";
break;
case reportRichiesto.RichiestaIntervento:
report.ReportPath = @".\RichiestaIntervento.rdlc";
report.DataSources.Add(new ReportDataSource("WebGim", caricaDati(tipoReport, parametro)));
deviceInfo = "<DeviceInfo>" +
" <OutputFormat>EMF</OutputFormat>" +
" <PageWidth>21cm</PageWidth>" +
" <PageHeight>29.7cm</PageHeight>" +
" <MarginTop>0.2cm</MarginTop>" +
" <MarginLeft>0.2cm</MarginLeft>" +
" <MarginRight>0.2cm</MarginRight>" +
" <MarginBottom>0.2cm</MarginBottom>" +
"</DeviceInfo>";
break;
default:
break;
}
doEmfPrint(printerName, report, deviceInfo);
}
/// <summary>
/// Crea un report locale da file rdlc, carica i dati, esporta report come EMF file e quindi lo invia alla stampante
/// </summary>
/// <param name="tipoReport">report ammessi: ElencoInterventi / MTBF_MTTR</param>
/// <param name="printerName">nome completo stampante (rispetto al server)</param>
/// <param name="periodoAnalizzato">oggetto che contiene data inizio e data fine dell'analisi richiesta per il report</param>
public void printReport(reportRichiesto tipoReport, string printerName, intervalloDate periodoAnalizzato, string username)
{
LocalReport report = new LocalReport();
string deviceInfo = "";
switch (tipoReport)
{
case reportRichiesto.ElencoInterventi:
report.ReportPath = @".\ReportInterventi.rdlc";
report.DataSources.Add(new ReportDataSource("WebGim", caricaDati(tipoReport, periodoAnalizzato, username)));
deviceInfo = "<DeviceInfo>" +
" <OutputFormat>EMF</OutputFormat>" +
" <PageWidth>21cm</PageWidth>" +
" <PageHeight>29.7cm</PageHeight>" +
" <MarginTop>0.2cm</MarginTop>" +
" <MarginLeft>0.2cm</MarginLeft>" +
" <MarginRight>0.2cm</MarginRight>" +
" <MarginBottom>0.2cm</MarginBottom>" +
"</DeviceInfo>";
break;
case reportRichiesto.MTBF_MTTR:
report.ReportPath = @".\Report_MTBF_MTTR.rdlc";
report.DataSources.Add(new ReportDataSource("WebGim", caricaDati(tipoReport, periodoAnalizzato, username)));
deviceInfo = "<DeviceInfo>" +
" <OutputFormat>EMF</OutputFormat>" +
" <PageWidth>21cm</PageWidth>" +
" <PageHeight>29.7cm</PageHeight>" +
" <MarginTop>0.2cm</MarginTop>" +
" <MarginLeft>0.2cm</MarginLeft>" +
" <MarginRight>0.2cm</MarginRight>" +
" <MarginBottom>0.2cm</MarginBottom>" +
"</DeviceInfo>";
// calcolo le ore totali equivalenti...
ReportParameter[] OreTotali = { new ReportParameter("OreTotali", WebGimUtils.obj.oreEquivalenti(periodoAnalizzato).ToString()) };
report.SetParameters(OreTotali);
break;
default:
break;
}
doEmfPrint(printerName, report, deviceInfo);
}
/// <summary>
/// esegue print vero e proprio
/// </summary>
/// <param name="printerName"></param>
/// <param name="report"></param>
/// <param name="deviceInfo"></param>
private void doEmfPrint(string printerName, LocalReport report, string deviceInfo)
{
// export in EMF
Export(report, deviceInfo);
m_currentPageIndex = 0;
// stampo
Print(printerName);
// do dispose?
Dispose();
}
/// <summary>
/// oggetto protected
/// </summary>
/// <param name="args"></param>
protected reportPrinter()
{
}
/// <summary>
/// singleton pubblico
/// </summary>
public static reportPrinter obj = new reportPrinter();
#endregion
}
/// <summary>
/// tipologia di report ammessi alla stampa...
/// </summary>
public enum reportRichiesto
{
ElencoInterventi,
ElencoMacchine,
MTBF_MTTR,
RichiestaIntervento
}
+76
View File
@@ -0,0 +1,76 @@
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using SteamWare;
/// <summary>
/// Classe gestione metodi di accesso ai dati embeddati
/// </summary>
public class selData : selettori
{
/// <summary>
/// classe accesso tabelle selettori
/// </summary>
public selData()
{
}
/// <summary>
/// elenco impianti come view value/label
/// </summary>
/// <returns></returns>
public GIM_data.DS_utility.v_selImpiantiDataTable getSelImpianti()
{
return TA_app.obj.taSelImpianti.GetData();
}
/// <summary>
/// elenco macchine come view value/label
/// </summary>
/// <returns></returns>
public GIM_data.DS_utility.v_selMacchineDataTable getSelMacchine()
{
return TA_app.obj.taSelMacchine.GetData();
}
/// <summary>
/// tabella vocabolario
/// </summary>
/// <returns></returns>
public SteamWare.DataLayer_generic.VocabolarioDataTable getVocabolario()
{
return SteamWare.DataWrap.DW.taVocabolario.GetData();
}
/// <summary>
/// tabella lingue
/// </summary>
/// <returns></returns>
public SteamWare.DataLayer_generic.LingueDataTable getLingue()
{
return SteamWare.DataWrap.DW.taLingue.GetData();
}
/// <summary>
/// faccio update del lemma indicato...
/// </summary>
/// <param name="Traduzione"></param>
/// <param name="Original_Lingua"></param>
/// <param name="Original_Lemma"></param>
public void updateLemmaVoc(string Traduzione, string Original_Lingua, string Original_Lemma)
{
SteamWare.DataWrap.DW.taVocabolario.UpdateQuery(Traduzione, Original_Lingua, Original_Lemma);
}
/// <summary>
/// cancella il lemma indicato
/// </summary>
/// <param name="Original_Lingua"></param>
/// <param name="Original_Lemma"></param>
public void deleteLemmaVoc(string Original_Lingua, string Original_Lemma)
{
SteamWare.DataWrap.DW.taVocabolario.DeleteQuery(Original_Lingua, Original_Lemma);
}
}
+64
View File
@@ -0,0 +1,64 @@
<%@ Master Language="C#" AutoEventWireup="true" Inherits="Ajax" Codebehind="Ajax.master.cs" %>
<%@ Register Src="~/WebUserControls/mod_menuTop.ascx" TagName="mod_menuTop" TagPrefix="uc1" %>
<%@ Register Src="~/WebUserControls/mod_menuSx.ascx" TagName="mod_menuSx" TagPrefix="uc2" %>
<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagName="mod_menuBottom" TagPrefix="uc5" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title></title>
<link href="Style.css" rel="stylesheet" type="text/css" />
<link rel="icon" href="images/favicon.png" type="image/png" />
<link rel="shortcut icon" href="images/favicon.png" type="image/png" />
</head>
<body class="body">
<form id="form1" runat="server">
<asp:ScriptManager ID="sm" runat="server" EnablePartialRendering="true" EnableScriptGlobalization="true"
EnableScriptLocalization="true">
</asp:ScriptManager>
<table class="formatTableGeneral" id="tblFormat" cellspacing="0" cellpadding="0">
<tr>
<td class="topMenu" colspan="2">
<div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" RenderMode="Inline">
<ContentTemplate>
<uc1:mod_menuTop ID="Mod_menuTop1" runat="server" />
</ContentTemplate>
</asp:UpdatePanel>
</div>
</td>
</tr>
<tr>
<td class="menuSx">
<asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Always" RenderMode="Inline">
<ContentTemplate>
<uc2:mod_menuSx ID="Mod_menuSx1" runat="server" />
</ContentTemplate>
</asp:UpdatePanel>
</td>
<td class="bodyMain">
<div style="width: 100%; background: White; text-align: center; height: 100%;">
<asp:UpdatePanel ID="updPanelPagina" runat="server" UpdateMode="Conditional" RenderMode="Inline">
<ContentTemplate>
<table cellpadding="0" cellspacing="0">
<tr>
<td>
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</td>
</tr>
<tr>
<td colspan="2" class="bottomWrite">
<uc5:mod_menuBottom ID="Mod_menuBottom1" runat="server" />
</td>
</tr>
</table>
</form>
</body>
</html>
+55
View File
@@ -0,0 +1,55 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class Ajax : System.Web.UI.MasterPage
{
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina");
}
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
Mod_menuTop1.eh_toggleMenuSx += new EventHandler(Mod_menuTop1_eh_toggleMenuSx);
Mod_menuTop1.eh_reqUpdateMenu += new EventHandler(Mod_menuTop1_eh_reqUpdateMenu);
}
void Mod_menuTop1_eh_reqUpdateMenu(object sender, EventArgs e)
{
// chiamo update del menu sx...
Mod_menuSx1.forzaUpdateMenu();
}
void Mod_menuTop1_eh_toggleMenuSx(object sender, EventArgs e)
{
// cambio stato visualizzaizone menù laterale...
Mod_menuSx1.Visible = !Mod_menuSx1.Visible;
}
protected override void OnUnload(EventArgs e)
{
base.OnUnload(e);
// svuoto tutti gli event handler inseriti...
Mod_menuTop1.eh_toggleMenuSx -= new EventHandler(Mod_menuTop1_eh_toggleMenuSx);
Mod_menuTop1.eh_reqUpdateMenu -= new EventHandler(Mod_menuTop1_eh_reqUpdateMenu);
}
/// <summary>
/// determina visibilità menù sx...
/// </summary>
public bool sxMenuVisible
{
get
{
return Mod_menuSx1.Visible;
}
set
{
Mod_menuSx1.Visible = value;
}
}
}
+104
View File
@@ -0,0 +1,104 @@
//------------------------------------------------------------------------------
// <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 Ajax {
/// <summary>
/// Head1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlHead Head1;
/// <summary>
/// form1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// sm control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.ScriptManager sm;
/// <summary>
/// UpdatePanel1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel UpdatePanel1;
/// <summary>
/// Mod_menuTop1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_menuTop Mod_menuTop1;
/// <summary>
/// UpdatePanel2 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel UpdatePanel2;
/// <summary>
/// Mod_menuSx1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_menuSx Mod_menuSx1;
/// <summary>
/// updPanelPagina control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel updPanelPagina;
/// <summary>
/// ContentPlaceHolder1 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.ContentPlaceHolder ContentPlaceHolder1;
/// <summary>
/// Mod_menuBottom1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_menuBottom Mod_menuBottom1;
}
@@ -0,0 +1,74 @@
<%@ Master Language="C#" AutoEventWireup="true" Inherits="AjaxSearch" Codebehind="AjaxSearch.master.cs" %>
<%@ Register Src="~/WebUserControls/mod_menuTop.ascx" TagName="mod_menuTop" TagPrefix="uc1" %>
<%@ Register Src="~/WebUserControls/mod_menuSx.ascx" TagName="mod_menuSx" TagPrefix="uc2" %>
<%@ Register Src="~/WebUserControls/mod_pageTitleAndSearch.ascx" TagName="mod_pageTitleAndSearch" TagPrefix="uc3" %>
<%@ Register Src="~/WebUserControls/mod_ricercaGenerica.ascx" TagName="mod_ricercaGenerica" TagPrefix="uc4" %>
<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagName="mod_menuBottom" TagPrefix="uc5" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title></title>
<link href="Style.css" rel="stylesheet" type="text/css" />
<link rel="icon" href="images/favicon.png" type="image/png" />
<link rel="shortcut icon" href="images/favicon.png" type="image/png" />
</head>
<body class="body">
<form id="form1" runat="server">
<asp:ScriptManager ID="sm" runat="server" EnablePartialRendering="true" EnableScriptGlobalization="true"
EnableScriptLocalization="true">
</asp:ScriptManager>
<table class="formatTableGeneral" id="tblFormat" cellspacing="0" cellpadding="0">
<tr>
<td class="topMenu" colspan="2">
<div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" RenderMode="Inline">
<ContentTemplate>
<uc1:mod_menuTop ID="Mod_menuTop1" runat="server" />
</ContentTemplate>
</asp:UpdatePanel>
</div>
</td>
</tr>
<tr>
<td class="menuSx">
<asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Always" RenderMode="Inline">
<ContentTemplate>
<uc2:mod_menuSx ID="Mod_menuSx1" runat="server" />
</ContentTemplate>
</asp:UpdatePanel>
</td>
<td class="bodyMain">
<div>
<asp:UpdatePanel ID="updPanelPagina" runat="server" UpdateMode="Conditional" RenderMode="Inline">
<ContentTemplate>
<table class="tableContenuto" cellpadding="0" cellspacing="0">
<tr class="topContrDx">
<td style="width: 25%;" valign="baseline">
<uc3:mod_pageTitleAndSearch ID="Mod_pageTitleAndSearch1" runat="server" />
</td>
<td style="width: 75%; text-align: left;">
<uc4:mod_ricercaGenerica ID="Mod_ricercaGenerica1" runat="server" />
</td>
</tr>
<tr>
<td colspan="2" class="contrRiq">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</td>
</tr>
<tr>
<td colspan="2" class="bottomWrite">
<uc5:mod_menuBottom ID="Mod_menuBottom1" runat="server" />
</td>
</tr>
</table>
</form>
</body>
</html>
@@ -0,0 +1,48 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class AjaxSearch : System.Web.UI.MasterPage
{
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina");
}
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
Mod_menuTop1.eh_toggleMenuSx += new EventHandler(Mod_menuTop1_eh_toggleMenuSx);
Mod_menuTop1.eh_reqUpdateMenu += new EventHandler(Mod_menuTop1_eh_reqUpdateMenu);
}
void Mod_menuTop1_eh_reqUpdateMenu(object sender, EventArgs e)
{
// chiamo update del menu sx...
Mod_menuSx1.forzaUpdateMenu();
}
void Mod_menuTop1_eh_toggleMenuSx(object sender, EventArgs e)
{
// cambio stato visualizzaizone menù laterale...
Mod_menuSx1.Visible = !Mod_menuSx1.Visible;
}
protected override void OnUnload(EventArgs e)
{
base.OnUnload(e);
// svuoto tutti gli event handler inseriti...
Mod_menuTop1.eh_toggleMenuSx -= new EventHandler(Mod_menuTop1_eh_toggleMenuSx);
Mod_menuTop1.eh_reqUpdateMenu -= new EventHandler(Mod_menuTop1_eh_reqUpdateMenu);
}
}
+122
View File
@@ -0,0 +1,122 @@
//------------------------------------------------------------------------------
// <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 AjaxSearch {
/// <summary>
/// Head1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlHead Head1;
/// <summary>
/// form1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// sm control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.ScriptManager sm;
/// <summary>
/// UpdatePanel1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel UpdatePanel1;
/// <summary>
/// Mod_menuTop1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_menuTop Mod_menuTop1;
/// <summary>
/// UpdatePanel2 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel UpdatePanel2;
/// <summary>
/// Mod_menuSx1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_menuSx Mod_menuSx1;
/// <summary>
/// updPanelPagina control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel updPanelPagina;
/// <summary>
/// Mod_pageTitleAndSearch1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_pageTitleAndSearch Mod_pageTitleAndSearch1;
/// <summary>
/// Mod_ricercaGenerica1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_ricercaGenerica Mod_ricercaGenerica1;
/// <summary>
/// ContentPlaceHolder1 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.ContentPlaceHolder ContentPlaceHolder1;
/// <summary>
/// Mod_menuBottom1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_menuBottom Mod_menuBottom1;
}
@@ -0,0 +1,75 @@
<%@ Master Language="C#" AutoEventWireup="true"
Inherits="AjaxSearchEmpty" Codebehind="AjaxSearchEmpty.master.cs" %>
<%@ Register Src="~/WebUserControls/mod_menuTop.ascx" TagName="mod_menuTop" TagPrefix="uc1" %>
<%@ Register Src="~/WebUserControls/mod_menuSx.ascx" TagName="mod_menuSx" TagPrefix="uc2" %>
<%@ Register Src="~/WebUserControls/mod_pageTitleAndSearch.ascx" TagName="mod_pageTitleAndSearch" TagPrefix="uc3" %>
<%@ Register Src="~/WebUserControls/mod_ricercaGenerica.ascx" TagName="mod_ricercaGenerica" TagPrefix="uc4" %>
<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagName="mod_menuBottom" TagPrefix="uc5" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title></title>
<link href="Style.css" rel="stylesheet" type="text/css" />
<link rel="icon" href="images/favicon.png" type="image/png" />
<link rel="shortcut icon" href="images/favicon.png" type="image/png" />
</head>
<body class="body">
<form id="form1" runat="server">
<asp:ScriptManager ID="sm" runat="server" EnablePartialRendering="true" EnableScriptGlobalization="true"
EnableScriptLocalization="true">
</asp:ScriptManager>
<table class="formatTableGeneral" id="tblFormat" cellspacing="0" cellpadding="0">
<tr>
<td class="topMenu" colspan="2">
<div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" RenderMode="Inline">
<ContentTemplate>
<uc1:mod_menuTop ID="Mod_menuTop1" runat="server" />
</ContentTemplate>
</asp:UpdatePanel>
</div>
</td>
</tr>
<tr>
<td class="menuSx">
<asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Always" RenderMode="Inline">
<ContentTemplate>
<uc2:mod_menuSx ID="Mod_menuSx1" runat="server" />
</ContentTemplate>
</asp:UpdatePanel>
</td>
<td class="bodyMainEmpty">
<div>
<asp:UpdatePanel ID="updPanelPagina" runat="server" UpdateMode="Conditional" RenderMode="Inline">
<ContentTemplate>
<table class="tableContenuto" cellpadding="0" cellspacing="0">
<tr class="topContrDx">
<td style="width: 25%;" valign="baseline">
<uc3:mod_pageTitleAndSearch ID="Mod_pageTitleAndSearch1" runat="server" />
</td>
<td style="width: 75%; text-align: left;">
<uc4:mod_ricercaGenerica ID="Mod_ricercaGenerica1" runat="server" />
</td>
</tr>
<tr>
<td colspan="2" class="contrRiq">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</td>
</tr>
<tr>
<td colspan="2" class="bottomWrite">
<uc5:mod_menuBottom ID="Mod_menuBottom1" runat="server" />
</td>
</tr>
</table>
</form>
</body>
</html>
@@ -0,0 +1,48 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class AjaxSearchEmpty : System.Web.UI.MasterPage
{
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina");
}
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
Mod_menuTop1.eh_toggleMenuSx += new EventHandler(Mod_menuTop1_eh_toggleMenuSx);
Mod_menuTop1.eh_reqUpdateMenu += new EventHandler(Mod_menuTop1_eh_reqUpdateMenu);
}
void Mod_menuTop1_eh_reqUpdateMenu(object sender, EventArgs e)
{
// chiamo update del menu sx...
Mod_menuSx1.forzaUpdateMenu();
}
void Mod_menuTop1_eh_toggleMenuSx(object sender, EventArgs e)
{
// cambio stato visualizzaizone menù laterale...
Mod_menuSx1.Visible = !Mod_menuSx1.Visible;
}
protected override void OnUnload(EventArgs e)
{
base.OnUnload(e);
// svuoto tutti gli event handler inseriti...
Mod_menuTop1.eh_toggleMenuSx -= new EventHandler(Mod_menuTop1_eh_toggleMenuSx);
Mod_menuTop1.eh_reqUpdateMenu -= new EventHandler(Mod_menuTop1_eh_reqUpdateMenu);
}
}
@@ -0,0 +1,122 @@
//------------------------------------------------------------------------------
// <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 AjaxSearchEmpty {
/// <summary>
/// Head1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlHead Head1;
/// <summary>
/// form1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// sm control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.ScriptManager sm;
/// <summary>
/// UpdatePanel1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel UpdatePanel1;
/// <summary>
/// Mod_menuTop1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_menuTop Mod_menuTop1;
/// <summary>
/// UpdatePanel2 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel UpdatePanel2;
/// <summary>
/// Mod_menuSx1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_menuSx Mod_menuSx1;
/// <summary>
/// updPanelPagina control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel updPanelPagina;
/// <summary>
/// Mod_pageTitleAndSearch1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_pageTitleAndSearch Mod_pageTitleAndSearch1;
/// <summary>
/// Mod_ricercaGenerica1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_ricercaGenerica Mod_ricercaGenerica1;
/// <summary>
/// ContentPlaceHolder1 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.ContentPlaceHolder ContentPlaceHolder1;
/// <summary>
/// Mod_menuBottom1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_menuBottom Mod_menuBottom1;
}
@@ -0,0 +1,35 @@
<%@ Master Language="C#" AutoEventWireup="true" Inherits="AjaxSimple" Codebehind="AjaxSimple.master.cs" %>
<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagName="mod_menuBottom" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Simplepage</title>
<link href="Style.css" rel="stylesheet" type="text/css" />
<link rel="icon" href="images/favicon.png" type="image/png" />
<link rel="shortcut icon" href="images/favicon.png" type="image/png" />
</head>
<body class="body">
<form id="form1" runat="server">
<asp:ScriptManager ID="sm" runat="server" EnablePartialRendering="true">
</asp:ScriptManager>
<div>
<table class="formatTableGeneral" id="tblFormat" cellspacing="0" cellpadding="0">
<tr>
<td class="bodyMain">
<div>
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</div>
</td>
</tr>
<tr>
<td class="bottomWrite">
<uc1:mod_menuBottom ID="Mod_menuBottom1" runat="server" />
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
@@ -0,0 +1,20 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using SteamWare;
public partial class AjaxSimple : System.Web.UI.MasterPage
{
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina");
}
}
+50
View File
@@ -0,0 +1,50 @@
//------------------------------------------------------------------------------
// <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 AjaxSimple {
/// <summary>
/// form1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// sm control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.ScriptManager sm;
/// <summary>
/// ContentPlaceHolder1 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.ContentPlaceHolder ContentPlaceHolder1;
/// <summary>
/// Mod_menuBottom1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_menuBottom Mod_menuBottom1;
}
@@ -0,0 +1,36 @@
<%@ Master Language="C#" AutoEventWireup="true"
Inherits="AjaxSimpleUpload" Codebehind="AjaxSimpleUpload.master.cs" %>
<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagName="mod_menuBottom" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>SimplePage</title>
<link href="Style.css" rel="stylesheet" type="text/css" />
<link rel="icon" href="images/favicon.png" type="image/png" />
<link rel="shortcut icon" href="images/favicon.png" type="image/png" />
</head>
<body>
<form id="form1" runat="server" method="post" enctype="multipart/form-data">
<asp:ScriptManager ID="sm" runat="server" EnablePartialRendering="true">
</asp:ScriptManager>
<div>
<table class="formatTableGeneral" id="tblFormat" cellspacing="0" cellpadding="0">
<tr>
<td class="bodyMain">
<div>
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</div>
</td>
</tr>
<tr>
<td class="bottomWrite">
<uc1:mod_menuBottom ID="Mod_menuBottom1" runat="server" />
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
@@ -0,0 +1,20 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using SteamWare;
public partial class AjaxSimpleUpload : System.Web.UI.MasterPage
{
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina");
}
}
@@ -0,0 +1,59 @@
//------------------------------------------------------------------------------
// <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 AjaxSimpleUpload {
/// <summary>
/// Head1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlHead Head1;
/// <summary>
/// form1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// sm control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.ScriptManager sm;
/// <summary>
/// ContentPlaceHolder1 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.ContentPlaceHolder ContentPlaceHolder1;
/// <summary>
/// Mod_menuBottom1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_menuBottom Mod_menuBottom1;
}
+73
View File
@@ -0,0 +1,73 @@
<%@ Master Language="C#" AutoEventWireup="true" Inherits="AjaxTitle" Codebehind="AjaxTitle.master.cs" %>
<%@ Register Src="~/WebUserControls/mod_menuTop.ascx" TagName="mod_menuTop" TagPrefix="uc1" %>
<%@ Register Src="~/WebUserControls/mod_menuSx.ascx" TagName="mod_menuSx" TagPrefix="uc2" %>
<%@ Register Src="~/WebUserControls/mod_pageTitleAndSearch.ascx" TagName="mod_pageTitleAndSearch" TagPrefix="uc3" %>
<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagName="mod_menuBottom" TagPrefix="uc5" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<link href="Style.css" rel="stylesheet" type="text/css" />
<link rel="icon" href="images/favicon.png" type="image/png" />
<link rel="shortcut icon" href="images/favicon.png" type="image/png" />
</head>
<body class="body">
<form id="form1" runat="server">
<asp:ScriptManager ID="sm" runat="server" EnablePartialRendering="true" EnableScriptGlobalization="true"
EnableScriptLocalization="true">
</asp:ScriptManager>
<table class="formatTableGeneral" id="tblFormat" cellspacing="0" cellpadding="0">
<tr>
<td class="topMenu" colspan="2">
<div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" RenderMode="Inline">
<ContentTemplate>
<uc1:mod_menuTop ID="Mod_menuTop1" runat="server" />
</ContentTemplate>
</asp:UpdatePanel>
</div>
</td>
</tr>
<tr>
<td class="menuSx">
<asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Always" RenderMode="Inline">
<ContentTemplate>
<uc2:mod_menuSx ID="Mod_menuSx1" runat="server" />
</ContentTemplate>
</asp:UpdatePanel>
</td>
<td class="bodyMain">
<div>
<asp:UpdatePanel ID="updPanelPagina" runat="server" UpdateMode="Conditional" RenderMode="Inline">
<ContentTemplate>
<table class="tableContenuto" cellpadding="0" cellspacing="0">
<tr class="topContrDx">
<td style="width: 25%;" valign="baseline">
<uc3:mod_pageTitleAndSearch ID="Mod_pageTitleAndSearch1" runat="server" />
</td>
<td style="width: 75%; text-align: left;">
&nbsp;
</td>
</tr>
<tr>
<td colspan="2" class="contrRiq">
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</td>
</tr>
<tr>
<td colspan="2" class="bottomWrite">
<uc5:mod_menuBottom ID="Mod_menuBottom1" runat="server" />
</td>
</tr>
</table>
</form>
</body>
</html>
@@ -0,0 +1,49 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using SteamWare;
public partial class AjaxTitle : System.Web.UI.MasterPage
{
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina");
}
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
Mod_menuTop1.eh_toggleMenuSx += new EventHandler(Mod_menuTop1_eh_toggleMenuSx);
Mod_menuTop1.eh_reqUpdateMenu += new EventHandler(Mod_menuTop1_eh_reqUpdateMenu);
}
void Mod_menuTop1_eh_reqUpdateMenu(object sender, EventArgs e)
{
// chiamo update del menu sx...
Mod_menuSx1.forzaUpdateMenu();
}
void Mod_menuTop1_eh_toggleMenuSx(object sender, EventArgs e)
{
// cambio stato visualizzaizone menù laterale...
Mod_menuSx1.Visible = !Mod_menuSx1.Visible;
}
protected override void OnUnload(EventArgs e)
{
base.OnUnload(e);
// svuoto tutti gli event handler inseriti...
Mod_menuTop1.eh_toggleMenuSx -= new EventHandler(Mod_menuTop1_eh_toggleMenuSx);
Mod_menuTop1.eh_reqUpdateMenu -= new EventHandler(Mod_menuTop1_eh_reqUpdateMenu);
}
}
+104
View File
@@ -0,0 +1,104 @@
//------------------------------------------------------------------------------
// <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 AjaxTitle {
/// <summary>
/// form1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// sm control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.ScriptManager sm;
/// <summary>
/// UpdatePanel1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel UpdatePanel1;
/// <summary>
/// Mod_menuTop1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_menuTop Mod_menuTop1;
/// <summary>
/// UpdatePanel2 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel UpdatePanel2;
/// <summary>
/// Mod_menuSx1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_menuSx Mod_menuSx1;
/// <summary>
/// updPanelPagina control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel updPanelPagina;
/// <summary>
/// Mod_pageTitleAndSearch1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_pageTitleAndSearch Mod_pageTitleAndSearch1;
/// <summary>
/// ContentPlaceHolder1 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.ContentPlaceHolder ContentPlaceHolder1;
/// <summary>
/// Mod_menuBottom1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_menuBottom Mod_menuBottom1;
}
@@ -0,0 +1,7 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/AjaxSearch.master" AutoEventWireup="true" Inherits="AnagOperatoriMtz" Codebehind="AnagOperatoriMtz.aspx.cs" %>
<%@ Register Src="~/WebUserControls/mod_anagOpMtz.ascx" tagname="mod_anagOpMtz" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<uc1:mod_anagOpMtz ID="mod_anagOpMtz1" runat="server" />
</asp:Content>
@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class AnagOperatoriMtz : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
@@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <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 AnagOperatoriMtz {
/// <summary>
/// mod_anagOpMtz1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_anagOpMtz mod_anagOpMtz1;
}
+29
View File
@@ -0,0 +1,29 @@
-----------------------
- 20080114
------------------------
ok Modificare comportamento cancellabilità impianti: il 1° NON DEVE ESSERE cancellabile...
------------------------
- 20080113
------------------------
ok Prerequisiti:
ok - DB:
ok - SteamWare_Anagrafica
ok - SteamWare_Vocabolario
ok - GIM
ok To Do's:
ok - Realizzare modulo gestione db steamware che faccia creazione/update secondo versione
NOTE:
ok - se la versione del db è nel web.config di sviluppo, va riportata anche nel web.config del cliente! o trovare un altro modo?!?
ANAGRAFICA:
ok copiare versione anagrafica di Steamware SOLO CON GIM (anche ci fosse altro cambia poco comunque...)
Iscrizione automatica utenti
ok - poiché non daremo URM e alla bse gli utenti DEVONo essere di tipo GIM_U, va creata una pagina x inserire il cliente in caso di unauth nella tab DIRITTI con ruolo base da WebConfig ("dirittoAutoEnroll") - deve anche chiedere nome/cognome/email utente
+17
View File
@@ -0,0 +1,17 @@
<%@ Page Language="C#" AutoEventWireup="true" Inherits="Default" Codebehind="Default.aspx.cs" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>SteamWare s.r.l.</title>
<link href="Style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>
+18
View File
@@ -0,0 +1,18 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Response.Redirect("./login.aspx");
}
}
+23
View File
@@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <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 Default {
/// <summary>
/// form1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
}
@@ -0,0 +1,45 @@
<%@ Page Language="C#" AutoEventWireup="true"
EnableEventValidation="false" Inherits="ExcelExportMtzPrevPending" Codebehind="ExcelExportMtzPrevPending.aspx.cs" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
DataKeyNames="idxPending" DataSourceID="ods" OnDataBound="grView_DataBound">
<RowStyle CssClass="ctrRowStyle" />
<AlternatingRowStyle CssClass="ctrAltRowStyle" />
<EditRowStyle CssClass="ctrEditRowStyle" />
<SelectedRowStyle CssClass="ctrSelRowStyle" />
<FooterStyle CssClass="ctrFooter" />
<PagerStyle CssClass="ctrHeaderPager" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle CssClass="ctrHeaderPager" ForeColor="White" Font-Bold="True" />
<EmptyDataRowStyle CssClass="ctrRowStyle" />
<Columns>
<asp:BoundField DataField="data" HeaderText="data" SortExpression="data" DataFormatString="{0:dd/MM/yyyy}"
HtmlEncode="false" />
<asp:BoundField DataField="codImpianto" HeaderText="codImpianto" SortExpression="codImpianto" />
<asp:BoundField DataField="nomeImpianto" HeaderText="nomeImpianto" SortExpression="nomeImpianto" />
<asp:BoundField DataField="codMacchina" HeaderText="codMacchina" SortExpression="codMacchina" />
<asp:BoundField DataField="nomeMacchina" HeaderText="nomeMacchina" SortExpression="nomeMacchina" />
<asp:BoundField DataField="descrizione" HeaderText="descrizione" SortExpression="descrizione" />
<asp:BoundField DataField="descrPriorita" HeaderText="descrPriorita" SortExpression="descrPriorita" />
<asp:CheckBoxField DataField="isFermo" HeaderText="chkImpFermo" SortExpression="isFermo" />
<asp:BoundField DataField="descrTipo" HeaderText="descrTipo" SortExpression="descrTipo" />
</Columns>
</asp:GridView>
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini"></asp:Label>
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="GetData" TypeName="DS_utilityTableAdapters.v_mtzProgPendingExpTableAdapter"
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" />
</FilterParameters>
</asp:ObjectDataSource>
</div>
</form>
</body>
</html>
@@ -0,0 +1,90 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
using System.Web.UI.HtmlControls;
public partial class ExcelExportMtzPrevPending : System.Web.UI.Page
{
/// <summary>
/// evento dati associati a controllo
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void grView_DataBound(object sender, EventArgs e)
{
if (grView.Rows.Count > 0)
{
LinkButton lb;
// aggiorno gli headers
foreach (TableCell cella in grView.HeaderRow.Cells)
{
try
{
lb = (LinkButton)cella.Controls[0];
lb.Text = traduci(lb.Text);
}
catch
{ }
}
}
}
/// <summary>
/// wrapper traduzione
/// </summary>
/// <param name="lemma"></param>
/// <returns></returns>
public string traduci(object lemma)
{
return user_std.UtSn.Traduci(lemma.ToString());
}
public override void VerifyRenderingInServerForm(Control control)
{
// Confirms that an HtmlForm control is rendered for the specified ASP.NET server control at run time.
}
private void doExport()
{
Response.Clear();
Response.AddHeader("content-disposition", "attachment; filename=InterventiProgrammati.xls");
Response.Charset = "";
// If you want the option to open the Excel file without saving than
// comment out the line below
Response.Cache.SetCacheability(HttpCacheability.NoCache);
Response.ContentType = "application/vnd.xls";
System.IO.StringWriter stringWrite = new System.IO.StringWriter();
System.Web.UI.HtmlTextWriter htmlWrite = new HtmlTextWriter(stringWrite);
grView.RenderControl(htmlWrite);
Response.Write(stringWrite.ToString());
Response.End();
}
#region area protected
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
aggiornamento();
doExport();
}
}
#endregion
public void aggiornamento()
{
grView.AllowPaging = false;
ods.DataBind();
}
}
@@ -0,0 +1,50 @@
//------------------------------------------------------------------------------
// <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 ExcelExportMtzPrevPending {
/// <summary>
/// form1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// grView 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.GridView grView;
/// <summary>
/// lblNumRec 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 lblNumRec;
/// <summary>
/// ods 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 ods;
}
+16
View File
@@ -0,0 +1,16 @@
<%@ Page Language="C#" AutoEventWireup="true" Inherits="ExportPdf" Codebehind="ExportPdf.aspx.cs" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>
@@ -0,0 +1,50 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
public partial class ExportPdf : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
string reportName = "";
// carico i parametri per chiamare export...
string idx = Request.QueryString["idx"];
string username = Request.QueryString["username"];
intervalloDate periodo = new intervalloDate();
periodo.inizio = Convert.ToDateTime(Request.QueryString["inizio"]);
periodo.fine = Convert.ToDateTime(Request.QueryString["fine"]);
reportRichiesto tipo = (reportRichiesto)Convert.ToInt32(Request.QueryString["tipo"]);
// eseguo export
reportExporter re = new reportExporter();
// in base al tipo passo un metodo con idx o con parametro Intervallo analisi...
switch (tipo)
{
case reportRichiesto.ElencoInterventi:
reportName = "elenco_interventi";
re.popolaPdfStream(tipo, periodo, username);
break;
case reportRichiesto.ElencoMacchine:
reportName = "elenco_macchine";
re.popolaPdfStream(tipo);
break;
case reportRichiesto.MTBF_MTTR:
reportName = "MTBF_MTTR";
re.popolaPdfStream(tipo, periodo, username);
break;
case reportRichiesto.RichiestaIntervento:
reportName = "richiesta";
re.popolaPdfStream(tipo, idx);
break;
default:
break;
}
Response.Clear();
Response.ContentType = re.mimeType;
Response.AddHeader("content-disposition", string.Format("attachment; filename=WebGIM_{0}.{1}", reportName, re.fileNameExtension));
Response.BinaryWrite(re.renderedBytes);
Response.End();
}
}
+23
View File
@@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <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 ExportPdf {
/// <summary>
/// form1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,32 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
<WebProjectProperties>
<StartPageUrl>
</StartPageUrl>
<StartAction>CurrentPage</StartAction>
<AspNetDebugging>True</AspNetDebugging>
<NativeDebugging>False</NativeDebugging>
<SQLDebugging>False</SQLDebugging>
<PublishCopyOption>RunFiles</PublishCopyOption>
<PublishTargetLocation>
</PublishTargetLocation>
<PublishDeleteAllFiles>False</PublishDeleteAllFiles>
<PublishCopyAppData>True</PublishCopyAppData>
<ExternalProgram>
</ExternalProgram>
<StartExternalURL>
</StartExternalURL>
<StartCmdLineArguments>
</StartCmdLineArguments>
<StartWorkingDirectory>
</StartWorkingDirectory>
<EnableENC>False</EnableENC>
<AlwaysStartWebServerOnDebug>True</AlwaysStartWebServerOnDebug>
<EnableWcfTestClientForSVC>False</EnableWcfTestClientForSVC>
</WebProjectProperties>
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
</Project>
@@ -0,0 +1,888 @@
<?xml version="1.0" encoding="utf-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<DataSources>
<DataSource Name="WebGim">
<rd:DataSourceID>4ff050af-b9d5-4fd6-8b1e-1dfa4459442c</rd:DataSourceID>
<DataSourceReference>WebGim</DataSourceReference>
</DataSource>
</DataSources>
<InteractiveHeight>11in</InteractiveHeight>
<rd:DrawGrid>true</rd:DrawGrid>
<InteractiveWidth>8.5in</InteractiveWidth>
<rd:GridSpacing>0.25cm</rd:GridSpacing>
<rd:SnapToGrid>false</rd:SnapToGrid>
<RightMargin>0.2cm</RightMargin>
<LeftMargin>0.2cm</LeftMargin>
<PageHeader>
<PrintOnFirstPage>true</PrintOnFirstPage>
<ReportItems>
<Textbox Name="textbox17">
<Top>0.05754cm</Top>
<Width>28.55489cm</Width>
<Style>
<FontStyle>Italic</FontStyle>
<FontSize>8pt</FontSize>
<TextAlign>Center</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<CanGrow>true</CanGrow>
<Value>Elenco Reparti e Macchine</Value>
</Textbox>
</ReportItems>
<Height>0.61309cm</Height>
<PrintOnLastPage>true</PrintOnLastPage>
</PageHeader>
<BottomMargin>0.2cm</BottomMargin>
<rd:ReportID>d6433c86-fc2e-4a5c-b604-aa1d171ded77</rd:ReportID>
<PageWidth>29.7cm</PageWidth>
<DataSets>
<DataSet Name="WebGim">
<Fields>
<Field Name="codImpianto">
<DataField>codImpianto</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="nomeImpianto">
<DataField>nomeImpianto</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="tipoImpianto">
<DataField>tipoImpianto</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="codMacchina">
<DataField>codMacchina</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="nomeMacchina">
<DataField>nomeMacchina</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="modello">
<DataField>modello</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="matricola">
<DataField>matricola</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="anno">
<DataField>anno</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="kgPeso">
<DataField>kgPeso</DataField>
<rd:TypeName>System.Double</rd:TypeName>
</Field>
<Field Name="kwConsumo">
<DataField>kwConsumo</DataField>
<rd:TypeName>System.Double</rd:TypeName>
</Field>
</Fields>
<Query>
<DataSourceName>WebGim</DataSourceName>
<CommandText>select * from v_elencoImpiantiMacchine</CommandText>
<rd:UseGenericDesigner>true</rd:UseGenericDesigner>
</Query>
</DataSet>
</DataSets>
<Code />
<Width>28.75cm</Width>
<Body>
<ColumnSpacing>1cm</ColumnSpacing>
<ReportItems>
<Textbox Name="textbox1">
<rd:DefaultName>textbox1</rd:DefaultName>
<Width>28.31085cm</Width>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>20pt</FontSize>
<FontWeight>700</FontWeight>
<TextAlign>Center</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>1</ZIndex>
<CanGrow>true</CanGrow>
<Left>0.12566cm</Left>
<Height>0.91429cm</Height>
<Value>Elenco Macchine Reparti</Value>
</Textbox>
<Table Name="table1">
<DataSetName>WebGim</DataSetName>
<Top>1.35317cm</Top>
<TableGroups>
<TableGroup>
<Grouping Name="table1_nomeImpianto">
<GroupExpressions>
<GroupExpression>=Fields!nomeImpianto.Value</GroupExpression>
</GroupExpressions>
</Grouping>
<Sorting>
<SortBy>
<SortExpression>=Fields!nomeImpianto.Value</SortExpression>
<Direction>Ascending</Direction>
</SortBy>
</Sorting>
<Header>
<TableRows>
<TableRow>
<TableCells>
<TableCell>
<ColSpan>3</ColSpan>
<ReportItems>
<Textbox Name="nomeImpianto">
<rd:DefaultName>nomeImpianto</rd:DefaultName>
<Style>
<Color>White</Color>
<BackgroundColor>SteelBlue</BackgroundColor>
<BorderColor>
<Default>White</Default>
<Bottom>SteelBlue</Bottom>
</BorderColor>
<FontFamily>Tahoma</FontFamily>
<FontWeight>700</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>21</ZIndex>
<CanGrow>true</CanGrow>
<Value>=(Fields!nomeImpianto.Value)&amp;" "&amp;(Fields!codImpianto.Value)&amp;"/"&amp;(Fields!tipoImpianto.Value)</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox7">
<rd:DefaultName>textbox7</rd:DefaultName>
<Style>
<Color>White</Color>
<BackgroundColor>SteelBlue</BackgroundColor>
<BorderColor>
<Default>White</Default>
<Bottom>SteelBlue</Bottom>
</BorderColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>20</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox20">
<rd:DefaultName>textbox20</rd:DefaultName>
<Style>
<Color>White</Color>
<BackgroundColor>SteelBlue</BackgroundColor>
<BorderColor>
<Default>White</Default>
<Bottom>SteelBlue</Bottom>
</BorderColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>19</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox11">
<rd:DefaultName>textbox11</rd:DefaultName>
<Style>
<Color>White</Color>
<BackgroundColor>SteelBlue</BackgroundColor>
<BorderColor>
<Default>White</Default>
<Bottom>SteelBlue</Bottom>
</BorderColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>18</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox13">
<rd:DefaultName>textbox13</rd:DefaultName>
<Style>
<Color>White</Color>
<BackgroundColor>SteelBlue</BackgroundColor>
<BorderColor>
<Default>White</Default>
<Bottom>SteelBlue</Bottom>
</BorderColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>17</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox15">
<rd:DefaultName>textbox15</rd:DefaultName>
<Style>
<Color>White</Color>
<BackgroundColor>SteelBlue</BackgroundColor>
<BorderColor>
<Default>White</Default>
<Bottom>SteelBlue</Bottom>
</BorderColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>16</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
</TableCells>
<Height>0.53333cm</Height>
</TableRow>
</TableRows>
<RepeatOnNewPage>true</RepeatOnNewPage>
</Header>
<Footer>
<TableRows>
<TableRow>
<TableCells>
<TableCell>
<ReportItems>
<Textbox Name="textbox22">
<rd:DefaultName>textbox22</rd:DefaultName>
<Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>15</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox23">
<rd:DefaultName>textbox23</rd:DefaultName>
<Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>14</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox24">
<rd:DefaultName>textbox24</rd:DefaultName>
<Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>13</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox25">
<rd:DefaultName>textbox25</rd:DefaultName>
<Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>12</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox26">
<rd:DefaultName>textbox26</rd:DefaultName>
<Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>11</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox27">
<rd:DefaultName>textbox27</rd:DefaultName>
<Style>
<FontWeight>700</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>10</ZIndex>
<CanGrow>true</CanGrow>
<Value>tot:</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox32">
<Style>
<BorderColor>
<Default>LightGrey</Default>
</BorderColor>
<FontFamily>Tahoma</FontFamily>
<FontWeight>700</FontWeight>
<Format>#### kg</Format>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>9</ZIndex>
<CanGrow>true</CanGrow>
<Value>=sum(Fields!kgPeso.Value)</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox9">
<Style>
<BorderColor>
<Default>White</Default>
</BorderColor>
<FontFamily>Tahoma</FontFamily>
<FontWeight>700</FontWeight>
<Format>#### kW</Format>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>8</ZIndex>
<CanGrow>true</CanGrow>
<Value>=sum(Fields!kwConsumo.Value)</Value>
</Textbox>
</ReportItems>
</TableCell>
</TableCells>
<Height>0.63492cm</Height>
</TableRow>
</TableRows>
</Footer>
</TableGroup>
</TableGroups>
<Width>28.53572cm</Width>
<Details>
<TableRows>
<TableRow>
<TableCells>
<TableCell>
<ReportItems>
<Textbox Name="textbox3">
<rd:DefaultName>textbox3</rd:DefaultName>
<Style>
<BorderColor>
<Default>White</Default>
</BorderColor>
<FontFamily>Tahoma</FontFamily>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>7</ZIndex>
<CanGrow>true</CanGrow>
<Value>
</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="nomeMacchina">
<rd:DefaultName>nomeMacchina</rd:DefaultName>
<Style>
<BorderColor>
<Default>White</Default>
</BorderColor>
<FontFamily>Tahoma</FontFamily>
<FontWeight>700</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>6</ZIndex>
<CanGrow>true</CanGrow>
<Value>=Fields!nomeMacchina.Value</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="codMacchina">
<rd:DefaultName>codMacchina</rd:DefaultName>
<Style>
<BorderColor>
<Default>White</Default>
</BorderColor>
<FontFamily>Tahoma</FontFamily>
<FontWeight>700</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>5</ZIndex>
<CanGrow>true</CanGrow>
<Value>=Fields!codMacchina.Value</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="matricola">
<rd:DefaultName>matricola</rd:DefaultName>
<Style>
<BorderColor>
<Default>White</Default>
</BorderColor>
<FontFamily>Tahoma</FontFamily>
<FontWeight>500</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>4</ZIndex>
<CanGrow>true</CanGrow>
<Value>=Fields!matricola.Value</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="modello">
<rd:DefaultName>modello</rd:DefaultName>
<Style>
<BorderColor>
<Default>White</Default>
</BorderColor>
<FontFamily>Tahoma</FontFamily>
<FontWeight>500</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>3</ZIndex>
<CanGrow>true</CanGrow>
<Value>=Fields!modello.Value</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="anno">
<rd:DefaultName>anno</rd:DefaultName>
<Style>
<BorderColor>
<Default>White</Default>
</BorderColor>
<FontFamily>Tahoma</FontFamily>
<FontWeight>500</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>2</ZIndex>
<CanGrow>true</CanGrow>
<Value>=Fields!anno.Value</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="kgPeso">
<rd:DefaultName>kgPeso</rd:DefaultName>
<Style>
<BorderColor>
<Default>White</Default>
</BorderColor>
<FontFamily>Tahoma</FontFamily>
<FontWeight>500</FontWeight>
<Format>#### kg</Format>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>1</ZIndex>
<CanGrow>true</CanGrow>
<Value>=Fields!kgPeso.Value</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="kwConsumo">
<rd:DefaultName>kwConsumo</rd:DefaultName>
<Style>
<BorderColor>
<Default>White</Default>
</BorderColor>
<FontFamily>Tahoma</FontFamily>
<FontWeight>500</FontWeight>
<Format>#### kW</Format>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<CanGrow>true</CanGrow>
<Value>=Fields!kwConsumo.Value</Value>
</Textbox>
</ReportItems>
</TableCell>
</TableCells>
<Height>0.53333cm</Height>
</TableRow>
</TableRows>
</Details>
<Header>
<TableRows>
<TableRow>
<TableCells>
<TableCell>
<ReportItems>
<Textbox Name="textbox2">
<rd:DefaultName>textbox2</rd:DefaultName>
<Style>
<Color>DimGray</Color>
<BackgroundColor>Gainsboro</BackgroundColor>
<FontFamily>Tahoma</FontFamily>
<FontSize>11pt</FontSize>
<FontWeight>700</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>29</ZIndex>
<CanGrow>true</CanGrow>
<Value>Reparto</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox4">
<rd:DefaultName>textbox4</rd:DefaultName>
<Style>
<Color>DimGray</Color>
<BackgroundColor>Gainsboro</BackgroundColor>
<FontFamily>Tahoma</FontFamily>
<FontSize>11pt</FontSize>
<FontWeight>700</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>28</ZIndex>
<CanGrow>true</CanGrow>
<Value>Macchina</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox6">
<rd:DefaultName>textbox6</rd:DefaultName>
<Style>
<Color>DimGray</Color>
<BackgroundColor>Gainsboro</BackgroundColor>
<FontFamily>Tahoma</FontFamily>
<FontSize>11pt</FontSize>
<FontWeight>700</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>27</ZIndex>
<CanGrow>true</CanGrow>
<Value>cod Macchina</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox8">
<rd:DefaultName>textbox8</rd:DefaultName>
<Style>
<Color>DimGray</Color>
<BackgroundColor>Gainsboro</BackgroundColor>
<FontFamily>Tahoma</FontFamily>
<FontSize>11pt</FontSize>
<FontWeight>700</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>26</ZIndex>
<CanGrow>true</CanGrow>
<Value>matricola</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox10">
<rd:DefaultName>textbox10</rd:DefaultName>
<Style>
<Color>DimGray</Color>
<BackgroundColor>Gainsboro</BackgroundColor>
<FontFamily>Tahoma</FontFamily>
<FontSize>11pt</FontSize>
<FontWeight>700</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>25</ZIndex>
<CanGrow>true</CanGrow>
<Value>modello</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox12">
<rd:DefaultName>textbox12</rd:DefaultName>
<Style>
<Color>DimGray</Color>
<BackgroundColor>Gainsboro</BackgroundColor>
<FontFamily>Tahoma</FontFamily>
<FontSize>11pt</FontSize>
<FontWeight>700</FontWeight>
<TextAlign>Right</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>24</ZIndex>
<CanGrow>true</CanGrow>
<Value>anno</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox14">
<rd:DefaultName>textbox14</rd:DefaultName>
<Style>
<Color>DimGray</Color>
<BackgroundColor>Gainsboro</BackgroundColor>
<FontFamily>Tahoma</FontFamily>
<FontWeight>700</FontWeight>
<TextAlign>Right</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>23</ZIndex>
<CanGrow>true</CanGrow>
<Value>Peso</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox16">
<rd:DefaultName>textbox16</rd:DefaultName>
<Style>
<Color>DimGray</Color>
<BackgroundColor>Gainsboro</BackgroundColor>
<FontFamily>Tahoma</FontFamily>
<FontWeight>700</FontWeight>
<TextAlign>Right</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>22</ZIndex>
<CanGrow>true</CanGrow>
<Value>Cons.</Value>
</Textbox>
</ReportItems>
</TableCell>
</TableCells>
<Height>0.5cm</Height>
</TableRow>
</TableRows>
<RepeatOnNewPage>true</RepeatOnNewPage>
</Header>
<TableColumns>
<TableColumn>
<Width>2.5cm</Width>
</TableColumn>
<TableColumn>
<Width>11.0582cm</Width>
</TableColumn>
<TableColumn>
<Width>3.30291cm</Width>
</TableColumn>
<TableColumn>
<Width>2.25cm</Width>
</TableColumn>
<TableColumn>
<Width>4.77646cm</Width>
</TableColumn>
<TableColumn>
<Width>1.5cm</Width>
</TableColumn>
<TableColumn>
<Width>1.45503cm</Width>
</TableColumn>
<TableColumn>
<Width>1.69312cm</Width>
</TableColumn>
</TableColumns>
</Table>
</ReportItems>
<Height>3.55475cm</Height>
</Body>
<Language>en-US</Language>
<PageFooter>
<PrintOnFirstPage>true</PrintOnFirstPage>
<ReportItems>
<Textbox Name="textbox5">
<Top>0.05754cm</Top>
<Width>17.67196cm</Width>
<Style>
<FontStyle>Italic</FontStyle>
<FontSize>8pt</FontSize>
<TextAlign>Center</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>3</ZIndex>
<CanGrow>true</CanGrow>
<Left>5.70238cm</Left>
<Value>Somaschini SPA - SteamWare © 2006-2009</Value>
</Textbox>
<Textbox Name="textbox61">
<Top>0.05754cm</Top>
<Width>1.75cm</Width>
<Style>
<FontSize>8pt</FontSize>
<TextAlign>Right</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>2</ZIndex>
<CanGrow>true</CanGrow>
<Left>24cm</Left>
<Value>Pagina</Value>
</Textbox>
<Textbox Name="textbox63">
<Top>0.05754cm</Top>
<Width>2.5cm</Width>
<Style>
<FontSize>8pt</FontSize>
<TextAlign>Center</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>1</ZIndex>
<CanGrow>true</CanGrow>
<Left>25.5cm</Left>
<Value>=Globals.PageNumber &amp; " di " &amp; Globals.TotalPages</Value>
</Textbox>
<Textbox Name="textbox60">
<Top>0.05754cm</Top>
<Width>5.25cm</Width>
<Style>
<FontSize>8pt</FontSize>
<TextAlign>Center</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<CanGrow>true</CanGrow>
<Value>= " data " &amp; Format(Globals.ExecutionTime, "dd/MM/yyyy, HH:mm")</Value>
</Textbox>
</ReportItems>
<Height>0.53373cm</Height>
<PrintOnLastPage>true</PrintOnLastPage>
</PageFooter>
<TopMargin>0.2cm</TopMargin>
<PageHeight>21cm</PageHeight>
</Report>
@@ -0,0 +1,55 @@
<%@ Master Language="C#" AutoEventWireup="true" Inherits="MasterAjax" Codebehind="MasterAjax.master.cs" %>
<%@ Register Src="~/WebUserControls/mod_menuTop.ascx" TagName="mod_menuTop" TagPrefix="uc1" %>
<%@ Register Src="~/WebUserControls/mod_menuSx.ascx" TagName="mod_menuSx" TagPrefix="uc2" %>
<%@ Register Src="~/WebUserControls/mod_menuBottom.ascx" TagName="mod_menuBottom" TagPrefix="uc5" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title></title>
<link href="Style.css" rel="stylesheet" type="text/css" />
</head>
<body class="body">
<form id="form1" runat="server">
<asp:ScriptManager ID="sm" runat="server" EnablePartialRendering="true" EnableScriptGlobalization="true"
EnableScriptLocalization="true">
</asp:ScriptManager>
<table class="formatTableGeneral" id="tblFormat" cellspacing="0" cellpadding="0">
<tr>
<td class="topMenu" colspan="2">
<div>
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" RenderMode="Inline">
<ContentTemplate>
<uc1:mod_menuTop ID="Mod_menuTop1" runat="server" />
</ContentTemplate>
</asp:UpdatePanel>
</div>
</td>
</tr>
<tr>
<td class="menuSx">
<asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Always" RenderMode="Inline">
<ContentTemplate>
<uc2:mod_menuSx ID="Mod_menuSx1" runat="server" />
</ContentTemplate>
</asp:UpdatePanel>
</td>
<td class="bodyMain">
<div>
<asp:UpdatePanel ID="updPanelPagina" runat="server" UpdateMode="Conditional" RenderMode="Inline">
<ContentTemplate>
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
</asp:ContentPlaceHolder>
</ContentTemplate>
</asp:UpdatePanel>
</div>
</td>
</tr>
<tr>
<td colspan="2" class="bottomWrite">
<uc5:mod_menuBottom ID="Mod_menuBottom1" runat="server" />
</td>
</tr>
</table>
</form>
</body>
</html>
@@ -0,0 +1,49 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using SteamWare;
public partial class MasterAjax : System.Web.UI.MasterPage
{
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina");
}
protected override void OnInit(EventArgs e)
{
base.OnInit(e);
Mod_menuTop1.eh_toggleMenuSx += new EventHandler(Mod_menuTop1_eh_toggleMenuSx);
Mod_menuTop1.eh_reqUpdateMenu += new EventHandler(Mod_menuTop1_eh_reqUpdateMenu);
}
void Mod_menuTop1_eh_reqUpdateMenu(object sender, EventArgs e)
{
// chiamo update del menu sx...
Mod_menuSx1.forzaUpdateMenu();
}
void Mod_menuTop1_eh_toggleMenuSx(object sender, EventArgs e)
{
// cambio stato visualizzaizone menù laterale...
Mod_menuSx1.Visible = !Mod_menuSx1.Visible;
}
protected override void OnUnload(EventArgs e)
{
base.OnUnload(e);
// svuoto tutti gli event handler inseriti...
Mod_menuTop1.eh_toggleMenuSx -= new EventHandler(Mod_menuTop1_eh_toggleMenuSx);
Mod_menuTop1.eh_reqUpdateMenu -= new EventHandler(Mod_menuTop1_eh_reqUpdateMenu);
}
}
+104
View File
@@ -0,0 +1,104 @@
//------------------------------------------------------------------------------
// <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 MasterAjax {
/// <summary>
/// Head1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlHead Head1;
/// <summary>
/// form1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// sm control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.ScriptManager sm;
/// <summary>
/// UpdatePanel1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel UpdatePanel1;
/// <summary>
/// Mod_menuTop1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_menuTop Mod_menuTop1;
/// <summary>
/// UpdatePanel2 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel UpdatePanel2;
/// <summary>
/// Mod_menuSx1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_menuSx Mod_menuSx1;
/// <summary>
/// updPanelPagina control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.UpdatePanel updPanelPagina;
/// <summary>
/// ContentPlaceHolder1 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.ContentPlaceHolder ContentPlaceHolder1;
/// <summary>
/// Mod_menuBottom1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_menuBottom Mod_menuBottom1;
}
@@ -0,0 +1,35 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("GIM_site")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("GIM_site")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2010")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("3d5900ae-111a-45be-96b3-d9e4606ca793")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,971 @@
<?xml version="1.0" encoding="utf-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<DataSources>
<DataSource Name="WebGim">
<rd:DataSourceID>a89e8338-493e-433b-b479-316efbad0009</rd:DataSourceID>
<DataSourceReference>WebGim</DataSourceReference>
</DataSource>
</DataSources>
<InteractiveHeight>11in</InteractiveHeight>
<ReportParameters>
<ReportParameter Name="OreTotali">
<DataType>Float</DataType>
<AllowBlank>true</AllowBlank>
<Prompt>OreTotali</Prompt>
</ReportParameter>
</ReportParameters>
<rd:DrawGrid>true</rd:DrawGrid>
<InteractiveWidth>8.5in</InteractiveWidth>
<rd:GridSpacing>0.25cm</rd:GridSpacing>
<rd:SnapToGrid>true</rd:SnapToGrid>
<RightMargin>0.2cm</RightMargin>
<LeftMargin>0.2cm</LeftMargin>
<PageHeader>
<PrintOnFirstPage>true</PrintOnFirstPage>
<ReportItems>
<Textbox Name="textbox29">
<Width>20.25cm</Width>
<Style>
<FontStyle>Italic</FontStyle>
<FontSize>8pt</FontSize>
<TextAlign>Center</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<CanGrow>true</CanGrow>
<Value>Report MTBF MTTR</Value>
</Textbox>
</ReportItems>
<Height>0.4762cm</Height>
<PrintOnLastPage>true</PrintOnLastPage>
</PageHeader>
<BottomMargin>0.2cm</BottomMargin>
<rd:ReportID>0aad9ce8-d201-4dde-aa78-0d9db3569b39</rd:ReportID>
<PageWidth>21cm</PageWidth>
<DataSets>
<DataSet Name="WebGim">
<Fields>
<Field Name="numInterventi">
<DataField>numInterventi</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="totOreMtz">
<DataField>totOreMtz</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="totOreOfficina">
<DataField>totOreOfficina</DataField>
<rd:TypeName>System.Int32</rd:TypeName>
</Field>
<Field Name="codImpianto">
<DataField>codImpianto</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="codMacchina">
<DataField>codMacchina</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="nomeImpianto">
<DataField>nomeImpianto</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
<Field Name="nomeMacchina">
<DataField>nomeMacchina</DataField>
<rd:TypeName>System.String</rd:TypeName>
</Field>
</Fields>
<Query>
<DataSourceName>WebGim</DataSourceName>
<CommandText>select * from v_datiMTBFMTTR</CommandText>
<rd:UseGenericDesigner>true</rd:UseGenericDesigner>
</Query>
</DataSet>
</DataSets>
<Code />
<Width>20.5cm</Width>
<Body>
<ColumnSpacing>1cm</ColumnSpacing>
<ReportItems>
<Textbox Name="textbox37">
<CanShrink>true</CanShrink>
<Top>2.5cm</Top>
<Width>9.75cm</Width>
<Style>
<FontWeight>700</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>10</ZIndex>
<Left>10.25cm</Left>
<Height>0.5cm</Height>
<Value>MTTR_off</Value>
</Textbox>
<Textbox Name="textbox36">
<Top>3cm</Top>
<Width>9.75cm</Width>
<Style>
<FontSize>8pt</FontSize>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>9</ZIndex>
<CanGrow>true</CanGrow>
<Left>10.25cm</Left>
<Height>0.5cm</Height>
<Value>riferito al tempo di fermata complessiva della macchina (impianto)</Value>
</Textbox>
<Textbox Name="textbox35">
<Top>3cm</Top>
<Width>9.75cm</Width>
<Style>
<FontSize>8pt</FontSize>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>8</ZIndex>
<CanGrow>true</CanGrow>
<Left>0.25cm</Left>
<Height>0.5cm</Height>
<Value>riferito al tempo di pura riparazione della macchina (impianto)
</Value>
</Textbox>
<Textbox Name="textbox34">
<Top>1.75cm</Top>
<Width>9.75cm</Width>
<Style>
<FontSize>8pt</FontSize>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>7</ZIndex>
<CanGrow>true</CanGrow>
<Left>10.25cm</Left>
<Height>0.75cm</Height>
<Value>(Tempo medio di riparazione) Durata media di un intervento di riparazione alla macchina (impianto)
</Value>
</Textbox>
<Textbox Name="textbox33">
<Top>1.75cm</Top>
<Width>9.75cm</Width>
<Style>
<FontSize>8pt</FontSize>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>6</ZIndex>
<CanGrow>true</CanGrow>
<Left>0.25cm</Left>
<Height>0.75cm</Height>
<Value>(Tempo medio di guasto) Ore che intercorrono mediamente tra due guasti alla macchina (impianto)
</Value>
</Textbox>
<Textbox Name="textbox32">
<Top>2.5cm</Top>
<Width>9.75cm</Width>
<Style>
<FontWeight>700</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>5</ZIndex>
<CanGrow>true</CanGrow>
<Left>0.25cm</Left>
<Height>0.5cm</Height>
<Value>MTTR_man</Value>
</Textbox>
<Textbox Name="textbox31">
<Top>1.25cm</Top>
<Width>9.75cm</Width>
<Style>
<FontWeight>700</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>4</ZIndex>
<CanGrow>true</CanGrow>
<Left>10.25cm</Left>
<Height>0.5cm</Height>
<Value>MTTR (Mean Time To Repair)
</Value>
</Textbox>
<Textbox Name="textbox30">
<rd:DefaultName>textbox30</rd:DefaultName>
<Top>1.25cm</Top>
<Width>9.75cm</Width>
<Style>
<FontWeight>700</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>3</ZIndex>
<CanGrow>true</CanGrow>
<Left>0.25cm</Left>
<Height>0.5cm</Height>
<Value>MTBF (Mean Time Before Failure)</Value>
</Textbox>
<Textbox Name="textbox1">
<rd:DefaultName>textbox1</rd:DefaultName>
<Width>20.31746cm</Width>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>20pt</FontSize>
<FontWeight>700</FontWeight>
<TextAlign>Center</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>2</ZIndex>
<CanGrow>true</CanGrow>
<Height>0.91429cm</Height>
<Value>Report MTBF MTTR</Value>
</Textbox>
<Table Name="table1">
<ZIndex>1</ZIndex>
<DataSetName>WebGim</DataSetName>
<Top>4cm</Top>
<TableGroups>
<TableGroup>
<Grouping Name="table1_nomeImpianto">
<GroupExpressions>
<GroupExpression>=Fields!nomeImpianto.Value</GroupExpression>
</GroupExpressions>
</Grouping>
<Sorting>
<SortBy>
<SortExpression>=Fields!nomeImpianto.Value</SortExpression>
<Direction>Ascending</Direction>
</SortBy>
</Sorting>
<Header>
<TableRows>
<TableRow>
<TableCells>
<TableCell>
<ColSpan>4</ColSpan>
<ReportItems>
<Textbox Name="nomeImpianto">
<rd:DefaultName>nomeImpianto</rd:DefaultName>
<Style>
<Color>White</Color>
<BackgroundColor>SteelBlue</BackgroundColor>
<BorderColor>
<Default>LightGrey</Default>
</BorderColor>
<FontFamily>Tahoma</FontFamily>
<FontWeight>700</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>26</ZIndex>
<CanGrow>true</CanGrow>
<Value>=(Fields!nomeImpianto.Value)&amp;" "&amp;(Fields!codImpianto.Value)</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox15">
<rd:DefaultName>textbox15</rd:DefaultName>
<Style>
<Color>White</Color>
<BackgroundColor>SteelBlue</BackgroundColor>
<BorderColor>
<Default>LightGrey</Default>
</BorderColor>
<FontFamily>Tahoma</FontFamily>
<FontWeight>700</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>25</ZIndex>
<CanGrow>true</CanGrow>
<Value>Num. Int. </Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox11">
<Style>
<Color>White</Color>
<BackgroundColor>SteelBlue</BackgroundColor>
<BorderColor>
<Default>LightGrey</Default>
</BorderColor>
<FontFamily>Tahoma</FontFamily>
<FontSize>11pt</FontSize>
<FontWeight>700</FontWeight>
<TextAlign>Right</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>24</ZIndex>
<CanGrow>true</CanGrow>
<Value>MTBF</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox13">
<Style>
<Color>White</Color>
<BackgroundColor>SteelBlue</BackgroundColor>
<BorderColor>
<Default>LightGrey</Default>
</BorderColor>
<FontFamily>Tahoma</FontFamily>
<FontSize>11pt</FontSize>
<FontWeight>700</FontWeight>
<TextAlign>Right</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>23</ZIndex>
<CanGrow>true</CanGrow>
<Value>MTTR_man</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox14">
<Style>
<Color>White</Color>
<BackgroundColor>SteelBlue</BackgroundColor>
<BorderColor>
<Default>LightGrey</Default>
</BorderColor>
<FontFamily>Tahoma</FontFamily>
<FontSize>11pt</FontSize>
<FontWeight>700</FontWeight>
<TextAlign>Right</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>22</ZIndex>
<CanGrow>true</CanGrow>
<Value>MTTR_off</Value>
</Textbox>
</ReportItems>
</TableCell>
</TableCells>
<Height>0.5cm</Height>
</TableRow>
</TableRows>
</Header>
<Footer>
<TableRows>
<TableRow>
<TableCells>
<TableCell>
<ReportItems>
<Textbox Name="textbox21">
<rd:DefaultName>textbox21</rd:DefaultName>
<Style>
<BorderColor>
<Default>LightGrey</Default>
</BorderColor>
<BorderStyle>
<Top>Solid</Top>
</BorderStyle>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>13</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox22">
<rd:DefaultName>textbox22</rd:DefaultName>
<Style>
<BorderColor>
<Default>LightGrey</Default>
</BorderColor>
<BorderStyle>
<Top>Solid</Top>
</BorderStyle>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>12</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox23">
<rd:DefaultName>textbox23</rd:DefaultName>
<Style>
<BorderColor>
<Default>LightGrey</Default>
</BorderColor>
<BorderStyle>
<Top>Solid</Top>
</BorderStyle>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>11</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox24">
<rd:DefaultName>textbox24</rd:DefaultName>
<Style>
<BorderColor>
<Default>LightGrey</Default>
</BorderColor>
<BorderStyle>
<Top>Solid</Top>
</BorderStyle>
<FontWeight>700</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>10</ZIndex>
<CanGrow>true</CanGrow>
<Value>Tot :</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox25">
<rd:DefaultName>textbox25</rd:DefaultName>
<Style>
<BorderColor>
<Default>LightGrey</Default>
</BorderColor>
<BorderStyle>
<Top>Solid</Top>
</BorderStyle>
<FontWeight>700</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>9</ZIndex>
<CanGrow>true</CanGrow>
<Value>=Sum(Fields!numInterventi.Value)</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox26">
<rd:DefaultName>textbox26</rd:DefaultName>
<Style>
<BorderColor>
<Default>LightGrey</Default>
</BorderColor>
<BorderStyle>
<Top>Solid</Top>
</BorderStyle>
<FontWeight>700</FontWeight>
<Format>#.00 h</Format>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>8</ZIndex>
<CanGrow>true</CanGrow>
<Value>=(Parameters!OreTotali.Value)/Sum(Fields!numInterventi.Value)</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox27">
<rd:DefaultName>textbox27</rd:DefaultName>
<Style>
<BorderColor>
<Default>LightGrey</Default>
</BorderColor>
<BorderStyle>
<Top>Solid</Top>
</BorderStyle>
<FontWeight>700</FontWeight>
<Format>#.00 h</Format>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>7</ZIndex>
<CanGrow>true</CanGrow>
<Value>=sum(Fields!totOreMtz.Value)/sum(Fields!numInterventi.Value)</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox28">
<rd:DefaultName>textbox28</rd:DefaultName>
<Style>
<BorderColor>
<Default>LightGrey</Default>
</BorderColor>
<BorderStyle>
<Top>Solid</Top>
</BorderStyle>
<FontWeight>700</FontWeight>
<Format>#.00 h</Format>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>6</ZIndex>
<CanGrow>true</CanGrow>
<Value>=sum(Fields!totOreOfficina.Value)/sum(Fields!numInterventi.Value)</Value>
</Textbox>
</ReportItems>
</TableCell>
</TableCells>
<Height>0.63492cm</Height>
</TableRow>
<TableRow>
<TableCells>
<TableCell>
<ReportItems>
<Textbox Name="textbox2">
<rd:DefaultName>textbox2</rd:DefaultName>
<Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>21</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox4">
<rd:DefaultName>textbox4</rd:DefaultName>
<Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>20</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox6">
<rd:DefaultName>textbox6</rd:DefaultName>
<Style>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>19</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox7">
<rd:DefaultName>textbox7</rd:DefaultName>
<Style>
<FontWeight>700</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>18</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox8">
<rd:DefaultName>textbox8</rd:DefaultName>
<Style>
<FontWeight>700</FontWeight>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>17</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox9">
<rd:DefaultName>textbox9</rd:DefaultName>
<Style>
<FontWeight>700</FontWeight>
<Format>#.00 h</Format>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>16</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox10">
<rd:DefaultName>textbox10</rd:DefaultName>
<Style>
<FontWeight>700</FontWeight>
<Format>#.00 h</Format>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>15</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox12">
<rd:DefaultName>textbox12</rd:DefaultName>
<Style>
<FontWeight>700</FontWeight>
<Format>#.00 h</Format>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>14</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
</TableCells>
<Height>0.63492cm</Height>
</TableRow>
</TableRows>
</Footer>
</TableGroup>
</TableGroups>
<Width>20.05716cm</Width>
<Details>
<TableRows>
<TableRow>
<TableCells>
<TableCell>
<ColSpan>3</ColSpan>
<ReportItems>
<Textbox Name="textbox5">
<Style>
<BorderColor>
<Default>LightGrey</Default>
</BorderColor>
<FontFamily>Tahoma</FontFamily>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>5</ZIndex>
<CanGrow>true</CanGrow>
<Value>=(Fields!nomeMacchina.Value)&amp;" "&amp;(Fields!codMacchina.Value)</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox16">
<Style>
<BorderColor>
<Default>LightGrey</Default>
</BorderColor>
<FontFamily>Tahoma</FontFamily>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>4</ZIndex>
<CanGrow>true</CanGrow>
<Value />
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox17">
<Style>
<BorderColor>
<Default>LightGrey</Default>
</BorderColor>
<FontFamily>Tahoma</FontFamily>
<TextAlign>Right</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>3</ZIndex>
<CanGrow>true</CanGrow>
<Value>=Fields!numInterventi.Value</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox18">
<Style>
<BorderColor>
<Default>LightGrey</Default>
</BorderColor>
<FontFamily>Tahoma</FontFamily>
<Format>#.00 h</Format>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>2</ZIndex>
<CanGrow>true</CanGrow>
<Value>=(Parameters!OreTotali.Value)/Fields!numInterventi.Value</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox19">
<Style>
<BorderColor>
<Default>LightGrey</Default>
</BorderColor>
<FontFamily>Tahoma</FontFamily>
<Format>#.00 h</Format>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>1</ZIndex>
<CanGrow>true</CanGrow>
<Value>=(Fields!totOreMtz.Value)/(Fields!numInterventi.Value)</Value>
</Textbox>
</ReportItems>
</TableCell>
<TableCell>
<ReportItems>
<Textbox Name="textbox20">
<Style>
<BorderColor>
<Default>LightGrey</Default>
</BorderColor>
<FontFamily>Tahoma</FontFamily>
<Format>#.00 h</Format>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<CanGrow>true</CanGrow>
<Value>=(Fields!totOreOfficina.Value)/(Fields!numInterventi.Value)</Value>
</Textbox>
</ReportItems>
</TableCell>
</TableCells>
<Height>0.55588cm</Height>
</TableRow>
</TableRows>
</Details>
<TableColumns>
<TableColumn>
<Width>2.75737cm</Width>
</TableColumn>
<TableColumn>
<Width>2.75737cm</Width>
</TableColumn>
<TableColumn>
<Width>2.75737cm</Width>
</TableColumn>
<TableColumn>
<Width>1.25cm</Width>
</TableColumn>
<TableColumn>
<Width>2.25cm</Width>
</TableColumn>
<TableColumn>
<Width>2.75737cm</Width>
</TableColumn>
<TableColumn>
<Width>2.75737cm</Width>
</TableColumn>
<TableColumn>
<Width>2.77031cm</Width>
</TableColumn>
</TableColumns>
<Height>2.32572cm</Height>
</Table>
<Rectangle Name="rectangle1">
<Left>0.25cm</Left>
<Top>1.25cm</Top>
<Width>19.7619cm</Width>
<Style>
<BorderStyle>
<Default>Solid</Default>
</BorderStyle>
</Style>
<Height>2.5cm</Height>
</Rectangle>
</ReportItems>
<Height>6.82572cm</Height>
</Body>
<Language>en-US</Language>
<PageFooter>
<PrintOnFirstPage>true</PrintOnFirstPage>
<ReportItems>
<Textbox Name="textbox3">
<Top>0.1369cm</Top>
<Width>10.54762cm</Width>
<Style>
<FontStyle>Italic</FontStyle>
<FontSize>8pt</FontSize>
<TextAlign>Center</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>3</ZIndex>
<CanGrow>true</CanGrow>
<Left>5.03373cm</Left>
<Height>0.4762cm</Height>
<Value>Somaschini SPA - SteamWare © 2006-2009</Value>
</Textbox>
<Textbox Name="textbox61">
<Top>0.1369cm</Top>
<Width>1.75cm</Width>
<Style>
<FontSize>8pt</FontSize>
<TextAlign>Right</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>2</ZIndex>
<CanGrow>true</CanGrow>
<Left>16.03373cm</Left>
<Height>0.4762cm</Height>
<Value>Pagina</Value>
</Textbox>
<Textbox Name="textbox63">
<Top>0.1369cm</Top>
<Width>2.5cm</Width>
<Style>
<FontSize>8pt</FontSize>
<TextAlign>Center</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<ZIndex>1</ZIndex>
<CanGrow>true</CanGrow>
<Left>17.53373cm</Left>
<Height>0.4762cm</Height>
<Value>=Globals.PageNumber &amp; " di " &amp; Globals.TotalPages</Value>
</Textbox>
<Textbox Name="textbox60">
<Top>0.1369cm</Top>
<Width>4.5cm</Width>
<Style>
<FontSize>8pt</FontSize>
<TextAlign>Center</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
<CanGrow>true</CanGrow>
<Left>0.28373cm</Left>
<Height>0.4762cm</Height>
<Value>= " data " &amp; Format(Globals.ExecutionTime, "dd/MM/yyyy, HH:mm")</Value>
</Textbox>
</ReportItems>
<Height>0.75cm</Height>
<PrintOnLastPage>true</PrintOnLastPage>
</PageFooter>
<TopMargin>0.2cm</TopMargin>
<PageHeight>29.7cm</PageHeight>
</Report>
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+197
View File
@@ -0,0 +1,197 @@
<?xml version="1.0"?>
<!--
Note: As an alternative to hand editing this file you can use the
web admin tool to configure settings for your application. Use
the Website->Asp.Net Configuration option in Visual Studio.
A full list of settings and comments can be found in
machine.config.comments usually located in
\Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
<configSections>
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
</sectionGroup>
</sectionGroup>
</sectionGroup>
<section name="microsoft.web.services2" type="Microsoft.Web.Services2.Configuration.WebServicesConfiguration, Microsoft.Web.Services2, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</configSections>
<system.web>
<identity/>
<authentication mode="Windows" />
<globalization uiCulture="auto" enableClientBasedCulture="true" />
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<!--<add tagPrefix="asp" namespace="Microsoft.Web.Preview.UI" assembly="Microsoft.Web.Preview" />
<add tagPrefix="asp" namespace="Microsoft.Web.Preview.UI.Controls" assembly="Microsoft.Web.Preview" />-->
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</controls>
</pages>
<compilation debug="true">
<assemblies>
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="Microsoft.Web.Services2, Version=2.0.3.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Security, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.ServiceProcess, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Configuration.Install, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="Microsoft.ReportViewer.WinForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Web.Extensions.Design, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</assemblies>
<!--<buildProviders>
<add extension="*.asbx" type="Microsoft.Web.Preview.Services.BridgeBuildProvider" />
</buildProviders>-->
</compilation>
<httpHandlers>
<remove verb="*" path="*.asmx" />
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
<add verb="GET,HEAD,POST" path="*.asbx" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />
</httpHandlers>
<httpModules>
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</httpModules>
<customErrors mode="Off" />
<!--<customErrors mode="RemoteOnly" defaultRedirect="unauthorized.aspx" />-->
<httpRuntime maxRequestLength="102400" />
<!-- qui sopra configurato x gestire allegati fino a 100 mb...
<httpRuntime
maxRequestLength="102400"
executionTimeout="1200"
useFullyQualifiedRedirectUrl="false"
minFreeThreads="8"
minLocalRequestFreeThreads="4"
appRequestQueueLimit="100" />
-->
</system.web>
<system.web.extensions>
<scripting>
<scriptResourceHandler enableCompression="true" enableCaching="true" />
</scripting>
</system.web.extensions>
<appSettings>
<add key="CodModulo" value="GIM"/>
<add key="dominio" value="VOSTRO410"/>
<add key="intUpdatePagina_ms" value="60000"/>
<add key="_righeDataGrid" value="30"/>
<add key="_righeDataGridAnagr" value="20"/>
<add key="_righeDataGridLong" value="40"/>
<add key="_righeDataGridMed" value="15"/>
<add key="_righeDataGridShort" value="10"/>
<add key="_fromEmail" value="info@steamware.net"/>
<add key="_logLevel" value="6"/>
<add key="_logMaxMb" value="30"/>
<add key="_allowForceUser" value="true"/>
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx"/>
<add key="_commonPages" value="menu.aspx"/>
<add key="_titoloPagina" value="GIM"/>
<add key="titleApp" value="GIM_titleApp"/>
<add key="welcomeApp" value="GIM_welcomeApp"/>
<add key="appName" value="GIM"/>
<add key="mainRev" value="1.1"/>
<add key="minRev" value="160"/>
<add key="copyRight" value="SteamWare © 2006-2009"/>
<add key="defaultApp" value="GIM_Appl"/>
<add key="defaultTitle" value="GIM_ShortWelcome"/>
<add key="defaultBody" value="GIM_LongWelcome"/>
<add key="_adminEmail" value="info@steamware.net"/>
<add key="_logDir" value="./logs/"/>
<add key="_smtpCli" value="localhost"/>
<add key="PermessiConnectionString" value="Data Source=localhost\sql2005;Initial Catalog=GIM;Persist Security Info=True;User id=sa;Password=keyhammer"/>
<add key="UtenteCdcConnectionString" value="Data Source=localhost\sql2005;Initial Catalog=SteamWare_Anagrafica;Persist Security Info=True;User id=sa;Password=keyhammer"/>
<add key="VocabolarioConnectionString" value="Data Source=localhost\sql2005;Initial Catalog=SteamWare_Vocabolario;Persist Security Info=True;User id=sa;Password=keyhammer"/>
<add key="AppConnectionString" value="Data Source=localhost\sql2005;Initial Catalog=GIM;Persist Security Info=True;User id=sa;Password=keyhammer"/>
<add key="TestAppConnectionString" value="Data Source=localhost\sql2005;Initial Catalog=GIM_test;Persist Security Info=True;User id=sa;Password=keyhammer"/>
<!--valori default-->
<add key ="defaultMatr" value="0000"/>
<add key ="defaultCodImp" value="0000"/>
<add key ="defaultCodMacc" value="0000"/>
<!--gestione turni-->
<add key="shiftTurno" value="6"/>
<add key="durataTurno" value="8"/>
<add key="defaultDelay" value="15"/>
<!-- Configurazione parte db -->
<add key="_sqlDir" value="sql"/>
<add key="dbUpdateEnabled" value="true"/>
<add key="dbAuthName" value="SteamWare_Anagrafica"/>
<add key="dbVocabName" value="SteamWare_Vocabolario"/>
<add key="dbAppName" value="GIM"/>
<add key="dbTest" value="GIM_test"/>
<add key="dbAuthVers" value="1"/>
<add key="dbVocabVers" value="1"/>
<add key="dbAppVers" value="5"/>
<add key="dbAppCreaEnab" value="false"/>
<add key="sqlFileFormat" value="{0}_{1:0000}.sql"/>
<add key="sqlScriptDir" value="sql"/>
<add key="appFilePre" value="GIM"/>
<!-- Gestione Auto-enroll-->
<add key="autoEnrollEnabled" value="false"/>
<add key="autoEnrollCdc" value="X999"/>
<add key="autoEnrollModulo" value="GIM"/>
<add key="autoEnrollFunzione" value="GIM_U"/>
<!--gestione stampanti-->
<add key ="stampanteRichiesteMtz" value="PDFCreator"/>
</appSettings>
<connectionStrings>
<add name="GIMConnectionString" connectionString="Data Source=localhost\sql2005;Initial Catalog=GIM;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
</connectionStrings>
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<modules>
<remove name="ScriptModule" />
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</modules>
<handlers>
<remove name="ScriptHandlerFactory" />
<remove name="ScriptHandlerFactoryAppServices" />
<remove name="ScriptResource" />
<remove name="WebServiceHandlerFactory-Integrated" />
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add name="ASBXHandler" verb="GET,HEAD,POST" path="*.asbx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</handlers>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Microsoft.VisualStudio.Enterprise.ASPNetHelper" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<codeBase version="8.0.0.0" href="file:///C:/Program%20Files/Microsoft%20Visual%20Studio%208/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.Enterprise.ASPNetHelper.DLL" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
<providerOption name="CompilerVersion" value="v3.5" />
<providerOption name="WarnAsError" value="false" />
</compiler>
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4">
<providerOption name="CompilerVersion" value="v3.5" />
<providerOption name="OptionInfer" value="true" />
<providerOption name="WarnAsError" value="false" />
</compiler>
</compilers>
</system.codedom>
</configuration>
@@ -0,0 +1,62 @@
<appSettings>
<add key="CodModulo" value="GIM"/>
<add key="dominio" value="VOSTRO410"/>
<add key="intUpdatePagina_ms" value="60000"/>
<add key="_righeDataGrid" value="30"/>
<add key="_righeDataGridAnagr" value="20"/>
<add key="_righeDataGridLong" value="40"/>
<add key="_righeDataGridMed" value="15"/>
<add key="_righeDataGridShort" value="10"/>
<add key="_fromEmail" value="info@steamware.net"/>
<add key="_logLevel" value="5"/>
<add key="_logMaxMb" value="30"/>
<add key="_allowForceUser" value="true"/>
<add key="_safePages" value="jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#istruzioni.aspx"/>
<add key="_commonPages" value="menu.aspx"/>
<add key="_titoloPagina" value="GIM"/>
<add key="titleApp" value="GIM_titleApp"/>
<add key="welcomeApp" value="GIM_welcomeApp"/>
<add key="appName" value="GIM"/>
<add key="mainRev" value="1.0"/>
<add key="copyRight" value="SteamWare © 2006-2009"/>
<add key="defaultApp" value="GIM_Appl"/>
<add key="defaultTitle" value="GIM_ShortWelcome"/>
<add key="defaultBody" value="GIM_LongWelcome"/>
<add key="_adminEmail" value="info@steamware.net"/>
<add key="_logDir" value="./logs/"/>
<add key="_smtpCli" value="localhost"/>
<add key="PermessiConnectionString" value="Data Source=localhost;Initial Catalog=GIM;Persist Security Info=True;User id=steamware;Password=viadante16"/>
<add key="UtenteCdcConnectionString" value="Data Source=localhost;Initial Catalog=SteamWare_Anagrafica;Persist Security Info=True;User id=steamware;Password=viadante16"/>
<add key="VocabolarioConnectionString" value="Data Source=localhost;Initial Catalog=SteamWare_Vocabolario;Persist Security Info=True;User id=steamware;Password=viadante16"/>
<add key="AppConnectionString" value="Data Source=localhost;Initial Catalog=GIM;Persist Security Info=True;User id=steamware;Password=viadante16"/>
<add key="TestAppConnectionString" value="Data Source=localhost;Initial Catalog=GIM_test;Persist Security Info=True;User id=steamware;Password=viadante16"/>
<!--valori default-->
<add key ="defaultMatr" value="0000"/>
<add key ="defaultCodImp" value="0000"/>
<add key ="defaultCodMacc" value="0000"/>
<!--getione turni-->
<add key="shiftTurno" value="6"/>
<add key="durataTurno" value="8"/>
<add key="defaultDelay" value="15"/>
<!-- Configurazione parte db -->
<add key="_sqlDir" value="sql"/>
<add key="dbUpdateEnabled" value="true"/>
<add key="dbAuthName" value="SteamWare_Anagrafica"/>
<add key="dbVocabName" value="SteamWare_Vocabolario"/>
<add key="dbAppName" value="GIM"/>
<add key="dbTest" value="GIM_test"/>
<add key="dbAuthVers" value="1"/>
<add key="dbVocabVers" value="1"/>
<add key="dbAppVers" value="5"/>
<add key="dbAppCreaEnab" value="false"/>
<add key="sqlFileFormat" value="{0}_{1:0000}.sql"/>
<add key="sqlScriptDir" value="sql"/>
<add key="appFilePre" value="GIM"/>
<!-- Gestione Auto-enroll-->
<add key="autoEnrollEnabled" value="false"/>
<add key="autoEnrollCdc" value="X999"/>
<add key="autoEnrollModulo" value="GIM"/>
<add key="autoEnrollFunzione" value="GIM_U"/>
<!--gestione stampanti-->
<add key ="stampanteRichiesteMtz" value="\\pc-manutenzione\HP-manut"/>
</appSettings>
@@ -0,0 +1,3 @@
<connectionStrings>
<add name="GIMConnectionString" connectionString="Data Source=localhost;Initial Catalog=GIM;Persist Security Info=True;User ID=steamware;Password=viadante16" providerName="System.Data.SqlClient"/>
</connectionStrings>
@@ -0,0 +1,86 @@
<%@ Control Language="C#" AutoEventWireup="true"
Inherits="mod_anagAmbitiGuasto" Codebehind="mod_anagAmbitiGuasto.ascx.cs" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
DataKeyNames="idxAmbito" DataSourceID="ods" OnDataBound="grView_DataBound" OnRowEditing="grView_RowEditing">
<RowStyle CssClass="ctrRowStyle" />
<AlternatingRowStyle CssClass="ctrAltRowStyle" />
<EditRowStyle CssClass="ctrEditRowStyle" />
<SelectedRowStyle CssClass="ctrSelRowStyle" />
<FooterStyle CssClass="ctrFooter" />
<PagerStyle CssClass="ctrHeaderPager" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle CssClass="ctrHeaderPager" ForeColor="White" Font-Bold="True" />
<EmptyDataRowStyle CssClass="ctrRowStyle" />
<EmptyDataTemplate>
<asp:Label runat="server" ID="lblNoRecord" Text='<%# traduci("noRecord") %>' />
<asp:Button ID="btnNew" runat="server" OnClick="btnNewFromEmpty_Click" Text='<%# traduci("New") %>' />
</EmptyDataTemplate>
<Columns>
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center">
<EditItemTemplate>
<asp:ImageButton ID="imgUpdate" runat="server" CausesValidation="False" CommandName="Update"
ToolTip='<%# traduci("Update")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.conferma, SteamWare.dimImg.small) %>' />
<asp:ImageButton ID="imgCancel" runat="server" CausesValidation="False" CommandName="Cancel"
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla, SteamWare.dimImg.small) %>' />
</EditItemTemplate>
<HeaderTemplate>
<asp:Button ID="btnReset" runat="server" Text='<%# traduci("Reset") %>' OnClick="btnReset_Click"
Visible="false" />
</HeaderTemplate>
<ItemTemplate>
<asp:ImageButton ID="imgSelect" runat="server" CausesValidation="False" CommandName="Select"
Visible="false" ToolTip='<%# traduci("Select") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.seleziona, SteamWare.dimImg.small) %>' />
<asp:ImageButton ID="imgEdit" runat="server" CausesValidation="False" CommandName="Edit"
ToolTip='<%# traduci("Edit") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.modifica, SteamWare.dimImg.small) %>' />
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:BoundField DataField="idxAmbito" HeaderText="idxAmbito" InsertVisible="False"
Visible="false" ReadOnly="True" SortExpression="idxAmbito" />
<asp:TemplateField HeaderText="descrAmbitoGuasto" SortExpression="descrAmbitoGuasto">
<EditItemTemplate>
<asp:TextBox ID="TextBox1" runat="server" Width="30em" Text='<%# Bind("descrAmbitoGuasto") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Bind("descrAmbitoGuasto") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-HorizontalAlign="Center">
<HeaderTemplate>
<asp:Button ID="btnNew" runat="server" OnClick="btnNewFromEmpty_Click" Text='<%# traduci("New") %>' />
</HeaderTemplate>
<EditItemTemplate>
<asp:ImageButton ID="imgUpdate2" runat="server" CausesValidation="False" CommandName="Update"
ToolTip='<%# traduci("Update")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.conferma, SteamWare.dimImg.small) %>' />
<asp:ImageButton ID="imgCancel2" runat="server" CausesValidation="False" CommandName="Cancel"
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla, SteamWare.dimImg.small) %>' />
</EditItemTemplate>
<ItemTemplate>
<asp:ImageButton ID="imgDelete" runat="server" CausesValidation="False" CommandName="Delete"
ToolTip='<%# traduci("Delete") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.elimina, SteamWare.dimImg.small) %>' />
<cc1:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" ConfirmText='<%# traduci("confermaDel")%>'
TargetControlID="imgDelete">
</cc1:ConfirmButtonExtender>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini"></asp:Label>
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="GetData" TypeName="DS_applicazioneTableAdapters.AnagAmbitoGuastoTableAdapter"
UpdateMethod="Update" DeleteMethod="DeleteQuery" OldValuesParameterFormatString="Original_{0}"
FilterExpression="descrAmbitoGuasto LIKE '%{0}%' " InsertMethod="Insert">
<UpdateParameters>
<asp:Parameter Name="descrAmbitoGuasto" Type="String" />
<asp:Parameter Name="Original_idxAmbito" Type="Int32" />
</UpdateParameters>
<FilterParameters>
<asp:SessionParameter DefaultValue="*" Name="ricerca" SessionField="valoreCercato" />
</FilterParameters>
<DeleteParameters>
<asp:Parameter Name="Original_idxAmbito" Type="Int32" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="descrAmbitoGuasto" Type="String" />
</InsertParameters>
</asp:ObjectDataSource>
@@ -0,0 +1,85 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
public partial class mod_anagAmbitiGuasto : ApplicationUserControl
{
public event EventHandler eh_resetSelezione;
/// <summary>
/// evento dati associati a controllo
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void grView_DataBound(object sender, EventArgs e)
{
if (grView.Rows.Count > 0)
{
LinkButton lb;
// aggiorno gli headers
foreach (TableCell cella in grView.HeaderRow.Cells)
{
try
{
lb = (LinkButton)cella.Controls[0];
lb.Text = traduci(lb.Text);
}
catch
{ }
}
int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1);
lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord);
}
else
{
lblNumRec.Text = "";
}
}
/// <summary>
/// reset delle selezioni
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnReset_Click(object sender, EventArgs e)
{
resetSelezione();
}
/// <summary>
/// resetta la selezione dei valori in caso di modifiche su altri controlli
/// </summary>
public void resetSelezione()
{
grView.SelectedIndex = -1;
grView.DataBind();
if (eh_resetSelezione != null)
{
eh_resetSelezione(this, new EventArgs());
}
}
/// <summary>
/// seleziono valore in editing...
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void grView_RowEditing(object sender, GridViewEditEventArgs e)
{
// seleziono la riga corrente...
grView.SelectedIndex = e.NewEditIndex;
}
/// <summary>
/// gestione evento inserimento nuovo record standard (se ZERO presenti)
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnNewFromEmpty_Click(object sender, EventArgs e)
{
// reset selezione...
resetSelezione();
// i primi valori ("0") di default sono "ND"... li inserisco come standard...
GIM_data.DS_applicazioneTableAdapters.AnagAmbitoGuastoTableAdapter taAnagAmbito = new GIM_data.DS_applicazioneTableAdapters.AnagAmbitoGuastoTableAdapter();
taAnagAmbito.Insert("-- [NUOVO] non definito --");
grView.DataBind();
}
}
@@ -0,0 +1,41 @@
//------------------------------------------------------------------------------
// <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 mod_anagAmbitiGuasto {
/// <summary>
/// grView 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.GridView grView;
/// <summary>
/// lblNumRec 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 lblNumRec;
/// <summary>
/// ods 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 ods;
}
@@ -0,0 +1,105 @@
<%@ Control Language="C#" AutoEventWireup="true"
Inherits="mod_anagOpMtz" Codebehind="mod_anagOpMtz.ascx.cs" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
DataKeyNames="matrOp" DataSourceID="ods" OnDataBound="grView_DataBound"
OnRowEditing="grView_RowEditing">
<RowStyle CssClass="ctrRowStyle" />
<AlternatingRowStyle CssClass="ctrAltRowStyle" />
<EditRowStyle CssClass="ctrEditRowStyle" />
<SelectedRowStyle CssClass="ctrSelRowStyle" />
<FooterStyle CssClass="ctrFooter" />
<PagerStyle CssClass="ctrHeaderPager" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle CssClass="ctrHeaderPager" ForeColor="White" Font-Bold="True" />
<EmptyDataRowStyle CssClass="ctrRowStyle" />
<EmptyDataTemplate>
<asp:Label runat="server" ID="lblNoRecord" Text='<%# traduci("noRecord") %>' />
<asp:Button ID="btnNew" runat="server" OnClick="btnNewFromEmpty_Click" Text='<%# traduci("New") %>' />
</EmptyDataTemplate>
<Columns>
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center">
<EditItemTemplate>
<asp:ImageButton ID="imgUpdate" runat="server" CausesValidation="False" CommandName="Update"
ToolTip='<%# traduci("Update")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.conferma, SteamWare.dimImg.small) %>' />
<asp:ImageButton ID="imgCancel" runat="server" CausesValidation="False" CommandName="Cancel"
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla, SteamWare.dimImg.small) %>' />
</EditItemTemplate>
<HeaderTemplate>
<asp:Button ID="btnReset" runat="server" Text='<%# traduci("Reset") %>' OnClick="btnReset_Click"
Visible="false" />
</HeaderTemplate>
<ItemTemplate>
<asp:ImageButton ID="imgSelect" runat="server" CausesValidation="False" CommandName="Select"
Visible="false" ToolTip='<%# traduci("Select") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.seleziona, SteamWare.dimImg.small) %>' />
<asp:ImageButton ID="imgEdit" runat="server" CausesValidation="False" CommandName="Edit" Visible='<%# isEditable(Eval("matrOp")) %>'
ToolTip='<%# traduci("Edit") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.modifica, SteamWare.dimImg.small) %>' />
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="matrOp" SortExpression="matrOp">
<EditItemTemplate>
<asp:TextBox ID="TextBox1" runat="server" Width="15em" Text='<%# Bind("matrOp") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Bind("matrOp") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Cognome" SortExpression="Cognome">
<EditItemTemplate>
<asp:TextBox ID="TextBox2" runat="server" Width="15em" Text='<%# Bind("Cognome") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Bind("Cognome") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Nome" SortExpression="Nome">
<EditItemTemplate>
<asp:TextBox ID="TextBox3" runat="server" Width="15em" Text='<%# Bind("Nome") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label3" runat="server" Text='<%# Bind("Nome") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-HorizontalAlign="Center">
<HeaderTemplate>
<asp:Button ID="btnNew" runat="server" OnClick="btnNewFromEmpty_Click" Text='<%# traduci("New") %>' />
</HeaderTemplate>
<EditItemTemplate>
<asp:ImageButton ID="imgUpdate2" runat="server" CausesValidation="False" CommandName="Update"
ToolTip='<%# traduci("Update")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.conferma, SteamWare.dimImg.small) %>' />
<asp:ImageButton ID="imgCancel2" runat="server" CausesValidation="False" CommandName="Cancel"
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla, SteamWare.dimImg.small) %>' />
</EditItemTemplate>
<ItemTemplate>
<asp:ImageButton ID="imgDelete" runat="server" CausesValidation="False" CommandName="Delete" Visible='<%# isEditable(Eval("matrOp")) %>'
ToolTip='<%# traduci("Delete") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.elimina, SteamWare.dimImg.small) %>' />
<cc1:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" ConfirmText='<%# traduci("confermaDel")%>'
TargetControlID="imgDelete">
</cc1:ConfirmButtonExtender>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini"></asp:Label>
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="GetData" TypeName="DS_applicazioneTableAdapters.AnagrOperMtzTableAdapter"
UpdateMethod="Update" DeleteMethod="Delete" OldValuesParameterFormatString="original_{0}"
FilterExpression=" (matrOp LIKE '%{0}%') OR (Cognome LIKE '%{0}%') OR (Nome LIKE '%{0}%') " InsertMethod="Insert">
<UpdateParameters>
<asp:Parameter Name="matrOp" Type="String" />
<asp:Parameter Name="Cognome" Type="String" />
<asp:Parameter Name="Nome" Type="String" />
<asp:Parameter Name="Original_matrOp" Type="String" />
</UpdateParameters>
<FilterParameters>
<asp:SessionParameter DefaultValue="*" Name="ricerca" SessionField="valoreCercato" />
</FilterParameters>
<DeleteParameters>
<asp:Parameter Name="Original_matrOp" Type="String" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="matrOp" Type="String" />
<asp:Parameter Name="Cognome" Type="String" />
<asp:Parameter Name="Nome" Type="String" />
</InsertParameters>
</asp:ObjectDataSource>
@@ -0,0 +1,96 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
public partial class mod_anagOpMtz : ApplicationUserControl
{
public event EventHandler eh_resetSelezione;
/// <summary>
/// evento dati associati a controllo
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void grView_DataBound(object sender, EventArgs e)
{
if (grView.Rows.Count > 0)
{
LinkButton lb;
// aggiorno gli headers
foreach (TableCell cella in grView.HeaderRow.Cells)
{
try
{
lb = (LinkButton)cella.Controls[0];
lb.Text = traduci(lb.Text);
}
catch
{ }
}
int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1);
lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord);
}
else
{
lblNumRec.Text = "";
}
}
/// <summary>
/// reset delle selezioni
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnReset_Click(object sender, EventArgs e)
{
resetSelezione();
}
/// <summary>
/// resetta la selezione dei valori in caso di modifiche su altri controlli
/// </summary>
public void resetSelezione()
{
grView.SelectedIndex = -1;
grView.DataBind();
if (eh_resetSelezione != null)
{
eh_resetSelezione(this, new EventArgs());
}
}
/// <summary>
/// seleziono valore in editing...
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void grView_RowEditing(object sender, GridViewEditEventArgs e)
{
// seleziono la riga corrente...
grView.SelectedIndex = e.NewEditIndex;
}
/// <summary>
/// gestione evento inserimento nuovo record standard (se ZERO presenti)
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnNewFromEmpty_Click(object sender, EventArgs e)
{
// reset selezione...
resetSelezione();
// i primi valori ("0") di default sono "ND"... li inserisco come standard...
GIM_data.DS_applicazioneTableAdapters.AnagrOperMtzTableAdapter taAnagOpMtz = new GIM_data.DS_applicazioneTableAdapters.AnagrOperMtzTableAdapter();
taAnagOpMtz.Insert("9999", "-- [NUOVO] Cognome --", "-- [NUOVO] Nome --");
grView.DataBind();
}
/// <summary>
/// è editabile SOLO se non è il primo user 0000 che è un segnaposto
/// </summary>
/// <param name="matricola"></param>
/// <returns></returns>
public bool isEditable(object matricola)
{
bool answ = (memLayer.ML.confReadString("defaultMatr") != matricola.ToString());
return answ;
}
}
@@ -0,0 +1,41 @@
//------------------------------------------------------------------------------
// <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 mod_anagOpMtz {
/// <summary>
/// grView 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.GridView grView;
/// <summary>
/// lblNumRec 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 lblNumRec;
/// <summary>
/// ods 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 ods;
}
@@ -0,0 +1,54 @@
<%@ Control Language="C#" AutoEventWireup="true"
Inherits="mod_aperturaImpianti" Codebehind="mod_aperturaImpianti.ascx.cs" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
DataKeyNames="giorno" DataSourceID="ods" OnDataBound="grView_DataBound">
<RowStyle CssClass="ctrRowStyle" />
<AlternatingRowStyle CssClass="ctrAltRowStyle" />
<EditRowStyle CssClass="ctrEditRowStyle" />
<SelectedRowStyle CssClass="ctrSelRowStyle" />
<FooterStyle CssClass="ctrFooter" />
<PagerStyle CssClass="ctrHeaderPager" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle CssClass="ctrHeaderPager" ForeColor="White" Font-Bold="True" />
<EmptyDataRowStyle CssClass="ctrRowStyle" />
<EmptyDataTemplate>
<asp:Label runat="server" ID="lblNoRecord" Text='<%# traduci("noRecord") %>' />
</EmptyDataTemplate>
<Columns>
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center">
<EditItemTemplate>
<asp:ImageButton ID="imgUpdate" runat="server" CausesValidation="False" CommandName="Update"
ToolTip='<%# traduci("Update")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.conferma, SteamWare.dimImg.small) %>' />
<asp:ImageButton ID="imgCancel" runat="server" CausesValidation="False" CommandName="Cancel"
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla, SteamWare.dimImg.small) %>' />
</EditItemTemplate>
<HeaderTemplate>
</HeaderTemplate>
<ItemTemplate>
<asp:ImageButton ID="imgEdit" runat="server" CausesValidation="False" CommandName="Edit"
ToolTip='<%# traduci("Edit") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.modifica, SteamWare.dimImg.small) %>' />
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:BoundField DataField="descrGiorno" HeaderText="descrGiorno" Visible="true" ReadOnly="True"
SortExpression="descrGiorno" />
<asp:TemplateField HeaderText="apertura" SortExpression="apertura">
<EditItemTemplate>
<asp:TextBox ID="txtApertura" runat="server" Width="3em" Text='<%# Bind("apertura") %>' />
<cc1:MaskedEditExtender ID="mee_Ora" runat="server" TargetControlID="txtApertura" Mask="99.99"
MaskType="Number">
</cc1:MaskedEditExtender>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Eval("apertura") %>' />
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="GetData" TypeName="DS_applicazioneTableAdapters.OreAperturaSettTableAdapter"
UpdateMethod="updateApertura" OldValuesParameterFormatString="Original_{0}" >
<UpdateParameters>
<asp:Parameter Name="apertura" Type="Decimal" />
<asp:Parameter Name="Original_giorno" Type="Int32" />
</UpdateParameters>
</asp:ObjectDataSource>
@@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
public partial class mod_aperturaImpianti : ApplicationUserControl
{
/// <summary>
/// evento dati associati a controllo
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void grView_DataBound(object sender, EventArgs e)
{
if (grView.Rows.Count > 0)
{
LinkButton lb;
// aggiorno gli headers
foreach (TableCell cella in grView.HeaderRow.Cells)
{
try
{
lb = (LinkButton)cella.Controls[0];
lb.Text = traduci(lb.Text);
}
catch
{ }
}
}
}
}
@@ -0,0 +1,32 @@
//------------------------------------------------------------------------------
// <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 mod_aperturaImpianti {
/// <summary>
/// grView 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.GridView grView;
/// <summary>
/// ods 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 ods;
}
@@ -0,0 +1,41 @@
<%@ Control Language="C#" AutoEventWireup="true"
Inherits="mod_assegnazioniMacchineImpianti" Codebehind="mod_assegnazioniMacchineImpianti.ascx.cs" %>
<%@ Register Src="~/WebUserControls/mod_selettore_ajax.ascx" TagName="mod_selettore_ajax" TagPrefix="uc1" %>
<%@ Register Src="~/WebUserControls/mod_macchine.ascx" TagName="mod_macchine" TagPrefix="uc2" %>
<table>
<tr>
<td>
<asp:DropDownList ID="ddlImpianto_A" runat="server" DataSourceID="ods" DataTextField="label"
AutoPostBack="true" DataValueField="value" OnSelectedIndexChanged="ddlImpianto_A_SelectedIndexChanged" />
</td>
<td>
</td>
<td>
<asp:DropDownList ID="ddlImpianto_B" runat="server" DataSourceID="ods" DataTextField="label"
AutoPostBack="true" DataValueField="value" OnSelectedIndexChanged="ddlImpianto_B_SelectedIndexChanged" />
</td>
</tr>
<tr>
<td>
<div style="font-size: 8pt;">
<uc2:mod_macchine ID="mod_macchine1" runat="server" vistaModulo="selezione" idxImpiantoSel="1"
dispLessCol="true" />
</div>
</td>
<td valign="middle">
<asp:Button ID="btnA2B" runat="server" Text=" --> " OnClick="btnA2B_Click" />
<br />
<asp:Button ID="btnB2A" runat="server" Text=" <-- " OnClick="btnB2A_Click" />
</td>
<td>
<div style="font-size: 8pt;">
<uc2:mod_macchine ID="mod_macchine2" runat="server" vistaModulo="selezione" idxImpiantoSel="2"
dispLessCol="true" />
</div>
</td>
</tr>
</table>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetData" TypeName="DS_utilityTableAdapters.v_selImpiantiTableAdapter">
</asp:ObjectDataSource>
<asp:Label ID="lblWarning" runat="server" Visible="false" CssClass="erroreMid" />
@@ -0,0 +1,93 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
public partial class mod_assegnazioniMacchineImpianti : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
/// <summary>
/// click spostamento da A a B
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnA2B_Click(object sender, EventArgs e)
{
// solo se macchina selezionata...
if (mod_macchine1.idxMacchinaSel != 0)
{
// sposto da A a B
TA_app.obj.taMacchine.sp_spostaMacchina(mod_macchine1.idxMacchinaSel, Convert.ToInt32(ddlImpianto_B.SelectedValue));
updateAll();
lblWarning.Visible = false;
}
else
{
// mostro errore...
lblWarning.Text = user_std.UtSn.Traduci("ErroreNoMaccSel");
lblWarning.Visible = true;
}
}
/// <summary>
/// click spostamento da B ad A
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnB2A_Click(object sender, EventArgs e)
{
if (mod_macchine2.idxMacchinaSel != 0)
{ // sposto da B ad A
TA_app.obj.taMacchine.sp_spostaMacchina(mod_macchine2.idxMacchinaSel, Convert.ToInt32(ddlImpianto_A.SelectedValue));
updateAll();
lblWarning.Visible = false;
}
else
{
// mostro errore...
lblWarning.Text = user_std.UtSn.Traduci("ErroreNoMaccSel");
lblWarning.Visible = true;
}
}
/// <summary>
/// aggiorna visualizzazioni delle 2 tab di dettaglio
/// </summary>
private void updateAll()
{
update_A();
update_B();
}
/// <summary>
/// aggiorno tab impianto A
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void ddlImpianto_A_SelectedIndexChanged(object sender, EventArgs e)
{
update_A();
}
private void update_A()
{
mod_macchine1.idxImpiantoSel = Convert.ToInt32(ddlImpianto_A.SelectedValue);
mod_macchine1.doUpdate();
}
/// <summary>
/// aggiorno tab impianto B
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void ddlImpianto_B_SelectedIndexChanged(object sender, EventArgs e)
{
update_B();
}
private void update_B()
{
mod_macchine2.idxImpiantoSel = Convert.ToInt32(ddlImpianto_B.SelectedValue);
mod_macchine2.doUpdate();
}
}
@@ -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 mod_assegnazioniMacchineImpianti {
/// <summary>
/// ddlImpianto_A 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.DropDownList ddlImpianto_A;
/// <summary>
/// ddlImpianto_B 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.DropDownList ddlImpianto_B;
/// <summary>
/// mod_macchine1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_macchine mod_macchine1;
/// <summary>
/// btnA2B 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.Button btnA2B;
/// <summary>
/// btnB2A 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.Button btnB2A;
/// <summary>
/// mod_macchine2 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::mod_macchine mod_macchine2;
/// <summary>
/// ods 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 ods;
/// <summary>
/// lblWarning 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 lblWarning;
}
@@ -0,0 +1,120 @@
<%@ Control Language="C#" AutoEventWireup="true"
Inherits="mod_calChiusura" Codebehind="mod_calChiusura.ascx.cs" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
DataKeyNames="data" DataSourceID="ods" OnDataBound="grView_DataBound">
<RowStyle CssClass="ctrRowStyle" />
<AlternatingRowStyle CssClass="ctrAltRowStyle" />
<EditRowStyle CssClass="ctrEditRowStyle" />
<SelectedRowStyle CssClass="ctrSelRowStyle" />
<FooterStyle CssClass="ctrFooter" />
<PagerStyle CssClass="ctrHeaderPager" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle CssClass="ctrHeaderPager" ForeColor="White" Font-Bold="True" />
<EmptyDataRowStyle CssClass="ctrRowStyle" />
<EmptyDataTemplate>
<asp:Label runat="server" ID="lblNoRecord" Text='<%# traduci("noRecord") %>' />
<asp:Button ID="btnNew" runat="server" OnClick="btnNewFromEmpty_Click" Text='<%# traduci("New") %>' />
</EmptyDataTemplate>
<Columns>
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center">
<EditItemTemplate>
<asp:ImageButton ID="imgUpdate" runat="server" CausesValidation="False" CommandName="Update"
ToolTip='<%# traduci("Update")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.conferma, SteamWare.dimImg.small) %>' />
<asp:ImageButton ID="imgCancel" runat="server" CausesValidation="False" CommandName="Cancel"
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla, SteamWare.dimImg.small) %>' />
</EditItemTemplate>
<HeaderTemplate>
</HeaderTemplate>
<ItemTemplate>
<asp:ImageButton ID="imgSelect" runat="server" CausesValidation="False" CommandName="Select"
Visible="false" ToolTip='<%# traduci("Select") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.seleziona, SteamWare.dimImg.small) %>' />
<asp:ImageButton ID="imgEdit" runat="server" CausesValidation="False" CommandName="Edit"
ToolTip='<%# traduci("Edit") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.modifica, SteamWare.dimImg.small) %>' />
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:TemplateField HeaderText="data" InsertVisible="False" SortExpression="data">
<EditItemTemplate>
<asp:TextBox ID="txtData" runat="server" Text='<%# Bind("data","{0:dd/MM/yy}") %>'
Width="5em" />
<cc1:CalendarExtender ID="CalendarExtender1" runat="server" FirstDayOfWeek="Monday"
TargetControlID="txtData" Format="dd/MM/yy">
</cc1:CalendarExtender>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label2" runat="server" Text='<%# Eval("data","{0:dd/MM/yy}") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="descrizione" SortExpression="descrizione">
<EditItemTemplate>
<asp:TextBox ID="TextBox1" runat="server" Width="30em" Text='<%# Bind("descrizione") %>' />
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Eval("descrizione") %>' />
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-HorizontalAlign="Center">
<HeaderTemplate>
<asp:Button ID="btnNew" runat="server" OnClick="btnNewFromEmpty_Click" Text='<%# traduci("New") %>' />
</HeaderTemplate>
<EditItemTemplate>
<asp:ImageButton ID="imgUpdate2" runat="server" CausesValidation="False" CommandName="Update"
ToolTip='<%# traduci("Update")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.conferma, SteamWare.dimImg.small) %>' />
<asp:ImageButton ID="imgCancel2" runat="server" CausesValidation="False" CommandName="Cancel"
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla, SteamWare.dimImg.small) %>' />
</EditItemTemplate>
<ItemTemplate>
<asp:ImageButton ID="imgDelete" runat="server" CausesValidation="False" CommandName="Delete"
ToolTip='<%# traduci("Delete") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.elimina, SteamWare.dimImg.small) %>' />
<cc1:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" ConfirmText='<%# traduci("confermaDel")%>'
TargetControlID="imgDelete">
</cc1:ConfirmButtonExtender>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini" />
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="GetData" TypeName="DS_applicazioneTableAdapters.CalendFesteFerieTableAdapter"
UpdateMethod="Update" DeleteMethod="Delete" OldValuesParameterFormatString="Original_{0}"
FilterExpression="descrizione LIKE '%{0}%' " InsertMethod="Insert">
<UpdateParameters>
<asp:Parameter Name="data" Type="DateTime" />
<asp:Parameter Name="descrizione" Type="String" />
<asp:Parameter Name="Original_data" Type="DateTime" />
</UpdateParameters>
<FilterParameters>
<asp:SessionParameter DefaultValue="*" Name="ricerca" SessionField="valoreCercato" />
</FilterParameters>
<DeleteParameters>
<asp:Parameter Name="Original_data" Type="DateTime" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="data" Type="DateTime" />
<asp:Parameter Name="descrizione" Type="String" />
</InsertParameters>
</asp:ObjectDataSource>
<div style="text-align: center;">
<asp:Button ID="btnShowInsPeriodo" runat="server" Text="..." OnClick="btnShowInsPeriodo_Click" />
<asp:Panel runat="server" ID="pnlInsPeriodo" Visible="false">
<div style="float: left;">
<asp:TextBox ID="txtDataFrom" runat="server" Width="5em" />
<cc1:CalendarExtender ID="CalendarExtender2" runat="server" FirstDayOfWeek="Monday"
TargetControlID="txtDataFrom" Format="dd/MM/yy">
</cc1:CalendarExtender>
</div>
<div style="float: left;">
<asp:TextBox ID="txtDataTo" runat="server" Width="5em" />
<cc1:CalendarExtender ID="CalendarExtender3" runat="server" FirstDayOfWeek="Monday"
TargetControlID="txtDataTo" Format="dd/MM/yy">
</cc1:CalendarExtender>
</div>
<div style="float: left;">
<asp:TextBox ID="txtDescrizione" runat="server" Width="30em" />
</div>
<div style="float: left;">
<asp:Button ID="btnInsPeriodo" runat="server" onclick="btnInsPeriodo_Click" />
</div>
<asp:Label ID="lblWarning" runat="server" Visible="false" CssClass="erroreMid" />
</asp:Panel>
</div>
@@ -0,0 +1,114 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
public partial class mod_calChiusura : ApplicationUserControl
{
public event EventHandler eh_resetSelezione;
protected override void Page_Load(object sender, EventArgs e)
{
base.Page_Load(sender, e);
if (!Page.IsPostBack)
{
grView.PageSize = _righeDataGridMed;
btnShowInsPeriodo.Text = traduci("btnShowInsPeriodo");
btnInsPeriodo.Text = traduci("btnInsPeriodo");
}
}
/// <summary>
/// gestione evento inserimento nuovo record standard (se ZERO presenti)
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnNewFromEmpty_Click(object sender, EventArgs e)
{
// reset selezione...
resetSelezione();
// i primi valori ("0") di default sono "ND"... li inserisco come standard...
TA_app.obj.taCalFF.Insert(DateTime.Now.Date, "-- [NUOVO] non definito --");
grView.DataBind();
}
/// <summary>
/// resetta la selezione dei valori in caso di modifiche su altri controlli
/// </summary>
public void resetSelezione()
{
grView.SelectedIndex = -1;
grView.DataBind();
if (eh_resetSelezione != null)
{
eh_resetSelezione(this, new EventArgs());
}
}
/// <summary>
/// evento dati associati a controllo
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void grView_DataBound(object sender, EventArgs e)
{
if (grView.Rows.Count > 0)
{
LinkButton lb;
// aggiorno gli headers
foreach (TableCell cella in grView.HeaderRow.Cells)
{
try
{
lb = (LinkButton)cella.Controls[0];
lb.Text = traduci(lb.Text);
}
catch
{ }
}
int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1);
lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord);
}
else
{
lblNumRec.Text = "";
}
}
protected void btnShowInsPeriodo_Click(object sender, EventArgs e)
{
pnlInsPeriodo.Visible = !pnlInsPeriodo.Visible;
if (pnlInsPeriodo.Visible)
{
btnShowInsPeriodo.Text = traduci("btnHideInsPeriodo");
}
else
{
btnShowInsPeriodo.Text = traduci("btnShowInsPeriodo");
}
}
protected void btnInsPeriodo_Click(object sender, EventArgs e)
{
// verifico date congrue...
DateTime inizio = Convert.ToDateTime(txtDataFrom.Text);
DateTime fine = Convert.ToDateTime(txtDataTo.Text);
if (fine.CompareTo(inizio) >= 0)
{
// inserisco le voci x tutte le date nell'intervallo...
while (fine.CompareTo(inizio) >= 0)
{
TA_app.obj.taCalFF.Insert(inizio, txtDescrizione.Text);
inizio = inizio.AddDays(1);
}
// update e nascondo pannello
grView.DataBind();
pnlInsPeriodo.Visible = false;
btnShowInsPeriodo.Text = traduci("btnShowInsPeriodo");
lblWarning.Visible = false;
}
else
{
lblWarning.Visible = true;
lblWarning.Text = traduci("OrdineDateErrato");
}
}
}
@@ -0,0 +1,122 @@
//------------------------------------------------------------------------------
// <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 mod_calChiusura {
/// <summary>
/// grView 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.GridView grView;
/// <summary>
/// lblNumRec 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 lblNumRec;
/// <summary>
/// ods 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 ods;
/// <summary>
/// btnShowInsPeriodo 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.Button btnShowInsPeriodo;
/// <summary>
/// pnlInsPeriodo 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.Panel pnlInsPeriodo;
/// <summary>
/// txtDataFrom 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.TextBox txtDataFrom;
/// <summary>
/// CalendarExtender2 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::AjaxControlToolkit.CalendarExtender CalendarExtender2;
/// <summary>
/// txtDataTo 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.TextBox txtDataTo;
/// <summary>
/// CalendarExtender3 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::AjaxControlToolkit.CalendarExtender CalendarExtender3;
/// <summary>
/// txtDescrizione 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.TextBox txtDescrizione;
/// <summary>
/// btnInsPeriodo 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.Button btnInsPeriodo;
/// <summary>
/// lblWarning 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 lblWarning;
}
@@ -0,0 +1,28 @@
<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_chLang" Codebehind="mod_chLang.ascx.cs" %>
<link href="Style.css" rel="stylesheet" type="text/css" />
<table id="table1" runat="server" cellspacing="1" cellpadding="1" class="centerMenu">
<tr class="ctrHeaderPager">
<td>
<asp:Label id="lblScegli" runat="server" ></asp:Label>
</td>
</tr>
<tr>
<td>
<asp:DataList id="dataListLingue" runat="server" DataKeyField="Lingua" DataSourceid="ods_lingueApp" Width="100%" OnSelectedIndexChanged="dataListLingue_SelectedIndexChanged">
<ItemStyle CssClass="ctrRowStyle" />
<AlternatingItemStyle CssClass="ctrAltRowStyle" />
<ItemTemplate>
<asp:LinkButton id="Linkbutton1" runat="server" name="Linkbutton1" CausesValidation="false" CommandName="Select">
<img alt='<%# DataBinder.Eval(Container, "DataItem.Lingua") %>' src='./images/flag-<%# DataBinder.Eval(Container, "DataItem.Lingua") %>.png' />
<asp:Label id="LinguaLabel" runat="server" Text='<%# formattaLingua(Eval("Lingua"),Eval("DescrizioneLingua")) %>' Width="250px"/>
<img alt='<%# DataBinder.Eval(Container, "DataItem.Lingua") %>' src='./images/flag-<%# DataBinder.Eval(Container, "DataItem.Lingua") %>.png' />
</asp:LinkButton>
</ItemTemplate>
</asp:DataList>
<asp:ObjectDataSource id="ods_lingueApp" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="GetLingue" TypeName="selData">
</asp:ObjectDataSource>
</td>
</tr>
</table>
@@ -0,0 +1,34 @@
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using SteamWare;
public partial class mod_chLang : ApplicationUserControl
{
protected void dataListLingue_SelectedIndexChanged(object sender, EventArgs e)
{
// impongo ad oggetto user la lingua selezionata...
user_std.UtSn.lingua = dataListLingue.SelectedValue.ToString();
// salvo richiesta udpate in sessione...
SteamWare.memLayer.ML.setSessionVal("doUpdateNow","true");
user_std.UtSn.ricaricaMappaSito();
Response.Redirect(_paginaCorrente);
}
protected override void traduciObj()
{
lblScegli.Text = traduci("scegliLingua");
}
public string formattaLingua(object breve, object lungo)
{
return string.Format("{0} - {1}", breve, lungo);
}
}
@@ -0,0 +1,50 @@
//------------------------------------------------------------------------------
// <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 mod_chLang {
/// <summary>
/// table1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable table1;
/// <summary>
/// lblScegli 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 lblScegli;
/// <summary>
/// dataListLingue 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.DataList dataListLingue;
/// <summary>
/// ods_lingueApp 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 ods_lingueApp;
}
@@ -0,0 +1,42 @@
<%@ Control Language="C#" AutoEventWireup="true" Inherits="mod_dataOra" Codebehind="mod_dataOra.ascx.cs" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<table>
<tr>
<td>
<div>
<asp:Label runat="server" ID="lblData" /></div>
<asp:TextBox runat="server" ID="txtData" Width="5em" CssClass='<%# css %>' />
<cc1:CalendarExtender ID="CalendarExtender1" runat="server" FirstDayOfWeek="Monday"
TargetControlID="txtData" Format="dd/MM/yy">
</cc1:CalendarExtender>
</td>
<td>
<asp:Panel runat="server" ID="pnlDropDown" Visible="false">
<table>
<tr>
<td>
<div>
<asp:Label runat="server" ID="lblOra" /></div>
<asp:DropDownList runat="server" ID="ddlOra" CssClass='<%# css %>' />
</td>
<td>
<div>
<asp:Label runat="server" ID="lblMin" /></div>
<asp:DropDownList runat="server" ID="ddlMin" CssClass='<%# css %>' />
</td>
</tr>
</table>
</asp:Panel>
</td>
<td>
<asp:Panel runat="server" ID="pnlText" Visible="false">
<div>
<asp:Label runat="server" ID="lblTime" /></div>
<asp:TextBox runat="server" ID="txtTime" Width="4em" />
<cc1:MaskedEditExtender ID="mee_Ora" runat="server" TargetControlID="txtTime" MaskType="Time"
Mask="99:99" UserTimeFormat="TwentyFourHour">
</cc1:MaskedEditExtender>
</asp:Panel>
</td>
</tr>
</table>
@@ -0,0 +1,214 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
[ValidationProperty("valore")]
public partial class mod_dataOra : System.Web.UI.UserControl
{
/// <summary>
/// definisce se siano visibili e selezionabili i secondi
/// </summary>
protected bool _showSeconds = false;
/// <summary>
/// tipo selettore orario richiesto
/// </summary>
protected tipoSelOrario _tipoOrario;
/// <summary>
/// calsse css applicata ai controlli
/// </summary>
protected string _css;
/// <summary>
/// valore di riferimento...
/// </summary>
protected DateTime _valore;
/// <summary>
/// avvio pagina
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
traduciObj();
fixPnlVisibility();
//setupControlli();
fixCss();
}
}
/// <summary>
/// traduce gli oggetti
/// </summary>
private void traduciObj()
{
lblData.Text = traduci("lblData");
lblOra.Text = traduci("lblOra");
lblMin.Text = traduci("lblMin");
lblTime.Text = traduci("lblTime");
}
/// <summary>
/// sistema valori default dei controlli
/// </summary>
private void setupControlli()
{
// mostro data
txtData.Text = _valore.Date.ToString("dd/MM/yy");
switch (_tipoOrario)
{
case tipoSelOrario.tendina:
// aggiongo valori ora e minuti...
ddlOra.Items.Clear();
ddlMin.Items.Clear();
for (int i = 0; i < 24; i++)
{
ddlOra.Items.Add(new ListItem(string.Format("{0:00}", i), i.ToString()));
}
for (int i = 0; i < 60; i++)
{
ddlMin.Items.Add(new ListItem(string.Format("{0:00}", i), i.ToString()));
}
// imposto i valori
ddlOra.SelectedValue = _valore.Hour.ToString();
ddlMin.SelectedValue = _valore.Minute.ToString();
break;
case tipoSelOrario.testuale:
txtTime.Text = string.Format("{0:HH:mm}", _valore);
break;
}
}
/// <summary>
/// sistema visualizzazione controlli
/// </summary>
private void fixPnlVisibility()
{
switch (_tipoOrario)
{
case tipoSelOrario.tendina:
pnlDropDown.Visible = true;
pnlText.Visible = false;
break;
case tipoSelOrario.testuale:
pnlDropDown.Visible = false;
pnlText.Visible = true;
break;
}
}
/// <summary>
/// sistema i css del controllo...
/// </summary>
private void fixCss()
{
txtData.CssClass = _css;
switch (_tipoOrario)
{
case tipoSelOrario.tendina:
ddlOra.CssClass = _css;
ddlMin.CssClass = _css;
break;
case tipoSelOrario.testuale:
txtTime.CssClass = _css;
break;
}
}
/// <summary>
/// wrapper traduzione
/// </summary>
/// <param name="lemma"></param>
/// <returns></returns>
public string traduci(object lemma)
{
return user_std.UtSn.Traduci(lemma.ToString());
}
/// <summary>
/// scelta del tipo di selettore per ora/min/sec
/// </summary>
public tipoSelOrario tipoOrario
{
get
{
return _tipoOrario;
}
set
{
_tipoOrario = value;
fixPnlVisibility();
}
}
/// <summary>
/// valore del controllo
/// </summary>
public DateTime valore
{
get
{
int ora = 0;
int min = 0;
switch (_tipoOrario)
{
case tipoSelOrario.tendina:
ora = Convert.ToInt32(ddlOra.SelectedValue);
min = Convert.ToInt32(ddlMin.SelectedValue);
break;
case tipoSelOrario.testuale:
ora = Convert.ToDateTime(txtTime.Text).Hour;
min = Convert.ToDateTime(txtTime.Text).Minute;
break;
}
DateTime answ = Convert.ToDateTime(txtData.Text).AddHours(ora).AddMinutes(min);
return answ;
}
set
{
_valore = value;
if (ddlOra.SelectedValue == "")
{
setupControlli();
}
}
}
/// <summary>
/// css applicato agli elementi del controllo
/// </summary>
public string css
{
get
{
return _css;
}
set
{
_css = value;
fixCss();
}
}
/// <summary>
/// nasconde se richiesto le label dei controlli dataOra
/// </summary>
public bool mostraLabel
{
set
{
lblData.Visible = value;
lblMin.Visible = value;
lblOra.Visible = value;
lblTime.Visible = value;
}
}
}
/// <summary>
/// tipo di selettore impiegato per la seleizone dell'orario
/// </summary>
public enum tipoSelOrario
{
/// <summary>
/// selettore a tendina per l'ora (00 -> 23) ed i minuti/secondi (00 -> 59)
/// </summary>
tendina,
/// <summary>
/// selettore testuale con masked input
/// </summary>
testuale
}
@@ -0,0 +1,122 @@
//------------------------------------------------------------------------------
// <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 mod_dataOra {
/// <summary>
/// lblData 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 lblData;
/// <summary>
/// txtData 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.TextBox txtData;
/// <summary>
/// CalendarExtender1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::AjaxControlToolkit.CalendarExtender CalendarExtender1;
/// <summary>
/// pnlDropDown 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.Panel pnlDropDown;
/// <summary>
/// lblOra 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 lblOra;
/// <summary>
/// ddlOra 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.DropDownList ddlOra;
/// <summary>
/// lblMin 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 lblMin;
/// <summary>
/// ddlMin 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.DropDownList ddlMin;
/// <summary>
/// pnlText 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.Panel pnlText;
/// <summary>
/// lblTime 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 lblTime;
/// <summary>
/// txtTime 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.TextBox txtTime;
/// <summary>
/// mee_Ora control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::AjaxControlToolkit.MaskedEditExtender mee_Ora;
}
@@ -0,0 +1,103 @@
<%@ 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;">
<tr>
<td colspan="2">
<h3>
<asp:Label ID="lblInsNewIntPro" runat="server" />
</h3>
</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"/>
<asp:RequiredFieldValidator ID="rfvDescrizione" runat="server" ErrorMessage="!!!"
ControlToValidate="txtDescrizione" ValidationGroup="inserimento" Display="Dynamic"></asp:RequiredFieldValidator>
</td>
<td rowspan="2" style="width: 400px;">
<div style="float: left;">
<asp:Label runat="server" ID="lblMacchineInteressate" />
</div>
<div style="float: right;">
<asp:TextBox runat="server" ID="txtCercaMacchine" Width="8em" Text="*" />
</div>
<div>
<asp:ListBox ID="listMacchine" runat="server" AutoPostBack="True" DataSourceID="odsMacchine"
SelectionMode="Multiple" DataTextField="label" DataValueField="value" Height="400px"
Width="400px" BackColor="#ddeeff" Font-Size="8pt"></asp:ListBox>
<asp:ObjectDataSource ID="odsMacchine" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetData" TypeName="DS_utilityTableAdapters.v_selMacchineTableAdapter"
FilterExpression="label LIKE '%{0}%'">
<FilterParameters>
<asp:ControlParameter ControlID="txtCercaMacchine" DefaultValue="*" Type="String"
Name="txtCercaMacchine" />
</FilterParameters>
</asp:ObjectDataSource>
</div>
</td>
</tr>
<tr>
<td>
<div class="bloccoDiv" style="clear: both;">
<div style="float: left; margin-right: 10px; width: 200px;">
<asp:Label runat="server" ID="lblInizioMtzPro" /><br />
<asp:TextBox runat="server" ID="txtDataInizio" Width="6em" CssClass="textEv_1" />
<asp:RequiredFieldValidator ID="rfvData" runat="server" ErrorMessage="!!!" ControlToValidate="txtDataInizio"
ValidationGroup="inserimento" Display="Dynamic"></asp:RequiredFieldValidator>
<cc1:CalendarExtender ID="CalendarExtender1" runat="server" FirstDayOfWeek="Monday"
TargetControlID="txtDataInizio" Format="dd/MM/yy">
</cc1:CalendarExtender>
</div>
<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" />
<asp:ObjectDataSource ID="odsPrior" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetData" TypeName="DS_utilityTableAdapters.v_selPriorTableAdapter">
</asp:ObjectDataSource>
</div>
</div>
<div class="bloccoDiv" style="clear: both;">
<div style="float: left; margin-right: 10px; width: 200px;">
<asp:CheckBox runat="server" ID="chkImpFermo" />
</div>
<div>
<asp:Label runat="server" ID="lblTipoGuasto" /><br />
<asp:DropDownList runat="server" ID="ddlTipo" CssClass="textEv_1" DataSourceID="odsTipo"
DataTextField="label" DataValueField="value">
</asp:DropDownList>
<asp:ObjectDataSource ID="odsTipo" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetData" TypeName="DS_utilityTableAdapters.v_selTipoGuastoTableAdapter">
</asp:ObjectDataSource>
</div>
</div>
<div class="bloccoDiv" style="clear: both;">
<div style="float: left; margin-right: 10px; width: 200px;">
<asp:Label runat="server" ID="lblFreq" /><br />
<asp:DropDownList runat="server" ID="ddlFreq" CssClass="textEv_1" DataSourceID="odsFreq"
DataTextField="label" DataValueField="value">
</asp:DropDownList>
<asp:ObjectDataSource ID="odsFreq" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetData" TypeName="DS_utilityTableAdapters.v_selFreqTableAdapter">
</asp:ObjectDataSource>
</div>
<div>
<asp:Label runat="server" ID="lblCadenza" /><br />
<asp:TextBox runat="server" ID="txtCadenza" Width="2em" CssClass="textEv_1" />
<asp:RequiredFieldValidator ID="rfvCad" runat="server" ErrorMessage="!!!" ControlToValidate="txtCadenza"
ValidationGroup="inserimento" Display="Dynamic"></asp:RequiredFieldValidator>
</div>
</div>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<asp:Button ID="btnCreaMtzPro" runat="server" OnClick="btnCreaMtzPro_Click" ValidationGroup="inserimento" />
<asp:ValidationSummary ID="valSummary" runat="server" ValidationGroup="inserimento" />
</td>
</tr>
</table>
@@ -0,0 +1,89 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
public partial class mod_dettMtzProg : System.Web.UI.UserControl
{
public event EventHandler eh_newInserted;
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
traduciObj();
setupValori();
}
}
private void setupValori()
{
txtDataInizio.Text = DateTime.Now.ToString("dd/MM/yy");
txtCadenza.Text = "1";
}
private void traduciObj()
{
lblInsNewIntPro.Text = traduci("lblInsNewIntPro");
lblDescrMtzPro.Text = traduci("lblDescrMtzPro");
lblInizioMtzPro.Text = traduci("lblInizioMtzPro");
lblPrior.Text = traduci("lblPrior");
chkImpFermo.Text = traduci("chkImpFermo");
lblTipoGuasto.Text = traduci("lblTipoGuasto");
lblFreq.Text = traduci("lblFreq");
lblCadenza.Text = traduci("lblCadenza");
btnCreaMtzPro.Text = traduci("btnCreaMtzPro");
lblMacchineInteressate.Text = traduci("lblMacchineInteressate");
rfvCad.Text = traduci("cadIntReq");
rfvDescrizione.Text = traduci("descrIntReq");
rfvData.Text = traduci("dataReq");
}
/// <summary>
/// wrap traduzione
/// </summary>
/// <param name="lemma"></param>
/// <returns></returns>
public string traduci(object lemma)
{
return user_std.UtSn.Traduci(lemma.ToString());
}
protected void btnCreaMtzPro_Click(object sender, EventArgs e)
{
// spazzo TUTTE le righe del controllo...
foreach (ListItem riga in listMacchine.Items)
{
// se è selezionata creo riga anche x lei...
if (riga.Selected)
{
creaInterventoMtzPro(Convert.ToInt32(riga.Value));
}
}
// resetto selezioni e controlli...
txtDescrizione.Text = "";
txtCercaMacchine.Text = "*";
listMacchine.SelectedIndex = -1;
if (eh_newInserted != null)
{
eh_newInserted(this, new EventArgs());
}
}
/// <summary>
/// crea un intervento di mtz programmata x la macchina con idx passato
/// </summary>
/// <param name="p"></param>
private void creaInterventoMtzPro(int idx)
{
TA_app.obj.taMtzPro.Insert(idx, Convert.ToDateTime(txtDataInizio.Text), ddlFreq.SelectedValue, Convert.ToInt32(txtCadenza.Text), txtDescrizione.Text.Trim(), Convert.ToInt32(ddlPrior.SelectedValue), chkImpFermo.Checked, Convert.ToInt32(ddlTipo.SelectedValue));
}
/// <summary>
/// aggiorna selezione di default
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void ddlPrior_DataBound(object sender, EventArgs e)
{
ddlPrior.SelectedIndex = 2;
}
}
@@ -0,0 +1,257 @@
//------------------------------------------------------------------------------
// <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 mod_dettMtzProg {
/// <summary>
/// lblInsNewIntPro 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 lblInsNewIntPro;
/// <summary>
/// lblDescrMtzPro 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 lblDescrMtzPro;
/// <summary>
/// txtDescrizione 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.TextBox txtDescrizione;
/// <summary>
/// rfvDescrizione 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.RequiredFieldValidator rfvDescrizione;
/// <summary>
/// lblMacchineInteressate 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 lblMacchineInteressate;
/// <summary>
/// txtCercaMacchine 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.TextBox txtCercaMacchine;
/// <summary>
/// listMacchine 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.ListBox listMacchine;
/// <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>
/// lblInizioMtzPro 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 lblInizioMtzPro;
/// <summary>
/// txtDataInizio 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.TextBox txtDataInizio;
/// <summary>
/// rfvData 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.RequiredFieldValidator rfvData;
/// <summary>
/// CalendarExtender1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::AjaxControlToolkit.CalendarExtender CalendarExtender1;
/// <summary>
/// lblPrior 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 lblPrior;
/// <summary>
/// ddlPrior 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.DropDownList ddlPrior;
/// <summary>
/// odsPrior 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 odsPrior;
/// <summary>
/// chkImpFermo 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.CheckBox chkImpFermo;
/// <summary>
/// lblTipoGuasto 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 lblTipoGuasto;
/// <summary>
/// ddlTipo 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.DropDownList ddlTipo;
/// <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>
/// lblFreq 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 lblFreq;
/// <summary>
/// ddlFreq 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.DropDownList ddlFreq;
/// <summary>
/// odsFreq 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 odsFreq;
/// <summary>
/// lblCadenza 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 lblCadenza;
/// <summary>
/// txtCadenza 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.TextBox txtCadenza;
/// <summary>
/// rfvCad 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.RequiredFieldValidator rfvCad;
/// <summary>
/// btnCreaMtzPro 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.Button btnCreaMtzPro;
/// <summary>
/// valSummary 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.ValidationSummary valSummary;
}
@@ -0,0 +1,763 @@
<%@ Control Language="C#" AutoEventWireup="true"
Inherits="mod_dettaglioIntervento" Codebehind="mod_dettaglioIntervento.ascx.cs" %>
<%@ Register Src="~/WebUserControls/mod_interventoOpMtz.ascx" TagName="mod_interventoOpMtz" TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/WebUserControls/mod_dataOra.ascx" TagName="mod_dataOra" TagPrefix="uc2" %>
<div style="text-align: center; width: 100%;">
<div style="float: left; margin: 2px;">
<asp:LinkButton ID="btnElenco" runat="server" OnClick="btnElenco_Click" />
</div>
<div style="float: right;">
<asp:Button ID="btnCancel" runat="server" Width="150px" OnClick="btnCancel_Click" />
</div>
<div style="margin: 2px;">
<asp:Button ID="btnCompilaMtz" runat="server" Width="150px" OnClick="btnCompilaMtz_Click" />
<asp:Button ID="btnEditFull" runat="server" Width="150px" OnClick="btnEditFull_Click" />
</div>
</div>
<asp:FormView ID="frmView_default" runat="server" DataKeyNames="numIntMtz" DataSourceID="ods_default"
Width="100%">
<ItemTemplate>
<div id="divReadOnly">
<div id="divUp" style="background-color: #E5E2E1; padding: 10px; border-top: solid 2px orange;">
<table>
<tr>
<td>
<asp:Label runat="server" ID="lblNumIntMtz" Text='<%# traduci("numIntMtz") %>' Font-Size="X-Small" />
</td>
<td>
<asp:Label runat="server" ID="lblDataOra" Text='<%# traduci("lblDataOraRich") %>'
Font-Size="X-Small" />
</td>
<td>
<asp:Label runat="server" ID="lblDataOraGuasto" Text='<%# traduci("lblDataOraGuasto") %>'
Font-Size="X-Small" />
</td>
<td>
<asp:Label runat="server" ID="lblDataLav" Text='<%# traduci("lblDataLav") %>' Font-Size="X-Small" />
</td>
<td>
<asp:Label runat="server" ID="lblTurnoLav" Text='<%# traduci("lblTurnoLav") %>' Font-Size="X-Small" />
</td>
<td>
<asp:Label runat="server" ID="lblMatr" Text='<%# traduci("lblMatr") %>' Font-Size="X-Small" />
</td>
</tr>
<tr>
<td>
<asp:TextBox ID="numIntMtzLabel" runat="server" Text='<%# Eval("numIntMtz") %>' CssClass="fixedVal"
ReadOnly="true" Width="30px" />
</td>
<td>
<asp:TextBox ID="richiestaLabel" runat="server" Text='<%# Eval("richiesta") %>' CssClass="fixedVal"
ReadOnly="true" Width="105px" />
</td>
<td>
<asp:TextBox ID="guastoLabel" runat="server" Text='<%# Eval("guasto") %>' CssClass="fixedVal"
ReadOnly="true" Width="110px" />
</td>
<td>
<asp:TextBox ID="dataLavLabel" runat="server" Text='<%# Eval("dataLav","{0:dd/MM/yy}") %>'
CssClass="fixedVal" ReadOnly="true" Width="105px" />
</td>
<td>
<asp:TextBox ID="turnoLavLabel" runat="server" Text='<%# Eval("turnoLav") %>' CssClass="fixedVal"
ReadOnly="true" Width="30px" />
</td>
<td>
<asp:TextBox ID="matrLabel" runat="server" Text='<%# Eval("matr") %>' CssClass="fixedVal"
ReadOnly="true" Width="105px" />
</td>
</tr>
<tr>
<td>
<asp:Label runat="server" ID="lblIsFermo" Text='<%# traduci("lblIsFermo") %>' Font-Size="X-Small" />
</td>
<td colspan="5">
<asp:Label runat="server" ID="lblDettagliGuasto" Text='<%# traduci("lblDettagliGuasto") %>'
Font-Size="X-Small" />
</tr>
<tr>
<td>
<asp:CheckBox ID="isFermoCheckBox" runat="server" Checked='<%# Eval("isFermo") %>'
Enabled="false" />
</td>
<td colspan="5">
<asp:TextBox ID="descrAmbitoGuastoLabel" runat="server" Text='<%# Eval("descrAmbitoGuasto") %>'
CssClass="fixedVal" ReadOnly="true" />
</tr>
<tr>
<td>
<asp:Label runat="server" ID="lblImpianto" Text='<%# traduci("lblImpianto") %>' Font-Size="X-Small" />
</td>
<td colspan="5">
<asp:DropDownList ID="listImpianti" runat="server" DataSourceID="odsImpianti" DataTextField="label"
DataValueField="value" AutoPostBack="true" Width="400px" BackColor="Silver" Font-Size="8pt"
SelectedValue='<%# Eval("idxImpianto") %>' Enabled="false">
</asp:DropDownList>
<asp:ObjectDataSource ID="odsImpianti" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="getImpiantiValidi" TypeName="DS_utilityTableAdapters.v_selImpiantiTableAdapter">
</asp:ObjectDataSource>
</td>
</tr>
<tr>
<td>
<asp:Label runat="server" ID="lblMacchina" Text='<%# traduci("lblMacchina") %>' Font-Size="X-Small" />
</td>
<td colspan="5">
<asp:DropDownList ID="listMacchine" runat="server" AutoPostBack="True" DataSourceID="odsMacchine"
DataTextField="label" DataValueField="value" Width="400px" BackColor="Silver"
Font-Size="8pt" SelectedValue='<%# Eval("idxMacchina") %>' Enabled="false">
</asp:DropDownList>
<%--<asp:ObjectDataSource ID="odsMacchine" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="getByConditio" TypeName="DS_utilityTableAdapters.v_selMacchineTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="listImpianti" DefaultValue="0" Name="conditio" PropertyName="SelectedValue"
Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>--%>
<asp:ObjectDataSource ID="odsMacchine" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="getData" TypeName="DS_utilityTableAdapters.v_selMacchineTableAdapter">
</asp:ObjectDataSource>
</td>
</tr>
<tr>
<td style="padding-top: 15px;">
<asp:Label runat="server" ID="lblDescrCausale" Text='<%# traduci("lblDescrCausale") %>'
Font-Size="X-Small" />
</td>
<td colspan="5" style="padding-top: 15px;">
<asp:TextBox ID="descrCausaleLabel" runat="server" Text='<%# Eval("descrCausale") %>'
CssClass="fixedValLeft" ReadOnly="true" Width="530px" />
</td>
</tr>
<tr>
<td>
<asp:Label runat="server" ID="lblDescrPriorita" Text='<%# traduci("lblDescrPriorita") %>'
Font-Size="X-Small" />
</td>
<td colspan="2">
<asp:Label runat="server" ID="lblDescrizioneGen" Text='<%# traduci("lblDescrizioneGen") %>'
Font-Size="X-Small" />
</td>
</tr>
<tr style="vertical-align: top;">
<td>
<asp:TextBox ID="descrPrioritaLabel" runat="server" Text='<%# Eval("descrPriorita") %>'
CssClass="fixedVal" ReadOnly="true" />
</td>
<td colspan="5">
<asp:TextBox ID="descrizioneLabel" runat="server" Text='<%# Eval("descrizione") %>'
CssClass="fixedValLeft" ReadOnly="true" Height="100px" Width="530px" TextMode="MultiLine" />
</td>
</tr>
<tr>
<td colspan="5">
<asp:Label runat="server" ID="lblDescrTipo" Text='<%# traduci("lblDescrTipo") %>'
Font-Size="X-Small" />
</td>
</tr>
<tr>
<td>
<asp:TextBox ID="descrTipoLabel" runat="server" Text='<%# Eval("descrTipo") %>' CssClass="fixedVal"
ReadOnly="true" />
</td>
</tr>
</table>
</div>
<div id="divDown" style="background-color: #FFFFFF; border-top: solid 2px orange;
padding: 10px;">
<table>
<tr>
<td>
<asp:Label runat="server" ID="lblPresaInCarico" Text='<%# traduci("lblPresaInCarico") %>'
Font-Size="X-Small" />
</td>
<td>
<asp:Label runat="server" ID="lblInizioIntervento" Text='<%# traduci("lblInizioIntervento") %>'
Font-Size="X-Small" />
</td>
<td>
<asp:Label runat="server" ID="lblFineIntervento" Text='<%# traduci("lblFineIntervento") %>'
Font-Size="X-Small" />
</td>
<td>
<asp:Label runat="server" ID="lblDescrStato" Text='<%# traduci("lblDescrStato") %>'
Font-Size="X-Small" />
</td>
<td style="text-align: center;">
<asp:Label runat="server" ID="lblInterventi" Text='<%# traduci ("lblInterventi") %>'
Font-Size="X-Small"></asp:Label>
</td>
</tr>
<tr>
<td>
<asp:TextBox ID="presaInCaricoLabel" runat="server" Text='<%# Eval("presaInCarico") %>'
CssClass="fixedVal" ReadOnly="true" />
</td>
<td>
<asp:TextBox ID="inizioInterventoLabel" runat="server" Text='<%# Eval("inizioIntervento") %>'
CssClass="fixedVal" ReadOnly="true" />
</td>
<td>
<asp:TextBox ID="fineInterventoLabel" runat="server" Text='<%# Eval("fineIntervento") %>'
CssClass="fixedVal" ReadOnly="true" />
</td>
<td>
<asp:DropDownList runat="server" ID="ddlStato" CssClass="fixedVal" SelectedValue='<%# Eval("idxStato") %>'
DataSourceID="odsStato" DataTextField="label" DataValueField="value" Enabled="false">
</asp:DropDownList>
<asp:ObjectDataSource ID="odsStato" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="GetData" TypeName="DS_utilityTableAdapters.v_selStatoTableAdapter">
</asp:ObjectDataSource>
</td>
<td rowspan="3" style="vertical-align: top; padding-left: 30px;">
<uc1:mod_interventoOpMtz ID="mod_interventoOpMtz3" runat="server" vistaModulo="selezione" />
</td>
</tr>
<tr>
<td colspan="2">
<asp:Label runat="server" ID="lblDescrGuasto" Text='<%# traduci ("lblDescrizioneGen") %>'
Font-Size="X-Small" />
</td>
<td>
<asp:Label runat="server" ID="lblIsPreventivabile" Text='<%# traduci("lblIsPreventivabile") %>'
Font-Size="X-Small" />
<asp:CheckBox ID="isPreventivabileCheckBox" runat="server" Checked='<%# Eval("isPreventivabile") %>'
Enabled="false" />
</td>
</tr>
<tr>
<td colspan="3">
<asp:TextBox ID="descrizioneInterventoLabel" runat="server" Text='<%# Eval("descrizioneIntervento") %>'
CssClass="fixedValLeft" ReadOnly="true" Height="100px" Width="500px" TextMode="MultiLine" />
</td>
</tr>
</table>
</div>
</div>
</ItemTemplate>
<EditItemTemplate>
<div id="divEditDefault">
<div style="float: right;">
<asp:Button ID="UpdateButton" runat="server" CausesValidation="True" CommandName="Update"
Text='<%# traduci("Update") %>' Width="150px" />
</div>
<div id="divUp" style="background-color: #E5E2E1; padding: 10px; border-top: solid 2px orange;">
<table>
<tr>
<td>
<asp:Label runat="server" ID="lblNumIntMtz" Text='<%# traduci("numIntMtz") %>' Font-Size="X-Small" />
</td>
<td>
<asp:Label runat="server" ID="lblDataOra" Text='<%# traduci("lblDataOraRich") %>'
Font-Size="X-Small" />
</td>
<td>
<asp:Label runat="server" ID="Label1" Text='<%# traduci("lblDataOraGuasto") %>' Font-Size="X-Small" />
</td>
<td>
<asp:Label runat="server" ID="lblDataLav" Text='<%# traduci("lblDataLav") %>' Font-Size="X-Small" />
</td>
<td>
<asp:Label runat="server" ID="lblTurnoLav" Text='<%# traduci("lblTurnoLav") %>' Font-Size="X-Small" />
</td>
<td>
<asp:Label runat="server" ID="lblMatr" Text='<%# traduci("lblMatr") %>' Font-Size="X-Small" />
</td>
</tr>
<tr>
<td>
<asp:TextBox ID="numIntMtzLabel" runat="server" Text='<%# Eval("numIntMtz") %>' CssClass="textEv_Read"
ReadOnly="true" Width="30px" />
</td>
<td>
<asp:TextBox ID="richiestaLabel" runat="server" Text='<%# Eval("richiesta") %>' CssClass="textEv_Read"
ReadOnly="true" Width="105px" />
</td>
<td>
<asp:TextBox ID="guastoLabel" runat="server" Text='<%# Eval("guasto") %>' CssClass="textEv_Read"
ReadOnly="true" Width="110px" />
</td>
<td>
<asp:TextBox ID="dataLavLabel" runat="server" Text='<%# Eval("dataLav","{0:dd/MM/yy}") %>'
CssClass="textEv_Read" ReadOnly="true" Width="105px" />
</td>
<td>
<asp:TextBox ID="turnoLavLabel" runat="server" Text='<%# Eval("turnoLav") %>' CssClass="textEv_Read"
ReadOnly="true" Width="30px" />
</td>
<td>
<asp:TextBox ID="matrLabel" runat="server" Text='<%# Eval("matr") %>' CssClass="textEv_Read"
ReadOnly="true" Width="105px" />
</td>
</tr>
<tr>
<td>
<asp:Label runat="server" ID="lblIsFermo" Text='<%# traduci("lblIsFermo") %>' Font-Size="X-Small" />
</td>
<td colspan="5">
<asp:Label runat="server" ID="lblDettagliGuasto" Text='<%# traduci("lblDettagliGuasto") %>'
Font-Size="X-Small" />
</td>
</tr>
<tr>
<td>
<asp:CheckBox ID="isFermoCheckBox" runat="server" Checked='<%# Eval("isFermo") %>'
Enabled="false" />
</td>
<td colspan="5">
<asp:TextBox ID="descrAmbitoGuastoLabel" runat="server" Text='<%# Eval("descrAmbitoGuasto") %>'
CssClass="textEv_Read" ReadOnly="true" />
</td>
</tr>
<tr>
<td>
<asp:Label runat="server" ID="lblImpianto" Text='<%# traduci("lblImpianto") %>' Font-Size="X-Small" />
</td>
<td colspan="5">
<asp:DropDownList ID="listImpianti" runat="server" DataSourceID="odsImpianti" DataTextField="label"
DataValueField="value" Width="400px" BackColor="#deeff7" Font-Size="8pt" SelectedValue='<%# Eval("idxImpianto") %>'
Enabled="false">
</asp:DropDownList>
<asp:ObjectDataSource ID="odsImpianti" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="getImpiantiValidi" TypeName="DS_utilityTableAdapters.v_selImpiantiTableAdapter">
</asp:ObjectDataSource>
</td>
</tr>
<tr>
<td>
<asp:Label runat="server" ID="lblMacchina" Text='<%# traduci("lblMacchina") %>' Font-Size="X-Small" />
</td>
<td colspan="5">
<asp:DropDownList ID="listMacchine" runat="server" DataSourceID="odsMacchine" DataTextField="label"
DataValueField="value" Width="400px" BackColor="#deeff7" Font-Size="8pt" SelectedValue='<%# Eval("idxMacchina") %>'
Enabled="false">
</asp:DropDownList>
<%--<asp:ObjectDataSource ID="odsMacchine" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="getByConditio" TypeName="DS_utilityTableAdapters.v_selMacchineTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="listImpianti" DefaultValue="0" Name="conditio" PropertyName="SelectedValue"
Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>--%>
<asp:ObjectDataSource ID="odsMacchine" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="getData" TypeName="DS_utilityTableAdapters.v_selMacchineTableAdapter">
</asp:ObjectDataSource>
</td>
</tr>
<tr>
<td style="padding-top: 15px;">
<asp:Label runat="server" ID="lblDescrCausale" Text='<%# traduci("lblDescrCausale") %>'
Font-Size="X-Small" />
</td>
<td colspan="5" style="padding-top: 15px;">
<asp:TextBox ID="descrCausaleLabel" runat="server" Text='<%# Eval("descrCausale") %>'
CssClass="textEv_ReadLeft" ReadOnly="true" Width="530px" />
</td>
</tr>
<tr>
<td>
<asp:Label runat="server" ID="lblDescrPriorita" Text='<%# traduci("lblDescrPriorita") %>'
Font-Size="X-Small" />
</td>
<td colspan="5">
<asp:Label runat="server" ID="lblDescrizioneGen" Text='<%# traduci("lblDescrizioneGen") %>'
Font-Size="X-Small" />
</td>
</tr>
<tr style="vertical-align: top;">
<td>
<asp:TextBox ID="descrPrioritaLabel" runat="server" Text='<%# Eval("descrPriorita") %>'
CssClass="textEv_Read" ReadOnly="true" />
</td>
<td colspan="5">
<asp:TextBox ID="descrizioneLabel" runat="server" Text='<%# Eval("descrizione") %>'
CssClass="textEv_ReadLeft" ReadOnly="true" Height="100px" Width="530px" TextMode="MultiLine" />
</td>
</tr>
<tr>
<td colspan="5">
<asp:Label runat="server" ID="lblDescrTipo" Text='<%# traduci("lblDescrTipo") %>'
Font-Size="X-Small" />
</td>
</tr>
<tr>
<td>
<asp:TextBox ID="descrTipoLabel" runat="server" Text='<%# Eval("descrTipo") %>' CssClass="textEv_Read"
ReadOnly="true" />
</td>
</tr>
</table>
</div>
<div id="divDown" style="background-color: #FFFFFF; border-top: solid 2px orange;
padding: 10px;">
<table>
<tr>
<td>
<asp:Label runat="server" ID="lblPresaInCarico" Text='<%# traduci("lblPresaInCarico") %>'
Font-Size="X-Small" />
</td>
<td>
<asp:Label runat="server" ID="lblInizioIntervento" Text='<%# traduci("lblInizioIntervento") %>'
Font-Size="X-Small" />
</td>
<td>
<asp:Label runat="server" ID="lblFineIntervento" Text='<%# traduci("lblFineIntervento") %>'
Font-Size="X-Small" />
</td>
<td>
<asp:Label runat="server" ID="lblDescrStato" Text='<%# traduci("lblDescrStato") %>'
Font-Size="X-Small" />
</td>
<td style="text-align: center;">
<asp:Label runat="server" ID="lblInterventi" Text='<%# traduci ("lblInterventi") %>'
Font-Size="X-Small"></asp:Label>
</td>
</tr>
<tr>
<td>
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Eval("presaInCarico") %>' CssClass="textEv_Read"
ReadOnly="true" />
</td>
<td>
<uc2:mod_dataOra ID="mod_dataOra2" runat="server" valore='<%# Bind("inizioIntervento") %>'
css="textEv_1" tipoOrario="tendina" mostraLabel="false" />
</td>
<td>
<uc2:mod_dataOra ID="mod_dataOra3" runat="server" valore='<%# Bind("fineIntervento") %>'
css="textEv_1" tipoOrario="tendina" mostraLabel="false" />
</td>
<td>
<asp:DropDownList runat="server" ID="ddlStato" CssClass="textEv_1" SelectedValue='<%# Bind("idxStato") %>'
DataSourceID="odsStato" DataTextField="label" DataValueField="value">
</asp:DropDownList>
<asp:ObjectDataSource ID="odsStato" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="GetData" TypeName="DS_utilityTableAdapters.v_selStatoTableAdapter">
</asp:ObjectDataSource>
</td>
<td rowspan="3" style="vertical-align: top; padding-left: 30px;">
<uc1:mod_interventoOpMtz ID="mod_interventoOpMtz2" runat="server" vistaModulo="editing" />
</td>
</tr>
<tr>
<td colspan="2">
<asp:Label runat="server" ID="lblDescrGuasto" Text='<%# traduci ("lblDescrizioneGen") %>'
Font-Size="X-Small" />
</td>
<td>
<asp:Label runat="server" ID="lblIsPreventivabile" Text='<%# traduci("lblIsPreventivabile") %>'
Font-Size="X-Small" />
<asp:CheckBox ID="isPreventivabileCheckBox" runat="server" Checked='<%# Bind("isPreventivabile") %>'
Enabled="true" />
</td>
</tr>
<tr>
<td colspan="3">
<asp:TextBox ID="descrizioneInterventoLabel" runat="server" Text='<%# Bind("descrizioneIntervento") %>'
Height="100px" Width="500px" CssClass="textEv_1Left" TextMode="MultiLine" />
</td>
</tr>
</table>
</div>
</div>
</EditItemTemplate>
</asp:FormView>
<asp:FormView ID="frmView_full" runat="server" DataKeyNames="numIntMtz" Visible="False"
DataSourceID="ods_full" Width="100%">
<EditItemTemplate>
<div id="divEditFull">
<div id="btnCancel" style="float: right;">
<asp:Button ID="UpdateButton" runat="server" CausesValidation="True" CommandName="Update"
Text='<%# traduci("Update") %>' Width="150px" />
</div>
<div id="divUp" style="background-color: #E5E2E1; padding: 10px; border-top: solid 2px orange;">
<table>
<tr>
<td>
<asp:Label runat="server" ID="lblNumIntMtz" Text='<%# traduci("numIntMtz") %>' Font-Size="X-Small" />
</td>
<td>
<asp:Label runat="server" ID="lblDataOra" Text='<%# traduci("lblDataOraRich") %>'
Font-Size="X-Small" />
</td>
<td>
<asp:Label runat="server" ID="lblDataOraGuasto" Text='<%# traduci("lblDataOraGuasto") %>'
Font-Size="X-Small" />
</td>
<td>
<asp:Label runat="server" ID="lblDataLav" Text='<%# traduci("lblDataLav") %>' Font-Size="X-Small" />
</td>
<td>
<asp:Label runat="server" ID="lblTurnoLav" Text='<%# traduci("lblTurnoLav") %>' Font-Size="X-Small" />
</td>
<td>
<asp:Label runat="server" ID="lblMatr" Text='<%# traduci("lblMatr") %>' Font-Size="X-Small" />
</td>
</tr>
<tr>
<td>
<asp:TextBox ID="numIntMtzLabel" runat="server" Text='<%# Eval("numIntMtz") %>' CssClass="textEv_Read"
ReadOnly="true" Width="30px" />
</td>
<td>
<asp:TextBox ID="richiestaLabel" runat="server" Text='<%# Eval("richiesta") %>' CssClass="textEv_Read"
ReadOnly="true" Width="105px" />
</td>
<td>
<uc2:mod_dataOra ID="mod_dataOra4" runat="server" valore='<%# Bind("guasto") %>'
css="textEv_2" tipoOrario="tendina" mostraLabel="false" />
</td>
<td>
<asp:TextBox ID="dataLavLabel" runat="server" Text='<%# Eval("dataLav","{0:dd/MM/yy}") %>'
CssClass="textEv_Read" ReadOnly="true" Width="105px" />
</td>
<td>
<asp:TextBox ID="turnoLavLabel" runat="server" Text='<%# Eval("turnoLav") %>' CssClass="textEv_Read"
ReadOnly="true" Width="30px" />
</td>
<td>
<asp:TextBox ID="matrLabel" runat="server" Text='<%# Bind("matr") %>' CssClass="textEv_2"
Width="105px" />
</td>
</tr>
<tr>
<td>
<asp:Label runat="server" ID="lblIsFermo" Text='<%# traduci("lblIsFermo") %>' Font-Size="X-Small" />
</td>
<td colspan="5">
<asp:Label runat="server" ID="lblDettagliGuasto" Text='<%# traduci("lblDettagliGuasto") %>'
Font-Size="X-Small" />
</td>
</tr>
<tr>
<td>
<asp:CheckBox ID="isFermoCheckBox" runat="server" Checked='<%# Bind("isFermo") %>'
Enabled="true" />
</td>
<td colspan="5">
<asp:Label runat="server" ID="lblAmbito" />
<asp:DropDownList runat="server" ID="ddlAmbito" Font-Bold="True" Font-Size="10pt"
CssClass="textEv_2" DataSourceID="odsAmbiti" DataTextField="label" DataValueField="value"
SelectedValue='<%# Bind("idxAmbito") %>'>
</asp:DropDownList>
<asp:ObjectDataSource ID="odsAmbiti" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="GetData" TypeName="DS_utilityTableAdapters.v_selAmbitiTableAdapter">
</asp:ObjectDataSource>
</td>
</tr>
<tr>
<td>
<asp:Label runat="server" ID="lblImpianto" Text='<%# traduci("lblImpianto") %>' Font-Size="X-Small" />
</td>
<td colspan="5">
<asp:DropDownList ID="listImpianti" runat="server" DataSourceID="odsImpianti" DataTextField="label"
DataValueField="value" Width="400px" BackColor="#cdffcd" Font-Size="8pt" SelectedValue='<%# Bind("idxImpianto") %>'>
</asp:DropDownList>
<asp:ObjectDataSource ID="odsImpianti" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="getImpiantiValidi" TypeName="DS_utilityTableAdapters.v_selImpiantiTableAdapter">
</asp:ObjectDataSource>
</td>
</tr>
<tr>
<td>
<asp:Label runat="server" ID="lblMacchina" Text='<%# traduci("lblMacchina") %>' Font-Size="X-Small" />
</td>
<td colspan="5">
<asp:DropDownList ID="listMacchine" runat="server" DataSourceID="odsMacchine" DataTextField="label"
DataValueField="value" Width="400px" BackColor="#cdffcd" Font-Size="8pt" SelectedValue='<%# Bind("idxMacchina") %>'>
</asp:DropDownList>
<%--<asp:ObjectDataSource ID="odsMacchine" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="getByConditio" TypeName="DS_utilityTableAdapters.v_selMacchineTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="listImpianti" DefaultValue="0" Name="conditio" PropertyName="SelectedValue"
Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>--%>
<asp:ObjectDataSource ID="odsMacchine" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="getData" TypeName="DS_utilityTableAdapters.v_selMacchineTableAdapter">
</asp:ObjectDataSource>
</td>
</tr>
<tr>
<td style="padding-top: 15px;">
<asp:Label runat="server" ID="lblDescrCausale" Text='<%# traduci("lblDescrCausale") %>'
Font-Size="X-Small" />
</td>
<td colspan="5" style="padding-top: 15px;">
<asp:DropDownList ID="listCausali" runat="server" AutoPostBack="True" DataSourceID="odsCausali"
DataTextField="label" DataValueField="value" Width="400px" BackColor="#cdffcd"
Font-Size="8pt" SelectedValue='<%# Bind("idxCausale") %>'>
</asp:DropDownList>
<asp:ObjectDataSource ID="odsCausali" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="getByConditio" TypeName="DS_utilityTableAdapters.v_selCausaliMacchineTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="listMacchine" DefaultValue="0" Name="conditio" PropertyName="SelectedValue"
Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
</td>
</tr>
<tr>
<td>
<asp:Label runat="server" ID="lblDescrPriorita" Text='<%# traduci("lblDescrPriorita") %>'
Font-Size="X-Small" />
</td>
<td colspan="5">
<asp:Label runat="server" ID="lblDescrizioneGen" Text='<%# traduci("lblDescrizioneGen") %>'
Font-Size="X-Small" />
</td>
</tr>
<tr style="vertical-align: top;">
<td>
<asp:Label runat="server" ID="lblPrior" /><br />
<asp:DropDownList runat="server" ID="ddlPrior" DataSourceID="odsPrior" DataTextField="label"
DataValueField="value" CssClass="textEv_2" SelectedValue='<%# Bind("idxPriorita") %>' />
<asp:ObjectDataSource ID="odsPrior" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetData" TypeName="DS_utilityTableAdapters.v_selPriorTableAdapter">
</asp:ObjectDataSource>
</td>
<td colspan="6">
<asp:TextBox ID="txtDescrizione" runat="server" Text='<%# Bind("descrizione") %>'
CssClass="textEv_2Left" Height="100px" Width="530px" TextMode="MultiLine" />
<asp:RequiredFieldValidator ID="rfvDescrizione" runat="server" ErrorMessage="Obbligatorio !!!"
ControlToValidate="txtDescrizione" Display="Dynamic"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td colspan="6">
<asp:Label runat="server" ID="lblDescrTipo" Text='<%# traduci("lblDescrTipo") %>'
Font-Size="X-Small" />
</td>
</tr>
<tr>
<td>
<asp:Label runat="server" ID="lblTipoGuasto" /><br />
<asp:DropDownList runat="server" ID="ddlTipo" Font-Bold="True" Font-Size="10pt" CssClass="textEv_2"
DataSourceID="odsTipo" DataTextField="label" DataValueField="value" SelectedValue='<%# Bind("idxTipo") %>'>
</asp:DropDownList>
<asp:ObjectDataSource ID="odsTipo" runat="server" OldValuesParameterFormatString="original_{0}"
SelectMethod="GetData" TypeName="DS_utilityTableAdapters.v_selTipoGuastoTableAdapter">
</asp:ObjectDataSource>
</td>
</tr>
</table>
</div>
<div id="divDown" style="background-color: #FFFFFF; border-top: solid 2px orange;
padding: 10px;">
<table>
<tr>
<td>
<asp:Label runat="server" ID="lblPresaInCarico" Text='<%# traduci("lblPresaInCarico") %>'
Font-Size="X-Small" />
</td>
<td>
<asp:Label runat="server" ID="lblInizioIntervento" Text='<%# traduci("lblInizioIntervento") %>'
Font-Size="X-Small" />
</td>
<td>
<asp:Label runat="server" ID="lblFineIntervento" Text='<%# traduci("lblFineIntervento") %>'
Font-Size="X-Small" />
</td>
<td>
<asp:Label runat="server" ID="lblDescrStato" Text='<%# traduci("lblDescrStato") %>'
Font-Size="X-Small" />
</td>
<td style="text-align: center;">
<asp:Label runat="server" ID="lblInterventi" Text='<%# traduci ("lblInterventi") %>'
Font-Size="X-Small"></asp:Label>
</td>
</tr>
<tr>
<td>
<%--<uc2:mod_dataOra ID="mod_dataOra10" runat="server" valore='<%# Bind("presaInCarico") %>'
css="textEv_1" tipoOrario="tendina" mostraLabel="false" />--%>
<asp:TextBox ID="presaInCaricoLabel" runat="server" Text='<%# Bind("presaInCarico") %>'
CssClass="textEv_Read" />
</td>
<td>
<uc2:mod_dataOra ID="mod_dataOra2" runat="server" valore='<%# Bind("inizioIntervento") %>'
css="textEv_1" tipoOrario="tendina" mostraLabel="false" />
</td>
<td>
<uc2:mod_dataOra ID="mod_dataOra3" runat="server" valore='<%# Bind("fineIntervento") %>'
css="textEv_1" tipoOrario="tendina" mostraLabel="false" />
</td>
<td>
<asp:DropDownList runat="server" ID="ddlStato" CssClass="textEv_1" SelectedValue='<%# Bind("idxStato") %>'
DataSourceID="odsStato" DataTextField="label" DataValueField="value">
</asp:DropDownList>
<asp:ObjectDataSource ID="odsStato" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="GetData" TypeName="DS_utilityTableAdapters.v_selStatoTableAdapter">
</asp:ObjectDataSource>
</td>
<td rowspan="3" style="vertical-align: top; padding-left: 30px;">
<uc1:mod_interventoOpMtz ID="mod_interventoOpMtz4" runat="server" vistaModulo="editing" />
</td>
</tr>
<tr>
<td colspan="2">
<asp:Label runat="server" ID="lblDescrGuasto" Text='<%# traduci ("lblDescrizioneGen") %>'
Font-Size="X-Small" />
</td>
<td>
<asp:Label runat="server" ID="lblIsPreventivabile" Text='<%# traduci("lblIsPreventivabile") %>'
Font-Size="X-Small" />
<asp:CheckBox ID="isPreventivabileCheckBox" runat="server" Checked='<%# Bind("isPreventivabile") %>'
Enabled="true" />
</td>
</tr>
<tr>
<td colspan="3">
<asp:TextBox ID="descrizioneInterventoLabel" runat="server" Text='<%# Bind("descrizioneIntervento") %>'
Height="100px" Width="500px" CssClass="textEv_1Left" TextMode="MultiLine" />
</td>
</tr>
</table>
</div>
</div>
</EditItemTemplate>
</asp:FormView>
<asp:ObjectDataSource ID="ods_default" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="getByIdx" TypeName="DS_applicazioneTableAdapters.v_intervExpTableAdapter"
UpdateMethod="sp_updateIntervento">
<UpdateParameters>
<asp:Parameter Name="Original_numIntMtz" Type="Int32" />
<asp:Parameter Name="idxStato" Type="Int32" />
<asp:Parameter Name="inizioIntervento" Type="DateTime" />
<asp:Parameter Name="fineIntervento" Type="DateTime" />
<asp:Parameter Name="isPreventivabile" Type="Boolean" />
<asp:Parameter Name="descrizioneIntervento" Type="String" />
</UpdateParameters>
<SelectParameters>
<asp:SessionParameter DefaultValue="0" Name="numIntMtz" SessionField="numIntMtz_sel"
Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="ods_full" runat="server" OldValuesParameterFormatString="Original_{0}"
SelectMethod="getByIdx" TypeName="DS_applicazioneTableAdapters.v_intervExpTableAdapter"
UpdateMethod="sp_updateInterventoFull" OnUpdated="ods_full_Updated">
<UpdateParameters>
<asp:Parameter Name="Original_numIntMtz" Type="Int32" />
<asp:Parameter Name="idxStato" Type="Int32" />
<asp:Parameter Name="inizioIntervento" Type="DateTime" />
<asp:Parameter Name="fineIntervento" Type="DateTime" />
<asp:Parameter Name="isPreventivabile" Type="Boolean" />
<asp:Parameter Name="descrizioneIntervento" Type="String" />
<asp:Parameter Name="matr" Type="String" />
<asp:Parameter Name="guasto" Type="DateTime" />
<asp:Parameter Name="isFermo" Type="Boolean" />
<asp:Parameter Name="idxImpianto" Type="Int32" />
<asp:Parameter Name="idxMacchina" Type="Int32" />
<asp:Parameter Name="idxAmbito" Type="Int32" />
<asp:Parameter Name="idxPriorita" Type="Int32" />
<asp:Parameter Name="descrizione" Type="String" />
<asp:Parameter Name="idxTipo" Type="Int32" />
<asp:Parameter Name="idxCausale" Type="Int32" />
<asp:Parameter Name="presaInCarico" Type="DateTime" />
</UpdateParameters>
<SelectParameters>
<asp:SessionParameter DefaultValue="0" Name="numIntMtz" SessionField="numIntMtz_sel"
Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
@@ -0,0 +1,144 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
public partial class mod_dettaglioIntervento : System.Web.UI.UserControl
{
#region gestione eventi
public event EventHandler eh_chiudi;
//public event EventHandler eh_nuovoValore;
//public event EventHandler eh_selValore;
#endregion
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
setupInizialeControlli();
}
if (frmView_default.CurrentMode == FormViewMode.ReadOnly)
{
btnCancel.Visible = false;
}
}
/// <summary>
/// setup iniziale e di reset dei controlli
/// </summary>
private void setupInizialeControlli()
{
traduciObj();
frmView_default.ChangeMode(FormViewMode.ReadOnly);
frmView_default.Visible = true;
frmView_full.Visible = false;
btnCancel.Enabled= userCanEditData;
btnCompilaMtz.Enabled = userCanEditData;
btnEditFull.Enabled = userCanEditData;
}
/// <summary>
/// effettua traduzione pagina in lingua corrente
/// </summary>
private void traduciObj()
{
btnElenco.Text = traduci("btnElencoRichiesteMtz");
btnCancel.Text = traduci("btnCancel");
btnCompilaMtz.Text = traduci("btnCompilaMtz");
btnEditFull.Text = traduci("btnEditFull");
}
/// <summary>
/// wrapper alla traduzione
/// </summary>
/// <param name="lemma"></param>
/// <returns></returns>
public string traduci(object lemma)
{
return user_std.UtSn.Traduci(lemma.ToString());
}
/// <summary>
/// aggiorna il dato mostrato
/// </summary>
public void doUpdate()
{
setupInizialeControlli();
}
/// <summary>
/// abilita compilazione parte mtz dell'intervento
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnCompilaMtz_Click(object sender, EventArgs e)
{
frmView_default.ChangeMode(FormViewMode.Edit);
frmView_default.Visible = true;
frmView_full.Visible = false;
btnCancel.Visible = true;
}
/// <summary>
/// permette editing di tutto
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnEditFull_Click(object sender, EventArgs e)
{
frmView_full.ChangeMode(FormViewMode.Edit);
frmView_full.Visible = true;
frmView_default.Visible = false;
btnCancel.Visible = true;
frmView_default.DataBind();
frmView_full.DataBind();
}
/// <summary>
/// chiude la parte di editing
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnCancel_Click(object sender, EventArgs e)
{
frmView_default.ChangeMode(FormViewMode.ReadOnly);
frmView_default.Visible = true;
frmView_full.Visible = false;
btnCancel.Visible = false;
frmView_default.DataBind();
frmView_full.DataBind();
}
/// <summary>
/// chiude la parte di editing
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnElenco_Click(object sender, EventArgs e)
{
if (eh_chiudi != null)
{
eh_chiudi(this, new EventArgs());
}
}
protected void ods_full_Updated(object sender, ObjectDataSourceStatusEventArgs e)
{
frmView_default.ChangeMode(FormViewMode.ReadOnly);
frmView_default.Visible = true;
frmView_full.Visible = false;
frmView_default.DataBind();
}
protected void listCausali_TextChanged(object sender, EventArgs e)
{
btnCancel.Visible = true;
}
/// <summary>
/// determina se l'utente possa editare i dati (permesso "_SU"
/// </summary>
public bool userCanEditData
{
get
{
return (user_std.UtSn.diritti.Select("COD_FUNZIONE = 'GIM_SU'").Length > 0);
}
}
}
@@ -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 mod_dettaglioIntervento {
/// <summary>
/// btnElenco 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.LinkButton btnElenco;
/// <summary>
/// btnCancel 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.Button btnCancel;
/// <summary>
/// btnCompilaMtz 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.Button btnCompilaMtz;
/// <summary>
/// btnEditFull 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.Button btnEditFull;
/// <summary>
/// frmView_default 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.FormView frmView_default;
/// <summary>
/// frmView_full 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.FormView frmView_full;
/// <summary>
/// ods_default 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 ods_default;
/// <summary>
/// ods_full 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 ods_full;
}
@@ -0,0 +1,88 @@
<%@ Control Language="C#" AutoEventWireup="true"
Inherits="mod_elFamMacch" Codebehind="mod_elFamMacch.ascx.cs" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
DataKeyNames="idxFamMacchine" DataSourceID="ods"
OnDataBound="grView_DataBound" OnRowEditing="grView_RowEditing"
onselectedindexchanged="grView_SelectedIndexChanged">
<RowStyle CssClass="ctrRowStyle" />
<AlternatingRowStyle CssClass="ctrAltRowStyle" />
<EditRowStyle CssClass="ctrEditRowStyle" />
<SelectedRowStyle CssClass="ctrSelRowStyle" />
<FooterStyle CssClass="ctrFooter" />
<PagerStyle CssClass="ctrHeaderPager" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle CssClass="ctrHeaderPager" ForeColor="White" Font-Bold="True" />
<EmptyDataRowStyle CssClass="ctrRowStyle" />
<EmptyDataTemplate>
<asp:Label runat="server" ID="lblNoRecord" Text='<%# traduci("noRecord") %>' />
<asp:Button ID="btnNew" runat="server" OnClick="btnNewFromEmpty_Click" Text='<%# traduci("New") %>' />
</EmptyDataTemplate>
<Columns>
<asp:TemplateField ShowHeader="False" ItemStyle-HorizontalAlign="Center">
<EditItemTemplate>
<asp:ImageButton ID="imgUpdate" runat="server" CausesValidation="False" CommandName="Update"
ToolTip='<%# traduci("Update")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.conferma, SteamWare.dimImg.small) %>' />
<asp:ImageButton ID="imgCancel" runat="server" CausesValidation="False" CommandName="Cancel"
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla, SteamWare.dimImg.small) %>' />
</EditItemTemplate>
<HeaderTemplate>
<asp:Button ID="btnReset" runat="server" Text='<%# traduci("Reset") %>' OnClick="btnReset_Click" />
</HeaderTemplate>
<ItemTemplate>
<asp:ImageButton ID="imgSelect" runat="server" CausesValidation="False" CommandName="Select"
ToolTip='<%# traduci("Select") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.seleziona, SteamWare.dimImg.small) %>' />
<asp:ImageButton ID="imgEdit" runat="server" CausesValidation="False" CommandName="Edit"
ToolTip='<%# traduci("Edit") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.modifica, SteamWare.dimImg.small) %>' />
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
<asp:BoundField DataField="idxFamMacchine" HeaderText="idxFamMacchine" InsertVisible="False"
Visible="false" ReadOnly="True" SortExpression="idxFamMacchine" />
<asp:TemplateField HeaderText="nomeFamMacch" SortExpression="nomeFamMacch">
<EditItemTemplate>
<asp:TextBox ID="TextBox1" runat="server" Width="30em" Text='<%# Bind("nomeFamMacch") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Bind("nomeFamMacch") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-HorizontalAlign="Center">
<HeaderTemplate>
<asp:Button ID="btnNew" runat="server" OnClick="btnNewFromEmpty_Click" Text='<%# traduci("New") %>' />
</HeaderTemplate>
<EditItemTemplate>
<asp:ImageButton ID="imgUpdate2" runat="server" CausesValidation="False" CommandName="Update"
ToolTip='<%# traduci("Update")%>' ImageUrl='<%# imgPath(SteamWare.tipoImg.conferma, SteamWare.dimImg.small) %>' />
<asp:ImageButton ID="imgCancel2" runat="server" CausesValidation="False" CommandName="Cancel"
ToolTip='<%# traduci("Cancel") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.annulla, SteamWare.dimImg.small) %>' />
</EditItemTemplate>
<ItemTemplate>
<asp:ImageButton ID="imgDelete" runat="server" CausesValidation="False" CommandName="Delete" Visible='<%# isDeletable(Eval("idxFamMacchine")) %>'
ToolTip='<%# traduci("Delete") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.elimina, SteamWare.dimImg.small) %>' />
<cc1:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" ConfirmText='<%# traduci("confermaDel")%>'
TargetControlID="imgDelete">
</cc1:ConfirmButtonExtender>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini"></asp:Label>
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="GetData" TypeName="DS_applicazioneTableAdapters.AnagFamMacchineTableAdapter"
UpdateMethod="Update" DeleteMethod="Delete" OldValuesParameterFormatString="Original_{0}"
FilterExpression="nomeFamMacch LIKE '%{0}%' " InsertMethod="Insert"
onupdated="ods_Updated">
<UpdateParameters>
<asp:Parameter Name="nomeFamMacch" Type="String" />
<asp:Parameter Name="Original_idxFamMacchine" Type="Int32" />
</UpdateParameters>
<FilterParameters>
<asp:SessionParameter DefaultValue="*" Name="ricerca" SessionField="valoreCercato" />
</FilterParameters>
<DeleteParameters>
<asp:Parameter Name="Original_idxFamMacchine" Type="Int32" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="nomeFamMacch" Type="String" />
</InsertParameters>
</asp:ObjectDataSource>
@@ -0,0 +1,134 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
public partial class mod_elFamMacch : ApplicationUserControl
{
public event EventHandler eh_selezioneValore;
public event EventHandler eh_resetSelezione;
/// <summary>
/// evento dati associati a controllo
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void grView_DataBound(object sender, EventArgs e)
{
if (grView.Rows.Count > 0)
{
LinkButton lb;
// aggiorno gli headers
foreach (TableCell cella in grView.HeaderRow.Cells)
{
try
{
lb = (LinkButton)cella.Controls[0];
lb.Text = traduci(lb.Text);
}
catch
{ }
}
int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1);
lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord);
}
else
{
lblNumRec.Text = "";
}
}
/// <summary>
/// reset delle selezioni
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnReset_Click(object sender, EventArgs e)
{
resetSelezione();
}
/// <summary>
/// resetta la selezione dei valori in caso di modifiche su altri controlli
/// </summary>
public void resetSelezione()
{
grView.SelectedIndex = -1;
grView.DataBind();
if (eh_resetSelezione != null)
{
eh_resetSelezione(this, new EventArgs());
}
}
/// <summary>
/// seleziono valore in editing...
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void grView_RowEditing(object sender, GridViewEditEventArgs e)
{
// seleziono la riga corrente...
grView.SelectedIndex = e.NewEditIndex;
}
/// <summary>
/// gestione evento inserimento nuovo record standard (se ZERO presenti)
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnNewFromEmpty_Click(object sender, EventArgs e)
{
// reset selezione...
resetSelezione();
// i primi valori ("0") di default sono "ND"... li inserisco come standard...
GIM_data.DS_applicazioneTableAdapters.AnagFamMacchineTableAdapter taFamMacc = new GIM_data.DS_applicazioneTableAdapters.AnagFamMacchineTableAdapter();
taFamMacc.Insert("-- [NUOVA] n.d. --");
grView.DataBind();
}
protected void grView_SelectedIndexChanged(object sender, EventArgs e)
{
if (eh_selezioneValore != null)
{
eh_selezioneValore(this, new EventArgs());
}
}
/// <summary>
/// restituisce il valore selezionato... se non selezionato restituisce -1
/// </summary>
public int idxFamMacc_sel
{
get
{
int answ = -1;
if (grView.SelectedIndex != -1)
{
answ = Convert.ToInt32(grView.SelectedValue);
}
return answ;
}
}
protected void ods_Updated(object sender, ObjectDataSourceStatusEventArgs e)
{
grView.SelectedIndex = -1;
grView.DataBind();
}
/// <summary>
/// determina se sia cancellabile
/// </summary>
/// <param name="idx"></param>
/// <returns></returns>
public bool isDeletable(object idx)
{
bool answ=false;
if (TA_app.obj.taMacc2Fam.getByFam(Convert.ToInt32(idx)).Rows.Count == 0)
{
answ = true;
}
return answ;
}
/// <summary>
/// esegue update
/// </summary>
public void doUpdate()
{
grView.DataBind();
}
}
@@ -0,0 +1,41 @@
//------------------------------------------------------------------------------
// <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 mod_elFamMacch {
/// <summary>
/// grView 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.GridView grView;
/// <summary>
/// lblNumRec 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 lblNumRec;
/// <summary>
/// ods 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 ods;
}
@@ -0,0 +1,56 @@
<%@ Control Language="C#" AutoEventWireup="true"
Inherits="mod_elMacch2Fam" Codebehind="mod_elMacch2Fam.ascx.cs" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:GridView ID="grView" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False"
DataKeyNames="idxFamMacchine,idxMacchina" DataSourceID="ods" OnDataBound="grView_DataBound" Font-Size="X-Small" >
<RowStyle CssClass="ctrRowStyleDet" />
<AlternatingRowStyle CssClass="ctrAltRowStyleDet" />
<EditRowStyle CssClass="ctrEditRowStyleDet" />
<SelectedRowStyle CssClass="ctrSelRowStyleDet" />
<FooterStyle CssClass="ctrFooterDet" />
<PagerStyle CssClass="ctrHeaderPagerDet" ForeColor="White" HorizontalAlign="Center" />
<HeaderStyle CssClass="ctrHeaderPagerDet" ForeColor="White" Font-Bold="True" />
<EmptyDataRowStyle CssClass="ctrRowStyleDet" />
<EmptyDataTemplate>
<asp:Label runat="server" ID="lblNoRecord" Text='<%# traduci("noRecord") %>' />
</EmptyDataTemplate>
<Columns>
<asp:BoundField DataField="idxFamMacchine" HeaderText="idxFamMacchine" Visible="false"
ReadOnly="True" />
<asp:BoundField DataField="idxMacchina" HeaderText="idxMacchina" Visible="false"
ReadOnly="True" />
<asp:TemplateField HeaderText="macchina" SortExpression="macchina">
<ItemTemplate>
<asp:Label ID="lblMacchina" runat="server" Text='<%# Bind("macchina") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField ItemStyle-HorizontalAlign="Center">
<HeaderTemplate>
</HeaderTemplate>
<EditItemTemplate>
</EditItemTemplate>
<ItemTemplate>
<asp:ImageButton ID="imgDelete" runat="server" CausesValidation="False" CommandName="Delete"
ToolTip='<%# traduci("Delete") %>' ImageUrl='<%# imgPath(SteamWare.tipoImg.elimina, SteamWare.dimImg.small) %>' />
<cc1:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" ConfirmText='<%# traduci("confermaDel")%>'
TargetControlID="imgDelete">
</cc1:ConfirmButtonExtender>
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</asp:TemplateField>
</Columns>
</asp:GridView>
<asp:Label ID="lblNumRec" runat="server" CssClass="txtMini"></asp:Label>
<asp:Label ID="lblFamMacc" runat="server" Visible="false" Text="0" />
<asp:ObjectDataSource ID="ods" runat="server" SelectMethod="getByFam" TypeName="DS_applicazioneTableAdapters.v_selFamMaccTableAdapter"
DeleteMethod="DeleteQuery" OldValuesParameterFormatString="Original_{0}"
onDeleted="ods_Deleted" >
<SelectParameters>
<asp:ControlParameter DefaultValue="*" ControlID="lblFamMacc" Name="idxFamMacchine"
Type="Int32" />
</SelectParameters>
<DeleteParameters>
<asp:Parameter Name="Original_idxMacchina" Type="Int32" />
<asp:Parameter Name="Original_idxFamMacchine" Type="Int32" />
</DeleteParameters>
</asp:ObjectDataSource>
@@ -0,0 +1,73 @@
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SteamWare;
public partial class mod_elMacch2Fam : ApplicationUserControl
{
public event EventHandler eh_delValore;
/// <summary>
/// evento dati associati a controllo
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void grView_DataBound(object sender, EventArgs e)
{
if (grView.Rows.Count > 0)
{
LinkButton lb;
// aggiorno gli headers
foreach (TableCell cella in grView.HeaderRow.Cells)
{
try
{
lb = (LinkButton)cella.Controls[0];
lb.Text = traduci(lb.Text);
}
catch
{ }
}
int totRecord = grView.Rows.Count + grView.PageSize * (grView.PageCount - 1);
lblNumRec.Text = string.Format("{0} records of ~ {1}", grView.Rows.Count, totRecord);
}
else
{
lblNumRec.Text = "";
}
}
/// <summary>
/// indica il valore dell'impianto filtrato in visualizzazione
/// </summary>
public int idxFamMacchSel
{
get
{
return Convert.ToInt32(lblFamMacc.Text);
}
set
{
lblFamMacc.Text = value.ToString();
}
}
/// <summary>
/// eliminato il valore genera l'evento
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void ods_Deleted(object sender, ObjectDataSourceStatusEventArgs e)
{
if (eh_delValore != null)
{
eh_delValore(this, new EventArgs());
}
}
/// <summary>
/// esegue update
/// </summary>
public void doUpdate()
{
grView.DataBind();
}
}

Some files were not shown because too many files have changed in this diff Show More