update commenti 345, test cronometro (ok in pagina test, non in vera...)
This commit is contained in:
Binary file not shown.
@@ -162,7 +162,7 @@
|
||||
</site>
|
||||
<site name="ScheMe" id="2">
|
||||
<application path="/" applicationPool="Clr4IntegratedAppPool">
|
||||
<virtualDirectory path="/" physicalPath="C:\Users\samuele\Documents\VisualStudioProjects\ScheMe\ScheMe\ScheMe-SP" />
|
||||
<virtualDirectory path="/" physicalPath="C:\Users\samuele.steamw\Documents\Visual Studio 2017\Projects\ScheMe\ScheMe\ScheMe-SP" />
|
||||
</application>
|
||||
<bindings>
|
||||
<binding protocol="http" bindingInformation="*:64430:localhost" />
|
||||
|
||||
@@ -408,12 +408,14 @@
|
||||
<Content Include="SqlServerTypes\x86\SqlServerSpatial140.dll">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Test.aspx" />
|
||||
<Content Include="UserAdmin.aspx" />
|
||||
<Content Include="VBMA.aspx" />
|
||||
<Content Include="VL.aspx" />
|
||||
<Content Include="VRF.aspx" />
|
||||
<Content Include="VVSP_12.aspx" />
|
||||
<Content Include="VVSP_345.aspx" />
|
||||
<Content Include="WebUserControls\mod_cronometro.ascx" />
|
||||
<Content Include="WebUserControls\mod_elencoRichResetUtenti.ascx" />
|
||||
<Content Include="WebUserControls\mod_ElencoVisitePaziente.ascx" />
|
||||
<Content Include="WebUserControls\mod_enrollByAuthKey.ascx" />
|
||||
@@ -524,6 +526,13 @@
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="SqlServerTypes\Loader.cs" />
|
||||
<Compile Include="Test.aspx.cs">
|
||||
<DependentUpon>Test.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Test.aspx.designer.cs">
|
||||
<DependentUpon>Test.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="UserAdmin.aspx.cs">
|
||||
<DependentUpon>UserAdmin.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -573,6 +582,13 @@
|
||||
<Compile Include="VVSP_345.aspx.designer.cs">
|
||||
<DependentUpon>VVSP_345.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_cronometro.ascx.cs">
|
||||
<DependentUpon>mod_cronometro.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_cronometro.ascx.designer.cs">
|
||||
<DependentUpon>mod_cronometro.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="WebUserControls\mod_elencoRichResetUtenti.ascx.cs">
|
||||
<DependentUpon>mod_elencoRichResetUtenti.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
||||
+20
-7
@@ -1,7 +1,20 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="Test.aspx.cs" Inherits="ScheMe.Test" %>
|
||||
<%@ Register src="WebUserControls/mod_fileUpload.ascx" tagname="mod_fileUpload" tagprefix="uc1" %>
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
<uc1:mod_fileUpload ID="mod_fileUpload1" runat="server" />
|
||||
</asp:Content>
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Test.aspx.cs" Inherits="ScheMe.Test" %>
|
||||
|
||||
<%@ Register Src="~/WebUserControls/mod_cronometro.ascx" TagPrefix="uc1" TagName="mod_cronometro" %>
|
||||
|
||||
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<div>
|
||||
<uc1:mod_cronometro runat="server" ID="mod_cronometro" />
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -7,11 +7,11 @@ using System.Web.UI.WebControls;
|
||||
|
||||
namespace ScheMe
|
||||
{
|
||||
public partial class Test : System.Web.UI.Page
|
||||
public partial class Test : System.Web.UI.Page
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+18
-9
@@ -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,12 +13,21 @@ namespace ScheMe {
|
||||
public partial class Test {
|
||||
|
||||
/// <summary>
|
||||
/// mod_fileUpload1 control.
|
||||
/// Controllo form1.
|
||||
/// </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::ScheMe.WebUserControls.mod_fileUpload mod_fileUpload1;
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// Controllo mod_cronometro.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Campo generato automaticamente.
|
||||
/// Per la modifica, spostare la dichiarazione di campo dal file di progettazione al file code-behind.
|
||||
/// </remarks>
|
||||
protected global::ScheMe.WebUserControls.mod_cronometro mod_cronometro;
|
||||
}
|
||||
}
|
||||
|
||||
+13
-6
@@ -1,5 +1,8 @@
|
||||
<%@ Page Title="" Language="C#" MasterPageFile="~/JQMob.Master" AutoEventWireup="true" CodeBehind="VVSP_345.aspx.cs" Inherits="ScheMe.VVSP_345" %>
|
||||
|
||||
<%@ Register Src="~/WebUserControls/mod_cronometro.ascx" TagPrefix="uc1" TagName="mod_cronometro" %>
|
||||
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
||||
@@ -85,7 +88,8 @@
|
||||
<li>Cronometro</li>
|
||||
</ul>
|
||||
<b>PROTOCOLLO</b><br />
|
||||
Il soggetto ...
|
||||
ll Soggetto si posiziona Sull'asse con un piede, aiutandosi con l'appoggio al muro lateralmente. Al via del rilevatore distacca immediatamente la mano dal muro cercando di mantenere l'equilibrio il più a lungo possibile.<br />
|
||||
ll tempo viene rilevato dal via al momento in cui il soggetto tocca terra od il muro con una qualsiasi parte del corpo.
|
||||
</div>
|
||||
</div>
|
||||
<li class="ui-field-contain">
|
||||
@@ -110,7 +114,7 @@
|
||||
<li>Cronometro</li>
|
||||
</ul>
|
||||
<b>PROTOCOLLO</b><br />
|
||||
Il soggetto ...
|
||||
Il soggetto tiene in equilibrio, il più a lungo possibile, su un dito della mano preferita (la più abile) la bacchetta.
|
||||
</div>
|
||||
</div>
|
||||
<li class="ui-field-contain">
|
||||
@@ -134,7 +138,7 @@
|
||||
<li>Un bersaglio circolare con diametro di cm 60 posto ad una altezza di cm 120 da terra</li>
|
||||
</ul>
|
||||
<b>PROTOCOLLO</b><br />
|
||||
Il soggetto, posto ad una distanza variabile di mt 9 (per i più piccoli maschi e femmine) e di mt 10,50 (per i soli maschi più grandi) cerca di colpire il bersaglio. Il test si compone di due Serie di lanci.
|
||||
Il soggetto, posto ad una distanza variabile di mt 9 (per i più piccoli maschi e femmine) e di mt 10,50 (per i soli maschi più grandi) cerca di colpire il bersaglio. Il test si compone di due serie di lanci.
|
||||
</div>
|
||||
</div>
|
||||
<li class="ui-field-contain">
|
||||
@@ -160,7 +164,8 @@
|
||||
<li>Ostacolino</li>
|
||||
</ul>
|
||||
<b>PROTOCOLLO</b><br />
|
||||
Il soggetto ...
|
||||
Il soggetto seduto sulla sedia, le mani ai lati, pone il piede esterno al di là dell'ostacolino. Deve toccare il più velocemente possibile con il piede alternativamente i due lati dell'ostacolino. Le prove sono due, il tempo della prova ha una durata di 10”.<br />
|
||||
Si deve calcolare il numero degli appoggi. In caso di appoggi dispari oltre a moltiplicare per due si deve aggiungere 1.
|
||||
</div>
|
||||
</div>
|
||||
<li class="ui-field-contain">
|
||||
@@ -174,7 +179,7 @@
|
||||
</ul>
|
||||
<ul data-role="listview" data-inset="true">
|
||||
<div data-role="collapsible" data-iconpos="right" data-mini="true" data-theme="c" data-content-theme="c" data-collapsed="true" data-collapsed-icon="carat-d" data-expanded-icon="carat-u">
|
||||
<h5>RP - Ricevere con le mani una Palla lanciata</h5>
|
||||
<h5>FT - Sit and Reach | Flessibilità del Tronco</h5>
|
||||
<div style="font-size: 0.8em;">
|
||||
<%--<h3>Capacità motorie dominanti<br />DIFFERENZIAZIONE – CONTROLLO - ORIENTAMENTO SPAZIO - TEMPORALE</h3>--%>
|
||||
<b>MATERIALE</b>
|
||||
@@ -182,7 +187,9 @@
|
||||
<li>Piano orizzontale</li>
|
||||
</ul>
|
||||
<b>PROTOCOLLO</b><br />
|
||||
Il soggetto ...
|
||||
Il soggetto si pone seduto con i piedi completamente aderenti al piano orizzontale. Esegue alcuni molleggi di stiramento della muscolatura delle gambe dopodiché porta le braccia in alto.<br />
|
||||
Al via si flette lentamente in avanti portando le mani a contatto con il piano graduato del piano orizzontale il più lontano possibile rimanendovi alcuni secondi (3/4).<br />
|
||||
<u>E' tassativamente proibito flettere leggermente le gambe.</u>
|
||||
</div>
|
||||
</div>
|
||||
<li class="ui-field-contain">
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace ScheMe.WebUserControls
|
||||
case "NewVVSP_12":
|
||||
Response.Redirect(String.Format("VVSP_12?cmd=new&DataVisita={0:yyyy-MM-dd}", dataVisita));
|
||||
break;
|
||||
case "SelVVSP345":
|
||||
case "SelVVSP_345":
|
||||
Response.Redirect(String.Format("VVSP_345?cmd=sel&DataVisita={0:yyyy-MM-dd}", dataVisita));
|
||||
break;
|
||||
case "NewVVSP_345":
|
||||
|
||||
@@ -0,0 +1,122 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="mod_cronometro.ascx.cs" Inherits="ScheMe.WebUserControls.mod_cronometro" %>
|
||||
|
||||
<script type="text/javascript">
|
||||
(function () {
|
||||
/*HTML5 Stop Watch by Braden Best aka B1KMusic*/
|
||||
/*You can use this script anywhere and it will work*/
|
||||
var cvs, ctx, W, H, mem, StopWatch, Button, mouse;
|
||||
mem = {};
|
||||
mouse = { x: -10, y: -10, down: false };
|
||||
cvs = document.createElement('canvas');
|
||||
cvs.width = W = 240;
|
||||
cvs.height = H = 80;
|
||||
(function appendCanvas() {
|
||||
if (document.body) document.body.appendChild(cvs);
|
||||
else setTimeout(appendCanvas, 100);
|
||||
})();
|
||||
ctx = cvs.getContext('2d');
|
||||
function add(o) {
|
||||
o.id = Math.floor(Math.random() * 10000).toString(36);
|
||||
for (var i in mem) {
|
||||
if (mem.hasOwnProperty(i) && i == o.id) {
|
||||
add(o);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
mem[o.id] = o;
|
||||
};
|
||||
function remove(o) {
|
||||
delete mem[o.id];
|
||||
};
|
||||
function StopWatch() {
|
||||
var started = false,
|
||||
time = [[0], [0, 0], [0, 0], [0, 0]];
|
||||
this.run = function () {
|
||||
var output,
|
||||
h = time[0],
|
||||
m = time[1],
|
||||
s = time[2],
|
||||
ms = time[3];
|
||||
if (started) {
|
||||
ms[1]++;
|
||||
if (ms[1] > 9) { ms[1] = 0; ms[0]++; }
|
||||
if (ms[0] > 9) { ms[0] = 0; s[1]++; }
|
||||
if (s[1] > 9) { s[1] = 0; s[0]++; }
|
||||
if (s[0] > 5) { s[0] = 0; m[1]++; }
|
||||
if (m[1] > 9) { m[1] = 0; m[0]++; }
|
||||
if (m[0] > 5) { m[0] = 0; h[0]++; }
|
||||
if (h[0] > 23) { ms = [0, 0]; s = [0, 0]; m = [0, 0]; h[0] = 0; }
|
||||
}
|
||||
ctx.font = 'bold 36px monospace';
|
||||
ctx.textAlign = 'center';
|
||||
ctx.textBaseline = 'middle';
|
||||
ctx.fillStyle = '#000';
|
||||
output = h[0] + ':' + m[0] + m[1] + ':' + s[0] + s[1] + '.' + ms[0] + ms[1];
|
||||
ctx.fillText(output, W / 2, 20);
|
||||
};
|
||||
this.start = function () {
|
||||
started = true;
|
||||
};
|
||||
this.stop = function () {
|
||||
started = false;
|
||||
};
|
||||
this.reset = function () {
|
||||
remove(this);
|
||||
new StopWatch();
|
||||
}
|
||||
add(this);
|
||||
};
|
||||
function Button(x, y, t) {
|
||||
var x = x, y = y, w = 60, h = 30, t = t;
|
||||
this.run = function () {
|
||||
ctx.font = 'bold 16px monospace';
|
||||
ctx.textBaseline = 'middle';
|
||||
ctx.textAlign = 'center';
|
||||
ctx.beginPath();//begin mouse detection
|
||||
ctx.rect(x, y, w, h);
|
||||
if (ctx.isPointInPath(mouse.x, mouse.y)) {
|
||||
ctx.fillStyle = '#eee';
|
||||
if (mouse.down) {
|
||||
for (var i in mem) {
|
||||
if (mem[i].constructor.name == 'StopWatch') {
|
||||
if (t == 'START') mem[i].start();
|
||||
if (t == 'STOP') mem[i].stop();
|
||||
if (t == 'RESET') mem[i].reset();
|
||||
//if (t == 'CLOSE') document.body.removeChild(cvs);
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
ctx.fillStyle = '#fff';
|
||||
}
|
||||
ctx.closePath();//end mouse detection
|
||||
ctx.fillRect(x, y, w, h);
|
||||
ctx.fillStyle = '#000';
|
||||
ctx.fillText(t, x + w / 2, y + h / 2);
|
||||
};
|
||||
add(this);
|
||||
};
|
||||
(function init() {
|
||||
new StopWatch();
|
||||
new Button(0, 50, 'START');
|
||||
new Button(60, 50, 'STOP');
|
||||
new Button(120, 50, 'RESET');
|
||||
//new Button(180, 50, 'CLOSE');
|
||||
})();
|
||||
(function loop() {
|
||||
var a
|
||||
ctx.clearRect(0, 0, W, H);
|
||||
for (a in mem) if (mem.hasOwnProperty(a)) mem[a].run();
|
||||
setTimeout(loop, 1000 / 100);
|
||||
})();
|
||||
cvs.onmousemove = function (e) {
|
||||
mouse.x = (e.pageX || e.clientX || e.offsetX) - cvs.offsetLeft;
|
||||
mouse.y = (e.pageY || e.clientY || e.offsetY) - cvs.offsetTop;
|
||||
return false;
|
||||
};
|
||||
cvs.onmousedown = cvs.onmouseup = function (e) {
|
||||
mouse.down = e.type == 'mousedown';
|
||||
return false;
|
||||
};
|
||||
})();
|
||||
</script>
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace ScheMe.WebUserControls
|
||||
{
|
||||
public partial class mod_cronometro : System.Web.UI.UserControl
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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.WebUserControls {
|
||||
|
||||
|
||||
public partial class mod_cronometro {
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user