Merge branch 'develop' into SDK

This commit is contained in:
Samuele E. Locatelli
2020-02-19 15:04:17 +01:00
17 changed files with 5550 additions and 598 deletions
+1358 -154
View File
File diff suppressed because it is too large Load Diff
+107 -18
View File
@@ -51,7 +51,7 @@
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_checkPosition" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="checkPosition" Modifier="Public" Name="checkPosition" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy8" UserSourceName="checkPosition">
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_checkPosition" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="checkPosition" Modifier="Public" Name="checkPosition" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="checkPosition">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_checkPosition</CommandText>
@@ -62,7 +62,7 @@
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_createPartValBatch" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="createPartValBatch" Modifier="Public" Name="createPartValBatch" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="createPartValBatch">
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_createPartValBatch" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="createPartValBatch" Modifier="Public" Name="createPartValBatch" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="createPartValBatch">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_createPartValBatch</CommandText>
@@ -73,7 +73,7 @@
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_deleteTree" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteTree" Modifier="Public" Name="deleteTree" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="deleteTree">
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_deleteTree" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteTree" Modifier="Public" Name="deleteTree" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="deleteTree">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_deleteTree</CommandText>
@@ -141,7 +141,7 @@
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_redoPartValid" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="redoPartValid" Modifier="Public" Name="redoPartValid" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="redoPartValid">
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_redoPartValid" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="redoPartValid" Modifier="Public" Name="redoPartValid" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="redoPartValid">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_redoPartValid</CommandText>
@@ -152,7 +152,7 @@
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_resetAllNesting" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="resetNesting" Modifier="Public" Name="resetNesting" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="resetNesting">
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_resetAllNesting" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="resetNesting" Modifier="Public" Name="resetNesting" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy5" UserSourceName="resetNesting">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_resetAllNesting</CommandText>
@@ -163,7 +163,7 @@
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_resetPartUnValid" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="resetPartUnValid" Modifier="Public" Name="resetPartUnValid" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy5" UserSourceName="resetPartUnValid">
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_resetPartUnValid" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="resetPartUnValid" Modifier="Public" Name="resetPartUnValid" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy6" UserSourceName="resetPartUnValid">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_resetPartUnValid</CommandText>
@@ -173,7 +173,7 @@
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_resetTree" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="resetTree" Modifier="Public" Name="resetTree" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy6" UserSourceName="resetTree">
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_resetTree" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="resetTree" Modifier="Public" Name="resetTree" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy7" UserSourceName="resetTree">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_resetTree</CommandText>
@@ -184,7 +184,7 @@
</DbCommand>
</SelectCommand>
</DbSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_updateStatus" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateStatus" Modifier="Public" Name="updateStatus" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy7" UserSourceName="updateStatus">
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.stp_Batch_updateStatus" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="updateStatus" Modifier="Public" Name="updateStatus" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy8" UserSourceName="updateStatus">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_Batch_updateStatus</CommandText>
@@ -1056,8 +1056,7 @@ SELECT MatID, MatExtCode, MatDesc, ApprovDate, ApprovUser, L_mm, W_mm, T_mm, Mat
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.v_BinDetail" 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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM v_BinDetail</CommandText>
<CommandText>SELECT * FROM v_BinDetail</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
@@ -1065,19 +1064,19 @@ FROM v_BinDetail</CommandText>
</MainSource>
<Mappings>
<Mapping SourceColumn="BinID" DataSetColumn="BinID" />
<Mapping SourceColumn="BatchID" DataSetColumn="BatchID" />
<Mapping SourceColumn="BinIndex" DataSetColumn="BinIndex" />
<Mapping SourceColumn="BinDtmx" DataSetColumn="BinDtmx" />
<Mapping SourceColumn="BinDtmxProc" DataSetColumn="BinDtmxProc" />
<Mapping SourceColumn="CreationDate" DataSetColumn="CreationDate" />
<Mapping SourceColumn="BatchID" DataSetColumn="BatchID" />
<Mapping SourceColumn="TotItem" DataSetColumn="TotItem" />
<Mapping SourceColumn="TotItemLoad" DataSetColumn="TotItemLoad" />
<Mapping SourceColumn="PaintDate" DataSetColumn="PaintDate" />
<Mapping SourceColumn="KittingStart" DataSetColumn="KittingStart" />
<Mapping SourceColumn="KittingEnd" DataSetColumn="KittingEnd" />
<Mapping SourceColumn="Fillup" DataSetColumn="Fillup" />
<Mapping SourceColumn="Complete" DataSetColumn="Complete" />
<Mapping SourceColumn="Painted" DataSetColumn="Painted" />
<Mapping SourceColumn="KittingStart" DataSetColumn="KittingStart" />
<Mapping SourceColumn="KittingEnd" DataSetColumn="KittingEnd" />
<Mapping SourceColumn="Kitting" DataSetColumn="Kitting" />
<Mapping SourceColumn="Kitted" DataSetColumn="Kitted" />
<Mapping SourceColumn="ItemExtCode" DataSetColumn="ItemExtCode" />
@@ -2183,6 +2182,42 @@ SELECT RemnantID, BatchID, MatID, SheetID, DimX, DimY, Available FROM Remnants W
</DbSource>
</Sources>
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CartOnKitTableAdapter" GeneratorDataComponentClassName="CartOnKitTableAdapter" Name="CartOnKit" UserDataComponentName="CartOnKitTableAdapter">
<MainSource>
<DbSource ConnectionRef="Sauder_NKCConnectionString (Settings)" DbObjectName="Sauder_NKC.dbo.v_CartKitDetail" 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=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="true">
<CommandText>SELECT *
FROM v_CartKitDetail</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="CartID" DataSetColumn="CartID" />
<Mapping SourceColumn="BatchID" DataSetColumn="BatchID" />
<Mapping SourceColumn="OrdID" DataSetColumn="OrdID" />
<Mapping SourceColumn="CartIndex" DataSetColumn="CartIndex" />
<Mapping SourceColumn="CartDtmx" DataSetColumn="CartDtmx" />
<Mapping SourceColumn="CreationDate" DataSetColumn="CreationDate" />
<Mapping SourceColumn="KittingStart" DataSetColumn="KittingStart" />
<Mapping SourceColumn="KittingEnd" DataSetColumn="KittingEnd" />
<Mapping SourceColumn="TotItem" DataSetColumn="TotItem" />
<Mapping SourceColumn="TotItemCart" DataSetColumn="TotItemCart" />
<Mapping SourceColumn="TotItemBinReq" DataSetColumn="TotItemBinReq" />
<Mapping SourceColumn="NumPzBinAvail" DataSetColumn="NumPzBinAvail" />
<Mapping SourceColumn="NumPzWaiting" DataSetColumn="NumPzWaiting" />
<Mapping SourceColumn="OrderExtCode" DataSetColumn="OrderExtCode" />
<Mapping SourceColumn="DestPlant" DataSetColumn="DestPlant" />
<Mapping SourceColumn="ModelCode" DataSetColumn="ModelCode" />
<Mapping SourceColumn="KitQty" DataSetColumn="KitQty" />
<Mapping SourceColumn="OtherQtyReq" DataSetColumn="OtherQtyReq" />
<Mapping SourceColumn="OtherQtyCur" DataSetColumn="OtherQtyCur" />
<Mapping SourceColumn="OtherQtyWait" DataSetColumn="OtherQtyWait" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
@@ -2503,6 +2538,7 @@ SELECT RemnantID, BatchID, MatID, SheetID, DimX, DimY, Available FROM Remnants W
<xs:complexType>
<xs:sequence>
<xs:element name="BinID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_ColumnVarNameInTable="columnBinID" msprop:Generator_ColumnPropNameInRow="BinID" msprop:Generator_ColumnPropNameInTable="BinIDColumn" msprop:Generator_UserColumnName="BinID" type="xs:int" />
<xs:element name="BatchID" msprop:Generator_ColumnVarNameInTable="columnBatchID" msprop:Generator_ColumnPropNameInRow="BatchID" msprop:Generator_ColumnPropNameInTable="BatchIDColumn" msprop:Generator_UserColumnName="BatchID" type="xs:int" />
<xs:element name="BinIndex" msprop:Generator_ColumnVarNameInTable="columnBinIndex" msprop:Generator_ColumnPropNameInRow="BinIndex" msprop:Generator_ColumnPropNameInTable="BinIndexColumn" msprop:Generator_UserColumnName="BinIndex" type="xs:int" />
<xs:element name="BinDtmx" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnBinDtmx" msprop:Generator_ColumnPropNameInRow="BinDtmx" msprop:Generator_ColumnPropNameInTable="BinDtmxColumn" msprop:Generator_UserColumnName="BinDtmx" minOccurs="0">
<xs:simpleType>
@@ -2519,15 +2555,14 @@ SELECT RemnantID, BatchID, MatID, SheetID, DimX, DimY, Available FROM Remnants W
</xs:simpleType>
</xs:element>
<xs:element name="CreationDate" msprop:Generator_ColumnVarNameInTable="columnCreationDate" msprop:Generator_ColumnPropNameInRow="CreationDate" msprop:Generator_ColumnPropNameInTable="CreationDateColumn" msprop:Generator_UserColumnName="CreationDate" type="xs:dateTime" minOccurs="0" />
<xs:element name="BatchID" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnBatchID" msprop:Generator_ColumnPropNameInRow="BatchID" msprop:Generator_ColumnPropNameInTable="BatchIDColumn" msprop:Generator_UserColumnName="BatchID" type="xs:int" />
<xs:element name="TotItem" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnTotItem" msprop:Generator_ColumnPropNameInRow="TotItem" msprop:Generator_ColumnPropNameInTable="TotItemColumn" msprop:Generator_UserColumnName="TotItem" type="xs:int" />
<xs:element name="TotItemLoad" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnTotItemLoad" msprop:Generator_ColumnPropNameInRow="TotItemLoad" msprop:Generator_ColumnPropNameInTable="TotItemLoadColumn" msprop:Generator_UserColumnName="TotItemLoad" type="xs:int" />
<xs:element name="TotItem" msprop:Generator_ColumnVarNameInTable="columnTotItem" msprop:Generator_ColumnPropNameInRow="TotItem" msprop:Generator_ColumnPropNameInTable="TotItemColumn" msprop:Generator_UserColumnName="TotItem" type="xs:int" />
<xs:element name="TotItemLoad" msprop:Generator_ColumnVarNameInTable="columnTotItemLoad" msprop:Generator_ColumnPropNameInRow="TotItemLoad" msprop:Generator_ColumnPropNameInTable="TotItemLoadColumn" msprop:Generator_UserColumnName="TotItemLoad" type="xs:int" />
<xs:element name="PaintDate" msprop:Generator_ColumnVarNameInTable="columnPaintDate" msprop:Generator_ColumnPropNameInRow="PaintDate" msprop:Generator_ColumnPropNameInTable="PaintDateColumn" msprop:Generator_UserColumnName="PaintDate" type="xs:dateTime" minOccurs="0" />
<xs:element name="KittingStart" msprop:Generator_ColumnVarNameInTable="columnKittingStart" msprop:Generator_ColumnPropNameInRow="KittingStart" msprop:Generator_ColumnPropNameInTable="KittingStartColumn" msprop:Generator_UserColumnName="KittingStart" type="xs:dateTime" minOccurs="0" />
<xs:element name="KittingEnd" msprop:Generator_ColumnVarNameInTable="columnKittingEnd" msprop:Generator_ColumnPropNameInRow="KittingEnd" msprop:Generator_ColumnPropNameInTable="KittingEndColumn" msprop:Generator_UserColumnName="KittingEnd" type="xs:dateTime" minOccurs="0" />
<xs:element name="Fillup" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnFillup" msprop:Generator_ColumnPropNameInRow="Fillup" msprop:Generator_ColumnPropNameInTable="FillupColumn" msprop:Generator_UserColumnName="Fillup" type="xs:int" minOccurs="0" />
<xs:element name="Complete" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnComplete" msprop:Generator_ColumnPropNameInRow="Complete" msprop:Generator_ColumnPropNameInTable="CompleteColumn" msprop:Generator_UserColumnName="Complete" type="xs:int" minOccurs="0" />
<xs:element name="Painted" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnPainted" msprop:Generator_ColumnPropNameInRow="Painted" msprop:Generator_ColumnPropNameInTable="PaintedColumn" msprop:Generator_UserColumnName="Painted" type="xs:int" minOccurs="0" />
<xs:element name="KittingStart" msprop:Generator_ColumnVarNameInTable="columnKittingStart" msprop:Generator_ColumnPropNameInRow="KittingStart" msprop:Generator_ColumnPropNameInTable="KittingStartColumn" msprop:Generator_UserColumnName="KittingStart" type="xs:dateTime" minOccurs="0" />
<xs:element name="KittingEnd" msprop:Generator_ColumnVarNameInTable="columnKittingEnd" msprop:Generator_ColumnPropNameInRow="KittingEnd" msprop:Generator_ColumnPropNameInTable="KittingEndColumn" msprop:Generator_UserColumnName="KittingEnd" type="xs:dateTime" minOccurs="0" />
<xs:element name="Kitting" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnKitting" msprop:Generator_ColumnPropNameInRow="Kitting" msprop:Generator_ColumnPropNameInTable="KittingColumn" msprop:Generator_UserColumnName="Kitting" type="xs:int" minOccurs="0" />
<xs:element name="Kitted" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnKitted" msprop:Generator_ColumnPropNameInRow="Kitted" msprop:Generator_ColumnPropNameInTable="KittedColumn" msprop:Generator_UserColumnName="Kitted" type="xs:int" minOccurs="0" />
<xs:element name="ItemExtCode" msprop:Generator_ColumnVarNameInTable="columnItemExtCode" msprop:Generator_ColumnPropNameInRow="ItemExtCode" msprop:Generator_ColumnPropNameInTable="ItemExtCodeColumn" msprop:Generator_UserColumnName="ItemExtCode">
@@ -2800,6 +2835,56 @@ SELECT RemnantID, BatchID, MatID, SheetID, DimX, DimY, Available FROM Remnants W
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="CartOnKit" msprop:Generator_TableClassName="CartOnKitDataTable" msprop:Generator_TableVarName="tableCartOnKit" msprop:Generator_RowChangedName="CartOnKitRowChanged" msprop:Generator_TablePropName="CartOnKit" msprop:Generator_RowDeletingName="CartOnKitRowDeleting" msprop:Generator_RowChangingName="CartOnKitRowChanging" msprop:Generator_RowEvHandlerName="CartOnKitRowChangeEventHandler" msprop:Generator_RowDeletedName="CartOnKitRowDeleted" msprop:Generator_RowClassName="CartOnKitRow" msprop:Generator_UserTableName="CartOnKit" msprop:Generator_RowEvArgName="CartOnKitRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="CartID" msprop:Generator_ColumnVarNameInTable="columnCartID" msprop:Generator_ColumnPropNameInRow="CartID" msprop:Generator_ColumnPropNameInTable="CartIDColumn" msprop:Generator_UserColumnName="CartID" type="xs:int" />
<xs:element name="BatchID" msprop:Generator_ColumnVarNameInTable="columnBatchID" msprop:Generator_ColumnPropNameInRow="BatchID" msprop:Generator_ColumnPropNameInTable="BatchIDColumn" msprop:Generator_UserColumnName="BatchID" type="xs:int" />
<xs:element name="OrdID" msprop:Generator_ColumnVarNameInTable="columnOrdID" msprop:Generator_ColumnPropNameInRow="OrdID" msprop:Generator_ColumnPropNameInTable="OrdIDColumn" msprop:Generator_UserColumnName="OrdID" type="xs:int" minOccurs="0" />
<xs:element name="CartIndex" msprop:Generator_ColumnVarNameInTable="columnCartIndex" msprop:Generator_ColumnPropNameInRow="CartIndex" msprop:Generator_ColumnPropNameInTable="CartIndexColumn" msprop:Generator_UserColumnName="CartIndex" type="xs:int" />
<xs:element name="CartDtmx" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnCartDtmx" msprop:Generator_ColumnPropNameInRow="CartDtmx" msprop:Generator_ColumnPropNameInTable="CartDtmxColumn" msprop:Generator_UserColumnName="CartDtmx" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="CreationDate" msprop:Generator_ColumnVarNameInTable="columnCreationDate" msprop:Generator_ColumnPropNameInRow="CreationDate" msprop:Generator_ColumnPropNameInTable="CreationDateColumn" msprop:Generator_UserColumnName="CreationDate" type="xs:dateTime" />
<xs:element name="KittingStart" msprop:Generator_ColumnVarNameInTable="columnKittingStart" msprop:Generator_ColumnPropNameInRow="KittingStart" msprop:Generator_ColumnPropNameInTable="KittingStartColumn" msprop:Generator_UserColumnName="KittingStart" type="xs:dateTime" minOccurs="0" />
<xs:element name="KittingEnd" msprop:Generator_ColumnVarNameInTable="columnKittingEnd" msprop:Generator_ColumnPropNameInRow="KittingEnd" msprop:Generator_ColumnPropNameInTable="KittingEndColumn" msprop:Generator_UserColumnName="KittingEnd" type="xs:dateTime" minOccurs="0" />
<xs:element name="TotItem" msprop:Generator_ColumnVarNameInTable="columnTotItem" msprop:Generator_ColumnPropNameInRow="TotItem" msprop:Generator_ColumnPropNameInTable="TotItemColumn" msprop:Generator_UserColumnName="TotItem" type="xs:int" />
<xs:element name="TotItemCart" msprop:Generator_ColumnVarNameInTable="columnTotItemCart" msprop:Generator_ColumnPropNameInRow="TotItemCart" msprop:Generator_ColumnPropNameInTable="TotItemCartColumn" msprop:Generator_UserColumnName="TotItemCart" type="xs:int" />
<xs:element name="TotItemBinReq" msprop:Generator_ColumnVarNameInTable="columnTotItemBinReq" msprop:Generator_ColumnPropNameInRow="TotItemBinReq" msprop:Generator_ColumnPropNameInTable="TotItemBinReqColumn" msprop:Generator_UserColumnName="TotItemBinReq" type="xs:int" />
<xs:element name="NumPzBinAvail" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnNumPzBinAvail" msprop:Generator_ColumnPropNameInRow="NumPzBinAvail" msprop:Generator_ColumnPropNameInTable="NumPzBinAvailColumn" msprop:Generator_UserColumnName="NumPzBinAvail" type="xs:int" minOccurs="0" />
<xs:element name="NumPzWaiting" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnNumPzWaiting" msprop:Generator_ColumnPropNameInRow="NumPzWaiting" msprop:Generator_ColumnPropNameInTable="NumPzWaitingColumn" msprop:Generator_UserColumnName="NumPzWaiting" type="xs:int" minOccurs="0" />
<xs:element name="OrderExtCode" msprop:Generator_ColumnVarNameInTable="columnOrderExtCode" msprop:Generator_ColumnPropNameInRow="OrderExtCode" msprop:Generator_ColumnPropNameInTable="OrderExtCodeColumn" msprop:Generator_UserColumnName="OrderExtCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DestPlant" msprop:Generator_ColumnVarNameInTable="columnDestPlant" msprop:Generator_ColumnPropNameInRow="DestPlant" msprop:Generator_ColumnPropNameInTable="DestPlantColumn" msprop:Generator_UserColumnName="DestPlant">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ModelCode" msprop:Generator_ColumnVarNameInTable="columnModelCode" msprop:Generator_ColumnPropNameInRow="ModelCode" msprop:Generator_ColumnPropNameInTable="ModelCodeColumn" msprop:Generator_UserColumnName="ModelCode">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="KitQty" msprop:Generator_ColumnVarNameInTable="columnKitQty" msprop:Generator_ColumnPropNameInRow="KitQty" msprop:Generator_ColumnPropNameInTable="KitQtyColumn" msprop:Generator_UserColumnName="KitQty" type="xs:int" />
<xs:element name="OtherQtyReq" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnOtherQtyReq" msprop:Generator_ColumnPropNameInRow="OtherQtyReq" msprop:Generator_ColumnPropNameInTable="OtherQtyReqColumn" msprop:Generator_UserColumnName="OtherQtyReq" type="xs:int" minOccurs="0" />
<xs:element name="OtherQtyCur" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnOtherQtyCur" msprop:Generator_ColumnPropNameInRow="OtherQtyCur" msprop:Generator_ColumnPropNameInTable="OtherQtyCurColumn" msprop:Generator_UserColumnName="OtherQtyCur" type="xs:int" minOccurs="0" />
<xs:element name="OtherQtyWait" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnOtherQtyWait" msprop:Generator_ColumnPropNameInRow="OtherQtyWait" msprop:Generator_ColumnPropNameInTable="OtherQtyWaitColumn" msprop:Generator_UserColumnName="OtherQtyWait" type="xs:int" minOccurs="0" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
@@ -2889,6 +2974,10 @@ SELECT RemnantID, BatchID, MatID, SheetID, DimX, DimY, Available FROM Remnants W
<xs:selector xpath=".//mstns:Remnants" />
<xs:field xpath="mstns:RemnantID" />
</xs:unique>
<xs:unique name="CartOnKit_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:CartOnKit" />
<xs:field xpath="mstns:CartID" />
</xs:unique>
</xs:element>
<xs:annotation>
<xs:appinfo>
+37 -36
View File
@@ -4,34 +4,35 @@
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="290" ViewPortY="9" 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="290" ViewPortY="211" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:BatchList" ZOrder="6" X="251" Y="375" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:StackList" ZOrder="18" X="584" Y="890" Height="343" Width="268" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
<Shape ID="DesignTable:SheetList" ZOrder="2" X="240" Y="793" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:OrderList" ZOrder="26" X="352" Y="29" Height="324" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:BatchReqList" ZOrder="35" X="101" Y="100" Height="115" Width="220" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:ItemList" ZOrder="16" X="861" Y="19" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Materials" ZOrder="33" X="1197" Y="37" Height="248" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:Bins" ZOrder="1" X="1265" Y="529" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Carts" ZOrder="8" X="600" Y="340" Height="286" Width="187" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:OfflineOrderList" ZOrder="3" X="939" Y="907" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:OffOrd2Item" ZOrder="31" X="1031" Y="660" Height="134" Width="219" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:KitList" ZOrder="29" X="604" Y="84" Height="229" Width="184" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:Nesting" ZOrder="20" X="871" Y="458" Height="153" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:ImportLog" ZOrder="19" X="576" Y="628" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:BinList" ZOrder="23" X="1264" Y="323" Height="134" Width="216" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:FinalKit" ZOrder="12" X="23" Y="457" Height="172" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:Order2FinalKit" ZOrder="15" X="13" Y="240" Height="134" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:Counters" ZOrder="11" X="16" Y="706" Height="172" Width="196" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:ErrorsLog" ZOrder="10" X="-6" Y="928" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:ItemValidation" ZOrder="5" X="83" Y="1185" Height="172" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:PartValidPareto" ZOrder="9" X="365" Y="1187" Height="153" Width="236" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:UnloadStats" ZOrder="7" X="639" Y="1236" Height="172" Width="215" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:Remnants" ZOrder="4" X="912" Y="1188" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:BatchList" ZOrder="7" X="251" Y="375" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:StackList" ZOrder="19" X="584" Y="890" Height="343" Width="268" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="216" />
<Shape ID="DesignTable:SheetList" ZOrder="3" X="240" Y="793" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:OrderList" ZOrder="27" X="352" Y="29" Height="324" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:BatchReqList" ZOrder="36" X="101" Y="100" Height="115" Width="220" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:ItemList" ZOrder="17" X="861" Y="19" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Materials" ZOrder="34" X="1197" Y="37" Height="248" Width="198" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="197" />
<Shape ID="DesignTable:Bins" ZOrder="2" X="1265" Y="529" Height="381" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
<Shape ID="DesignTable:Carts" ZOrder="9" X="600" Y="340" Height="286" Width="187" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:OfflineOrderList" ZOrder="4" X="939" Y="907" Height="267" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:OffOrd2Item" ZOrder="32" X="1031" Y="660" Height="134" Width="219" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:KitList" ZOrder="30" X="604" Y="84" Height="229" Width="184" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:Nesting" ZOrder="21" X="871" Y="458" Height="153" Width="228" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:ImportLog" ZOrder="20" X="576" Y="628" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:BinList" ZOrder="24" X="1264" Y="323" Height="134" Width="216" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:FinalKit" ZOrder="13" X="23" Y="457" Height="172" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:Order2FinalKit" ZOrder="16" X="13" Y="240" Height="134" Width="234" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:Counters" ZOrder="12" X="16" Y="706" Height="172" Width="196" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:ErrorsLog" ZOrder="11" X="-6" Y="928" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="140" />
<Shape ID="DesignTable:ItemValidation" ZOrder="6" X="83" Y="1185" Height="172" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:PartValidPareto" ZOrder="10" X="365" Y="1187" Height="153" Width="236" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="102" />
<Shape ID="DesignTable:UnloadStats" ZOrder="8" X="639" Y="1236" Height="172" Width="215" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="121" />
<Shape ID="DesignTable:Remnants" ZOrder="5" X="912" Y="1188" Height="248" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="159" />
<Shape ID="DesignTable:CartOnKit" ZOrder="1" X="1318" Y="992" Height="305" Width="202" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="254" />
</Shapes>
<Connectors>
<Connector ID="DesignRelation:FK_BatchReqList_OrderList" ZOrder="34" LineWidth="11">
<Connector ID="DesignRelation:FK_BatchReqList_OrderList" ZOrder="35" LineWidth="11">
<RoutePoints>
<Point>
<X>352</X>
@@ -43,7 +44,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_ItemList_Materials1" ZOrder="32" LineWidth="11">
<Connector ID="DesignRelation:FK_ItemList_Materials1" ZOrder="33" LineWidth="11">
<RoutePoints>
<Point>
<X>1197</X>
@@ -55,7 +56,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_OffOrd2Item_OfflineOrderList" ZOrder="30" LineWidth="11">
<Connector ID="DesignRelation:FK_OffOrd2Item_OfflineOrderList" ZOrder="31" LineWidth="11">
<RoutePoints>
<Point>
<X>1054</X>
@@ -67,7 +68,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_ItemList_KitList" ZOrder="28" LineWidth="11">
<Connector ID="DesignRelation:FK_ItemList_KitList" ZOrder="29" LineWidth="11">
<RoutePoints>
<Point>
<X>788</X>
@@ -79,7 +80,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_Nesting_ItemList" ZOrder="27" LineWidth="11">
<Connector ID="DesignRelation:FK_Nesting_ItemList" ZOrder="28" LineWidth="11">
<RoutePoints>
<Point>
<X>986</X>
@@ -91,7 +92,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_KitList_Carts" ZOrder="24" LineWidth="11">
<Connector ID="DesignRelation:FK_KitList_Carts" ZOrder="25" LineWidth="11">
<RoutePoints>
<Point>
<X>699</X>
@@ -103,7 +104,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_KitList_OrderList" ZOrder="25" LineWidth="11">
<Connector ID="DesignRelation:FK_KitList_OrderList" ZOrder="26" LineWidth="11">
<RoutePoints>
<Point>
<X>550</X>
@@ -115,7 +116,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_OffOrd2Item_ItemList" ZOrder="17" LineWidth="11">
<Connector ID="DesignRelation:FK_OffOrd2Item_ItemList" ZOrder="18" LineWidth="11">
<RoutePoints>
<Point>
<X>1129</X>
@@ -127,7 +128,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_BinList_Bins" ZOrder="22" LineWidth="11">
<Connector ID="DesignRelation:FK_BinList_Bins" ZOrder="23" LineWidth="11">
<RoutePoints>
<Point>
<X>1380</X>
@@ -139,7 +140,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_BinList_ItemList" ZOrder="21" LineWidth="11">
<Connector ID="DesignRelation:FK_BinList_ItemList" ZOrder="22" LineWidth="11">
<RoutePoints>
<Point>
<X>1161</X>
@@ -151,7 +152,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_Order2FinalKit_FinalKit" ZOrder="14" LineWidth="11">
<Connector ID="DesignRelation:FK_Order2FinalKit_FinalKit" ZOrder="15" LineWidth="11">
<RoutePoints>
<Point>
<X>131</X>
@@ -163,7 +164,7 @@
</Point>
</RoutePoints>
</Connector>
<Connector ID="DesignRelation:FK_Order2FinalKit_OrderList" ZOrder="13" LineWidth="11">
<Connector ID="DesignRelation:FK_Order2FinalKit_OrderList" ZOrder="14" LineWidth="11">
<RoutePoints>
<Point>
<X>352</X>
+14
View File
@@ -0,0 +1,14 @@
using NLog;
namespace NKC_SDK
{
public static class Log
{
public static Logger Instance { get; private set; }
static Log()
{
LogManager.ReconfigExistingLoggers();
Instance = LogManager.GetCurrentClassLogger();
}
}
}
+51 -2
View File
@@ -25,8 +25,11 @@ namespace NKC_SDK
{
answ = client.DownloadString(URL);
}
catch
{ }
catch (Exception exc)
{
Log.Instance.Error(exc, $"Eccezione durante callUrl per {URL}{Environment.NewLine}{exc}");
answ = exc.Message;
}
// restituisco valore!
return answ;
}
@@ -81,6 +84,20 @@ namespace NKC_SDK
#region URL di base
protected string urlAlive
{
get
{
return $"{_baseUrl}Alive";
}
}
protected string urlAliveClock
{
get
{
return $"{_baseUrl}Alive/Clock";
}
}
protected string urlCurrBunk
{
get
@@ -136,6 +153,38 @@ namespace NKC_SDK
return answ;
}
}
/// <summary>
/// Effettua test alive all'indirizzo del server
/// </summary>
public string testAlive
{
get
{
string answ = "";
try
{
answ = callUrl(urlAlive);
}
catch
{ }
// rendo!
return answ;
}
}
/// <summary>
/// Effettua test ping all'indirizzo del server
/// </summary>
public PingReply testClock
{
get
{
Ping myPing = new Ping();
// timeout a 1 sec!
PingReply answ = myPing.Send(_baseIp, 1000);
// rendo!
return answ;
}
}
/// <summary>
/// Recupera il PRIMO BUNK
+14
View File
@@ -34,8 +34,15 @@
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.12.0.3\lib\net40\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
<HintPath>..\packages\NLog.4.6.8\lib\net40-client\NLog.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.ServiceModel" />
<Reference Include="System.Transactions" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
@@ -47,12 +54,19 @@
<Link>VersGen.cs</Link>
</Compile>
<Compile Include="Enums.cs" />
<Compile Include="Log.cs" />
<Compile Include="NKC.cs" />
<Compile Include="Objects.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Utils.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="NLog.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="NLog.xsd">
<SubType>Designer</SubType>
</None>
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+34
View File
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8" ?>
<nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.nlog-project.org/schemas/NLog.xsd NLog.xsd"
autoReload="true"
throwExceptions="false"
internalLogLevel="Off" internalLogFile="c:\temp\nlog-internal.log">
<!-- optional, add some variables
https://github.com/nlog/NLog/wiki/Configuration-file#variables
-->
<variable name="myvar" value="myvalue"/>
<!--
See https://github.com/nlog/nlog/wiki/Configuration-file
for information on customizing logging rules and outputs.
-->
<targets>
<!--
add your targets here
See https://github.com/nlog/NLog/wiki/Targets for possible targets.
See https://github.com/nlog/NLog/wiki/Layout-Renderers for the possible layout renderers.
-->
<!-- Write events to a file with the date in the filename. -->
<target xsi:type="File" name="f" fileName="${basedir}/logs/${shortdate}.log"
layout="${longdate} ${uppercase:${level}} ${message}" />
</targets>
<rules>
<logger name="*" minlevel="Debug" writeTo="f" />
</rules>
</nlog>
+3556
View File
File diff suppressed because it is too large Load Diff
+3
View File
@@ -1,4 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="12.0.3" targetFramework="net40" />
<package id="NLog" version="4.6.8" targetFramework="net40" />
<package id="NLog.Config" version="4.6.8" targetFramework="net40" />
<package id="NLog.Schema" version="4.6.8" targetFramework="net40" />
</packages>
+26
View File
@@ -0,0 +1,26 @@
using System;
using System.Web.Http;
namespace NKC_WF.Controllers
{
/// <summary>
/// Classe verifica stato ALIVE del servizio
/// </summary>
public class AliveController : ApiController
{
// GET: api/Alive
[HttpGet]
public string Get()
{
return "OK";
}
// GET: api/Alive/Clock
[HttpGet]
public string Get(int id)
{
return DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.fff");
}
}
}
+2
View File
@@ -519,6 +519,7 @@
<Link>VersGen.cs</Link>
</Compile>
<Compile Include="App_Start\BundleConfig.cs" />
<Compile Include="Controllers\AliveController.cs" />
<Compile Include="Controllers\getMUSheetRevController.cs" />
<Compile Include="Controllers\PrintQueueController.cs" />
<Compile Include="Controllers\PrintQueueConfController.cs" />
@@ -1110,6 +1111,7 @@
</ItemGroup>
<ItemGroup>
<Folder Include="App_Data\" />
<Folder Include="Views\Alive\" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
+77 -63
View File
@@ -1,68 +1,82 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="cmp_kittingCart.ascx.cs" Inherits="NKC_WF.WebUserControls.cmp_kittingCart" %>
REPEATER elenco cart
<div class="row">
<div class="col-2">
<div runat="server" id="divBlock" class="row small alert border-thick px-0 alert-success border border-success" role="alert">
<div class="col-12">
<h5>
<asp:Label runat="server" ID="lblTitle" Text="C1 CR000002A4" CssClass="text-uppercase" /></h5>
</div>
<div class="col-4 text-left">
Order:
</div>
<div class="col-8 text-right">
<b>
<asp:Label ID="MatExtCodeLabel" runat="server" Text='<%# Eval("OrdExtCode") %>' />81564.1</b>
</div>
<div class="col-4 text-left">
Model:
</div>
<div class="col-8 text-right">
<b>
<asp:Label ID="Label2" runat="server" Text='<%# Eval("KitNum") %>' />65Wb21</b>
</div>
<div class="col-4 text-left">
Kit #:
</div>
<div class="col-8 text-right">
<b>
<asp:Label ID="Label1" runat="server" Text='<%# Eval("KitNum") %>' />7</b>
</div>
<div class="col-4 text-left">
Parts #:
</div>
<div class="col-8 text-right">
<b>
<asp:Label ID="lblPartsTot" runat="server" Text='<%# Eval("QtaTot") %>' />50</b>
</div>
<div class="col-4 text-left">
Waiting: <asp:Label runat="server" ID="lblWait" CssClass="text-warning font-weight-bold" Text="5" />
</div>
<div class="col-4 text-center">
Ready: <asp:Label runat="server" ID="Label3" CssClass="text-primary font-weight-bold" Text="15" />
</div>
<div class="col-4 text-right">
Cart: <asp:Label runat="server" ID="Label4" CssClass="text-success font-weight-bold" Text="30" />
</div>
</div>
</div>
<asp:Repeater runat="server" ID="repCarts" DataSourceID="ods">
<ItemTemplate>
<div class="col-2">
<div runat="server" id="divBlock" class="row small alert border-thick px-0 alert-success border border-success" role="alert">
<div class="col-12">
<h5>
<asp:Label runat="server" ID="lblTitle" Text='<%# $"<b>C{Eval("CartIndex")}</b> | {Eval("CartDtmx")}" %>' CssClass="text-uppercase" /></h5>
</div>
<div class="col-6 text-left">
Order:
</div>
<div class="col-6 text-right">
<b>
<asp:Label ID="MatExtCodeLabel" runat="server" Text='<%# Eval("OrderExtCode") %>' /></b>
</div>
<div class="col-6 text-left">
Model:
</div>
<div class="col-6 text-right">
<b>
<asp:Label ID="Label2" runat="server" Text='<%# Eval("ModelCode") %>' /></b>
</div>
<div class="col-6 text-left">
Dest Plant:
</div>
<div class="col-6 text-right">
<b>
<asp:Label ID="Label5" runat="server" Text='<%# Eval("DestPlant") %>' /></b>
</div>
<div class="col-6 text-left border-bottom border-success">
Kit #:
</div>
<div class="col-6 text-right border-bottom border-success">
<b>
<asp:Label ID="Label1" runat="server" Text='<%# Eval("KitQty") %>' /></b>
</div>
<div class="col-6 text-left">
<b>CNC Parts #:</b>
</div>
<div class="col-6 text-right">
<b>
<asp:Label ID="lblPartsTot" runat="server" Text='<%# Eval("TotItem") %>' /></b>
</div>
<div class="col-4 text-left">
Wait:
<asp:Label runat="server" ID="lblWait" CssClass="text-warning font-weight-bold" Text='<%# Eval("NumPzWaiting") %>' />
</div>
<div class="col-4 text-center">
Ready:
<asp:Label runat="server" ID="Label3" CssClass="text-primary font-weight-bold" Text='<%# Eval("NumPzBinAvail") %>' />
</div>
<div class="col-4 text-right">
Cart:
<asp:Label runat="server" ID="Label4" CssClass="text-success font-weight-bold" Text='<%# Eval("TotItemCart") %>' />
</div>
<div class="col-6 text-left border-top border-success small">
Other Parts #:
</div>
<div class="col-6 text-right border-top border-success small">
<b>
<asp:Label ID="Label8" runat="server" Text='<%# Eval("OtherQtyReq") %>' /></b>
</div>
<div class="col-4 text-left small">
Wait:
<asp:Label runat="server" ID="Label6" CssClass="text-warning font-weight-bold" Text='<%# Eval("OtherQtyWait") %>' />
</div>
<div class="col-4 text-center small">
</div>
<div class="col-4 text-right small">
Cart:
<asp:Label runat="server" ID="Label9" CssClass="text-success font-weight-bold" Text='<%# Eval("OtherQtyCur") %>' />
</div>
</div>
</div>
</ItemTemplate>
</asp:Repeater>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" TypeName="AppData.DS_AppTableAdapters.CartOnKitTableAdapter"></asp:ObjectDataSource>
</div>
<%--<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByMLStatus" TypeName="AppData.DS_AppTableAdapters.SheetListTableAdapter">
<SelectParameters>
<asp:ControlParameter ControlID="hfBatchID" DefaultValue="0" Name="BatchID" PropertyName="Value" Type="Int32" />
<asp:ControlParameter ControlID="hfStatus" DefaultValue="-1" Name="ShStatusStart" PropertyName="Value" Type="Int32" />
<asp:ControlParameter ControlID="hfStatusEnd" DefaultValue="-1" Name="ShStatusEnd" PropertyName="Value" Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>--%>
+4 -67
View File
@@ -15,84 +15,21 @@ namespace NKC_WF.WebUserControls
{
/// <summary>
/// Controllo divBlock.
/// Controllo repCarts.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divBlock;
protected global::System.Web.UI.WebControls.Repeater repCarts;
/// <summary>
/// Controllo lblTitle.
/// Controllo ods.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblTitle;
/// <summary>
/// Controllo MatExtCodeLabel.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label MatExtCodeLabel;
/// <summary>
/// Controllo Label2.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label Label2;
/// <summary>
/// Controllo Label1.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label Label1;
/// <summary>
/// Controllo lblPartsTot.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblPartsTot;
/// <summary>
/// Controllo lblWait.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblWait;
/// <summary>
/// Controllo Label3.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label Label3;
/// <summary>
/// Controllo Label4.
/// </summary>
/// <remarks>
/// Campo generato automaticamente.
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
/// </remarks>
protected global::System.Web.UI.WebControls.Label Label4;
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
}
}
+257 -257
View File
@@ -43,265 +43,263 @@ Partial Class Form1
Me.txtWorkEnd = New System.Windows.Forms.TextBox()
Me.txtPrintEnd = New System.Windows.Forms.TextBox()
Me.btnSaveAll = New System.Windows.Forms.Button()
Me.btnPing = New System.Windows.Forms.Button()
Me.lblPing = New System.Windows.Forms.Label()
Me.SuspendLayout()
'
'btnReset
'
Me.btnReset.Location = New System.Drawing.Point(85, 490)
Me.btnReset.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
Me.btnReset.Name = "btnReset"
Me.btnReset.Size = New System.Drawing.Size(100, 28)
Me.btnReset.TabIndex = 0
Me.btnReset.Text = "reset Date"
Me.btnReset.UseVisualStyleBackColor = True
'
'Label1
'
Me.Label1.AutoSize = True
Me.Label1.Location = New System.Drawing.Point(349, 496)
Me.Label1.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(51, 17)
Me.Label1.TabIndex = 1
Me.Label1.Text = "Label1"
'
'btnLoadBunk
'
Me.btnLoadBunk.Location = New System.Drawing.Point(85, 44)
Me.btnLoadBunk.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
Me.btnLoadBunk.Name = "btnLoadBunk"
Me.btnLoadBunk.Size = New System.Drawing.Size(100, 28)
Me.btnLoadBunk.TabIndex = 2
Me.btnLoadBunk.Text = "Load BUNK"
Me.btnLoadBunk.UseVisualStyleBackColor = True
'
'btnPrintStart
'
Me.btnPrintStart.Location = New System.Drawing.Point(85, 203)
Me.btnPrintStart.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
Me.btnPrintStart.Name = "btnPrintStart"
Me.btnPrintStart.Size = New System.Drawing.Size(100, 28)
Me.btnPrintStart.TabIndex = 3
Me.btnPrintStart.Text = "Start Paint"
Me.btnPrintStart.UseVisualStyleBackColor = True
'
'cmbSheet
'
Me.cmbSheet.DisplayMember = "SheetId"
Me.cmbSheet.FormattingEnabled = True
Me.cmbSheet.Location = New System.Drawing.Point(701, 48)
Me.cmbSheet.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
Me.cmbSheet.Name = "cmbSheet"
Me.cmbSheet.Size = New System.Drawing.Size(160, 24)
Me.cmbSheet.TabIndex = 4
'
'Label2
'
Me.Label2.AutoSize = True
Me.Label2.Location = New System.Drawing.Point(586, 56)
Me.Label2.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(92, 17)
Me.Label2.TabIndex = 5
Me.Label2.Text = "current sheet"
'
'btnPrintEnd
'
Me.btnPrintEnd.Location = New System.Drawing.Point(564, 203)
Me.btnPrintEnd.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
Me.btnPrintEnd.Name = "btnPrintEnd"
Me.btnPrintEnd.Size = New System.Drawing.Size(100, 28)
Me.btnPrintEnd.TabIndex = 6
Me.btnPrintEnd.Text = "End Paint"
Me.btnPrintEnd.UseVisualStyleBackColor = True
'
'btnWorkStart
'
Me.btnWorkStart.Location = New System.Drawing.Point(85, 257)
Me.btnWorkStart.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
Me.btnWorkStart.Name = "btnWorkStart"
Me.btnWorkStart.Size = New System.Drawing.Size(100, 28)
Me.btnWorkStart.TabIndex = 7
Me.btnWorkStart.Text = "Start Cut"
Me.btnWorkStart.UseVisualStyleBackColor = True
'
'btnWorkEnd
'
Me.btnWorkEnd.Location = New System.Drawing.Point(564, 257)
Me.btnWorkEnd.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
Me.btnWorkEnd.Name = "btnWorkEnd"
Me.btnWorkEnd.Size = New System.Drawing.Size(100, 28)
Me.btnWorkEnd.TabIndex = 8
Me.btnWorkEnd.Text = "End Cut"
Me.btnWorkEnd.UseVisualStyleBackColor = True
'
'btnUnlStart
'
Me.btnUnlStart.Location = New System.Drawing.Point(85, 309)
Me.btnUnlStart.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
Me.btnUnlStart.Name = "btnUnlStart"
Me.btnUnlStart.Size = New System.Drawing.Size(100, 28)
Me.btnUnlStart.TabIndex = 9
Me.btnUnlStart.Text = "Start Unload"
Me.btnUnlStart.UseVisualStyleBackColor = True
'
'btnUnlEnd
'
Me.btnUnlEnd.Location = New System.Drawing.Point(564, 309)
Me.btnUnlEnd.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
Me.btnUnlEnd.Name = "btnUnlEnd"
Me.btnUnlEnd.Size = New System.Drawing.Size(100, 28)
Me.btnUnlEnd.TabIndex = 10
Me.btnUnlEnd.Text = "End Unload"
Me.btnUnlEnd.UseVisualStyleBackColor = True
'
'btnNextBunk
'
Me.btnNextBunk.Location = New System.Drawing.Point(85, 106)
Me.btnNextBunk.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
Me.btnNextBunk.Name = "btnNextBunk"
Me.btnNextBunk.Size = New System.Drawing.Size(100, 28)
Me.btnNextBunk.TabIndex = 11
Me.btnNextBunk.Text = "Next BUNK"
Me.btnNextBunk.UseVisualStyleBackColor = True
Me.btnNextBunk.Visible = False
'
'txtCurrBunk
'
Me.txtCurrBunk.Location = New System.Drawing.Point(212, 46)
Me.txtCurrBunk.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
Me.txtCurrBunk.Name = "txtCurrBunk"
Me.txtCurrBunk.Size = New System.Drawing.Size(132, 22)
Me.txtCurrBunk.TabIndex = 12
'
'lblNextBunk
'
Me.lblNextBunk.AutoSize = True
Me.lblNextBunk.Location = New System.Drawing.Point(212, 117)
Me.lblNextBunk.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0)
Me.lblNextBunk.Name = "lblNextBunk"
Me.lblNextBunk.Size = New System.Drawing.Size(23, 17)
Me.lblNextBunk.TabIndex = 13
Me.lblNextBunk.Text = "---"
Me.lblNextBunk.Visible = False
'
'txtPrintStart
'
Me.txtPrintStart.Location = New System.Drawing.Point(212, 207)
Me.txtPrintStart.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
Me.txtPrintStart.Name = "txtPrintStart"
Me.txtPrintStart.Size = New System.Drawing.Size(188, 22)
Me.txtPrintStart.TabIndex = 14
'
'txtWorkStart
'
Me.txtWorkStart.Location = New System.Drawing.Point(212, 260)
Me.txtWorkStart.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
Me.txtWorkStart.Name = "txtWorkStart"
Me.txtWorkStart.Size = New System.Drawing.Size(188, 22)
Me.txtWorkStart.TabIndex = 15
'
'txtUnlStart
'
Me.txtUnlStart.Location = New System.Drawing.Point(212, 311)
Me.txtUnlStart.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
Me.txtUnlStart.Name = "txtUnlStart"
Me.txtUnlStart.Size = New System.Drawing.Size(188, 22)
Me.txtUnlStart.TabIndex = 16
'
'txtUnlEnd
'
Me.txtUnlEnd.Location = New System.Drawing.Point(701, 310)
Me.txtUnlEnd.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
Me.txtUnlEnd.Name = "txtUnlEnd"
Me.txtUnlEnd.Size = New System.Drawing.Size(188, 22)
Me.txtUnlEnd.TabIndex = 19
'
'txtWorkEnd
'
Me.txtWorkEnd.Location = New System.Drawing.Point(701, 258)
Me.txtWorkEnd.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
Me.txtWorkEnd.Name = "txtWorkEnd"
Me.txtWorkEnd.Size = New System.Drawing.Size(188, 22)
Me.txtWorkEnd.TabIndex = 18
'
'txtPrintEnd
'
Me.txtPrintEnd.Location = New System.Drawing.Point(701, 206)
Me.txtPrintEnd.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
Me.txtPrintEnd.Name = "txtPrintEnd"
Me.txtPrintEnd.Size = New System.Drawing.Size(188, 22)
Me.txtPrintEnd.TabIndex = 17
'
'btnSaveAll
'
Me.btnSaveAll.Location = New System.Drawing.Point(77, 378)
Me.btnSaveAll.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
Me.btnSaveAll.Name = "btnSaveAll"
Me.btnSaveAll.Size = New System.Drawing.Size(813, 28)
Me.btnSaveAll.TabIndex = 20
Me.btnSaveAll.Text = "Save All Data"
Me.btnSaveAll.UseVisualStyleBackColor = True
'
'btnPing
'
Me.btnPing.Location = New System.Drawing.Point(85, 8)
Me.btnPing.Margin = New System.Windows.Forms.Padding(4)
Me.btnPing.Name = "btnPing"
Me.btnPing.Size = New System.Drawing.Size(100, 28)
Me.btnPing.TabIndex = 21
Me.btnPing.Text = "Test Ping"
Me.btnPing.UseVisualStyleBackColor = True
'
'lblPing
'
Me.lblPing.AutoSize = True
Me.lblPing.Location = New System.Drawing.Point(212, 14)
Me.lblPing.Margin = New System.Windows.Forms.Padding(4, 0, 4, 0)
Me.lblPing.Name = "lblPing"
Me.lblPing.Size = New System.Drawing.Size(59, 17)
Me.lblPing.TabIndex = 22
Me.lblPing.Text = "ping???"
'
'Form1
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(8.0!, 16.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.ClientSize = New System.Drawing.Size(1067, 554)
Me.Controls.Add(Me.lblPing)
Me.Controls.Add(Me.btnPing)
Me.Controls.Add(Me.btnSaveAll)
Me.Controls.Add(Me.txtUnlEnd)
Me.Controls.Add(Me.txtWorkEnd)
Me.Controls.Add(Me.txtPrintEnd)
Me.Controls.Add(Me.txtUnlStart)
Me.Controls.Add(Me.txtWorkStart)
Me.Controls.Add(Me.txtPrintStart)
Me.Controls.Add(Me.lblNextBunk)
Me.Controls.Add(Me.txtCurrBunk)
Me.Controls.Add(Me.btnNextBunk)
Me.Controls.Add(Me.btnUnlEnd)
Me.Controls.Add(Me.btnUnlStart)
Me.Controls.Add(Me.btnWorkEnd)
Me.Controls.Add(Me.btnWorkStart)
Me.Controls.Add(Me.btnPrintEnd)
Me.Controls.Add(Me.Label2)
Me.Controls.Add(Me.cmbSheet)
Me.Controls.Add(Me.btnPrintStart)
Me.Controls.Add(Me.btnLoadBunk)
Me.Controls.Add(Me.Label1)
Me.Controls.Add(Me.btnReset)
Me.Margin = New System.Windows.Forms.Padding(4, 4, 4, 4)
Me.Name = "Form1"
Me.Text = "Form1"
Me.ResumeLayout(False)
Me.PerformLayout()
Me.btnPing = New System.Windows.Forms.Button()
Me.lblPing = New System.Windows.Forms.Label()
Me.btnAlive = New System.Windows.Forms.Button()
Me.lblAlive = New System.Windows.Forms.Label()
Me.SuspendLayout()
'
'btnReset
'
Me.btnReset.Location = New System.Drawing.Point(64, 398)
Me.btnReset.Name = "btnReset"
Me.btnReset.Size = New System.Drawing.Size(75, 23)
Me.btnReset.TabIndex = 0
Me.btnReset.Text = "reset Date"
Me.btnReset.UseVisualStyleBackColor = True
'
'Label1
'
Me.Label1.AutoSize = True
Me.Label1.Location = New System.Drawing.Point(262, 403)
Me.Label1.Name = "Label1"
Me.Label1.Size = New System.Drawing.Size(39, 13)
Me.Label1.TabIndex = 1
Me.Label1.Text = "Label1"
'
'btnLoadBunk
'
Me.btnLoadBunk.Location = New System.Drawing.Point(64, 36)
Me.btnLoadBunk.Name = "btnLoadBunk"
Me.btnLoadBunk.Size = New System.Drawing.Size(75, 23)
Me.btnLoadBunk.TabIndex = 2
Me.btnLoadBunk.Text = "Load BUNK"
Me.btnLoadBunk.UseVisualStyleBackColor = True
'
'btnPrintStart
'
Me.btnPrintStart.Location = New System.Drawing.Point(64, 165)
Me.btnPrintStart.Name = "btnPrintStart"
Me.btnPrintStart.Size = New System.Drawing.Size(75, 23)
Me.btnPrintStart.TabIndex = 3
Me.btnPrintStart.Text = "Start Paint"
Me.btnPrintStart.UseVisualStyleBackColor = True
'
'cmbSheet
'
Me.cmbSheet.DisplayMember = "SheetId"
Me.cmbSheet.FormattingEnabled = True
Me.cmbSheet.Location = New System.Drawing.Point(526, 39)
Me.cmbSheet.Name = "cmbSheet"
Me.cmbSheet.Size = New System.Drawing.Size(121, 21)
Me.cmbSheet.TabIndex = 4
'
'Label2
'
Me.Label2.AutoSize = True
Me.Label2.Location = New System.Drawing.Point(440, 46)
Me.Label2.Name = "Label2"
Me.Label2.Size = New System.Drawing.Size(69, 13)
Me.Label2.TabIndex = 5
Me.Label2.Text = "current sheet"
'
'btnPrintEnd
'
Me.btnPrintEnd.Location = New System.Drawing.Point(423, 165)
Me.btnPrintEnd.Name = "btnPrintEnd"
Me.btnPrintEnd.Size = New System.Drawing.Size(75, 23)
Me.btnPrintEnd.TabIndex = 6
Me.btnPrintEnd.Text = "End Paint"
Me.btnPrintEnd.UseVisualStyleBackColor = True
'
'btnWorkStart
'
Me.btnWorkStart.Location = New System.Drawing.Point(64, 209)
Me.btnWorkStart.Name = "btnWorkStart"
Me.btnWorkStart.Size = New System.Drawing.Size(75, 23)
Me.btnWorkStart.TabIndex = 7
Me.btnWorkStart.Text = "Start Cut"
Me.btnWorkStart.UseVisualStyleBackColor = True
'
'btnWorkEnd
'
Me.btnWorkEnd.Location = New System.Drawing.Point(423, 209)
Me.btnWorkEnd.Name = "btnWorkEnd"
Me.btnWorkEnd.Size = New System.Drawing.Size(75, 23)
Me.btnWorkEnd.TabIndex = 8
Me.btnWorkEnd.Text = "End Cut"
Me.btnWorkEnd.UseVisualStyleBackColor = True
'
'btnUnlStart
'
Me.btnUnlStart.Location = New System.Drawing.Point(64, 251)
Me.btnUnlStart.Name = "btnUnlStart"
Me.btnUnlStart.Size = New System.Drawing.Size(75, 23)
Me.btnUnlStart.TabIndex = 9
Me.btnUnlStart.Text = "Start Unload"
Me.btnUnlStart.UseVisualStyleBackColor = True
'
'btnUnlEnd
'
Me.btnUnlEnd.Location = New System.Drawing.Point(423, 251)
Me.btnUnlEnd.Name = "btnUnlEnd"
Me.btnUnlEnd.Size = New System.Drawing.Size(75, 23)
Me.btnUnlEnd.TabIndex = 10
Me.btnUnlEnd.Text = "End Unload"
Me.btnUnlEnd.UseVisualStyleBackColor = True
'
'btnNextBunk
'
Me.btnNextBunk.Location = New System.Drawing.Point(64, 86)
Me.btnNextBunk.Name = "btnNextBunk"
Me.btnNextBunk.Size = New System.Drawing.Size(75, 23)
Me.btnNextBunk.TabIndex = 11
Me.btnNextBunk.Text = "Next BUNK"
Me.btnNextBunk.UseVisualStyleBackColor = True
Me.btnNextBunk.Visible = False
'
'txtCurrBunk
'
Me.txtCurrBunk.Location = New System.Drawing.Point(159, 37)
Me.txtCurrBunk.Name = "txtCurrBunk"
Me.txtCurrBunk.Size = New System.Drawing.Size(100, 20)
Me.txtCurrBunk.TabIndex = 12
'
'lblNextBunk
'
Me.lblNextBunk.AutoSize = True
Me.lblNextBunk.Location = New System.Drawing.Point(159, 95)
Me.lblNextBunk.Name = "lblNextBunk"
Me.lblNextBunk.Size = New System.Drawing.Size(16, 13)
Me.lblNextBunk.TabIndex = 13
Me.lblNextBunk.Text = "---"
Me.lblNextBunk.Visible = False
'
'txtPrintStart
'
Me.txtPrintStart.Location = New System.Drawing.Point(159, 168)
Me.txtPrintStart.Name = "txtPrintStart"
Me.txtPrintStart.Size = New System.Drawing.Size(142, 20)
Me.txtPrintStart.TabIndex = 14
'
'txtWorkStart
'
Me.txtWorkStart.Location = New System.Drawing.Point(159, 211)
Me.txtWorkStart.Name = "txtWorkStart"
Me.txtWorkStart.Size = New System.Drawing.Size(142, 20)
Me.txtWorkStart.TabIndex = 15
'
'txtUnlStart
'
Me.txtUnlStart.Location = New System.Drawing.Point(159, 253)
Me.txtUnlStart.Name = "txtUnlStart"
Me.txtUnlStart.Size = New System.Drawing.Size(142, 20)
Me.txtUnlStart.TabIndex = 16
'
'txtUnlEnd
'
Me.txtUnlEnd.Location = New System.Drawing.Point(526, 252)
Me.txtUnlEnd.Name = "txtUnlEnd"
Me.txtUnlEnd.Size = New System.Drawing.Size(142, 20)
Me.txtUnlEnd.TabIndex = 19
'
'txtWorkEnd
'
Me.txtWorkEnd.Location = New System.Drawing.Point(526, 210)
Me.txtWorkEnd.Name = "txtWorkEnd"
Me.txtWorkEnd.Size = New System.Drawing.Size(142, 20)
Me.txtWorkEnd.TabIndex = 18
'
'txtPrintEnd
'
Me.txtPrintEnd.Location = New System.Drawing.Point(526, 167)
Me.txtPrintEnd.Name = "txtPrintEnd"
Me.txtPrintEnd.Size = New System.Drawing.Size(142, 20)
Me.txtPrintEnd.TabIndex = 17
'
'btnSaveAll
'
Me.btnSaveAll.Location = New System.Drawing.Point(58, 307)
Me.btnSaveAll.Name = "btnSaveAll"
Me.btnSaveAll.Size = New System.Drawing.Size(610, 23)
Me.btnSaveAll.TabIndex = 20
Me.btnSaveAll.Text = "Save All Data"
Me.btnSaveAll.UseVisualStyleBackColor = True
'
'btnPing
'
Me.btnPing.Location = New System.Drawing.Point(64, 6)
Me.btnPing.Name = "btnPing"
Me.btnPing.Size = New System.Drawing.Size(75, 23)
Me.btnPing.TabIndex = 21
Me.btnPing.Text = "Test Ping"
Me.btnPing.UseVisualStyleBackColor = True
'
'lblPing
'
Me.lblPing.AutoSize = True
Me.lblPing.Location = New System.Drawing.Point(159, 11)
Me.lblPing.Name = "lblPing"
Me.lblPing.Size = New System.Drawing.Size(45, 13)
Me.lblPing.TabIndex = 22
Me.lblPing.Text = "ping???"
'
'btnAlive
'
Me.btnAlive.Location = New System.Drawing.Point(423, 6)
Me.btnAlive.Name = "btnAlive"
Me.btnAlive.Size = New System.Drawing.Size(75, 23)
Me.btnAlive.TabIndex = 23
Me.btnAlive.Text = "Test Ping"
Me.btnAlive.UseVisualStyleBackColor = True
'
'lblAlive
'
Me.lblAlive.AutoSize = True
Me.lblAlive.Location = New System.Drawing.Point(523, 11)
Me.lblAlive.Name = "lblAlive"
Me.lblAlive.Size = New System.Drawing.Size(47, 13)
Me.lblAlive.TabIndex = 24
Me.lblAlive.Text = "alive???"
'
'Form1
'
Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
Me.ClientSize = New System.Drawing.Size(800, 450)
Me.Controls.Add(Me.lblAlive)
Me.Controls.Add(Me.btnAlive)
Me.Controls.Add(Me.lblPing)
Me.Controls.Add(Me.btnPing)
Me.Controls.Add(Me.btnSaveAll)
Me.Controls.Add(Me.txtUnlEnd)
Me.Controls.Add(Me.txtWorkEnd)
Me.Controls.Add(Me.txtPrintEnd)
Me.Controls.Add(Me.txtUnlStart)
Me.Controls.Add(Me.txtWorkStart)
Me.Controls.Add(Me.txtPrintStart)
Me.Controls.Add(Me.lblNextBunk)
Me.Controls.Add(Me.txtCurrBunk)
Me.Controls.Add(Me.btnNextBunk)
Me.Controls.Add(Me.btnUnlEnd)
Me.Controls.Add(Me.btnUnlStart)
Me.Controls.Add(Me.btnWorkEnd)
Me.Controls.Add(Me.btnWorkStart)
Me.Controls.Add(Me.btnPrintEnd)
Me.Controls.Add(Me.Label2)
Me.Controls.Add(Me.cmbSheet)
Me.Controls.Add(Me.btnPrintStart)
Me.Controls.Add(Me.btnLoadBunk)
Me.Controls.Add(Me.Label1)
Me.Controls.Add(Me.btnReset)
Me.Name = "Form1"
Me.Text = "Form1"
Me.ResumeLayout(False)
Me.PerformLayout()
End Sub
End Sub
Friend WithEvents btnReset As Button
Friend WithEvents btnReset As Button
Friend WithEvents Label1 As Label
Friend WithEvents btnLoadBunk As Button
Friend WithEvents btnPrintStart As Button
@@ -324,4 +322,6 @@ Partial Class Form1
Friend WithEvents btnSaveAll As Button
Friend WithEvents btnPing As Button
Friend WithEvents lblPing As Label
Friend WithEvents btnAlive As Button
Friend WithEvents lblAlive As Label
End Class
+8 -1
View File
@@ -13,7 +13,8 @@ Public Class Form1
Dim currentBunk As ProdBunk = Nothing
Dim risultatoPing As PingReply = Nothing
Dim srvAlive As Boolean = False
Dim srvClock As String = ""
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles btnReset.Click
@@ -209,4 +210,10 @@ Public Class Form1
lblPing.Text = risultatoPing.Status.ToString()
End Sub
Private Sub btnAlive_Click(sender As Object, e As EventArgs) Handles btnAlive.Click
Dim answ As String = ""
answ = currNKC.testAlive
End Sub
End Class
+1
View File
@@ -119,6 +119,7 @@
<EmbeddedResource Include="ReportTest.rdlc" />
</ItemGroup>
<ItemGroup>
<None Include="logs\.placeholder" />
<None Include="My Project\Application.myapp">
<Generator>MyApplicationCodeGenerator</Generator>
<LastGenOutput>Application.Designer.vb</LastGenOutput>
+1
View File
@@ -0,0 +1 @@