pRIMA VERSIONE INSERIMENTO INTERVENTI mTZ PROGRAMMATA
git-svn-id: https://keyhammer.ath.cx/svn/WebGIM/trunk@46 3e04ef4b-3b25-4b6c-be27-bb5389ca777b
This commit is contained in:
@@ -835,6 +835,70 @@ WHERE (numIntMtz = @Original_numIntMtz) AND (matrOp = @Original_matrOp)</Com
|
||||
</DbSource>
|
||||
</Sources>
|
||||
</TableAdapter>
|
||||
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="MtzProgrammataTableAdapter" GeneratorDataComponentClassName="MtzProgrammataTableAdapter" Name="MtzProgrammata" UserDataComponentName="MtzProgrammataTableAdapter">
|
||||
<MainSource>
|
||||
<DbSource ConnectionRef="GIMConnectionString (Web.config)" DbObjectName="GIM.dbo.MtzProgrammata" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
|
||||
<DeleteCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>DELETE FROM [MtzProgrammata] WHERE (([idxIntPro] = @Original_idxIntPro))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxIntPro" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxIntPro" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</DeleteCommand>
|
||||
<InsertCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>INSERT INTO [MtzProgrammata] ([idxMacchina], [inizio], [codFrequenza], [cadenza], [descrizione], [idxPriorita], [isFermo], [idxTipo]) VALUES (@idxMacchina, @inizio, @codFrequenza, @cadenza, @descrizione, @idxPriorita, @isFermo, @idxTipo)</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxMacchina" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxMacchina" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@inizio" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="inizio" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@codFrequenza" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="codFrequenza" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@cadenza" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cadenza" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxPriorita" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxPriorita" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@isFermo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isFermo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxTipo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxTipo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</InsertCommand>
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>SELECT idxIntPro, idxMacchina, inizio, codFrequenza, cadenza, descrizione, idxPriorita, isFermo, idxTipo
|
||||
FROM MtzProgrammata</CommandText>
|
||||
<Parameters />
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
<UpdateCommand>
|
||||
<DbCommand CommandType="Text" ModifiedByUser="false">
|
||||
<CommandText>UPDATE [MtzProgrammata] SET [idxMacchina] = @idxMacchina, [inizio] = @inizio, [codFrequenza] = @codFrequenza, [cadenza] = @cadenza, [descrizione] = @descrizione, [idxPriorita] = @idxPriorita, [isFermo] = @isFermo, [idxTipo] = @idxTipo WHERE (([idxIntPro] = @Original_idxIntPro))</CommandText>
|
||||
<Parameters>
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxMacchina" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxMacchina" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@inizio" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="inizio" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="StringFixedLength" Direction="Input" ParameterName="@codFrequenza" Precision="0" ProviderType="NChar" Scale="0" Size="0" SourceColumn="codFrequenza" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@cadenza" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="cadenza" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@descrizione" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="descrizione" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxPriorita" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxPriorita" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@isFermo" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="isFermo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@idxTipo" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxTipo" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_idxIntPro" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="idxIntPro" SourceColumnNullMapping="false" SourceVersion="Original" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</UpdateCommand>
|
||||
</DbSource>
|
||||
</MainSource>
|
||||
<Mappings>
|
||||
<Mapping SourceColumn="idxIntPro" DataSetColumn="idxIntPro" />
|
||||
<Mapping SourceColumn="idxMacchina" DataSetColumn="idxMacchina" />
|
||||
<Mapping SourceColumn="inizio" DataSetColumn="inizio" />
|
||||
<Mapping SourceColumn="codFrequenza" DataSetColumn="codFrequenza" />
|
||||
<Mapping SourceColumn="descrizione" DataSetColumn="descrizione" />
|
||||
<Mapping SourceColumn="idxPriorita" DataSetColumn="idxPriorita" />
|
||||
<Mapping SourceColumn="isFermo" DataSetColumn="isFermo" />
|
||||
<Mapping SourceColumn="idxTipo" DataSetColumn="idxTipo" />
|
||||
<Mapping SourceColumn="cadenza" DataSetColumn="cadenza1" />
|
||||
</Mappings>
|
||||
<Sources />
|
||||
</TableAdapter>
|
||||
</Tables>
|
||||
<Sources />
|
||||
</DataSource>
|
||||
@@ -1157,6 +1221,34 @@ WHERE (numIntMtz = @Original_numIntMtz) AND (matrOp = @Original_matrOp)</Com
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="MtzProgrammata" msprop:Generator_UserTableName="MtzProgrammata" msprop:Generator_RowDeletedName="MtzProgrammataRowDeleted" msprop:Generator_RowChangedName="MtzProgrammataRowChanged" msprop:Generator_RowClassName="MtzProgrammataRow" msprop:Generator_RowChangingName="MtzProgrammataRowChanging" msprop:Generator_RowEvArgName="MtzProgrammataRowChangeEvent" msprop:Generator_RowEvHandlerName="MtzProgrammataRowChangeEventHandler" msprop:Generator_TableClassName="MtzProgrammataDataTable" msprop:Generator_TableVarName="tableMtzProgrammata" msprop:Generator_RowDeletingName="MtzProgrammataRowDeleting" msprop:Generator_TablePropName="MtzProgrammata">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="idxIntPro" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="idxIntPro" msprop:Generator_ColumnVarNameInTable="columnidxIntPro" msprop:Generator_ColumnPropNameInRow="idxIntPro" msprop:Generator_ColumnPropNameInTable="idxIntProColumn" type="xs:int" />
|
||||
<xs:element name="idxMacchina" msprop:Generator_UserColumnName="idxMacchina" msprop:Generator_ColumnVarNameInTable="columnidxMacchina" msprop:Generator_ColumnPropNameInRow="idxMacchina" msprop:Generator_ColumnPropNameInTable="idxMacchinaColumn" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="inizio" msprop:Generator_UserColumnName="inizio" msprop:Generator_ColumnVarNameInTable="columninizio" msprop:Generator_ColumnPropNameInRow="inizio" msprop:Generator_ColumnPropNameInTable="inizioColumn" type="xs:dateTime" minOccurs="0" />
|
||||
<xs:element name="codFrequenza" msprop:Generator_UserColumnName="codFrequenza" msprop:Generator_ColumnVarNameInTable="columncodFrequenza" msprop:Generator_ColumnPropNameInRow="codFrequenza" msprop:Generator_ColumnPropNameInTable="codFrequenzaColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="2" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="cadenza" msprop:Generator_UserColumnName="cadenza" msprop:Generator_ColumnVarNameInTable="columncadenza" msprop:Generator_ColumnPropNameInRow="cadenza" msprop:Generator_ColumnPropNameInTable="cadenzaColumn" type="xs:base64Binary" 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="idxPriorita" msprop:Generator_UserColumnName="idxPriorita" msprop:Generator_ColumnVarNameInTable="columnidxPriorita" msprop:Generator_ColumnPropNameInRow="idxPriorita" msprop:Generator_ColumnPropNameInTable="idxPrioritaColumn" type="xs:int" minOccurs="0" />
|
||||
<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="idxTipo" msprop:Generator_UserColumnName="idxTipo" msprop:Generator_ColumnVarNameInTable="columnidxTipo" msprop:Generator_ColumnPropNameInRow="idxTipo" msprop:Generator_ColumnPropNameInTable="idxTipoColumn" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="cadenza1" msdata:Caption="cadenza" msprop:Generator_UserColumnName="cadenza1" msprop:Generator_ColumnPropNameInRow="cadenza1" msprop:Generator_ColumnVarNameInTable="columncadenza1" msprop:Generator_ColumnPropNameInTable="cadenza1Column" type="xs:int" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
|
||||
@@ -1205,6 +1297,10 @@ WHERE (numIntMtz = @Original_numIntMtz) AND (matrOp = @Original_matrOp)</Com
|
||||
<xs:field xpath="mstns:numIntMtz" />
|
||||
<xs:field xpath="mstns:matrOp" />
|
||||
</xs:unique>
|
||||
<xs:unique name="MtzProgrammata_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
|
||||
<xs:selector xpath=".//mstns:MtzProgrammata" />
|
||||
<xs:field xpath="mstns:idxIntPro" />
|
||||
</xs:unique>
|
||||
</xs:element>
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
|
||||
@@ -6,20 +6,21 @@
|
||||
</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="-47" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:LogUpdateDb" ZOrder="19" X="36" Y="19" Height="122" Width="219" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
<Shape ID="DesignTable:AnagAmbitoGuasto" ZOrder="18" X="322" Y="20" Height="122" Width="251" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
<Shape ID="DesignTable:AnagPriorita" ZOrder="5" X="153" Y="373" Height="190" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
|
||||
<Shape ID="DesignTable:AnagImpianti" ZOrder="11" X="810" Y="350" Height="207" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="126" />
|
||||
<Shape ID="DesignTable:v_macchine" ZOrder="7" X="1087" Y="339" Height="343" Width="226" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
|
||||
<Shape ID="DesignTable:v_selFamMacc" ZOrder="6" X="1067" Y="100" Height="173" Width="220" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="92" />
|
||||
<Shape ID="DesignTable:AnagFamMacchine" ZOrder="15" X="742" Y="29" Height="105" Width="195" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
<Shape ID="DesignTable:v_intervExp" ZOrder="3" X="484" Y="217" Height="649" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="517" />
|
||||
<Shape ID="DesignTable:AnagTipoGuasto" ZOrder="9" X="118" Y="199" Height="105" Width="179" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
<Shape ID="DesignTable:AnagStati" ZOrder="4" X="813" Y="178" Height="139" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
|
||||
<Shape ID="DesignTable:InterventoOpMtz" ZOrder="2" X="790" Y="656" Height="173" Width="205" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
|
||||
<Shape ID="DesignTable:LogUpdateDb" ZOrder="20" X="36" Y="19" Height="122" Width="219" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
<Shape ID="DesignTable:AnagAmbitoGuasto" ZOrder="19" X="322" Y="20" Height="122" Width="251" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
<Shape ID="DesignTable:AnagPriorita" ZOrder="6" X="153" Y="373" Height="190" Width="211" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
|
||||
<Shape ID="DesignTable:AnagImpianti" ZOrder="12" X="810" Y="350" Height="207" Width="224" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="126" />
|
||||
<Shape ID="DesignTable:v_macchine" ZOrder="8" X="1087" Y="339" Height="343" Width="226" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="228" />
|
||||
<Shape ID="DesignTable:v_selFamMacc" ZOrder="7" X="1067" Y="100" Height="173" Width="220" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="92" />
|
||||
<Shape ID="DesignTable:AnagFamMacchine" ZOrder="16" X="742" Y="29" Height="105" Width="195" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
<Shape ID="DesignTable:v_intervExp" ZOrder="4" X="484" Y="217" Height="649" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="517" />
|
||||
<Shape ID="DesignTable:AnagTipoGuasto" ZOrder="10" X="118" Y="199" Height="105" Width="179" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
<Shape ID="DesignTable:AnagStati" ZOrder="5" X="813" Y="178" Height="139" Width="197" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
|
||||
<Shape ID="DesignTable:InterventoOpMtz" ZOrder="3" X="790" Y="656" Height="173" Width="205" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
|
||||
<Shape ID="DesignTable:MtzProgrammata" ZOrder="1" X="74" Y="689" Height="224" Width="240" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="177" />
|
||||
</Shapes>
|
||||
<Connectors>
|
||||
<Connector ID="DesignRelation:FK_AnagMacchine_AnagImpianti" ZOrder="17" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_AnagMacchine_AnagImpianti" ZOrder="18" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1034</X>
|
||||
@@ -31,7 +32,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:Macchine2FamMacchine_v_macchine" ZOrder="16" LineWidth="11">
|
||||
<Connector ID="DesignRelation:Macchine2FamMacchine_v_macchine" ZOrder="17" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>1187</X>
|
||||
@@ -43,7 +44,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:AnagFamMacchine_v_selFamMacc" ZOrder="14" LineWidth="11">
|
||||
<Connector ID="DesignRelation:AnagFamMacchine_v_selFamMacc" ZOrder="15" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>937</X>
|
||||
@@ -55,7 +56,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_InterventiMtz_AnagAmbitoGuasto" ZOrder="12" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_InterventiMtz_AnagAmbitoGuasto" ZOrder="13" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>511</X>
|
||||
@@ -67,7 +68,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_InterventiMtz_AnagImpianti" ZOrder="13" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_InterventiMtz_AnagImpianti" ZOrder="14" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>810</X>
|
||||
@@ -79,7 +80,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_InterventiMtz_AnagPriorita" ZOrder="10" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_InterventiMtz_AnagPriorita" ZOrder="11" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>364</X>
|
||||
@@ -91,7 +92,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_InterventiMtz_AnagTipoGuasto" ZOrder="8" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_InterventiMtz_AnagTipoGuasto" ZOrder="9" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>297</X>
|
||||
@@ -103,7 +104,7 @@
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:v_intervExp_InterventoOpMtz" ZOrder="1" LineWidth="11">
|
||||
<Connector ID="DesignRelation:v_intervExp_InterventoOpMtz" ZOrder="2" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>686</X>
|
||||
|
||||
@@ -165,6 +165,23 @@ WHERE (conditio = @conditio)</CommandText>
|
||||
</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>
|
||||
</Tables>
|
||||
<Sources />
|
||||
</DataSource>
|
||||
@@ -176,8 +193,8 @@ WHERE (conditio = @conditio)</CommandText>
|
||||
<xs:element name="v_selImpianti" msprop:Generator_UserTableName="v_selImpianti" msprop:Generator_RowDeletedName="v_selImpiantiRowDeleted" msprop:Generator_RowChangedName="v_selImpiantiRowChanged" msprop:Generator_RowClassName="v_selImpiantiRow" msprop:Generator_RowChangingName="v_selImpiantiRowChanging" msprop:Generator_RowEvArgName="v_selImpiantiRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selImpiantiRowChangeEventHandler" msprop:Generator_TableClassName="v_selImpiantiDataTable" msprop:Generator_TableVarName="tablev_selImpianti" msprop:Generator_RowDeletingName="v_selImpiantiRowDeleting" msprop:Generator_TablePropName="v_selImpianti">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
|
||||
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
|
||||
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="156" />
|
||||
@@ -190,23 +207,23 @@ WHERE (conditio = @conditio)</CommandText>
|
||||
<xs:element name="v_selMacchine" msprop:Generator_UserTableName="v_selMacchine" msprop:Generator_RowDeletedName="v_selMacchineRowDeleted" msprop:Generator_RowChangedName="v_selMacchineRowChanged" msprop:Generator_RowClassName="v_selMacchineRow" msprop:Generator_RowChangingName="v_selMacchineRowChanging" msprop:Generator_RowEvArgName="v_selMacchineRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selMacchineRowChangeEventHandler" msprop:Generator_TableClassName="v_selMacchineDataTable" msprop:Generator_TableVarName="tablev_selMacchine" msprop:Generator_RowDeletingName="v_selMacchineRowDeleting" msprop:Generator_TablePropName="v_selMacchine">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
|
||||
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
|
||||
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="213" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" type="xs:int" minOccurs="0" />
|
||||
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" type="xs:int" minOccurs="0" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selPrior" msprop:Generator_UserTableName="v_selPrior" msprop:Generator_RowDeletedName="v_selPriorRowDeleted" msprop:Generator_RowChangedName="v_selPriorRowChanged" msprop:Generator_RowClassName="v_selPriorRow" msprop:Generator_RowChangingName="v_selPriorRowChanging" msprop:Generator_RowEvArgName="v_selPriorRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selPriorRowChangeEventHandler" msprop:Generator_TableClassName="v_selPriorDataTable" msprop:Generator_TableVarName="tablev_selPrior" msprop:Generator_RowDeletingName="v_selPriorRowDeleting" msprop:Generator_TablePropName="v_selPrior">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
|
||||
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:element name="value" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
|
||||
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="57" />
|
||||
@@ -219,8 +236,8 @@ WHERE (conditio = @conditio)</CommandText>
|
||||
<xs:element name="v_selAmbiti" msprop:Generator_UserTableName="v_selAmbiti" msprop:Generator_RowDeletedName="v_selAmbitiRowDeleted" msprop:Generator_RowChangedName="v_selAmbitiRowChanged" msprop:Generator_RowClassName="v_selAmbitiRow" msprop:Generator_RowChangingName="v_selAmbitiRowChanging" msprop:Generator_RowEvArgName="v_selAmbitiRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selAmbitiRowChangeEventHandler" msprop:Generator_TableClassName="v_selAmbitiDataTable" msprop:Generator_TableVarName="tablev_selAmbiti" msprop:Generator_RowDeletingName="v_selAmbitiRowDeleting" msprop:Generator_TablePropName="v_selAmbiti">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
|
||||
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
|
||||
<xs:element name="label" msprop:Generator_UserColumnName="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" minOccurs="0">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:maxLength value="50" />
|
||||
@@ -233,22 +250,7 @@ WHERE (conditio = @conditio)</CommandText>
|
||||
<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="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">
|
||||
@@ -256,16 +258,51 @@ WHERE (conditio = @conditio)</CommandText>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="conditio" msprop:Generator_UserColumnName="conditio" msprop:Generator_ColumnPropNameInRow="conditio" msprop:Generator_ColumnVarNameInTable="columnconditio" msprop:Generator_ColumnPropNameInTable="conditioColumn" type="xs:int" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="v_selSemafori" msprop:Generator_UserTableName="v_selSemafori" msprop:Generator_RowDeletedName="v_selSemaforiRowDeleted" msprop:Generator_TableClassName="v_selSemaforiDataTable" 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_TablePropName="v_selSemafori" msprop:Generator_TableVarName="tablev_selSemafori" msprop:Generator_RowDeletingName="v_selSemaforiRowDeleting">
|
||||
<xs:element name="v_selTipoGuasto" msprop:Generator_UserTableName="v_selTipoGuasto" msprop:Generator_RowDeletedName="v_selTipoGuastoRowDeleted" msprop:Generator_RowChangedName="v_selTipoGuastoRowChanged" msprop:Generator_RowClassName="v_selTipoGuastoRow" msprop:Generator_RowChangingName="v_selTipoGuastoRowChanging" msprop:Generator_RowEvArgName="v_selTipoGuastoRowChangeEvent" msprop:Generator_RowEvHandlerName="v_selTipoGuastoRowChangeEventHandler" msprop:Generator_TableClassName="v_selTipoGuastoDataTable" msprop:Generator_TableVarName="tablev_selTipoGuasto" msprop:Generator_RowDeletingName="v_selTipoGuastoRowDeleting" msprop:Generator_TablePropName="v_selTipoGuasto">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="value" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" type="xs:int" />
|
||||
<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_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_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" 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_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_selFreq" msprop:Generator_UserTableName="v_selFreq" msprop:Generator_RowDeletedName="v_selFreqRowDeleted" msprop:Generator_TableClassName="v_selFreqDataTable" 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_TablePropName="v_selFreq" msprop:Generator_TableVarName="tablev_selFreq" msprop:Generator_RowDeletingName="v_selFreqRowDeleting">
|
||||
<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:maxLength value="2" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
@@ -305,5 +342,9 @@ WHERE (conditio = @conditio)</CommandText>
|
||||
<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:element>
|
||||
</xs:schema>
|
||||
@@ -6,13 +6,14 @@
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="0" ViewPortY="0" 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="7" X="70" Y="70" Height="122" Width="220" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
<Shape ID="DesignTable:v_selMacchine" ZOrder="6" X="360" Y="70" Height="139" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
|
||||
<Shape ID="DesignTable:v_selPrior" ZOrder="5" X="686" Y="79" Height="105" Width="199" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
<Shape ID="DesignTable:v_selAmbiti" ZOrder="4" X="944" Y="83" Height="105" Width="208" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
<Shape ID="DesignTable:v_selCausaliMacchine" ZOrder="3" X="957" Y="269" Height="139" Width="201" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
|
||||
<Shape ID="DesignTable:v_selTipoGuasto" ZOrder="2" X="1014" Y="466" Height="105" Width="152" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
<Shape ID="DesignTable:v_selSemafori" ZOrder="1" X="666" Y="249" Height="105" Width="222" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
<Shape ID="DesignTable:v_selImpianti" ZOrder="8" X="70" Y="70" Height="122" Width="220" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
<Shape ID="DesignTable:v_selMacchine" ZOrder="7" X="360" Y="70" Height="139" Width="225" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
|
||||
<Shape ID="DesignTable:v_selPrior" ZOrder="6" X="686" Y="79" Height="105" Width="199" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
<Shape ID="DesignTable:v_selAmbiti" ZOrder="5" X="944" Y="83" Height="105" Width="208" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
<Shape ID="DesignTable:v_selCausaliMacchine" ZOrder="4" X="957" Y="269" Height="139" Width="201" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="75" />
|
||||
<Shape ID="DesignTable:v_selTipoGuasto" ZOrder="3" X="1014" Y="466" Height="105" Width="152" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
<Shape ID="DesignTable:v_selSemafori" ZOrder="2" X="666" Y="249" Height="105" Width="222" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
<Shape ID="DesignTable:v_selFreq" ZOrder="1" X="744" Y="492" Height="105" Width="196" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="58" />
|
||||
</Shapes>
|
||||
<Connectors />
|
||||
</DiagramLayout>
|
||||
@@ -20,6 +20,7 @@ public class TA_app
|
||||
public DS_applicazioneTableAdapters.AnagStatiTableAdapter taStati;
|
||||
public DS_applicazioneTableAdapters.AnagPrioritaTableAdapter taPrior;
|
||||
public DS_applicazioneTableAdapters.InterventoOpMtzTableAdapter taIntOpMtz;
|
||||
public DS_applicazioneTableAdapters.MtzProgrammataTableAdapter taMtzPro;
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -66,6 +67,10 @@ public class TA_app
|
||||
{
|
||||
taIntOpMtz = new DS_applicazioneTableAdapters.InterventoOpMtzTableAdapter();
|
||||
}
|
||||
if (taMtzPro == null)
|
||||
{
|
||||
taMtzPro = new DS_applicazioneTableAdapters.MtzProgrammataTableAdapter();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Singleton
|
||||
|
||||
+34
-29
@@ -2,58 +2,65 @@
|
||||
|
||||
.fixedVal
|
||||
{
|
||||
background-color:#cdcdcd;
|
||||
text-align:center;
|
||||
color:Black;
|
||||
background-color: #cdcdcd;
|
||||
text-align: center;
|
||||
color: Black;
|
||||
}
|
||||
|
||||
.fixedValLeft
|
||||
{
|
||||
background-color:#cdcdcd;
|
||||
text-align:left;
|
||||
color:Black;
|
||||
background-color: #cdcdcd;
|
||||
text-align: left;
|
||||
color: Black;
|
||||
}
|
||||
|
||||
.textEv_1
|
||||
{
|
||||
background-color:#cdffcd;
|
||||
text-align:center;
|
||||
color:Black;
|
||||
background-color: #cdffcd;
|
||||
text-align: center;
|
||||
color: Black;
|
||||
}
|
||||
|
||||
.textEv_1Left
|
||||
{
|
||||
background-color:#cdffcd;
|
||||
text-align:left;
|
||||
color:Black;
|
||||
background-color: #cdffcd;
|
||||
text-align: left;
|
||||
color: Black;
|
||||
}
|
||||
|
||||
.textEv_2
|
||||
{
|
||||
background-color:#99cc00;
|
||||
text-align:center;
|
||||
color:Black;
|
||||
background-color: #99cc00;
|
||||
text-align: center;
|
||||
color: Black;
|
||||
}
|
||||
|
||||
.textEv_2Left
|
||||
{
|
||||
background-color:#99cc00;
|
||||
text-align:left;
|
||||
color:Black;
|
||||
background-color: #99cc00;
|
||||
text-align: left;
|
||||
color: Black;
|
||||
}
|
||||
|
||||
.textEv_Read
|
||||
{
|
||||
background-color:#ccfefe;
|
||||
text-align:center;
|
||||
color:Black;
|
||||
background-color: #ccfefe;
|
||||
text-align: center;
|
||||
color: Black;
|
||||
}
|
||||
|
||||
.textEv_ReadLeft
|
||||
{
|
||||
background-color:#ccfefe;
|
||||
text-align:left;
|
||||
color:Black;
|
||||
background-color: #ccfefe;
|
||||
text-align: left;
|
||||
color: Black;
|
||||
}
|
||||
|
||||
.bloccoDiv
|
||||
{
|
||||
border-bottom: solid 1px green;
|
||||
padding-bottom: 1px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.semaforoVerde
|
||||
@@ -459,7 +466,7 @@
|
||||
}
|
||||
.barraTitolo
|
||||
{
|
||||
background-color: #FF7A00;/* #4C90FF; */
|
||||
background-color: #FF7A00; /* #4C90FF; */
|
||||
vertical-align: middle;
|
||||
height: 20pt;
|
||||
}
|
||||
@@ -485,8 +492,7 @@ INPUT
|
||||
.tableContenuto
|
||||
{
|
||||
padding: 0px;
|
||||
margin: 2px;
|
||||
/* con questo Table va a full screen */
|
||||
margin: 2px; /* con questo Table va a full screen */
|
||||
width: 99%;
|
||||
}
|
||||
.topContrDx
|
||||
@@ -2816,8 +2822,7 @@ grViewBorder
|
||||
padding: 1px 1px 1px 1px;
|
||||
border-width: 2px;
|
||||
border-style: solid;
|
||||
background-color: #AAB8C9;
|
||||
/*background: #DEDEFF;*/
|
||||
background-color: #AAB8C9; /*background: #DEDEFF;*/
|
||||
text-decoration: none;
|
||||
}
|
||||
.btnDisabled
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
|
||||
<div style="float: left;">
|
||||
<asp:Label runat="server" ID="lblData" /><br />
|
||||
<asp:TextBox runat="server" ID="txtData" Font-Bold="true" Width="5em" Font-Size="10pt" />
|
||||
<asp:TextBox runat="server" ID="txtData" Font-Bold="true" Width="5em" />
|
||||
<cc1:CalendarExtender ID="CalendarExtender1" runat="server" FirstDayOfWeek="Monday"
|
||||
TargetControlID="txtData" Format="dd/MM/yy">
|
||||
</cc1:CalendarExtender>
|
||||
@@ -10,17 +10,17 @@
|
||||
<asp:Panel runat="server" ID="pnlDropDown">
|
||||
<div style="float: left;">
|
||||
<asp:Label runat="server" ID="lblOra" /><br />
|
||||
<asp:DropDownList runat="server" ID="ddlOra" Font-Bold="true" Font-Size="10pt" />
|
||||
<asp:DropDownList runat="server" ID="ddlOra"/>
|
||||
</div>
|
||||
<div style="float: left;">
|
||||
<asp:Label runat="server" ID="lblMin" /><br />
|
||||
<asp:DropDownList runat="server" ID="ddlMin" Font-Bold="true" Font-Size="10pt" />
|
||||
<asp:DropDownList runat="server" ID="ddlMin" />
|
||||
</div>
|
||||
</asp:Panel>
|
||||
<asp:Panel runat="server" ID="pnlText">
|
||||
<div style="float: left;">
|
||||
<asp:Label runat="server" ID="lblTime" /><br />
|
||||
<asp:TextBox runat="server" ID="txtTime" Font-Bold="true" Width="4em" Font-Size="10pt" />
|
||||
<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>
|
||||
|
||||
@@ -1,3 +1,102 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="mod_dettMtzProg.ascx.cs" Inherits="mod_dettMtzProg" %>
|
||||
dettaglio editabile<br />
|
||||
dell'intervento programmato
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="mod_dettMtzProg.ascx.cs"
|
||||
Inherits="mod_dettMtzProg" %>
|
||||
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
|
||||
<table>
|
||||
<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="10" Width="520px"
|
||||
CssClass="textEv_1" />
|
||||
<asp:RequiredFieldValidator ID="rfvDescrizione" runat="server" ErrorMessage="!!!"
|
||||
ControlToValidate="txtDescrizione" ValidationGroup="inserimento" Display="Dynamic"></asp:RequiredFieldValidator>
|
||||
</td>
|
||||
<td rowspan="2" style="width: 300px;">
|
||||
<div style="float: left;">
|
||||
<asp:Label runat="server" ID="lblMacchineInteressate" />
|
||||
</div>
|
||||
<div style="float: right;">
|
||||
<asp:TextBox runat="server" ID="txtCercaMacchine" Width="8em" Text="*" /><br />
|
||||
</div>
|
||||
<div>
|
||||
<asp:ListBox ID="listMacchine" runat="server" AutoPostBack="True" DataSourceID="odsMacchine"
|
||||
SelectionMode="Multiple" DataTextField="label" DataValueField="value" Height="400px"
|
||||
Width="300px" 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" />
|
||||
<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>
|
||||
|
||||
@@ -3,11 +3,78 @@ 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));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,2 +1,6 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="mod_elencoMtzProg.ascx.cs" Inherits="mod_elencoMtzProg" %>
|
||||
tabella elenco manutenzioni, con ricerca abilitata...
|
||||
<div>
|
||||
<asp:Button ID="btnNew" runat="server" Text="..." onclick="btnNew_Click" />
|
||||
</div>
|
||||
<div>
|
||||
tabella elenco manutenzioni, con ricerca abilitata...</div>
|
||||
|
||||
@@ -3,11 +3,28 @@ using System.Collections.Generic;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using SteamWare;
|
||||
|
||||
public partial class mod_elencoMtzProg : System.Web.UI.UserControl
|
||||
{
|
||||
public event EventHandler eh_newReq;
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
protected void btnNew_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (eh_newReq != null)
|
||||
{
|
||||
eh_newReq(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// aggiorno il controllo
|
||||
/// </summary>
|
||||
public void doUpdate()
|
||||
{
|
||||
//
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,17 +11,17 @@
|
||||
<div style="padding: 5px; text-align: center; width: 615px; color: Yellow;">
|
||||
<div style="width: 200px; float: left;">
|
||||
<asp:Label runat="server" ID="lblDataOra" /><br />
|
||||
<asp:TextBox ReadOnly="true" runat="server" ID="txtDataOra" Font-Bold="true" Font-Size="10pt"
|
||||
<asp:TextBox ReadOnly="true" runat="server" ID="txtDataOra"
|
||||
CssClass="fixedVal" />
|
||||
</div>
|
||||
<div style="width: 200px; float: left;">
|
||||
<asp:Label runat="server" ID="lblDataLav" /><br />
|
||||
<asp:TextBox ReadOnly="true" runat="server" ID="txtDataLav" Font-Bold="true" Font-Size="10pt"
|
||||
<asp:TextBox ReadOnly="true" runat="server" ID="txtDataLav"
|
||||
CssClass="fixedVal" />
|
||||
</div>
|
||||
<div style="width: 200px; float: left;">
|
||||
<asp:Label runat="server" ID="lblTurnoLav" /><br />
|
||||
<asp:TextBox ReadOnly="true" runat="server" ID="txtTurnoLav" Font-Bold="true" Font-Size="10pt"
|
||||
<asp:TextBox ReadOnly="true" runat="server" ID="txtTurnoLav"
|
||||
CssClass="fixedVal" />
|
||||
</div>
|
||||
</div>
|
||||
@@ -65,7 +65,7 @@
|
||||
<div style="clear: both; text-align: right; vertical-align: baseline;">
|
||||
<div style="float: left;">
|
||||
<asp:Label runat="server" ID="lblMatr" /><br />
|
||||
<asp:TextBox runat="server" ID="txtMatr" Font-Bold="true" Font-Size="10pt" Width="3em"
|
||||
<asp:TextBox runat="server" ID="txtMatr" Width="3em"
|
||||
CssClass="textEv_1" />
|
||||
<asp:RequiredFieldValidator ID="rfvMatr" runat="server" ErrorMessage="!!!" ControlToValidate="txtMatr"
|
||||
ValidationGroup="inserimento" Display="Dynamic"></asp:RequiredFieldValidator>
|
||||
@@ -89,7 +89,7 @@
|
||||
<br />
|
||||
<div style="clear: both; text-align: right; vertical-align: baseline;">
|
||||
<asp:Label runat="server" ID="lblAmbito" /><br />
|
||||
<asp:DropDownList runat="server" ID="ddlAmbito" Font-Bold="True" Font-Size="10pt"
|
||||
<asp:DropDownList runat="server" ID="ddlAmbito"
|
||||
CssClass="textEv_1" DataSourceID="odsAmbiti" DataTextField="label" DataValueField="value">
|
||||
</asp:DropDownList>
|
||||
<asp:ObjectDataSource ID="odsAmbiti" runat="server" OldValuesParameterFormatString="original_{0}"
|
||||
@@ -98,7 +98,7 @@
|
||||
</div>
|
||||
<div style="clear: both; text-align: right; vertical-align: baseline;">
|
||||
<asp:Label runat="server" ID="lblTipoGuasto" /><br />
|
||||
<asp:DropDownList runat="server" ID="ddlTipo" Font-Bold="True" Font-Size="10pt" CssClass="textEv_1"
|
||||
<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}"
|
||||
@@ -106,7 +106,7 @@
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
<div style="clear: both; text-align: right; vertical-align: baseline;">
|
||||
<asp:CheckBox runat="server" ID="chkImpFermo" />
|
||||
<asp:CheckBox runat="server" ID="chkImpFermo"/>
|
||||
</div>
|
||||
<div style="clear: both; text-align: right; vertical-align: baseline;">
|
||||
<asp:ValidationSummary ID="valSummary" runat="server" ValidationGroup="inserimento" />
|
||||
@@ -116,6 +116,8 @@
|
||||
<asp:Panel runat="server" ID="Panel2" ScrollBars="None" Width="520px" Height="200px">
|
||||
<asp:Label runat="server" ID="lblDescrGuasto" /><br />
|
||||
<asp:TextBox runat="server" ID="txtDescrizione" TextMode="MultiLine" Rows="10" Width="100%" />
|
||||
<asp:RequiredFieldValidator ID="rfvDescrizione" runat="server" ErrorMessage="!!!" ControlToValidate="txtDescrizione"
|
||||
ValidationGroup="inserimento" Display="Dynamic"></asp:RequiredFieldValidator>
|
||||
</asp:Panel>
|
||||
<asp:Button ID="btnSend" runat="server" Width="300px" Height="30px" OnClick="btnSend_Click"
|
||||
CausesValidation="true" ValidationGroup="inserimento" />
|
||||
|
||||
@@ -3,15 +3,10 @@
|
||||
|
||||
<%@ Register Src="mod_elencoMtzProg.ascx" TagName="mod_elencoMtzProg" TagPrefix="uc1" %>
|
||||
<%@ Register Src="mod_dettMtzProg.ascx" TagName="mod_dettMtzProg" TagPrefix="uc2" %>
|
||||
<%@ Register Src="mod_fixCal.ascx" TagName="mod_fixCal" TagPrefix="uc3" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
|
||||
<table cellpadding="4px">
|
||||
<tr>
|
||||
<td>
|
||||
<uc1:mod_elencoMtzProg ID="mod_elencoMtzProg1" runat="server" />
|
||||
</td>
|
||||
<td>
|
||||
<uc2:mod_dettMtzProg ID="mod_dettMtzProg1" runat="server" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<uc2:mod_dettMtzProg ID="mod_dettMtzProg1" runat="server" Visible="false" />
|
||||
<br />
|
||||
<uc1:mod_elencoMtzProg ID="mod_elencoMtzProg1" runat="server" />
|
||||
<uc3:mod_fixCal ID="mod_fixCal1" runat="server" />
|
||||
</asp:Content>
|
||||
|
||||
@@ -8,6 +8,19 @@ public partial class mtzProg : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
mod_elencoMtzProg1.eh_newReq += new EventHandler(mod_elencoMtzProg1_eh_newReq);
|
||||
mod_dettMtzProg1.eh_newInserted += new EventHandler(mod_dettMtzProg1_eh_newInserted);
|
||||
}
|
||||
|
||||
void mod_dettMtzProg1_eh_newInserted(object sender, EventArgs e)
|
||||
{
|
||||
// nascondo dettaglio inserimento nuovi e aggiorno tabella elenco...
|
||||
mod_dettMtzProg1.Visible = false;
|
||||
mod_elencoMtzProg1.doUpdate();
|
||||
}
|
||||
|
||||
void mod_elencoMtzProg1_eh_newReq(object sender, EventArgs e)
|
||||
{
|
||||
mod_dettMtzProg1.Visible = true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,7 +36,7 @@ INSERT INTO dbo.AnagAmbitoGuasto
|
||||
VALUES (6, N'mancanza energia')
|
||||
INSERT INTO dbo.AnagAmbitoGuasto
|
||||
(idxAmbito, descrAmbitoGuasto)
|
||||
VALUES (7, N'preventivo')
|
||||
VALUES (7, N'Mtz programmata')
|
||||
INSERT INTO dbo.AnagAmbitoGuasto
|
||||
(idxAmbito, descrAmbitoGuasto)
|
||||
VALUES (8, N'errata programmazione')
|
||||
|
||||
Reference in New Issue
Block a user