Aggiunta pack list start/compeltata x MAG

This commit is contained in:
Samuele E. Locatelli
2021-01-29 18:59:00 +01:00
parent d9fef0bea7
commit c9964bb61f
11 changed files with 757 additions and 25 deletions
+1 -1
View File
@@ -964,7 +964,7 @@
<Paragraph>
<TextRuns>
<TextRun>
<Value>cart.213x150 v211-powered by Steam</Value>
<Value>cart.213x150 v301-powered by Steam</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>9pt</FontSize>
+1 -1
View File
@@ -833,7 +833,7 @@
<Paragraph>
<TextRuns>
<TextRun>
<Value>cart.150x100 v211 - powered by Steam</Value>
<Value>cart.150x100 v301 - powered by Steam</Value>
<Style>
<FontFamily>Tahoma</FontFamily>
<FontSize>8pt</FontSize>
+1
View File
@@ -37,6 +37,7 @@ namespace MP_MAG.SMART
private void Cmp_elencoPedane_eh_doReset(object sender, EventArgs e)
{
ddlElencoPL.DataBind();
cmp_elencoUDC.Visible = false;
}
+26 -14
View File
@@ -6,14 +6,18 @@
<h4>Elenco Pedane</h4>
</div>
<div class="card-body py-0">
<div class="row table-dark py-1">
<div class="row table-dark py-1 textCondens">
<div class="col-3">
<asp:LinkButton runat="server" ID="lbtShowAdd" CssClass="btn btn-block btn-warning" OnClick="lbtShowAdd_Click" Text="Aggiungi" />
</div>
<div class="col-6">
<asp:LinkButton runat="server" ID="lbtShowAdd" CssClass="btn btn-block btn-info" OnClick="lbtShowAdd_Click" ToolTip="Aggiungi nuova pedana"><i class="fa fa-plus" aria-hidden="true"></i> Nuova Pedana</asp:LinkButton>
</div>
<div class="col-3">
<asp:LinkButton runat="server" ID="lbtPrintReport" CssClass="btn btn-block btn-primary" OnClick="lbtPrintReport_Click" Visible="true">Report <i class="fas fa-print"></i></asp:LinkButton>
<asp:LinkButton runat="server" ID="lbtSetStarted" CssClass="btn btn-block btn-warning" OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmStarted") %>' OnClick="lbtSetStarted_Click" ToolTip="Preparazione PackList INIZIATA">INIZIA <i class="fa fa-hourglass-start" aria-hidden="true"></i></asp:LinkButton>
</div>
<div class="col-3">
<asp:LinkButton runat="server" ID="lbtSetCompleted" CssClass="btn btn-block btn-success" OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmCompleted") %>' OnClick="lbtSetCompleted_Click" ToolTip="Preparazione PackList COMPLETATA">COMPLETA <i class="fa fa-hourglass-end" aria-hidden="true"></i></asp:LinkButton>
</div>
<div class="col-3">
<asp:LinkButton runat="server" ID="lbtPrintReport" CssClass="btn btn-block btn-primary" OnClick="lbtPrintReport_Click" Visible="true" ToolTip="Stampa report dettagliato pedane (A4)">REPORT Dettaglio <i class="fas fa-print"></i></asp:LinkButton>
</div>
</div>
<div runat="server" id="divAddNew" class="row table-secondary py-1">
@@ -45,7 +49,7 @@
</HeaderTemplate>
<ItemTemplate>
<asp:LinkButton ID="lbtSelect" runat="server" CausesValidation="False" CommandName="Select" CssClass="btn btn-sm btn-info"><i class="fas fa-search"></i></asp:LinkButton>
<asp:LinkButton ID="lbtPrint" runat="server" CausesValidation="False" CommandName="Select" CommandArgument="print" CssClass="btn btn-sm btn-primary"><i class="fas fa-print"></i></asp:LinkButton>
<asp:LinkButton ID="lbtPrint" runat="server" CausesValidation="False" CommandName="Select" CommandArgument="print" CssClass="btn btn-sm btn-primary" ToolTip="Stampa etichetta pedana (A5)"><i class="fas fa-print"></i></asp:LinkButton>
</ItemTemplate>
<EditItemTemplate>
<asp:LinkButton ID="lbtUpdate" runat="server" CausesValidation="False" CommandName="Update" CssClass="btn btn-sm btn-success"><i class="fas fa-check"></i></asp:LinkButton>
@@ -89,16 +93,24 @@
<div class="card-footer py-1">
<div class="row small">
<div class="col-4">
<i class="fa fa-print" aria-hidden="true"></i> Pedana <i class="fa fa-arrow-right" aria-hidden="true"></i>
<asp:DropDownList runat="server" ID="ddlCartPedane" >
<asp:ListItem Text="Magazzino" Value="codaPedane_01" />
</asp:DropDownList>
<i class="fa fa-print" aria-hidden="true"></i>Pedana <i class="fa fa-arrow-right" aria-hidden="true"></i>
<asp:DropDownList runat="server" ID="ddlCartPedane" DataSourceID="odsPedaneSingle" DataTextField="label" DataValueField="valString">
</asp:DropDownList>
<asp:ObjectDataSource runat="server" ID="odsPedaneSingle" OldValuesParameterFormatString="original_{0}" SelectMethod="getFilt" TypeName="MagData.DS_UtilityTableAdapters.selAKVTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="PRT_CART_PED_SING" Name="TabField" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
<div class="col-4">
<i class="fa fa-print" aria-hidden="true"></i> Report <i class="fa fa-arrow-right" aria-hidden="true"></i>
<asp:DropDownList runat="server" ID="ddlPost" >
<asp:ListItem Text="Ufficio" Value="POST_UFFICIO" />
</asp:DropDownList>
<i class="fa fa-print" aria-hidden="true"></i>Report <i class="fa fa-arrow-right" aria-hidden="true"></i>
<asp:DropDownList runat="server" ID="ddlPost" DataSourceID="odsPedaneList" DataTextField="label" DataValueField="valString">
</asp:DropDownList>
<asp:ObjectDataSource runat="server" ID="odsPedaneList" OldValuesParameterFormatString="original_{0}" SelectMethod="getFilt" TypeName="MagData.DS_UtilityTableAdapters.selAKVTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="PRT_CART_PED_LIST" Name="TabField" Type="String" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
<div class="col-4 text-right">
<uc1:cmp_numRow runat="server" ID="cmp_numRow" />
@@ -48,6 +48,7 @@ namespace MP_MAG.WebUserControls
{
hfPackListID.Value = $"{value}";
doUpdate();
checkBtn();
}
}
@@ -55,6 +56,21 @@ namespace MP_MAG.WebUserControls
#region Private Methods
private void checkBtn()
{
// verifica buttons secondo stato PackList...
var tabPL = MagDataLayerObj.taPList.getByKey(PackListID);
bool showStart = false;
bool showEnd = false;
if (tabPL.Rows.Count > 0)
{
showStart = (tabPL[0].PackStatus == 1);
showEnd = (tabPL[0].PackStatus == 2);
}
lbtSetStarted.Visible = showStart;
lbtSetCompleted.Visible = showEnd;
}
private void Cmp_numRow_eh_doRefresh(object sender, EventArgs e)
{
grView.PageSize = cmp_numRow.numRow;
@@ -172,6 +188,20 @@ namespace MP_MAG.WebUserControls
resetSelezione();
}
protected void lbtSetCompleted_Click(object sender, EventArgs e)
{
MagDataLayerObj.taPList.updateStatus(PackListID, 3);
checkBtn();
resetSelezione();
}
protected void lbtSetStarted_Click(object sender, EventArgs e)
{
MagDataLayerObj.taPList.updateStatus(PackListID, 2);
checkBtn();
resetSelezione();
}
/// <summary>
/// Mostra btn add new
/// </summary>
@@ -192,6 +222,7 @@ namespace MP_MAG.WebUserControls
lastCmd = "";
}
cmp_numRow.eh_doRefresh += Cmp_numRow_eh_doRefresh;
checkBtn();
}
protected void txtData_TextChanged(object sender, EventArgs e)
+36
View File
@@ -23,6 +23,24 @@ namespace MP_MAG.WebUserControls
/// </remarks>
protected global::System.Web.UI.WebControls.LinkButton lbtShowAdd;
/// <summary>
/// Controllo lbtSetStarted.
/// </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.LinkButton lbtSetStarted;
/// <summary>
/// Controllo lbtSetCompleted.
/// </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.LinkButton lbtSetCompleted;
/// <summary>
/// Controllo lbtPrintReport.
/// </summary>
@@ -104,6 +122,15 @@ namespace MP_MAG.WebUserControls
/// </remarks>
protected global::System.Web.UI.WebControls.DropDownList ddlCartPedane;
/// <summary>
/// Controllo odsPedaneSingle.
/// </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.ObjectDataSource odsPedaneSingle;
/// <summary>
/// Controllo ddlPost.
/// </summary>
@@ -113,6 +140,15 @@ namespace MP_MAG.WebUserControls
/// </remarks>
protected global::System.Web.UI.WebControls.DropDownList ddlPost;
/// <summary>
/// Controllo odsPedaneList.
/// </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.ObjectDataSource odsPedaneList;
/// <summary>
/// Controllo cmp_numRow.
/// </summary>
+4 -4
View File
@@ -4,17 +4,17 @@
<div class="row">
<div class="col-12" runat="server" id="divAction">
<div class="row">
<div class="row textCondens">
<div class="col-3">
<asp:LinkButton runat="server" ID="lbtSetDraft" CssClass="btn btn-block btn-info" OnClick="lbtSetDraft_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmSetDraft") %>'><i class="fa fa-arrow-right" aria-hidden="true"></i> Bozza</asp:LinkButton>
<asp:LinkButton runat="server" ID="lbtSetDraft" CssClass="btn btn-block btn-info" OnClick="lbtSetDraft_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmSetDraft") %>'><i class="fas fa-reply" aria-hidden="true"></i> BOZZA</asp:LinkButton>
</div>
<div class="col-3">
<asp:LinkButton runat="server" ID="lbtSetRequest" CssClass="btn btn-block btn-success" OnClick="lbtSetRequest_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmSetRequest") %>'><i class="fa fa-arrow-right" aria-hidden="true"></i> Richiesta</asp:LinkButton>
<asp:LinkButton runat="server" ID="lbtSetRequest" CssClass="btn btn-block btn-success" OnClick="lbtSetRequest_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmSetRequest") %>'>Invia RICHIESTA <i class="fa fa-cubes" aria-hidden="true"></i></asp:LinkButton>
</div>
<div class="col-3">
</div>
<div class="col-3">
<asp:LinkButton runat="server" ID="lbtSendPack" CssClass="btn btn-block btn-warning" OnClick="lbtSendPack_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmTransfer") %>'><i class="fa fa-arrow-right" aria-hidden="true"></i> Trasferisci</asp:LinkButton>
<asp:LinkButton runat="server" ID="lbtSendPack" CssClass="btn btn-block btn-warning" OnClick="lbtSendPack_Click" OnClientClick='<%# SteamWare.jsUtils.getCBE("ConfirmTransfer") %>'>Trasferisci <i class="fa fa-truck" aria-hidden="true"></i></asp:LinkButton>
</div>
</div>
</div>
@@ -63,6 +63,7 @@ namespace MP_MAG.WebUserControls
break;
case 3:
lbtSetRequest.Visible = true;
lbtSendPack.Visible = true;
break;
+592
View File
@@ -30,6 +30,8 @@ namespace MagData {
private selMacchineDataTable tableselMacchine;
private selAKVDataTable tableselAKV;
private global::System.Data.SchemaSerializationMode _schemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -67,6 +69,9 @@ namespace MagData {
if ((ds.Tables["selMacchine"] != null)) {
base.Tables.Add(new selMacchineDataTable(ds.Tables["selMacchine"]));
}
if ((ds.Tables["selAKV"] != null)) {
base.Tables.Add(new selAKVDataTable(ds.Tables["selAKV"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -115,6 +120,16 @@ namespace MagData {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
[global::System.ComponentModel.DesignerSerializationVisibility(global::System.ComponentModel.DesignerSerializationVisibility.Content)]
public selAKVDataTable selAKV {
get {
return this.tableselAKV;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.BrowsableAttribute(true)]
@@ -191,6 +206,9 @@ namespace MagData {
if ((ds.Tables["selMacchine"] != null)) {
base.Tables.Add(new selMacchineDataTable(ds.Tables["selMacchine"]));
}
if ((ds.Tables["selAKV"] != null)) {
base.Tables.Add(new selAKVDataTable(ds.Tables["selAKV"]));
}
this.DataSetName = ds.DataSetName;
this.Prefix = ds.Prefix;
this.Namespace = ds.Namespace;
@@ -242,6 +260,12 @@ namespace MagData {
this.tableselMacchine.InitVars();
}
}
this.tableselAKV = ((selAKVDataTable)(base.Tables["selAKV"]));
if ((initTable == true)) {
if ((this.tableselAKV != null)) {
this.tableselAKV.InitVars();
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -258,6 +282,8 @@ namespace MagData {
base.Tables.Add(this.tableselPackList);
this.tableselMacchine = new selMacchineDataTable();
base.Tables.Add(this.tableselMacchine);
this.tableselAKV = new selAKVDataTable();
base.Tables.Add(this.tableselAKV);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -278,6 +304,12 @@ namespace MagData {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private bool ShouldSerializeselAKV() {
return false;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void SchemaChanged(object sender, global::System.ComponentModel.CollectionChangeEventArgs e) {
@@ -342,6 +374,9 @@ namespace MagData {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public delegate void selMacchineRowChangeEventHandler(object sender, selMacchineRowChangeEvent e);
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public delegate void selAKVRowChangeEventHandler(object sender, selAKVRowChangeEvent e);
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
@@ -1166,6 +1201,289 @@ namespace MagData {
}
}
/// <summary>
///Represents the strongly named DataTable class.
///</summary>
[global::System.Serializable()]
[global::System.Xml.Serialization.XmlSchemaProviderAttribute("GetTypedTableSchema")]
public partial class selAKVDataTable : global::System.Data.TypedTableBase<selAKVRow> {
private global::System.Data.DataColumn columnvalInt;
private global::System.Data.DataColumn columnvalString;
private global::System.Data.DataColumn columnlabel;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public selAKVDataTable() {
this.TableName = "selAKV";
this.BeginInit();
this.InitClass();
this.EndInit();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
internal selAKVDataTable(global::System.Data.DataTable table) {
this.TableName = table.TableName;
if ((table.CaseSensitive != table.DataSet.CaseSensitive)) {
this.CaseSensitive = table.CaseSensitive;
}
if ((table.Locale.ToString() != table.DataSet.Locale.ToString())) {
this.Locale = table.Locale;
}
if ((table.Namespace != table.DataSet.Namespace)) {
this.Namespace = table.Namespace;
}
this.Prefix = table.Prefix;
this.MinimumCapacity = table.MinimumCapacity;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected selAKVDataTable(global::System.Runtime.Serialization.SerializationInfo info, global::System.Runtime.Serialization.StreamingContext context) :
base(info, context) {
this.InitVars();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn valIntColumn {
get {
return this.columnvalInt;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn valStringColumn {
get {
return this.columnvalString;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn labelColumn {
get {
return this.columnlabel;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
public int Count {
get {
return this.Rows.Count;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public selAKVRow this[int index] {
get {
return ((selAKVRow)(this.Rows[index]));
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public event selAKVRowChangeEventHandler selAKVRowChanging;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public event selAKVRowChangeEventHandler selAKVRowChanged;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public event selAKVRowChangeEventHandler selAKVRowDeleting;
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public event selAKVRowChangeEventHandler selAKVRowDeleted;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void AddselAKVRow(selAKVRow row) {
this.Rows.Add(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public selAKVRow AddselAKVRow(int valInt, string valString, string label) {
selAKVRow rowselAKVRow = ((selAKVRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
valInt,
valString,
label};
rowselAKVRow.ItemArray = columnValuesArray;
this.Rows.Add(rowselAKVRow);
return rowselAKVRow;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public override global::System.Data.DataTable Clone() {
selAKVDataTable cln = ((selAKVDataTable)(base.Clone()));
cln.InitVars();
return cln;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected override global::System.Data.DataTable CreateInstance() {
return new selAKVDataTable();
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
internal void InitVars() {
this.columnvalInt = base.Columns["valInt"];
this.columnvalString = base.Columns["valString"];
this.columnlabel = base.Columns["label"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void InitClass() {
this.columnvalInt = new global::System.Data.DataColumn("valInt", typeof(int), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnvalInt);
this.columnvalString = new global::System.Data.DataColumn("valString", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnvalString);
this.columnlabel = new global::System.Data.DataColumn("label", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnlabel);
this.Constraints.Add(new global::System.Data.UniqueConstraint("selAKVKey1", new global::System.Data.DataColumn[] {
this.columnvalInt,
this.columnvalString}, false));
this.columnvalInt.AllowDBNull = false;
this.columnvalString.AllowDBNull = false;
this.columnvalString.MaxLength = 50;
this.columnlabel.AllowDBNull = false;
this.columnlabel.MaxLength = 250;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public selAKVRow NewselAKVRow() {
return ((selAKVRow)(this.NewRow()));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected override global::System.Data.DataRow NewRowFromBuilder(global::System.Data.DataRowBuilder builder) {
return new selAKVRow(builder);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected override global::System.Type GetRowType() {
return typeof(selAKVRow);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected override void OnRowChanged(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.selAKVRowChanged != null)) {
this.selAKVRowChanged(this, new selAKVRowChangeEvent(((selAKVRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected override void OnRowChanging(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.selAKVRowChanging != null)) {
this.selAKVRowChanging(this, new selAKVRowChangeEvent(((selAKVRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected override void OnRowDeleted(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.selAKVRowDeleted != null)) {
this.selAKVRowDeleted(this, new selAKVRowChangeEvent(((selAKVRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected override void OnRowDeleting(global::System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.selAKVRowDeleting != null)) {
this.selAKVRowDeleting(this, new selAKVRowChangeEvent(((selAKVRow)(e.Row)), e.Action));
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void RemoveselAKVRow(selAKVRow row) {
this.Rows.Remove(row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public static global::System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(global::System.Xml.Schema.XmlSchemaSet xs) {
global::System.Xml.Schema.XmlSchemaComplexType type = new global::System.Xml.Schema.XmlSchemaComplexType();
global::System.Xml.Schema.XmlSchemaSequence sequence = new global::System.Xml.Schema.XmlSchemaSequence();
DS_Utility ds = new DS_Utility();
global::System.Xml.Schema.XmlSchemaAny any1 = new global::System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
global::System.Xml.Schema.XmlSchemaAny any2 = new global::System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = global::System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
global::System.Xml.Schema.XmlSchemaAttribute attribute1 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
global::System.Xml.Schema.XmlSchemaAttribute attribute2 = new global::System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "selAKVDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
global::System.Xml.Schema.XmlSchema dsSchema = ds.GetSchemaSerializable();
if (xs.Contains(dsSchema.TargetNamespace)) {
global::System.IO.MemoryStream s1 = new global::System.IO.MemoryStream();
global::System.IO.MemoryStream s2 = new global::System.IO.MemoryStream();
try {
global::System.Xml.Schema.XmlSchema schema = null;
dsSchema.Write(s1);
for (global::System.Collections.IEnumerator schemas = xs.Schemas(dsSchema.TargetNamespace).GetEnumerator(); schemas.MoveNext(); ) {
schema = ((global::System.Xml.Schema.XmlSchema)(schemas.Current));
s2.SetLength(0);
schema.Write(s2);
if ((s1.Length == s2.Length)) {
s1.Position = 0;
s2.Position = 0;
for (; ((s1.Position != s1.Length)
&& (s1.ReadByte() == s2.ReadByte())); ) {
;
}
if ((s1.Position == s1.Length)) {
return type;
}
}
}
}
finally {
if ((s1 != null)) {
s1.Close();
}
if ((s2 != null)) {
s2.Close();
}
}
}
xs.Add(dsSchema);
return type;
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
@@ -1328,6 +1646,54 @@ namespace MagData {
}
}
/// <summary>
///Represents strongly named DataRow class.
///</summary>
public partial class selAKVRow : global::System.Data.DataRow {
private selAKVDataTable tableselAKV;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
internal selAKVRow(global::System.Data.DataRowBuilder rb) :
base(rb) {
this.tableselAKV = ((selAKVDataTable)(this.Table));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public int valInt {
get {
return ((int)(this[this.tableselAKV.valIntColumn]));
}
set {
this[this.tableselAKV.valIntColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public string valString {
get {
return ((string)(this[this.tableselAKV.valStringColumn]));
}
set {
this[this.tableselAKV.valStringColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public string label {
get {
return ((string)(this[this.tableselAKV.labelColumn]));
}
set {
this[this.tableselAKV.labelColumn] = value;
}
}
}
/// <summary>
///Row event argument class
///</summary>
@@ -1429,6 +1795,40 @@ namespace MagData {
}
}
}
/// <summary>
///Row event argument class
///</summary>
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public class selAKVRowChangeEvent : global::System.EventArgs {
private selAKVRow eventRow;
private global::System.Data.DataRowAction eventAction;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public selAKVRowChangeEvent(selAKVRow row, global::System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public selAKVRow Row {
get {
return this.eventRow;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
namespace MagData.DS_UtilityTableAdapters {
@@ -1986,6 +2386,198 @@ namespace MagData.DS_UtilityTableAdapters {
}
}
/// <summary>
///Represents the connection and commands used to retrieve and save data.
///</summary>
[global::System.ComponentModel.DesignerCategoryAttribute("code")]
[global::System.ComponentModel.ToolboxItem(true)]
[global::System.ComponentModel.DataObjectAttribute(true)]
[global::System.ComponentModel.DesignerAttribute("Microsoft.VSDesigner.DataSource.Design.TableAdapterDesigner, Microsoft.VSDesigner" +
", Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
public partial class selAKVTableAdapter : global::System.ComponentModel.Component {
private global::System.Data.SqlClient.SqlDataAdapter _adapter;
private global::System.Data.SqlClient.SqlConnection _connection;
private global::System.Data.SqlClient.SqlTransaction _transaction;
private global::System.Data.SqlClient.SqlCommand[] _commandCollection;
private bool _clearBeforeFill;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public selAKVTableAdapter() {
this.ClearBeforeFill = true;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected internal global::System.Data.SqlClient.SqlDataAdapter Adapter {
get {
if ((this._adapter == null)) {
this.InitAdapter();
}
return this._adapter;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
internal global::System.Data.SqlClient.SqlConnection Connection {
get {
if ((this._connection == null)) {
this.InitConnection();
}
return this._connection;
}
set {
this._connection = value;
if ((this.Adapter.InsertCommand != null)) {
this.Adapter.InsertCommand.Connection = value;
}
if ((this.Adapter.DeleteCommand != null)) {
this.Adapter.DeleteCommand.Connection = value;
}
if ((this.Adapter.UpdateCommand != null)) {
this.Adapter.UpdateCommand.Connection = value;
}
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
if ((this.CommandCollection[i] != null)) {
((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[i])).Connection = value;
}
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
internal global::System.Data.SqlClient.SqlTransaction Transaction {
get {
return this._transaction;
}
set {
this._transaction = value;
for (int i = 0; (i < this.CommandCollection.Length); i = (i + 1)) {
this.CommandCollection[i].Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.DeleteCommand != null))) {
this.Adapter.DeleteCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.InsertCommand != null))) {
this.Adapter.InsertCommand.Transaction = this._transaction;
}
if (((this.Adapter != null)
&& (this.Adapter.UpdateCommand != null))) {
this.Adapter.UpdateCommand.Transaction = this._transaction;
}
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
protected global::System.Data.SqlClient.SqlCommand[] CommandCollection {
get {
if ((this._commandCollection == null)) {
this.InitCommandCollection();
}
return this._commandCollection;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool ClearBeforeFill {
get {
return this._clearBeforeFill;
}
set {
this._clearBeforeFill = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void InitAdapter() {
this._adapter = new global::System.Data.SqlClient.SqlDataAdapter();
global::System.Data.Common.DataTableMapping tableMapping = new global::System.Data.Common.DataTableMapping();
tableMapping.SourceTable = "Table";
tableMapping.DataSetTable = "selAKV";
tableMapping.ColumnMappings.Add("valInt", "valInt");
tableMapping.ColumnMappings.Add("valString", "valString");
tableMapping.ColumnMappings.Add("label", "label");
this._adapter.TableMappings.Add(tableMapping);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void InitConnection() {
this._connection = new global::System.Data.SqlClient.SqlConnection();
this._connection.ConnectionString = global::MagData.Properties.Settings.Default.MoonPro_MAGConnectionString;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
private void InitCommandCollection() {
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = "SELECT *\r\nFROM v_selAKV";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[1] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[1].Connection = this.Connection;
this._commandCollection[1].CommandText = "dbo.stp_VSelAKV_filt";
this._commandCollection[1].CommandType = global::System.Data.CommandType.StoredProcedure;
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@RETURN_VALUE", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.ReturnValue, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@TabField", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Fill, true)]
public virtual int Fill(DS_Utility.selAKVDataTable dataTable) {
this.Adapter.SelectCommand = this.CommandCollection[0];
if ((this.ClearBeforeFill == true)) {
dataTable.Clear();
}
int returnValue = this.Adapter.Fill(dataTable);
return returnValue;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, true)]
public virtual DS_Utility.selAKVDataTable GetData() {
this.Adapter.SelectCommand = this.CommandCollection[0];
DS_Utility.selAKVDataTable dataTable = new DS_Utility.selAKVDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
public virtual DS_Utility.selAKVDataTable getFilt(string TabField) {
this.Adapter.SelectCommand = this.CommandCollection[1];
if ((TabField == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(TabField));
}
DS_Utility.selAKVDataTable dataTable = new DS_Utility.selAKVDataTable();
this.Adapter.Fill(dataTable);
return dataTable;
}
}
/// <summary>
///TableAdapterManager is used to coordinate TableAdapters in the dataset to enable Hierarchical Update scenarios
///</summary>
+60 -3
View File
@@ -95,6 +95,37 @@ FROM dbo.v_selMacchine</CommandText>
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="selAKVTableAdapter" GeneratorDataComponentClassName="selAKVTableAdapter" Name="selAKV" UserDataComponentName="selAKVTableAdapter">
<MainSource>
<DbSource ConnectionRef="MoonPro_MAGConnectionString (Settings)" DbObjectName="MoonPro_MAG.dbo.v_selAKV" DbObjectType="Function" 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="false">
<CommandText>SELECT *
FROM v_selAKV</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="valInt" DataSetColumn="valInt" />
<Mapping SourceColumn="valString" DataSetColumn="valString" />
<Mapping SourceColumn="label" DataSetColumn="label" />
</Mappings>
<Sources>
<DbSource ConnectionRef="MoonPro_MAGConnectionString (Settings)" DbObjectName="MoonPro_MAG.dbo.stp_VSelAKV_filt" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getFilt" GetMethodModifier="Public" GetMethodName="getFilt" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getFilt" UserSourceName="getFilt">
<SelectCommand>
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
<CommandText>dbo.stp_VSelAKV_filt</CommandText>
<Parameters>
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@TabField" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</SelectCommand>
</DbSource>
</Sources>
</TableAdapter>
</Tables>
<Sources />
</DataSource>
@@ -103,7 +134,7 @@ FROM dbo.v_selMacchine</CommandText>
<xs:element name="DS_Utility" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="DS_Utility" msprop:Generator_UserDSName="DS_Utility">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="selAnagCli" msprop:Generator_TableClassName="selAnagCliDataTable" msprop:Generator_TableVarName="tableselAnagCli" msprop:Generator_TablePropName="selAnagCli" msprop:Generator_RowDeletingName="selAnagCliRowDeleting" msprop:Generator_RowChangingName="selAnagCliRowChanging" msprop:Generator_RowEvHandlerName="selAnagCliRowChangeEventHandler" msprop:Generator_RowDeletedName="selAnagCliRowDeleted" msprop:Generator_UserTableName="selAnagCli" msprop:Generator_RowChangedName="selAnagCliRowChanged" msprop:Generator_RowEvArgName="selAnagCliRowChangeEvent" msprop:Generator_RowClassName="selAnagCliRow">
<xs:element name="selAnagCli" msprop:Generator_TableClassName="selAnagCliDataTable" msprop:Generator_TableVarName="tableselAnagCli" msprop:Generator_RowChangedName="selAnagCliRowChanged" msprop:Generator_TablePropName="selAnagCli" msprop:Generator_RowDeletingName="selAnagCliRowDeleting" msprop:Generator_RowChangingName="selAnagCliRowChanging" msprop:Generator_RowEvHandlerName="selAnagCliRowChangeEventHandler" msprop:Generator_RowDeletedName="selAnagCliRowDeleted" msprop:Generator_RowClassName="selAnagCliRow" msprop:Generator_UserTableName="selAnagCli" msprop:Generator_RowEvArgName="selAnagCliRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
@@ -123,7 +154,7 @@ FROM dbo.v_selMacchine</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="selPackList" msprop:Generator_TableClassName="selPackListDataTable" msprop:Generator_TableVarName="tableselPackList" msprop:Generator_RowChangedName="selPackListRowChanged" msprop:Generator_TablePropName="selPackList" msprop:Generator_RowDeletingName="selPackListRowDeleting" msprop:Generator_RowChangingName="selPackListRowChanging" msprop:Generator_RowEvHandlerName="selPackListRowChangeEventHandler" msprop:Generator_RowDeletedName="selPackListRowDeleted" msprop:Generator_RowClassName="selPackListRow" msprop:Generator_UserTableName="selPackList" msprop:Generator_RowEvArgName="selPackListRowChangeEvent">
<xs:element name="selPackList" msprop:Generator_TableClassName="selPackListDataTable" msprop:Generator_TableVarName="tableselPackList" msprop:Generator_TablePropName="selPackList" msprop:Generator_RowDeletingName="selPackListRowDeleting" msprop:Generator_RowChangingName="selPackListRowChanging" msprop:Generator_RowEvHandlerName="selPackListRowChangeEventHandler" msprop:Generator_RowDeletedName="selPackListRowDeleted" msprop:Generator_UserTableName="selPackList" msprop:Generator_RowChangedName="selPackListRowChanged" msprop:Generator_RowEvArgName="selPackListRowChangeEvent" msprop:Generator_RowClassName="selPackListRow">
<xs:complexType>
<xs:sequence>
<xs:element name="label" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_UserColumnName="label" minOccurs="0">
@@ -137,7 +168,7 @@ FROM dbo.v_selMacchine</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="selMacchine" msprop:Generator_TableClassName="selMacchineDataTable" msprop:Generator_TableVarName="tableselMacchine" msprop:Generator_TablePropName="selMacchine" msprop:Generator_RowDeletingName="selMacchineRowDeleting" msprop:Generator_RowChangingName="selMacchineRowChanging" msprop:Generator_RowEvHandlerName="selMacchineRowChangeEventHandler" msprop:Generator_RowDeletedName="selMacchineRowDeleted" msprop:Generator_UserTableName="selMacchine" msprop:Generator_RowChangedName="selMacchineRowChanged" msprop:Generator_RowEvArgName="selMacchineRowChangeEvent" msprop:Generator_RowClassName="selMacchineRow">
<xs:element name="selMacchine" msprop:Generator_TableClassName="selMacchineDataTable" msprop:Generator_TableVarName="tableselMacchine" msprop:Generator_RowChangedName="selMacchineRowChanged" msprop:Generator_TablePropName="selMacchine" msprop:Generator_RowDeletingName="selMacchineRowDeleting" msprop:Generator_RowChangingName="selMacchineRowChanging" msprop:Generator_RowEvHandlerName="selMacchineRowChangeEventHandler" msprop:Generator_RowDeletedName="selMacchineRowDeleted" msprop:Generator_RowClassName="selMacchineRow" msprop:Generator_UserTableName="selMacchine" msprop:Generator_RowEvArgName="selMacchineRowChangeEvent">
<xs:complexType>
<xs:sequence>
<xs:element name="value" msprop:Generator_ColumnVarNameInTable="columnvalue" msprop:Generator_ColumnPropNameInRow="value" msprop:Generator_ColumnPropNameInTable="valueColumn" msprop:Generator_UserColumnName="value">
@@ -157,6 +188,27 @@ FROM dbo.v_selMacchine</CommandText>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="selAKV" msprop:Generator_TableClassName="selAKVDataTable" msprop:Generator_TableVarName="tableselAKV" msprop:Generator_TablePropName="selAKV" msprop:Generator_RowDeletingName="selAKVRowDeleting" msprop:Generator_RowChangingName="selAKVRowChanging" msprop:Generator_RowEvHandlerName="selAKVRowChangeEventHandler" msprop:Generator_RowDeletedName="selAKVRowDeleted" msprop:Generator_UserTableName="selAKV" msprop:Generator_RowChangedName="selAKVRowChanged" msprop:Generator_RowEvArgName="selAKVRowChangeEvent" msprop:Generator_RowClassName="selAKVRow">
<xs:complexType>
<xs:sequence>
<xs:element name="valInt" msprop:Generator_ColumnVarNameInTable="columnvalInt" msprop:Generator_ColumnPropNameInRow="valInt" msprop:Generator_ColumnPropNameInTable="valIntColumn" msprop:Generator_UserColumnName="valInt" type="xs:int" />
<xs:element name="valString" msprop:Generator_ColumnVarNameInTable="columnvalString" msprop:Generator_ColumnPropNameInRow="valString" msprop:Generator_ColumnPropNameInTable="valStringColumn" msprop:Generator_UserColumnName="valString">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="label" msprop:Generator_ColumnVarNameInTable="columnlabel" msprop:Generator_ColumnPropNameInRow="label" msprop:Generator_ColumnPropNameInTable="labelColumn" msprop:Generator_UserColumnName="label">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="250" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
@@ -171,5 +223,10 @@ FROM dbo.v_selMacchine</CommandText>
<xs:selector xpath=".//mstns:selMacchine" />
<xs:field xpath="mstns:value" />
</xs:unique>
<xs:unique name="selAKVKey1">
<xs:selector xpath=".//mstns:selAKV" />
<xs:field xpath="mstns:valInt" />
<xs:field xpath="mstns:valString" />
</xs:unique>
</xs:element>
</xs:schema>
+4 -2
View File
@@ -6,8 +6,10 @@
</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="-10" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
<Shapes>
<Shape ID="DesignTable:selAnagCli" ZOrder="2" X="247" Y="239" Height="134" Width="205" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:selPackList" ZOrder="1" X="678" Y="240" Height="153" Width="207" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:selAnagCli" ZOrder="4" X="247" Y="239" Height="134" Width="205" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:selPackList" ZOrder="3" X="678" Y="240" Height="153" Width="207" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
<Shape ID="DesignTable:selMacchine" ZOrder="2" X="404" Y="463" Height="134" Width="158" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="83" />
<Shape ID="DesignTable:selAKV" ZOrder="1" X="117" Y="804" Height="134" Width="185" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="64" />
</Shapes>
<Connectors />
</DiagramLayout>