quasi OK creazione nuovi TASK
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="dataLayer.cs" />
|
||||
<Compile Include="DS_App.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
|
||||
Generated
+101
-5
@@ -1001,7 +1001,7 @@ SELECT NumTask, CodArt, QtaRic, Prior, Concluso, DataIns, DataStart, CurrStatus
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
private void InitCommandCollection() {
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[2];
|
||||
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[4];
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = "SELECT NumTask, CodArt, QtaRic, Prior, Concluso, DataIns, DataStart, CurrStatus F" +
|
||||
@@ -1009,10 +1009,26 @@ SELECT NumTask, CodArt, QtaRic, Prior, Concluso, DataIns, DataStart, CurrStatus
|
||||
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_TL_GetByStatus";
|
||||
this._commandCollection[1].CommandText = "dbo.stp_TL_deleteQuery";
|
||||
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("@CurrStatus", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[1].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumTask", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[2].Connection = this.Connection;
|
||||
this._commandCollection[2].CommandText = "dbo.stp_TL_GetByFilt";
|
||||
this._commandCollection[2].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[2].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[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CurrStatus", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArt", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumTask", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[3].Connection = this.Connection;
|
||||
this._commandCollection[3].CommandText = "dbo.stp_TL_insertQuery";
|
||||
this._commandCollection[3].CommandType = global::System.Data.CommandType.StoredProcedure;
|
||||
this._commandCollection[3].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[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@NumTask", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@CodArt", global::System.Data.SqlDbType.NVarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._commandCollection[3].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@QtaRic", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 10, 0, null, global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -1043,14 +1059,26 @@ SELECT NumTask, CodArt, QtaRic, Prior, Concluso, DataIns, DataStart, CurrStatus
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Select, false)]
|
||||
public virtual DS_App.TaskListDataTable getByCurrStatus(global::System.Nullable<int> CurrStatus) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[1];
|
||||
public virtual DS_App.TaskListDataTable getByFilt(global::System.Nullable<int> CurrStatus, string CodArt, string NumTask) {
|
||||
this.Adapter.SelectCommand = this.CommandCollection[2];
|
||||
if ((CurrStatus.HasValue == true)) {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = ((int)(CurrStatus.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((CodArt == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[2].Value = ((string)(CodArt));
|
||||
}
|
||||
if ((NumTask == null)) {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.SelectCommand.Parameters[3].Value = ((string)(NumTask));
|
||||
}
|
||||
DS_App.TaskListDataTable dataTable = new DS_App.TaskListDataTable();
|
||||
this.Adapter.Fill(dataTable);
|
||||
return dataTable;
|
||||
@@ -1263,6 +1291,74 @@ SELECT NumTask, CodArt, QtaRic, Prior, Concluso, DataIns, DataStart, CurrStatus
|
||||
public virtual int Update(string CodArt, int QtaRic, int Prior, bool Concluso, System.DateTime DataIns, global::System.Nullable<global::System.DateTime> DataStart, string Original_NumTask, string Original_CodArt, int Original_QtaRic, int Original_Prior, bool Original_Concluso, System.DateTime Original_DataIns, global::System.Nullable<global::System.DateTime> Original_DataStart, global::System.Nullable<int> Original_CurrStatus) {
|
||||
return this.Update(Original_NumTask, CodArt, QtaRic, Prior, Concluso, DataIns, DataStart, Original_NumTask, Original_CodArt, Original_QtaRic, Original_Prior, Original_Concluso, Original_DataIns, Original_DataStart, Original_CurrStatus);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int deleteQuery(string NumTask) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[1];
|
||||
if ((NumTask == null)) {
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[1].Value = ((string)(NumTask));
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
||||
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
command.Connection.Open();
|
||||
}
|
||||
int returnValue;
|
||||
try {
|
||||
returnValue = command.ExecuteNonQuery();
|
||||
}
|
||||
finally {
|
||||
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
||||
command.Connection.Close();
|
||||
}
|
||||
}
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "15.0.0.0")]
|
||||
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
|
||||
public virtual int insertQuery(string NumTask, string CodArt, global::System.Nullable<int> QtaRic) {
|
||||
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[3];
|
||||
if ((NumTask == null)) {
|
||||
command.Parameters[1].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[1].Value = ((string)(NumTask));
|
||||
}
|
||||
if ((CodArt == null)) {
|
||||
command.Parameters[2].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
command.Parameters[2].Value = ((string)(CodArt));
|
||||
}
|
||||
if ((QtaRic.HasValue == true)) {
|
||||
command.Parameters[3].Value = ((int)(QtaRic.Value));
|
||||
}
|
||||
else {
|
||||
command.Parameters[3].Value = global::System.DBNull.Value;
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
|
||||
if (((command.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
command.Connection.Open();
|
||||
}
|
||||
int returnValue;
|
||||
try {
|
||||
returnValue = command.ExecuteNonQuery();
|
||||
}
|
||||
finally {
|
||||
if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
|
||||
command.Connection.Close();
|
||||
}
|
||||
}
|
||||
return returnValue;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
+28
-2
@@ -86,13 +86,39 @@ SELECT NumTask, CodArt, QtaRic, Prior, Concluso, DataIns, DataStart, CurrStatus
|
||||
<Mapping SourceColumn="CurrStatus" DataSetColumn="CurrStatus" />
|
||||
</Mappings>
|
||||
<Sources>
|
||||
<DbSource ConnectionRef="C_TRACKConnectionString (Settings)" DbObjectName="C_TRACK.dbo.stp_TL_GetByStatus" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByCurrStatus" GetMethodModifier="Public" GetMethodName="getByCurrStatus" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByCurrStatus" UserSourceName="getByCurrStatus">
|
||||
<DbSource ConnectionRef="C_TRACKConnectionString (Settings)" DbObjectName="C_TRACK.dbo.stp_TL_deleteQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="deleteQuery" Modifier="Public" Name="deleteQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="deleteQuery">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_TL_GetByStatus</CommandText>
|
||||
<CommandText>dbo.stp_TL_deleteQuery</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="@NumTask" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="C_TRACKConnectionString (Settings)" DbObjectName="C_TRACK.dbo.stp_TL_GetByFilt" DbObjectType="StoredProcedure" GenerateMethods="Get" GenerateShortCommands="true" GeneratorGetMethodName="getByFilt" GetMethodModifier="Public" GetMethodName="getByFilt" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="getByFilt" UserSourceName="getByFilt">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_TL_GetByFilt</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="int" DbType="Int32" Direction="Input" ParameterName="@CurrStatus" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodArt" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@NumTask" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
</DbSource>
|
||||
<DbSource ConnectionRef="C_TRACKConnectionString (Settings)" DbObjectName="C_TRACK.dbo.stp_TL_insertQuery" DbObjectType="StoredProcedure" GenerateShortCommands="true" GeneratorSourceName="insertQuery" Modifier="Public" Name="insertQuery" QueryType="NoData" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="insertQuery">
|
||||
<SelectCommand>
|
||||
<DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
|
||||
<CommandText>dbo.stp_TL_insertQuery</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="@NumTask" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="nvarchar" DbType="String" Direction="Input" ParameterName="@CodArt" Precision="0" ProviderType="NVarChar" Scale="0" Size="50" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@QtaRic" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
|
||||
</Parameters>
|
||||
</DbCommand>
|
||||
</SelectCommand>
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
</autogenerated>-->
|
||||
<DiagramLayout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" ex:showrelationlabel="False" ViewPortX="0" ViewPortY="0" xmlns:ex="urn:schemas-microsoft-com:xml-msdatasource-layout-extended" xmlns="urn:schemas-microsoft-com:xml-msdatasource-layout">
|
||||
<Shapes>
|
||||
<Shape ID="DesignTable:TaskList" ZOrder="1" X="242" Y="428" Height="296" Width="251" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="214" />
|
||||
<Shape ID="DesignTable:TaskList" ZOrder="1" X="242" Y="428" Height="342" Width="300" AdapterExpanded="true" DataTableExpanded="true" OldAdapterHeight="0" OldDataTableHeight="0" SplitterPosition="214" />
|
||||
</Shapes>
|
||||
<Connectors />
|
||||
</DiagramLayout>
|
||||
@@ -0,0 +1,42 @@
|
||||
using SteamWare;
|
||||
|
||||
namespace AppData
|
||||
{
|
||||
public class dataLayer
|
||||
{
|
||||
/// <summary>
|
||||
/// avvio classe
|
||||
/// </summary>
|
||||
protected dataLayer()
|
||||
{
|
||||
avvioTA();
|
||||
setupConnectionStringBase();
|
||||
}
|
||||
/// <summary>
|
||||
/// avvia table adapters
|
||||
/// </summary>
|
||||
private void avvioTA()
|
||||
{
|
||||
// avvio i table adapters...
|
||||
taTL = new DS_AppTableAdapters.TaskListTableAdapter();
|
||||
}
|
||||
/// <summary>
|
||||
/// effettua setup dei connection strings da web.config delal singola applicazione
|
||||
/// </summary>
|
||||
protected virtual void setupConnectionStringBase()
|
||||
{
|
||||
string connString = memLayer.ML.confReadString("CTrackConnectionString");
|
||||
// connections strings del db
|
||||
taTL.Connection.ConnectionString = connString;
|
||||
}
|
||||
|
||||
|
||||
public DS_AppTableAdapters.TaskListTableAdapter taTL;
|
||||
/// <summary>
|
||||
/// singleton classe
|
||||
/// </summary>
|
||||
public static dataLayer man = new dataLayer();
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -258,6 +258,7 @@
|
||||
<Content Include="webfonts\fa-brands-400.svg" />
|
||||
<Content Include="webfonts\fa-regular-400.svg" />
|
||||
<Content Include="webfonts\fa-solid-900.svg" />
|
||||
<Content Include="WebUserControls\mod_addTask.ascx" />
|
||||
<Content Include="WebUserControls\mod_barcode.ascx" />
|
||||
<Content Include="WebUserControls\mod_btnComandi.ascx" />
|
||||
<Content Include="WebUserControls\mod_elencoRichResetUtenti.ascx" />
|
||||
@@ -445,6 +446,13 @@
|
||||
<Compile Include="WebMasterPages\Bootstrap.Master.designer.cs">
|
||||
<DependentUpon>Bootstrap.Master</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_addTask.ascx.cs">
|
||||
<DependentUpon>mod_addTask.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_addTask.ascx.designer.cs">
|
||||
<DependentUpon>mod_addTask.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_barcode.ascx.cs">
|
||||
<DependentUpon>mod_barcode.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
||||
+2
-1
@@ -88,7 +88,8 @@
|
||||
<add key="cookieDayExp" value="365" />
|
||||
<add key="DevicesAuthConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=C_TRACK;Persist Security Info=True;User id=sa;Password=keyhammer16;" />
|
||||
<!--area DB-->
|
||||
<!--<add key="XPSConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=C_TRACK;Persist Security Info=True;User id=sa;Password=keyhammer16;" />-->
|
||||
<add key="CTrackConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=C_TRACK;Persist Security Info=True;User id=sa;Password=keyhammer16;" />
|
||||
<add key="DbConfConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=C_TRACK;Persist Security Info=True;User id=sa;Password=keyhammer16;" />
|
||||
<add key="PermessiConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=C_TRACK;Persist Security Info=True;User id=sa;Password=keyhammer16;" />
|
||||
<add key="UtenteCdcConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=C_TRACK;Persist Security Info=True;User id=sa;Password=keyhammer16;" />
|
||||
<add key="VocabolarioConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=C_TRACK;Persist Security Info=True;User id=sa;Password=keyhammer16;" />
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_addTask.ascx.cs" Inherits="C_TRACK.WebUserControls.mod_addTask" %>
|
||||
<div runat="server" id="divAddNew">
|
||||
<div class="row font-weight-bold">
|
||||
<div class="col-3 text-center">
|
||||
<asp:Label runat="server" ID="lblCodArt" CssClass="text-secondary">Cod.ARTICOLO</asp:Label>
|
||||
|
||||
</div>
|
||||
<div class="col-6 text-center">
|
||||
<asp:Label runat="server" ID="lblNumTask" CssClass="text-secondary">COMMESSA</asp:Label>
|
||||
</div>
|
||||
<div class="col-3 text-center">
|
||||
<asp:Label runat="server" ID="lblQta" CssClass="text-secondary">QUANTITA</asp:Label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-3 text-center">
|
||||
<asp:Label runat="server" ID="valCodArt"><%: CodArticolo %></asp:Label>
|
||||
</div>
|
||||
<div class="col-6 text-center">
|
||||
<asp:Label runat="server" ID="valNumTask"><%: NumTask %></asp:Label>
|
||||
</div>
|
||||
<div class="col-3 text-center">
|
||||
<asp:Label runat="server" ID="valQta"><%: Quantita %></asp:Label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,174 @@
|
||||
using AppData;
|
||||
using SteamWare;
|
||||
using System;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace C_TRACK.WebUserControls
|
||||
{
|
||||
public partial class mod_addTask : System.Web.UI.UserControl
|
||||
{
|
||||
/// <summary>
|
||||
/// evento aggiunta record
|
||||
/// </summary>
|
||||
public event EventHandler eh_created;
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
CodArticolo = "";
|
||||
NumTask = "";
|
||||
Quantita = 0;
|
||||
}
|
||||
checkValori();
|
||||
}
|
||||
|
||||
private void checkValori()
|
||||
{
|
||||
// verifica quali valori siano disponibili e di conseguenza visualizza COLORE...
|
||||
lblCodArt.CssClass = CodArticolo != "" ? "text-success" : "text-secondary";
|
||||
lblNumTask.CssClass = NumTask != "" ? "text-success" : "text-secondary";
|
||||
lblQta.CssClass = Quantita > 0 ? "text-success" : "text-secondary";
|
||||
}
|
||||
/// <summary>
|
||||
/// RegExp x Cod ARTICOLO
|
||||
/// </summary>
|
||||
protected string reCodArt = memLayer.ML.cdv("regExp_CodArt");
|
||||
/// <summary>
|
||||
/// RegExp x Cod COMMESSA
|
||||
/// </summary>
|
||||
protected string reNumTask = memLayer.ML.cdv("regExp_NumTask");
|
||||
/// <summary>
|
||||
/// RegExp x QTA
|
||||
/// </summary>
|
||||
protected string reQta = memLayer.ML.cdv("regExp_QtaRic");
|
||||
/// <summary>
|
||||
/// RegExp x RESET / CANCEL
|
||||
/// </summary>
|
||||
protected string reReset = memLayer.ML.cdv("regExp_KO");
|
||||
/// <summary>
|
||||
/// RegExp x CONFERMA
|
||||
/// </summary>
|
||||
protected string reAddNew = memLayer.ML.cdv("regExp_OK");
|
||||
/// <summary>
|
||||
/// RegExp x CONFERMA
|
||||
/// </summary>
|
||||
protected string reDelete = memLayer.ML.cdv("regExp_DEL");
|
||||
/// <summary>
|
||||
/// Input da processare...
|
||||
/// </summary>
|
||||
public string newInput
|
||||
{
|
||||
set
|
||||
{
|
||||
processInput(value);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Effettua riconoscimento input e determina valori commessa / articolo / qta
|
||||
/// </summary>
|
||||
/// <param name="value"></param>
|
||||
private void processInput(string value)
|
||||
{
|
||||
// verifico se sia un articolo...
|
||||
var testReset = Regex.Match(value, reReset);
|
||||
var testDelete = Regex.Match(value, reDelete);
|
||||
var testAddNew = Regex.Match(value, reAddNew);
|
||||
var testCodArt = Regex.Match(value, reCodArt);
|
||||
var testNumTask = Regex.Match(value, reNumTask);
|
||||
var testQta = Regex.Match(value, reQta);
|
||||
|
||||
if (testReset.Success)
|
||||
{
|
||||
CodArticolo = "";
|
||||
NumTask = "";
|
||||
Quantita = 0;
|
||||
}
|
||||
else if (testDelete.Success)
|
||||
{
|
||||
// creo...
|
||||
dataLayer.man.taTL.deleteQuery(NumTask);
|
||||
// resetto!
|
||||
CodArticolo = "";
|
||||
NumTask = "";
|
||||
Quantita = 0;
|
||||
// invoco update...
|
||||
if (eh_created != null)
|
||||
{
|
||||
eh_created(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
else if (testAddNew.Success)
|
||||
{
|
||||
// creo...
|
||||
dataLayer.man.taTL.insertQuery(NumTask, CodArticolo, Quantita);
|
||||
// resetto!
|
||||
CodArticolo = "";
|
||||
NumTask = "";
|
||||
Quantita = 0;
|
||||
// invoco update...
|
||||
if (eh_created != null)
|
||||
{
|
||||
eh_created(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
else if (testCodArt.Success)
|
||||
{
|
||||
CodArticolo = value;
|
||||
}
|
||||
else if (testNumTask.Success)
|
||||
{
|
||||
NumTask = value;
|
||||
}
|
||||
else if (testQta.Success)
|
||||
{
|
||||
int qta = 0;
|
||||
int.TryParse(value, out qta);
|
||||
Quantita = qta;
|
||||
}
|
||||
checkValori();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Cod ARTICOLO corrente
|
||||
/// </summary>
|
||||
public string CodArticolo
|
||||
{
|
||||
get
|
||||
{
|
||||
return memLayer.ML.StringSessionObj("currCodArt");
|
||||
}
|
||||
set
|
||||
{
|
||||
memLayer.ML.setSessionVal("currCodArt", value);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Cod COMMESSA corrente
|
||||
/// </summary>
|
||||
public string NumTask
|
||||
{
|
||||
get
|
||||
{
|
||||
return memLayer.ML.StringSessionObj("currNumTask");
|
||||
}
|
||||
set
|
||||
{
|
||||
memLayer.ML.setSessionVal("currNumTask", value);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// QTA da produrre
|
||||
/// </summary>
|
||||
public int Quantita
|
||||
{
|
||||
get
|
||||
{
|
||||
return memLayer.ML.IntSessionObj("currQta");
|
||||
}
|
||||
set
|
||||
{
|
||||
memLayer.ML.setSessionVal("currQta", value);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <generato automaticamente>
|
||||
// Codice generato da uno strumento.
|
||||
//
|
||||
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
|
||||
// il codice viene rigenerato.
|
||||
// </generato automaticamente>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace C_TRACK.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_addTask {
|
||||
|
||||
/// <summary>
|
||||
/// Controllo divAddNew.
|
||||
/// </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 divAddNew;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblCodArt.
|
||||
/// </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 lblCodArt;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblNumTask.
|
||||
/// </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 lblNumTask;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lblQta.
|
||||
/// </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 lblQta;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo valCodArt.
|
||||
/// </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 valCodArt;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo valNumTask.
|
||||
/// </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 valNumTask;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo valQta.
|
||||
/// </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 valQta;
|
||||
}
|
||||
}
|
||||
@@ -41,6 +41,29 @@ namespace C_TRACK.WebUserControls
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// oggetto comando locale alla classe
|
||||
/// </summary>
|
||||
public string rawInput
|
||||
{
|
||||
get
|
||||
{
|
||||
string answ;
|
||||
if (memLayer.ML.isInSessionObject("barcodeRaw"))
|
||||
{
|
||||
answ = memLayer.ML.StringSessionObj("barcodeRaw");
|
||||
}
|
||||
else
|
||||
{
|
||||
answ = "";
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
memLayer.ML.setSessionVal("barcodeRaw", value, false);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// al caricamento della pagina...
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
@@ -118,6 +141,11 @@ namespace C_TRACK.WebUserControls
|
||||
lblInput.Text = traduci("ComandoSconosciuto");
|
||||
lblValore.Text = BCodeVal;
|
||||
comando = new inputComando();
|
||||
rawInput = BCodeVal;
|
||||
if (eh_dataRead != null)
|
||||
{
|
||||
eh_dataRead(this, new EventArgs());
|
||||
}
|
||||
}
|
||||
BCodeVal = "";
|
||||
}
|
||||
@@ -212,6 +240,10 @@ namespace C_TRACK.WebUserControls
|
||||
/// </summary>
|
||||
public event EventHandler eh_comandoRegistrato;
|
||||
/// <summary>
|
||||
/// evento lettura dati (grezza) effettuata
|
||||
/// </summary>
|
||||
public event EventHandler eh_dataRead;
|
||||
/// <summary>
|
||||
/// comando registrato dal barcode
|
||||
/// </summary>
|
||||
public inputComando comandoRegistrato
|
||||
|
||||
@@ -3,9 +3,6 @@
|
||||
|
||||
|
||||
<div class="row text-uppercase">
|
||||
<div class="col">
|
||||
<asp:LinkButton runat="server" ID="lbAddNew" CssClass="btn btn-lg btn-outline-success btn-block" OnClick="lbAddNew_Click"><%: testoAddNew %></asp:LinkButton>
|
||||
</div>
|
||||
<div class="col">
|
||||
<asp:LinkButton runat="server" ID="lbCaricati" CssClass="btn btn-lg btn-success btn-block" OnClick="lbCaricati_Click">[1] Caricati</asp:LinkButton>
|
||||
</div>
|
||||
@@ -19,11 +16,6 @@
|
||||
<asp:LinkButton runat="server" ID="lbTutti" CssClass="btn btn-lg btn-outline-info btn-block" OnClick="lbTutti_Click">[0] Tutti</asp:LinkButton>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row my-2" runat="server" id="divBCode">
|
||||
<div class="col-12">
|
||||
<uc1:mod_barcode runat="server" ID="mod_barcode" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<asp:GridView ID="grView" runat="server" AutoGenerateColumns="False" DataKeyNames="NumTask" DataSourceID="ods" CssClass="table table-striped table-condensed">
|
||||
@@ -40,12 +32,17 @@
|
||||
<asp:BoundField DataField="DataStart" HeaderText="DataStart" SortExpression="DataStart" />
|
||||
<asp:BoundField DataField="CurrStatus" HeaderText="CurrStatus" ReadOnly="True" SortExpression="CurrStatus" />
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
</asp:GridView>
|
||||
<asp:HiddenField runat="server" ID="hfCurrStatus" />
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByCurrStatus" TypeName="AppData.DS_AppTableAdapters.TaskListTableAdapter">
|
||||
<asp:HiddenField runat="server" ID="hfCodArt" />
|
||||
<asp:HiddenField runat="server" ID="hfNumTask" />
|
||||
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByFilt" TypeName="AppData.DS_AppTableAdapters.TaskListTableAdapter">
|
||||
<SelectParameters>
|
||||
<asp:ControlParameter ControlID="hfCurrStatus" DefaultValue="0" Name="CurrStatus" PropertyName="Value" Type="Int32" />
|
||||
<asp:SessionParameter Name="CodArt" SessionField="currCodArt" Type="String" />
|
||||
<asp:SessionParameter Name="NumTask" SessionField="currNumTask" Type="String" />
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -6,44 +6,48 @@ namespace C_TRACK.WebUserControls
|
||||
{
|
||||
public partial class mod_taskList : System.Web.UI.UserControl
|
||||
{
|
||||
/// <summary>
|
||||
/// Gestione load pagina
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
statusFiter = 0;
|
||||
checkAddNew();
|
||||
divBCode.Visible = false;
|
||||
}
|
||||
mod_barcode.eh_comandoRegistrato += Mod_barcode_eh_comandoRegistrato;
|
||||
}
|
||||
|
||||
private void Mod_barcode_eh_comandoRegistrato(object sender, EventArgs e)
|
||||
public void doUpdate()
|
||||
{
|
||||
// verifico cosa ho registrato..
|
||||
// aggiorno!
|
||||
grView.DataBind();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// verifica utente x possibilità fare "add new"
|
||||
/// codice commessa in elaborazione
|
||||
/// </summary>
|
||||
private void checkAddNew()
|
||||
{
|
||||
lbAddNew.Visible = devicesAuthProxy.stObj.userHasRight("CT_userStart");
|
||||
}
|
||||
|
||||
public string testoAddNew
|
||||
protected string codCommessa
|
||||
{
|
||||
get
|
||||
{
|
||||
string answ = "Add New";
|
||||
if (divBCode.Visible)
|
||||
string answ;
|
||||
if (memLayer.ML.isInSessionObject("barcodeRaw"))
|
||||
{
|
||||
answ = "Nascondi Add New";
|
||||
answ = memLayer.ML.StringSessionObj("barcodeRaw");
|
||||
}
|
||||
else
|
||||
{
|
||||
answ = "";
|
||||
}
|
||||
|
||||
return answ;
|
||||
}
|
||||
set
|
||||
{
|
||||
memLayer.ML.setSessionVal("barcodeRaw", value, false);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Filtro stato comemssa
|
||||
/// </summary>
|
||||
@@ -82,9 +86,5 @@ namespace C_TRACK.WebUserControls
|
||||
statusFiter = 0;
|
||||
}
|
||||
|
||||
protected void lbAddNew_Click(object sender, EventArgs e)
|
||||
{
|
||||
divBCode.Visible = !divBCode.Visible;
|
||||
}
|
||||
}
|
||||
}
|
||||
+18
-27
@@ -12,15 +12,6 @@ namespace C_TRACK.WebUserControls {
|
||||
|
||||
public partial class mod_taskList {
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbAddNew.
|
||||
/// </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 lbAddNew;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo lbCaricati.
|
||||
/// </summary>
|
||||
@@ -57,24 +48,6 @@ namespace C_TRACK.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.LinkButton lbTutti;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo divBCode.
|
||||
/// </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 divBCode;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_barcode.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::C_TRACK.WebUserControls.mod_barcode mod_barcode;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo grView.
|
||||
/// </summary>
|
||||
@@ -93,6 +66,24 @@ namespace C_TRACK.WebUserControls {
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.HiddenField hfCurrStatus;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfCodArt.
|
||||
/// </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.HiddenField hfCodArt;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo hfNumTask.
|
||||
/// </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.HiddenField hfNumTask;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo ods.
|
||||
/// </summary>
|
||||
|
||||
+7
-1
@@ -1,9 +1,15 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/WebMasterPages/Bootstrap.Master" AutoEventWireup="true" CodeBehind="task.aspx.cs" Inherits="C_TRACK.task" %>
|
||||
|
||||
<%@ Register Src="~/WebUserControls/mod_taskList.ascx" TagPrefix="uc1" TagName="mod_taskList" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_barcode.ascx" TagPrefix="uc1" TagName="mod_barcode" %>
|
||||
<%@ Register Src="~/WebUserControls/mod_addTask.ascx" TagPrefix="uc1" TagName="mod_addTask" %>
|
||||
|
||||
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="body" runat="server">
|
||||
<uc1:mod_taskList runat="server" id="mod_taskList" />
|
||||
<uc1:mod_barcode runat="server" ID="mod_barcode" />
|
||||
<uc1:mod_addTask runat="server" ID="mod_addTask" />
|
||||
<uc1:mod_taskList runat="server" ID="mod_taskList" />
|
||||
</asp:Content>
|
||||
|
||||
+20
-7
@@ -1,9 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using SteamWare;
|
||||
using System;
|
||||
|
||||
namespace C_TRACK
|
||||
{
|
||||
@@ -11,7 +7,24 @@ namespace C_TRACK
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
if (!Page.IsPostBack)
|
||||
{
|
||||
mod_barcode.Visible = devicesAuthProxy.stObj.userHasRight("CT_userStart");
|
||||
}
|
||||
mod_barcode.eh_dataRead += Mod_barcode_eh_dataRead;
|
||||
mod_addTask.eh_created += Mod_addTask_eh_created;
|
||||
}
|
||||
|
||||
private void Mod_addTask_eh_created(object sender, EventArgs e)
|
||||
{
|
||||
mod_taskList.doUpdate();
|
||||
}
|
||||
|
||||
private void Mod_barcode_eh_dataRead(object sender, EventArgs e)
|
||||
{
|
||||
// passo il dato grezzo al modulo processing commessa...
|
||||
mod_addTask.newInput = mod_barcode.rawInput;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Generated
+18
@@ -12,6 +12,24 @@ namespace C_TRACK {
|
||||
|
||||
public partial class task {
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_barcode.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::C_TRACK.WebUserControls.mod_barcode mod_barcode;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_addTask.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::C_TRACK.WebUserControls.mod_addTask mod_addTask;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_taskList.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user