inserimento preliminare visite SP (12 e 345)

This commit is contained in:
Samuele E. Locatelli
2017-08-30 15:56:41 +02:00
parent 9dcbd66787
commit 5c3edcaec4
19 changed files with 799 additions and 783 deletions
Binary file not shown.
+10 -42
View File
@@ -409,15 +409,11 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="UserAdmin.aspx" />
<Content Include="VAC.aspx" />
<Content Include="VBMA.aspx" />
<Content Include="VCP.aspx" />
<Content Include="VL.aspx" />
<Content Include="VP.aspx" />
<Content Include="VRF.aspx" />
<Content Include="VSV.aspx" />
<Content Include="VVFAnz.aspx" />
<Content Include="VVFGT.aspx" />
<Content Include="VVSP_12.aspx" />
<Content Include="VVSP_345.aspx" />
<Content Include="WebUserControls\mod_elencoRichResetUtenti.ascx" />
<Content Include="WebUserControls\mod_ElencoVisitePaziente.ascx" />
<Content Include="WebUserControls\mod_enrollByAuthKey.ascx" />
@@ -535,13 +531,6 @@
<Compile Include="UserAdmin.aspx.designer.cs">
<DependentUpon>UserAdmin.aspx</DependentUpon>
</Compile>
<Compile Include="VAC.aspx.cs">
<DependentUpon>VAC.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="VAC.aspx.designer.cs">
<DependentUpon>VAC.aspx</DependentUpon>
</Compile>
<Compile Include="VBMA.aspx.cs">
<DependentUpon>VBMA.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -549,13 +538,6 @@
<Compile Include="VBMA.aspx.designer.cs">
<DependentUpon>VBMA.aspx</DependentUpon>
</Compile>
<Compile Include="VCP.aspx.cs">
<DependentUpon>VCP.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="VCP.aspx.designer.cs">
<DependentUpon>VCP.aspx</DependentUpon>
</Compile>
<Compile Include="Visite.aspx.cs">
<DependentUpon>Visite.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -570,13 +552,6 @@
<Compile Include="VL.aspx.designer.cs">
<DependentUpon>VL.aspx</DependentUpon>
</Compile>
<Compile Include="VP.aspx.cs">
<DependentUpon>VP.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="VP.aspx.designer.cs">
<DependentUpon>VP.aspx</DependentUpon>
</Compile>
<Compile Include="VRF.aspx.cs">
<DependentUpon>VRF.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -584,26 +559,19 @@
<Compile Include="VRF.aspx.designer.cs">
<DependentUpon>VRF.aspx</DependentUpon>
</Compile>
<Compile Include="VSV.aspx.cs">
<DependentUpon>VSV.aspx</DependentUpon>
<Compile Include="VVSP_12.aspx.cs">
<DependentUpon>VVSP_12.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="VSV.aspx.designer.cs">
<DependentUpon>VSV.aspx</DependentUpon>
<Compile Include="VVSP_12.aspx.designer.cs">
<DependentUpon>VVSP_12.aspx</DependentUpon>
</Compile>
<Compile Include="VVFAnz.aspx.cs">
<DependentUpon>VVFAnz.aspx</DependentUpon>
<Compile Include="VVSP_345.aspx.cs">
<DependentUpon>VVSP_345.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="VVFAnz.aspx.designer.cs">
<DependentUpon>VVFAnz.aspx</DependentUpon>
</Compile>
<Compile Include="VVFGT.aspx.cs">
<DependentUpon>VVFGT.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="VVFGT.aspx.designer.cs">
<DependentUpon>VVFGT.aspx</DependentUpon>
<Compile Include="VVSP_345.aspx.designer.cs">
<DependentUpon>VVSP_345.aspx</DependentUpon>
</Compile>
<Compile Include="WebUserControls\mod_elencoRichResetUtenti.ascx.cs">
<DependentUpon>mod_elencoRichResetUtenti.ascx</DependentUpon>
-71
View File
@@ -1,71 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace ScheMe
{
public partial class VAC : SteamWare.UserPage
{
/// <summary>
/// pagina caricata
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
// verifico se sia con parametro paziente o NEW...
string cmd = Request.QueryString["cmd"];
if (cmd == "" || cmd == null || cmd == "sel")
{
frmView.ChangeMode(FormViewMode.ReadOnly);
}
else if (cmd == "new")
{
if (isWriteEnabled)
{
frmView.ChangeMode(FormViewMode.Insert);
}
else
{
frmView.ChangeMode(FormViewMode.ReadOnly);
}
}
}
}
/// <summary>
/// modo formview cambiato
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void frmView_ModeChanged(object sender, EventArgs e)
{
}
/// <summary>
/// evento delete
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void ods_Deleted(object sender, ObjectDataSourceStatusEventArgs e)
{
Response.Redirect("Visite");
}
/// <summary>
/// variabile per modo pre comando di update mode...
/// </summary>
public FormViewMode prevMode { get; set; }
/// <summary>
/// evento pre-cambio modo
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void frmView_ModeChanging(object sender, FormViewModeEventArgs e)
{
prevMode = frmView.CurrentMode;
}
}
}
+55 -55
View File
@@ -7,65 +7,65 @@ using System.Web.UI.WebControls;
namespace ScheMe
{
public partial class VBMA : SteamWare.UserPage
public partial class VBMA : SteamWare.UserPage
{
/// <summary>
/// pagina caricata
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
/// <summary>
/// pagina caricata
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
if (!Page.IsPostBack)
{
// verifico se sia con parametro paziente o NEW...
string cmd = Request.QueryString["cmd"];
if (cmd == "" || cmd == null || cmd == "sel")
{
if (!Page.IsPostBack)
{
// verifico se sia con parametro paziente o NEW...
string cmd = Request.QueryString["cmd"];
if (cmd == "" || cmd == null || cmd == "sel")
{
frmView.ChangeMode(FormViewMode.ReadOnly);
}
else if (cmd == "new")
{
if (isWriteEnabled)
{
frmView.ChangeMode(FormViewMode.Insert);
}
else
{
frmView.ChangeMode(FormViewMode.ReadOnly);
}
}
}
frmView.ChangeMode(FormViewMode.ReadOnly);
}
/// <summary>
/// modo formview cambiato
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void frmView_ModeChanged(object sender, EventArgs e)
else if (cmd == "new")
{
if (isWriteEnabled)
{
frmView.ChangeMode(FormViewMode.Insert);
}
else
{
frmView.ChangeMode(FormViewMode.ReadOnly);
}
}
/// <summary>
/// evento delete
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void ods_Deleted(object sender, ObjectDataSourceStatusEventArgs e)
{
Response.Redirect("Visite");
}
/// <summary>
/// variabile per modo pre comando di update mode...
/// </summary>
public FormViewMode prevMode { get; set; }
/// <summary>
/// evento pre-cambio modo
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void frmView_ModeChanging(object sender, FormViewModeEventArgs e)
{
prevMode = frmView.CurrentMode;
}
}
}
/// <summary>
/// modo formview cambiato
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void frmView_ModeChanged(object sender, EventArgs e)
{
}
/// <summary>
/// evento delete
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void ods_Deleted(object sender, ObjectDataSourceStatusEventArgs e)
{
Response.Redirect("Visite");
}
/// <summary>
/// variabile per modo pre comando di update mode...
/// </summary>
public FormViewMode prevMode { get; set; }
/// <summary>
/// evento pre-cambio modo
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void frmView_ModeChanging(object sender, FormViewModeEventArgs e)
{
prevMode = frmView.CurrentMode;
}
}
}
+14 -14
View File
@@ -1,10 +1,10 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// <generato automaticamente>
// Codice generato da uno strumento.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// Le modifiche a questo file possono causare un comportamento non corretto e verranno perse se
// il codice viene rigenerato.
// </generato automaticamente>
//------------------------------------------------------------------------------
namespace ScheMe {
@@ -13,29 +13,29 @@ namespace ScheMe {
public partial class VBMA {
/// <summary>
/// frmView control.
/// Controllo frmView.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// 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.FormView frmView;
/// <summary>
/// ods control.
/// Controllo ods.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// 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 ods;
/// <summary>
/// odsFukudaIpot control.
/// Controllo odsFukudaIpot.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// 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 odsFukudaIpot;
}
-42
View File
@@ -1,42 +0,0 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace ScheMe {
public partial class VCP {
/// <summary>
/// frmView control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.FormView frmView;
/// <summary>
/// ods control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource ods;
/// <summary>
/// odsPlaccheVas control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.ObjectDataSource odsPlaccheVas;
}
}
-97
View File
@@ -1,97 +0,0 @@
using ScheMe_Data;
using SteamWare;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace ScheMe
{
public partial class VVFAnz : SteamWare.UserPage
{
int idxPaziente
{
get
{
return memLayer.ML.IntSessionObj("IdxPaziente");
}
}
/// <summary>
/// pagina caricata
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
// verifico se sia con parametro paziente o NEW...
string cmd = Request.QueryString["cmd"];
if (cmd == "" || cmd == null || cmd == "sel")
{
frmView.ChangeMode(FormViewMode.ReadOnly);
}
else if (cmd == "new")
{
if (isWriteEnabled)
{
frmView.ChangeMode(FormViewMode.Insert);
}
else
{
frmView.ChangeMode(FormViewMode.ReadOnly);
}
}
}
}
/// <summary>
/// modo formview cambiato
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void frmView_ModeChanged(object sender, EventArgs e)
{
}
/// <summary>
/// evento delete
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void ods_Deleted(object sender, ObjectDataSourceStatusEventArgs e)
{
Response.Redirect("Visite");
}
/// <summary>
/// variabile per modo pre comando di update mode...
/// </summary>
public FormViewMode prevMode { get; set; }
/// <summary>
/// evento pre-cambio modo
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void frmView_ModeChanging(object sender, FormViewModeEventArgs e)
{
prevMode = frmView.CurrentMode;
}
protected void frmView_ItemCreated(object sender, EventArgs e)
{
// imposto altezza/peso...
try
{
// recupero dati paziente...
DS_Applicazione.AnagPazientiRow riga = DtProxy.man.taAP.getByKey(idxPaziente)[0];
// Popolo!
TextBox txtAltezza = ((TextBox)frmView.FindControl("txtAltezza"));
if (txtAltezza != null) txtAltezza.Text = riga.Altezza.ToString();
TextBox txtPeso = ((TextBox)frmView.FindControl("txtPeso"));
if (txtPeso != null) txtPeso.Text = riga.Peso.ToString();
}
catch
{ }
}
}
}
-374
View File
@@ -1,374 +0,0 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="VVFGT.aspx.cs" Inherits="ScheMe.VVFGT" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div style="font-size: 0.8em;">
<asp:FormView ID="frmView" runat="server" DataSourceID="ods" RenderOuterTable="False" OnModeChanged="frmView_ModeChanged" OnModeChanging="frmView_ModeChanging">
<EmptyDataTemplate>
<h3>Attenzione!</h3>
Nessun record presente.<a href="Visite">Prego cliccare qui</a> per tornare alla pagina visite.
</EmptyDataTemplate>
<ItemTemplate>
<div class="ui-grid-c">
<div class="ui-block-a" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Visita - Antropometria</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Data</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblDataVisita"><%: Request.QueryString["DataVisita"] %></asp:Label>
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Altezza cm</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="txtAltezza" Text='<%# Eval("Altezza","{0}") %>' />
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Peso kg</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="txtPeso" Text='<%# Eval("Peso","{0:N2}") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider" data-theme="c">Elaborazioni:</li>
<li class="ui-field-contain" data-theme="c">
<label style="font-size: 0.9em;">Score</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblScore" Text='<%# Eval("Score","{0}/24") %>' />
</li>
<li class="ui-field-contain" data-theme="c">
<label style="font-size: 0.9em;">Percentile</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblScorePerc" Text='<%# Eval("ScorePerc","{0:P2}") %>' />
</li>
<li class="ui-field-contain" data-theme="c">
<label style="font-size: 0.9em;">Classe</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblClasse" Text='<%# Eval("Classe") %>' />
</li>
<li class='<%# Eval("Classe", "ui-field-contain VVF-CL-0{0}") %>' data-theme="d">
<label style="font-size: 0.9em;">Performance</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblPerformance" Text='<%# Eval("Performance") %>' />
</li>
</ul>
</div>
<div class="ui-block-b" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">FT - Flessibilità Tronco</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Test Sit & Reach cm</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblFT" Text='<%# Eval("FT") %>' />
</li>
<li class="ui-field-contain" data-theme="c">
<label style="font-size: 0.9em;">Score</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblFT_p" Text='<%# Eval("FT_s") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">TR - Test di Ruffier</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">P0: a riposo</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblTR0" Text='<%# Eval("TR0") %>' />
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">P1: 30 squat/45"</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblTR1" Text='<%# Eval("TR1") %>' />
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">P2: 60" dopo sforzo</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblTR2" Text='<%# Eval("TR2") %>' />
</li>
<li class="ui-field-contain" data-theme="c">
<label style="font-size: 0.9em;">Score</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblFS_s" Text='<%# Eval("TR_s") %>' />
</li>
</ul>
</div>
<div class="ui-block-c" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">GA - Grasso Addominale</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Diam Addominale Periomb. cm</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblGA" Text='<%# Eval("GA") %>' />
</li>
<li class="ui-field-contain" data-theme="c">
<label style="font-size: 0.9em;">Score</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblGA_s" Text='<%# Eval("GA_s") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">SU - SitUp</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Num addominali 60"</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblSU" Text='<%# Eval("SU") %>' />
</li>
<li class="ui-field-contain" data-theme="c">
<label style="font-size: 0.9em;">Score</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblSU_s" Text='<%# Eval("SU_s") %>' />
</li>
</ul>
</div>
<div class="ui-block-d" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">SJ - Forza Arti Inferiori</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Squat Jump (accelerometro)</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblSJ" Text='<%# Eval("SJ") %>' />
</li>
<li class="ui-field-contain" data-theme="c">
<label style="font-size: 0.9em;">Score</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblSJ_s" Text='<%# Eval("SJ_s") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">PU - Forza Arti Superiori</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Push Up - piegamenti in 30"</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblPU" Text='<%# Eval("PU") %>' />
</li>
<li class="ui-field-contain" data-theme="c">
<label style="font-size: 0.9em;">Score</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblPU_s" Text='<%# Eval("PU_s") %>' />
</li>
</ul>
</div>
</div>
<div class="ui-grid-solo" runat="server" visible='<%# isWriteEnabled %>'>
<div class="ui-block-a">
<ul data-role="listview" data-inset="true">
<li class="ui-body ui-body-b">
<fieldset class="ui-grid-a">
<div class="ui-block-a">
<asp:Button runat="server" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-check" ID="btnEdit" CausesValidation="False" CommandName="Edit" Text="Modifica" data-theme="a" />
</div>
<div class="ui-block-b">
<asp:Button runat="server" CssClass="ui-btn ui-icon-delete ui-shadow ui-corner-all" ID="btnDelete" CausesValidation="False" CommandName="Delete" Text="Elimina" data-theme="b" OnClientClick="return confirm('Sei sicuro di voler eliminare il record?')" />
</div>
</fieldset>
</li>
</ul>
</div>
</div>
</ItemTemplate>
<InsertItemTemplate>
<div class="ui-grid-c">
<div class="ui-block-a" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Visita - Antropometria</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Data</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblDataVisita"><%: Request.QueryString["DataVisita"] %></asp:Label>
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Altezza cm</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtAltezza" Text='<%# Bind("Altezza","{0}") %>' />
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Peso kg</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtPeso" Text='<%# Bind("Peso","{0}") %>' />
</li>
</ul>
</div>
<div class="ui-block-b" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">FT - Flessibilità Tronco</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Test Sit & Reach cm (dita-piedi)</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtFT" Text='<%# Bind("FT") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">TR - Test di Ruffier</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">P0: a riposo</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtTR0" Text='<%# Bind("TR0") %>' />
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">P1: 30 squat/45"</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtTR1" Text='<%# Bind("TR1") %>' />
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">P2: 60" dopo sforzo</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtTR2" Text='<%# Bind("TR2") %>' />
</li>
</ul>
</div>
<div class="ui-block-c" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">GA - Grasso Addominale</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Diam Addominale Periomb. cm</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtGA" Text='<%# Bind("GA") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">SU - SitUp</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Num addominali 60"</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtSU" Text='<%# Bind("SU") %>' />
</li>
</ul>
</div>
<div class="ui-block-d" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">SJ - Forza Arti Inferiori</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Squat Jump (accelerometro)</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtSJ" Text='<%# Bind("SJ") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">PU - Forza Arti Superiori</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Push Up - piegamenti in 30"</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtPU" Text='<%# Bind("PU") %>' />
</li>
</ul>
</div>
</div>
<div class="ui-grid-solo">
<div class="ui-block-a">
<ul data-role="listview" data-inset="true">
<li class="ui-body ui-body-b">
<fieldset class="ui-grid-a">
<div class="ui-block-a">
<asp:Button runat="server" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-check" ID="btnInsert" CausesValidation="False" CommandName="Insert" Text="Salva" data-theme="a" />
</div>
<div class="ui-block-b">
<asp:Button runat="server" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-delete" ID="btnCancel" CausesValidation="False" CommandName="Cancel" Text="Cancel" data-theme="b" />
</div>
</fieldset>
</li>
</ul>
</div>
</div>
</InsertItemTemplate>
<EditItemTemplate>
<div class="ui-grid-c">
<div class="ui-block-a" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Visita - Antropometria</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Data</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblDataVisita"><%: Request.QueryString["DataVisita"] %></asp:Label>
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Altezza cm</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtAltezza" Text='<%# Bind("Altezza","{0}") %>' />
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Peso kg</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtPeso" Text='<%# Bind("Peso","{0}") %>' />
</li>
</ul>
</div>
<div class="ui-block-b" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">FT - Flessibilità Tronco</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Test Sit & Reach cm (dita-piedi)</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtFT" Text='<%# Bind("FT") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">TR - Test di Ruffier</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">P0: a riposo</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtTR0" Text='<%# Bind("TR0") %>' />
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">P1: 30 squat/45"</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtTR1" Text='<%# Bind("TR1") %>' />
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">P2: 60" dopo sforzo</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtTR2" Text='<%# Bind("TR2") %>' />
</li>
</ul>
</div>
<div class="ui-block-c" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">GA - Grasso Addominale</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Diam Addominale Periomb. cm</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtGA" Text='<%# Bind("GA") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">SU - SitUp</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Num addominali 60"</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtSU" Text='<%# Bind("SU") %>' />
</li>
</ul>
</div>
<div class="ui-block-d" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">SJ - Forza Arti Inferiori</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Squat Jump (accelerometro)</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtSJ" Text='<%# Bind("SJ") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">PU - Forza Arti Superiori</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Push Up - piegamenti in 30"</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtPU" Text='<%# Bind("PU") %>' />
</li>
</ul>
</div>
</div>
<div class="ui-grid-solo">
<div class="ui-block-a">
<ul data-role="listview" data-inset="true">
<li class="ui-body ui-body-b">
<fieldset class="ui-grid-a">
<div class="ui-block-a">
<asp:Button runat="server" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-check" ID="btnUpdate" CausesValidation="False" CommandName="Update" Text="Salva" data-theme="a" />
</div>
<div class="ui-block-b">
<asp:Button runat="server" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-delete" ID="btnCancel" CausesValidation="False" CommandName="Cancel" Text="Cancel" data-theme="b" />
</div>
</fieldset>
</li>
</ul>
</div>
</div>
</EditItemTemplate>
</asp:FormView>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByPaziente" TypeName="ScheMe_Data.DS_ApplicazioneTableAdapters.VisValFunzGTTableAdapter" DeleteMethod="DeleteQuery" InsertMethod="InsertQuery" UpdateMethod="UpdateQuery" OnDeleted="ods_Deleted">
<DeleteParameters>
<asp:SessionParameter Name="Original_IdxPaziente" SessionField="IdxPaziente" Type="Int32" DefaultValue="0" />
<asp:QueryStringParameter DefaultValue="0" Name="Original_DataVisita" QueryStringField="DataVisita" Type="DateTime" />
</DeleteParameters>
<InsertParameters>
<asp:SessionParameter Name="IdxPaziente" SessionField="IdxPaziente" Type="Int32" DefaultValue="0" />
<asp:QueryStringParameter DefaultValue="" Name="DataVisita" QueryStringField="DataVisita" Type="DateTime" />
<asp:Parameter Name="SJ" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="FT" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="PU" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="TR0" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="TR1" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="TR2" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="SU" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="GA" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="Altezza" Type="Double" />
<asp:Parameter Name="Peso" Type="Double" />
</InsertParameters>
<SelectParameters>
<asp:SessionParameter Name="IdxPaziente" SessionField="IdxPaziente" Type="Int32" DefaultValue="0" />
<asp:QueryStringParameter DefaultValue="" Name="DataVisita" QueryStringField="DataVisita" Type="DateTime" />
</SelectParameters>
<UpdateParameters>
<asp:Parameter Name="SJ" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="FT" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="PU" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="TR0" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="TR1" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="TR2" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="SU" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="GA" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="Altezza" Type="Double" />
<asp:Parameter Name="Peso" Type="Double" />
<asp:QueryStringParameter DefaultValue="0" Name="Original_DataVisita" QueryStringField="DataVisita" Type="DateTime" />
<asp:SessionParameter Name="Original_IdxPaziente" SessionField="IdxPaziente" Type="Int32" DefaultValue="0" />
</UpdateParameters>
</asp:ObjectDataSource>
</div>
</asp:Content>
@@ -1,9 +1,8 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="VVFAnz.aspx.cs" Inherits="ScheMe.VVFAnz" %>
<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="VVSP_12.aspx.cs" Inherits="ScheMe.VVSP_12" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div style="font-size: 0.8em;">
<div style="font-size: 0.8em;">
<asp:FormView ID="frmView" runat="server" DataSourceID="ods" RenderOuterTable="False" OnModeChanged="frmView_ModeChanged" OnModeChanging="frmView_ModeChanging" OnItemCreated="frmView_ItemCreated">
<EmptyDataTemplate>
<h3>Attenzione!</h3>
@@ -49,75 +48,71 @@
</div>
<div class="ui-block-b" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">FT - Flessibilità Tronco</li>
<li data-role="list-divider">CD - Circuito di Destrezza di Harre</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Test Sit & Reach cm</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblFT" Text='<%# Eval("FT") %>' />
<label style="font-size: 0.9em;">secondi</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblCD" Text='<%# Eval("CD") %>' />
</li>
<li class="ui-field-contain" data-theme="c">
<label style="font-size: 0.9em;">Score</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblFT_p" Text='<%# Eval("FT_s") %>' />
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblCD_s" Text='<%# Eval("CD_s") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">FS - Flessibilità Spalle</li>
<li data-role="list-divider">SP - Saltelli in avanti su un Piede</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Test Scretch cm</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblFS" Text='<%# Eval("FS") %>' />
<asp:DropDownList Enabled="false" runat="server" ID="ddlSP" DataSourceID="odsSP" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("SP") %>' />
</li>
<li class="ui-field-contain" data-theme="c">
<label style="font-size: 0.9em;">Score</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblFS_s" Text='<%# Eval("FS_s") %>' />
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblFP_s" Text='<%# Eval("SP_s") %>' />
</li>
</ul>
</div>
<div class="ui-block-c" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">GA - Grasso Addominale</li>
<li data-role="list-divider">GL - Galoppo Laterale</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Diam Addominale Periomb. cm</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblGA" Text='<%# Eval("GA") %>' />
<asp:DropDownList Enabled="false" runat="server" ID="ddlGL" DataSourceID="odsGL" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("GL") %>' />
</li>
<li class="ui-field-contain" data-theme="c">
<label style="font-size: 0.9em;">Score</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblGA_s" Text='<%# Eval("GA_s") %>' />
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblCD_p" Text='<%# Eval("GL_s") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">E - Equilibrio</li>
<li data-role="list-divider">LM - Lancio Mirato</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Test Romberg 15"</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblE" Text='<%# Eval("E") %>' />
<label style="font-size: 0.9em;">successi</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblSP" Text='<%# Eval("LM") %>' />
</li>
<li class="ui-field-contain" data-theme="c">
<label style="font-size: 0.9em;">Score</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblE_s" Text='<%# Eval("E_s") %>' />
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblSP_s" Text='<%# Eval("LM_s") %>' />
</li>
</ul>
</div>
<div class="ui-block-d" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">FAI - Forza Arti Inferiori</li>
<li data-role="list-divider">E - Equilibrio</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Num ripetute 15"</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblFAI" Text='<%# Eval("FAI") %>' />
<label style="font-size: 0.9em;">Test Romberg 15"</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblE" Text='<%# Eval("SA") %>' />
</li>
<li class="ui-field-contain" data-theme="c">
<label style="font-size: 0.9em;">Score</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblFAI_s" Text='<%# Eval("FAI_s") %>' />
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblE_s" Text='<%# Eval("SA_s") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">FP - Forza Prensile</li>
<li data-role="list-divider">GA - Grasso Addominale</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Kg espressi</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblFP" Text='<%# Eval("FP") %>' />
<label style="font-size: 0.9em;">Diam Addominale Periomb. cm</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblGA" Text='<%# Eval("RP") %>' />
</li>
<li class="ui-field-contain" data-theme="c">
<label style="font-size: 0.9em;">Score</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblFP_s" Text='<%# Eval("FP_s") %>' />
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblGA_s" Text='<%# Eval("RP_s") %>' />
</li>
</ul>
</div>
@@ -162,51 +157,47 @@
</div>
<div class="ui-block-b" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">FT - Flessibilità Tronco</li>
<li data-role="list-divider">CD - Circuito di Destrezza di Harre</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Test Sit & Reach cm (dita-piedi)</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtFT" Text='<%# Bind("FT") %>' />
<label style="font-size: 0.9em;">secondi</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtCD" Text='<%# Bind("CD") %>' TextMode="Number" />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">FS - Flessibilità Spalle</li>
<li data-role="list-divider">SP - Saltelli in avanti su un Piede</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Test Scretch cm (retropulsione)</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtFS" Text='<%# Bind("FS") %>' />
<asp:DropDownList Enabled="true" runat="server" ID="ddlSP" DataSourceID="odsSP" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("SP") %>' />
</li>
</ul>
</div>
<div class="ui-block-c" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">GA - Grasso Addominale</li>
<li data-role="list-divider">GL - Galoppo Laterale</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Diam Addominale Periomb. cm</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtGA" Text='<%# Bind("GA") %>' />
<asp:DropDownList Enabled="true" runat="server" ID="ddlGL" DataSourceID="odsGL" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("GL") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">E - Equilibrio</li>
<li data-role="list-divider">LM - Lancio Mirato</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Test Romberg 15"</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtE" Text='<%# Bind("E") %>' />
<label style="font-size: 0.9em;">successi</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtLM" Text='<%# Bind("LM") %>' TextMode="Number" />
</li>
</ul>
</div>
<div class="ui-block-d" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">FAI - Forza Arti Inferiori</li>
<li data-role="list-divider">SA - Saltelli Alternati in avanti su un piede</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Num ripetute 15"</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtFAI" Text='<%# Bind("FAI") %>' />
<asp:DropDownList Enabled="true" runat="server" ID="ddlSA" DataSourceID="odsSP" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("SA") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">FP - Forza Prensile</li>
<li data-role="list-divider">RP - Ricevere con le mani una Palla lanciata</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Kg espressi</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtFP" Text='<%# Bind("FP") %>' />
<asp:DropDownList Enabled="true" runat="server" ID="ddlRP" DataSourceID="odsSP" DataValueField="value" DataTextField="label" SelectedValue='<%# Bind("RP") %>' />
</li>
</ul>
</div>
@@ -254,14 +245,14 @@
<li data-role="list-divider">FT - Flessibilità Tronco</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Test Sit & Reach cm (dita-piedi)</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtFT" Text='<%# Bind("FT") %>' />
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtFT" Text='<%# Bind("GL") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">FS - Flessibilità Spalle</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Test Scretch cm (retropulsione)</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtFS" Text='<%# Bind("FS") %>' />
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtFS" Text='<%# Bind("LM") %>' />
</li>
</ul>
</div>
@@ -271,31 +262,31 @@
<li data-role="list-divider">GA - Grasso Addominale</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Diam Addominale Periomb. cm</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtGA" Text='<%# Bind("GA") %>' />
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtGA" Text='<%# Bind("RP") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">E - Equilibrio</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Test Romberg 15"</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtE" Text='<%# Bind("E") %>' />
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtE" Text='<%# Bind("SA") %>' />
</li>
</ul>
</div>
<div class="ui-block-d" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">FAI - Forza Arti Inferiori</li>
<li data-role="list-divider">CD - Forza Arti Inferiori</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Num ripetute 15"</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtFAI" Text='<%# Bind("FAI") %>' />
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtCD" Text='<%# Bind("CD") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">FP - Forza Prensile</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Kg espressi</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtFP" Text='<%# Bind("FP") %>' />
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtFP" Text='<%# Bind("SP") %>' />
</li>
</ul>
</div>
@@ -318,7 +309,7 @@
</div>
</EditItemTemplate>
</asp:FormView>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getByPaziente" TypeName="ScheMe_Data.DS_ApplicazioneTableAdapters.VisValFunzTableAdapter" DeleteMethod="DeleteQuery" InsertMethod="InsertQuery" UpdateMethod="UpdateQuery" OnDeleted="ods_Deleted">
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getByPaziente" TypeName="ScheMe_Data.DS_ApplicazioneTableAdapters.VisValSP_12TableAdapter" DeleteMethod="DeleteQuery" InsertMethod="InsertQuery" UpdateMethod="UpdateQuery" OnDeleted="ods_Deleted">
<DeleteParameters>
<asp:SessionParameter Name="Original_IdxPaziente" SessionField="IdxPaziente" Type="Int32" DefaultValue="0" />
<asp:QueryStringParameter DefaultValue="0" Name="Original_DataVisita" QueryStringField="DataVisita" Type="DateTime" />
@@ -326,12 +317,12 @@
<InsertParameters>
<asp:SessionParameter Name="IdxPaziente" SessionField="IdxPaziente" Type="Int32" DefaultValue="0" />
<asp:QueryStringParameter DefaultValue="0" Name="DataVisita" QueryStringField="DataVisita" Type="DateTime" />
<asp:Parameter Name="FAI" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="FP" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="FT" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="FS" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="E" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="GA" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="CD" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="SP" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="GL" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="LM" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="SA" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="RP" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="Altezza" Type="Double" />
<asp:Parameter Name="Peso" Type="Double" />
</InsertParameters>
@@ -340,17 +331,41 @@
<asp:QueryStringParameter DefaultValue="" Name="DataVisita" QueryStringField="DataVisita" Type="DateTime" />
</SelectParameters>
<UpdateParameters>
<asp:Parameter Name="FAI" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="FP" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="FT" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="FS" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="E" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="GA" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="CD" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="SP" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="GL" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="LM" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="SA" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="RP" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="Altezza" Type="Double" />
<asp:Parameter Name="Peso" Type="Double" />
<asp:SessionParameter Name="Original_IdxPaziente" SessionField="IdxPaziente" Type="Int32" DefaultValue="0" />
<asp:QueryStringParameter DefaultValue="0" Name="Original_DataVisita" QueryStringField="DataVisita" Type="DateTime" />
</UpdateParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsSP" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="ScheMe_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="VVSP_12" Name="TableName" Type="string" />
<asp:Parameter DefaultValue="SP" Name="FieldName" Type="string" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsGL" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="ScheMe_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="VVSP_12" Name="TableName" Type="string" />
<asp:Parameter DefaultValue="GL" Name="FieldName" Type="string" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsSA" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="ScheMe_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="VVSP_12" Name="TableName" Type="string" />
<asp:Parameter DefaultValue="SA" Name="FieldName" Type="string" />
</SelectParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsRP" runat="server" OldValuesParameterFormatString="original_{0}" SelectMethod="getByTableField" TypeName="ScheMe_Data.DS_UtilityTableAdapters.v_selListValTableAdapter">
<SelectParameters>
<asp:Parameter DefaultValue="VVSP_12" Name="TableName" Type="string" />
<asp:Parameter DefaultValue="RP" Name="FieldName" Type="string" />
</SelectParameters>
</asp:ObjectDataSource>
</div>
</asp:Content>
+96
View File
@@ -0,0 +1,96 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ScheMe_Data;
using SteamWare;
namespace ScheMe
{
public partial class VVSP_12 : SteamWare.UserPage
{
protected int idxPaziente
{
get
{
return memLayer.ML.IntSessionObj("IdxPaziente");
}
}
/// <summary>
/// pagina caricata
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
// verifico se sia con parametro paziente o NEW...
string cmd = Request.QueryString["cmd"];
if (cmd == "" || cmd == null || cmd == "sel")
{
frmView.ChangeMode(FormViewMode.ReadOnly);
}
else if (cmd == "new")
{
if (isWriteEnabled)
{
frmView.ChangeMode(FormViewMode.Insert);
}
else
{
frmView.ChangeMode(FormViewMode.ReadOnly);
}
}
}
}
/// <summary>
/// modo formview cambiato
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void frmView_ModeChanged(object sender, EventArgs e)
{
}
/// <summary>
/// evento delete
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void ods_Deleted(object sender, ObjectDataSourceStatusEventArgs e)
{
Response.Redirect("Visite");
}
/// <summary>
/// variabile per modo pre comando di update mode...
/// </summary>
public FormViewMode prevMode { get; set; }
/// <summary>
/// evento pre-cambio modo
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void frmView_ModeChanging(object sender, FormViewModeEventArgs e)
{
prevMode = frmView.CurrentMode;
}
protected void frmView_ItemCreated(object sender, EventArgs e)
{
// imposto altezza/peso...
try
{
// recupero dati paziente...
DS_Applicazione.AnagPazientiRow riga = DtProxy.man.taAP.getByKey(idxPaziente)[0];
// Popolo!
TextBox txtAltezza = ((TextBox)frmView.FindControl("txtAltezza"));
if (txtAltezza != null) txtAltezza.Text = riga.Altezza.ToString();
TextBox txtPeso = ((TextBox)frmView.FindControl("txtPeso"));
if (txtPeso != null) txtPeso.Text = riga.Peso.ToString();
}
catch
{ }
}
}
}
+69
View File
@@ -0,0 +1,69 @@
//------------------------------------------------------------------------------
// <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 ScheMe {
public partial class VVSP_12 {
/// <summary>
/// Controllo frmView.
/// </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.FormView frmView;
/// <summary>
/// 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.ObjectDataSource ods;
/// <summary>
/// Controllo odsSP.
/// </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 odsSP;
/// <summary>
/// Controllo odsGL.
/// </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 odsGL;
/// <summary>
/// Controllo odsSA.
/// </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 odsSA;
/// <summary>
/// Controllo odsRP.
/// </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 odsRP;
}
}
+356
View File
@@ -0,0 +1,356 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="VVSP_345.aspx.cs" Inherits="ScheMe.VVSP_345" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div style="font-size: 0.8em;">
<asp:FormView ID="frmView" runat="server" DataSourceID="ods" RenderOuterTable="False" OnModeChanged="frmView_ModeChanged" OnModeChanging="frmView_ModeChanging" OnItemCreated="frmView_ItemCreated">
<EmptyDataTemplate>
<h3>Attenzione!</h3>
Nessun record presente.<a href="Visite">Prego cliccare qui</a> per tornare alla pagina visite.
</EmptyDataTemplate>
<ItemTemplate>
<div class="ui-grid-c">
<div class="ui-block-a" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Visita - Antropometria</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Data</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblDataVisita"><%: Request.QueryString["DataVisita"] %></asp:Label>
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Altezza cm</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="txtAltezza" Text='<%# Eval("Altezza","{0}") %>' />
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Peso kg</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="txtPeso" Text='<%# Eval("Peso","{0:N2}") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider" data-theme="c">Elaborazioni:</li>
<li class="ui-field-contain" data-theme="c">
<label style="font-size: 0.9em;">Score</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblScore" Text='<%# Eval("Score","{0}/24") %>' />
</li>
<li class="ui-field-contain" data-theme="c">
<label style="font-size: 0.9em;">Percentile</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblScorePerc" Text='<%# Eval("ScorePerc","{0:P2}") %>' />
</li>
<li class="ui-field-contain" data-theme="c">
<label style="font-size: 0.9em;">Classe</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblClasse" Text='<%# Eval("Classe") %>' />
</li>
<li class='<%# Eval("Classe", "ui-field-contain VVF-CL-0{0}") %>' data-theme="d">
<label style="font-size: 0.9em;">Performance</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblPerformance" Text='<%# Eval("Performance") %>' />
</li>
</ul>
</div>
<div class="ui-block-b" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">FT - Flessibilità Tronco</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Test Sit & Reach cm</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblFT" Text='<%# Eval("FT") %>' />
</li>
<li class="ui-field-contain" data-theme="c">
<label style="font-size: 0.9em;">Score</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblFT_p" Text='<%# Eval("FT_s") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">FS - Flessibilità Spalle</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Test Scretch cm</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblFS" Text='<%# Eval("FS") %>' />
</li>
<li class="ui-field-contain" data-theme="c">
<label style="font-size: 0.9em;">Score</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblFS_s" Text='<%# Eval("FS_s") %>' />
</li>
</ul>
</div>
<div class="ui-block-c" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">GA - Grasso Addominale</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Diam Addominale Periomb. cm</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblGA" Text='<%# Eval("GA") %>' />
</li>
<li class="ui-field-contain" data-theme="c">
<label style="font-size: 0.9em;">Score</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblGA_s" Text='<%# Eval("GA_s") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">E - Equilibrio</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Test Romberg 15"</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblE" Text='<%# Eval("E") %>' />
</li>
<li class="ui-field-contain" data-theme="c">
<label style="font-size: 0.9em;">Score</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblE_s" Text='<%# Eval("E_s") %>' />
</li>
</ul>
</div>
<div class="ui-block-d" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">FAI - Forza Arti Inferiori</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Num ripetute 15"</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblFAI" Text='<%# Eval("FAI") %>' />
</li>
<li class="ui-field-contain" data-theme="c">
<label style="font-size: 0.9em;">Score</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblFAI_s" Text='<%# Eval("FAI_s") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">FP - Forza Prensile</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Kg espressi</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblFP" Text='<%# Eval("FP") %>' />
</li>
<li class="ui-field-contain" data-theme="c">
<label style="font-size: 0.9em;">Score</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblFP_s" Text='<%# Eval("FP_s") %>' />
</li>
</ul>
</div>
</div>
<div class="ui-grid-solo" runat="server" visible='<%# isWriteEnabled %>'>
<div class="ui-block-a">
<ul data-role="listview" data-inset="true">
<li class="ui-body ui-body-b">
<fieldset class="ui-grid-a">
<div class="ui-block-a">
<asp:Button runat="server" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-check" ID="btnEdit" CausesValidation="False" CommandName="Edit" Text="Modifica" data-theme="a" />
</div>
<div class="ui-block-b">
<asp:Button runat="server" CssClass="ui-btn ui-icon-delete ui-shadow ui-corner-all" ID="btnDelete" CausesValidation="False" CommandName="Delete" Text="Elimina" data-theme="b" OnClientClick="return confirm('Sei sicuro di voler eliminare il record?')" />
</div>
</fieldset>
</li>
</ul>
</div>
</div>
</ItemTemplate>
<InsertItemTemplate>
<div class="ui-grid-c">
<div class="ui-block-a" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Visita - Antropometria</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Data</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblDataVisita"><%: Request.QueryString["DataVisita"] %></asp:Label>
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Altezza cm</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtAltezza" Text='<%# Bind("Altezza","{0}") %>' TextMode="Number" />
<asp:RequiredFieldValidator runat="server" ID="rfvAltezza" ControlToValidate="txtAltezza" ErrorMessage="!!!" CssClass="errore" />
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Peso kg</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtPeso" Text='<%# Bind("Peso","{0}") %>' TextMode="Number" />
<asp:RequiredFieldValidator runat="server" ID="rfvPeso" ControlToValidate="txtPeso" ErrorMessage="!!!" CssClass="errore" />
</li>
</ul>
</div>
<div class="ui-block-b" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">FT - Flessibilità Tronco</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Test Sit & Reach cm (dita-piedi)</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtFT" Text='<%# Bind("FT") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">FS - Flessibilità Spalle</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Test Scretch cm (retropulsione)</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtFS" Text='<%# Bind("FS") %>' />
</li>
</ul>
</div>
<div class="ui-block-c" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">GA - Grasso Addominale</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Diam Addominale Periomb. cm</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtGA" Text='<%# Bind("GA") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">E - Equilibrio</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Test Romberg 15"</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtE" Text='<%# Bind("E") %>' />
</li>
</ul>
</div>
<div class="ui-block-d" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">FAI - Forza Arti Inferiori</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Num ripetute 15"</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtFAI" Text='<%# Bind("FAI") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">FP - Forza Prensile</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Kg espressi</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtFP" Text='<%# Bind("FP") %>' />
</li>
</ul>
</div>
</div>
<div class="ui-grid-solo">
<div class="ui-block-a">
<ul data-role="listview" data-inset="true">
<li class="ui-body ui-body-b">
<fieldset class="ui-grid-a">
<div class="ui-block-a">
<asp:Button runat="server" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-check" ID="btnInsert" CausesValidation="False" CommandName="Insert" Text="Salva" data-theme="a" />
</div>
<div class="ui-block-b">
<asp:Button runat="server" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-delete" ID="btnCancel" CausesValidation="False" CommandName="Cancel" Text="Cancel" data-theme="b" />
</div>
</fieldset>
</li>
</ul>
</div>
</div>
</InsertItemTemplate>
<EditItemTemplate>
<div class="ui-grid-c">
<div class="ui-block-a" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">Visita - Antropometria</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Data</label>
<asp:Label CssClass="tStrong flRight" runat="server" ID="lblDataVisita"><%: Request.QueryString["DataVisita"] %></asp:Label>
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Altezza cm</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtAltezza" Text='<%# Bind("Altezza","{0}") %>' TextMode="Number" />
<asp:RequiredFieldValidator runat="server" ID="rfvAltezza" ControlToValidate="txtAltezza" ErrorMessage="!!!" CssClass="errore" />
</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Peso kg</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtPeso" Text='<%# Bind("Peso","{0}") %>' TextMode="Number" />
<asp:RequiredFieldValidator runat="server" ID="rfvPeso" ControlToValidate="txtPeso" ErrorMessage="!!!" CssClass="errore" />
</li>
</ul>
</div>
<div class="ui-block-b" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">FT - Flessibilità Tronco</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Test Sit & Reach cm (dita-piedi)</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtFT" Text='<%# Bind("FT") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">FS - Flessibilità Spalle</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Test Scretch cm (retropulsione)</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtFS" Text='<%# Bind("FS") %>' />
</li>
</ul>
</div>
<div class="ui-block-c" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">GA - Grasso Addominale</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Diam Addominale Periomb. cm</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtGA" Text='<%# Bind("GA") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">E - Equilibrio</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Test Romberg 15"</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtE" Text='<%# Bind("E") %>' />
</li>
</ul>
</div>
<div class="ui-block-d" style="padding: 4px;">
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">FAI - Forza Arti Inferiori</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Num ripetute 15"</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtFAI" Text='<%# Bind("FAI") %>' />
</li>
</ul>
<ul data-role="listview" data-inset="true">
<li data-role="list-divider">FP - Forza Prensile</li>
<li class="ui-field-contain">
<label style="font-size: 0.9em;">Kg espressi</label>
<asp:TextBox CssClass="tStrong flRight" runat="server" ID="txtFP" Text='<%# Bind("FP") %>' />
</li>
</ul>
</div>
</div>
<div class="ui-grid-solo">
<div class="ui-block-a">
<ul data-role="listview" data-inset="true">
<li class="ui-body ui-body-b">
<fieldset class="ui-grid-a">
<div class="ui-block-a">
<asp:Button runat="server" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-check" ID="btnUpdate" CausesValidation="False" CommandName="Update" Text="Salva" data-theme="a" />
</div>
<div class="ui-block-b">
<asp:Button runat="server" CssClass="ui-btn ui-shadow ui-corner-all ui-icon-delete" ID="btnCancel" CausesValidation="False" CommandName="Cancel" Text="Cancel" data-theme="b" />
</div>
</fieldset>
</li>
</ul>
</div>
</div>
</EditItemTemplate>
</asp:FormView>
<asp:ObjectDataSource ID="ods" runat="server" OldValuesParameterFormatString="Original_{0}" SelectMethod="getByPaziente" TypeName="ScheMe_Data.DS_ApplicazioneTableAdapters.VisValFunzTableAdapter" DeleteMethod="DeleteQuery" InsertMethod="InsertQuery" UpdateMethod="UpdateQuery" OnDeleted="ods_Deleted">
<DeleteParameters>
<asp:SessionParameter Name="Original_IdxPaziente" SessionField="IdxPaziente" Type="Int32" DefaultValue="0" />
<asp:QueryStringParameter DefaultValue="0" Name="Original_DataVisita" QueryStringField="DataVisita" Type="DateTime" />
</DeleteParameters>
<InsertParameters>
<asp:SessionParameter Name="IdxPaziente" SessionField="IdxPaziente" Type="Int32" DefaultValue="0" />
<asp:QueryStringParameter DefaultValue="0" Name="DataVisita" QueryStringField="DataVisita" Type="DateTime" />
<asp:Parameter Name="FAI" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="FP" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="FT" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="FS" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="E" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="GA" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="Altezza" Type="Double" />
<asp:Parameter Name="Peso" Type="Double" />
</InsertParameters>
<SelectParameters>
<asp:SessionParameter Name="IdxPaziente" SessionField="IdxPaziente" Type="Int32" DefaultValue="0" />
<asp:QueryStringParameter DefaultValue="" Name="DataVisita" QueryStringField="DataVisita" Type="DateTime" />
</SelectParameters>
<UpdateParameters>
<asp:Parameter Name="FAI" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="FP" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="FT" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="FS" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="E" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="GA" Type="Int32" DefaultValue="0" />
<asp:Parameter Name="Altezza" Type="Double" />
<asp:Parameter Name="Peso" Type="Double" />
<asp:SessionParameter Name="Original_IdxPaziente" SessionField="IdxPaziente" Type="Int32" DefaultValue="0" />
<asp:QueryStringParameter DefaultValue="0" Name="Original_DataVisita" QueryStringField="DataVisita" Type="DateTime" />
</UpdateParameters>
</asp:ObjectDataSource>
</div>
</asp:Content>
+96
View File
@@ -0,0 +1,96 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ScheMe_Data;
using SteamWare;
namespace ScheMe
{
public partial class VVSP_345 : SteamWare.UserPage
{
protected int idxPaziente
{
get
{
return memLayer.ML.IntSessionObj("IdxPaziente");
}
}
/// <summary>
/// pagina caricata
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
// verifico se sia con parametro paziente o NEW...
string cmd = Request.QueryString["cmd"];
if (cmd == "" || cmd == null || cmd == "sel")
{
frmView.ChangeMode(FormViewMode.ReadOnly);
}
else if (cmd == "new")
{
if (isWriteEnabled)
{
frmView.ChangeMode(FormViewMode.Insert);
}
else
{
frmView.ChangeMode(FormViewMode.ReadOnly);
}
}
}
}
/// <summary>
/// modo formview cambiato
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void frmView_ModeChanged(object sender, EventArgs e)
{
}
/// <summary>
/// evento delete
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void ods_Deleted(object sender, ObjectDataSourceStatusEventArgs e)
{
Response.Redirect("Visite");
}
/// <summary>
/// variabile per modo pre comando di update mode...
/// </summary>
public FormViewMode prevMode { get; set; }
/// <summary>
/// evento pre-cambio modo
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void frmView_ModeChanging(object sender, FormViewModeEventArgs e)
{
prevMode = frmView.CurrentMode;
}
protected void frmView_ItemCreated(object sender, EventArgs e)
{
// imposto altezza/peso...
try
{
// recupero dati paziente...
DS_Applicazione.AnagPazientiRow riga = DtProxy.man.taAP.getByKey(idxPaziente)[0];
// Popolo!
TextBox txtAltezza = ((TextBox)frmView.FindControl("txtAltezza"));
if (txtAltezza != null) txtAltezza.Text = riga.Altezza.ToString();
TextBox txtPeso = ((TextBox)frmView.FindControl("txtPeso"));
if (txtPeso != null) txtPeso.Text = riga.Peso.ToString();
}
catch
{ }
}
}
}
@@ -10,7 +10,7 @@
namespace ScheMe {
public partial class VVFAnz {
public partial class VVSP_345 {
/// <summary>
/// Controllo frmView.
Binary file not shown.
+10 -10
View File
@@ -49,18 +49,18 @@
<!--gestione reports!-->
<add key="ReportBasePath" value=".\bin\Reports" />
<!--stringhe connessione-->
<add key="DbConfConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="ScheMeConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="ScheMeFilesConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA_files;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="DevicesAuthConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="VocabolarioConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="DbConfConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="DbConfConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-SP;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="ScheMeConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-SP;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="ScheMeFilesConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-SP_files;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="DevicesAuthConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-SP;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="VocabolarioConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-SP;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="DbConfConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-SP;Persist Security Info=True;User ID=sa;Password=keyhammer" />
</appSettings>
<connectionStrings>
<add name="ScheMe_Data.Properties.Settings.ScheMeConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
<add name="ScheMe_Data.Properties.Settings.ScheMe_filesConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA_files;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.ScheMeConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.DS_AuthConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
<add name="ScheMe_Data.Properties.Settings.ScheMeConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-SP;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
<add name="ScheMe_Data.Properties.Settings.ScheMe_filesConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-SP_files;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.ScheMeConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-SP;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.DS_AuthConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-SP;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
</connectionStrings>
<!--
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
Binary file not shown.
+10 -10
View File
@@ -49,18 +49,18 @@
<!--gestione reports!-->
<add key="ReportBasePath" value=".\bin\Reports" />
<!--stringhe connessione-->
<add key="DbConfConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="ScheMeConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="ScheMeFilesConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA_files;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="DevicesAuthConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="VocabolarioConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="DbConfConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="DbConfConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-SP;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="ScheMeConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-SP;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="ScheMeFilesConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-SP_files;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="DevicesAuthConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-SP;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="VocabolarioConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-SP;Persist Security Info=True;User ID=sa;Password=keyhammer" />
<add key="DbConfConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-SP;Persist Security Info=True;User ID=sa;Password=keyhammer" />
</appSettings>
<connectionStrings>
<add name="ScheMe_Data.Properties.Settings.ScheMeConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
<add name="ScheMe_Data.Properties.Settings.ScheMe_filesConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA_files;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.ScheMeConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.DS_AuthConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
<add name="ScheMe_Data.Properties.Settings.ScheMeConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-SP;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
<add name="ScheMe_Data.Properties.Settings.ScheMe_filesConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-SP_files;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.ScheMeConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-SP;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.DS_AuthConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-SP;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
</connectionStrings>
<!--
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
Binary file not shown.