Update con
- nuovo db e nuova struttura mappe-Blocchi - nuovi permessi e nuove maschere ...da completare da mappe in poi... e poi trasferire dati da db xogix git-svn-id: https://keyhammer.ath.cx/svn/GMW/trunk@45 365432ac-a1b5-4ffd-bb28-6d3099d32164
This commit is contained in:
@@ -343,7 +343,7 @@ namespace GMW.WebUserControls
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
/// <summary>
|
||||
/// svuoto da cache post update
|
||||
/// </summary>
|
||||
@@ -368,13 +368,13 @@ namespace GMW.WebUserControls
|
||||
if (answ)
|
||||
{
|
||||
// controllo se ci sono postazioni correlate...
|
||||
if (MagClass.magazzino.taAnagCelle.getByCodMag(memLayer.ML.StringSessionObj("CodCS"), idxMaker.ToString()).Rows.Count > 0)
|
||||
if (MagClass.magazzino.taMappe.getByCodMag(memLayer.ML.StringSessionObj("CodCS"), idxMaker.ToString()).Rows.Count > 0)
|
||||
{
|
||||
answ = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Generated
+5396
-2529
File diff suppressed because it is too large
Load Diff
+565
-286
File diff suppressed because it is too large
Load Diff
@@ -4,60 +4,99 @@
|
||||
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="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="12" ViewPortY="-47" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:ElencoCartellini" ZOrder="9" X="942" Y="75" Height="419" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="368" />
|
||||
<Shape ID="DesignTable:PosizioneUdcCorrente" ZOrder="8" X="473" Y="306" Height="153" Width="273" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:AnagCelle" ZOrder="2" X="119" Y="388" Height="172" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:PosizioneUdcStorico" ZOrder="5" X="481" Y="71" Height="172" Width="263" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:AnagMag" ZOrder="1" X="86" Y="72" Height="210" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:ElencoCartellini" ZOrder="15" X="68" Y="333" Height="419" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="368" />
|
||||
<Shape ID="DesignTable:AnagMag" ZOrder="14" X="86" Y="72" Height="210" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
|
||||
<Shape ID="DesignTable:PosizioneUdcCorrente" ZOrder="13" X="375" Y="565" Height="153" Width="273" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
<Shape ID="DesignTable:PosizioneUdcStorico" ZOrder="11" X="387" Y="322" Height="172" Width="263" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:Blocchi" ZOrder="9" X="804" Y="21" Height="210" Width="186" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
|
||||
<Shape ID="DesignTable:Celle" ZOrder="8" X="825" Y="550" Height="172" Width="172" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:Celle2Blocchi" ZOrder="6" X="806" Y="279" Height="172" Width="221" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
|
||||
<Shape ID="DesignTable:Mappe" ZOrder="3" X="481" Y="110" Height="172" Width="242" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
|
||||
</Shapes>
|
||||
<Connectors>
|
||||
<Connector ID="DesignRelation:FK_PosizioneUdcCorrente_ElencoCartellini" ZOrder="7" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_PosizioneUdcCorrente_ElencoCartellini" ZOrder="12" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>942</X>
|
||||
<Y>403</Y>
|
||||
<X>302</X>
|
||||
<Y>641</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>746</X>
|
||||
<Y>403</Y>
|
||||
<X>375</X>
|
||||
<Y>641</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_PosizioneUdcCorrente_AnagCelle" ZOrder="6" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_PosizioneUdcStorico_ElencoCartellini" ZOrder="10" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>361</X>
|
||||
<Y>423</Y>
|
||||
<X>302</X>
|
||||
<Y>413</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>473</X>
|
||||
<Y>423</Y>
|
||||
<X>387</X>
|
||||
<Y>413</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_PosizioneUdcStorico_ElencoCartellini" ZOrder="4" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_PosizioneUdcCorrente_Celle" ZOrder="7" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>942</X>
|
||||
<Y>226</Y>
|
||||
<X>825</X>
|
||||
<Y>633</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>744</X>
|
||||
<Y>226</Y>
|
||||
<X>648</X>
|
||||
<Y>633</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_AnagCelle_AnagMag" ZOrder="3" LineWidth="11">
|
||||
<Connector ID="DesignRelation:FK_Celle2Blocchi_Blocchi" ZOrder="5" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>213</X>
|
||||
<Y>282</Y>
|
||||
<X>824</X>
|
||||
<Y>231</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>213</X>
|
||||
<Y>388</Y>
|
||||
<X>824</X>
|
||||
<Y>279</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Celle2Blocchi_Celle" ZOrder="4" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>911</X>
|
||||
<Y>550</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>911</X>
|
||||
<Y>451</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Blocchi_Mappe" ZOrder="2" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>723</X>
|
||||
<Y>155</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>804</X>
|
||||
<Y>155</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
<Connector ID="DesignRelation:FK_Mappe_AnagMag" ZOrder="1" LineWidth="11">
|
||||
<RoutePoints>
|
||||
<Point>
|
||||
<X>386</X>
|
||||
<Y>147</Y>
|
||||
</Point>
|
||||
<Point>
|
||||
<X>481</X>
|
||||
<Y>147</Y>
|
||||
</Point>
|
||||
</RoutePoints>
|
||||
</Connector>
|
||||
|
||||
@@ -14,7 +14,9 @@ namespace GMW_data
|
||||
#region area table adapters
|
||||
|
||||
public DS_magazzinoTableAdapters.AnagMagTableAdapter taAnagMag;
|
||||
public DS_magazzinoTableAdapters.AnagCelleTableAdapter taAnagCelle;
|
||||
public DS_magazzinoTableAdapters.MappeTableAdapter taMappe;
|
||||
public DS_magazzinoTableAdapters.BlocchiTableAdapter taBlocchi;
|
||||
public DS_magazzinoTableAdapters.CelleTableAdapter taCelle;
|
||||
public DS_magazzinoTableAdapters.ElencoCartelliniTableAdapter taCartellini;
|
||||
public DS_magazzinoTableAdapters.PosizioneUdcCorrenteTableAdapter taPosUdcCorr;
|
||||
public DS_magazzinoTableAdapters.PosizioneUdcStoricoTableAdapter taPosUdcStorico;
|
||||
@@ -26,7 +28,9 @@ namespace GMW_data
|
||||
protected void initTA()
|
||||
{
|
||||
taAnagMag = new GMW_data.DS_magazzinoTableAdapters.AnagMagTableAdapter();
|
||||
taAnagCelle = new GMW_data.DS_magazzinoTableAdapters.AnagCelleTableAdapter();
|
||||
taMappe = new GMW_data.DS_magazzinoTableAdapters.MappeTableAdapter();
|
||||
taBlocchi = new GMW_data.DS_magazzinoTableAdapters.BlocchiTableAdapter();
|
||||
taCelle = new GMW_data.DS_magazzinoTableAdapters.CelleTableAdapter();
|
||||
taCartellini = new GMW_data.DS_magazzinoTableAdapters.ElencoCartelliniTableAdapter();
|
||||
taPosUdcCorr = new GMW_data.DS_magazzinoTableAdapters.PosizioneUdcCorrenteTableAdapter();
|
||||
taPosUdcStorico = new GMW_data.DS_magazzinoTableAdapters.PosizioneUdcStoricoTableAdapter();
|
||||
@@ -38,11 +42,14 @@ namespace GMW_data
|
||||
{
|
||||
// connections del db
|
||||
taAnagMag.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taAnagCelle.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taMappe.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taBlocchi.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taCelle.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taCartellini.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taPosUdcCorr.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
taPosUdcStorico.Connection.ConnectionString = memLayer.ML.confReadString("GMWConnectionString");
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Inizializzazione
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user