2019-02-22 15:11:31 +01:00
|
|
|
<%@ Page Title="Comment" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="ClearVisitAlarm.aspx.cs" Inherits="Rems2018.ClearVisitAlarm" %>
|
|
|
|
|
|
|
|
|
|
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
|
|
|
|
|
</asp:Content>
|
|
|
|
|
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
|
2019-08-23 08:27:46 +02:00
|
|
|
<telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticUpdates="True" AllowSorting="True" CellSpacing="-1" GridLines="Both" AllowCustomPaging="True" AllowFilteringByColumn="True" AllowPaging="True" AutoGenerateColumns="False" DataSourceID="SqlDSListVistClear">
|
2019-05-07 07:56:14 +02:00
|
|
|
<GroupingSettings CollapseAllTooltip="Collapse all groups" CaseSensitive="false" />
|
2019-02-22 15:11:31 +01:00
|
|
|
<ExportSettings>
|
|
|
|
|
<Pdf PageWidth="">
|
|
|
|
|
</Pdf>
|
|
|
|
|
<Excel FileExtension="xlsx" Format="Xlsx" />
|
|
|
|
|
</ExportSettings>
|
|
|
|
|
<ClientSettings AllowColumnsReorder="True">
|
|
|
|
|
</ClientSettings>
|
|
|
|
|
<MasterTableView DataKeyNames="ID_Visit" CommandItemDisplay="Top" DataSourceID="SqlDSListVistClear" EditMode="EditForms">
|
2019-08-23 08:27:46 +02:00
|
|
|
<CommandItemSettings ShowExportToExcelButton="True" ShowAddNewRecordButton="False" />
|
2019-02-22 15:11:31 +01:00
|
|
|
<Columns>
|
2019-08-23 08:27:46 +02:00
|
|
|
|
|
|
|
|
<telerik:GridButtonColumn CommandName="Edit" Text="Edit" ButtonCssClass="rgEdit" UniqueName="EditColumn" HeaderStyle-Width="30px">
|
|
|
|
|
<HeaderStyle Width="30px"></HeaderStyle>
|
|
|
|
|
</telerik:GridButtonColumn>
|
|
|
|
|
<%-- <telerik:GridButtonColumn CommandName="Delete" Text="Del" UniqueName="DeleteColumn" ButtonCssClass="rgDel" ConfirmText="Are you sure to delete this?" HeaderStyle-Width="30px" />--%>
|
2019-05-07 07:56:14 +02:00
|
|
|
<telerik:GridBoundColumn DataField="ID_Visit" DataType="System.Int32" MaxLength="3" HeaderText="ID" ReadOnly="True" SortExpression="ID_Visit" UniqueName="ID_Visit">
|
2019-02-22 15:11:31 +01:00
|
|
|
</telerik:GridBoundColumn>
|
2019-05-07 07:56:14 +02:00
|
|
|
<telerik:GridCheckBoxColumn DataField="isAlarmCleared" DataType="System.Boolean" HeaderText="Cleared ?" SortExpression="isAlarmCleared" UniqueName="isAlarmCleared" Groupable="False">
|
2019-04-19 14:06:43 +02:00
|
|
|
</telerik:GridCheckBoxColumn>
|
2019-05-07 07:56:14 +02:00
|
|
|
<telerik:GridBoundColumn DataField="EPD_sn" HeaderText="EPD sn" SortExpression="EPD_sn" UniqueName="EPD_sn" MaxLength="10" ReadOnly="true"/>
|
|
|
|
|
<telerik:GridBoundColumn DataField="PersID" DataType="System.Int32" HeaderText="PersID" MaxLength="6" SortExpression="PersID" UniqueName="PersID" ReadOnly="true" />
|
|
|
|
|
<telerik:GridBoundColumn DataField="FirstName" HeaderText="First Name" SortExpression="FirstName" UniqueName="FirstName" ReadOnly="true" />
|
|
|
|
|
<telerik:GridBoundColumn DataField="LastName" HeaderText="Last Name" SortExpression="LastName" UniqueName="LastName" ReadOnly="true" />
|
|
|
|
|
<telerik:GridBoundColumn DataField="alarmStatus" DataType="System.Int32" HeaderText="Alarm S" SortExpression="alarmStatus" UniqueName="alarmStatus" MaxLength="7" ReadOnly="true" />
|
|
|
|
|
<telerik:GridBoundColumn DataField="otherAlarms" DataType="System.Int32" HeaderText="Alarm O" SortExpression="otherAlarms" UniqueName="otherAlarms" MaxLength="7" ReadOnly="true" />
|
|
|
|
|
<telerik:GridBoundColumn DataField="errorStatus" DataType="System.Int32" HeaderText="Error S" SortExpression="errorStatus" UniqueName="errorStatus" MaxLength="7" ReadOnly="true" />
|
|
|
|
|
<telerik:GridBoundColumn DataField="operatingStatus" DataType="System.Int32" HeaderText="Operate" SortExpression="operatingStatus" UniqueName="operatingStatus" MaxLength="7" ReadOnly="true" />
|
|
|
|
|
<telerik:GridBoundColumn DataField="InstallationName" HeaderText="Install." SortExpression="InstallationName" UniqueName="InstallationName" MaxLength="8" ReadOnly="true" />
|
|
|
|
|
<telerik:GridBoundColumn DataField="Inst_CODE" DataType="System.Int32" HeaderText="I-" SortExpression="Inst_CODE" UniqueName="Inst_CODE" MaxLength="2" ReadOnly="true" />
|
|
|
|
|
<telerik:GridBoundColumn DataField="TaskType_CODE" DataType="System.Int32" HeaderText="Task" SortExpression="TaskType_CODE" UniqueName="TaskType_CODE" MaxLength="5" ReadOnly="true" />
|
|
|
|
|
<telerik:GridBoundColumn DataField="EntryTime" DataType="System.DateTime" HeaderText="Entry Time" SortExpression="EntryTime" UniqueName="EntryTime" DataFormatString="{0:yyyy-MM-dd}" ReadOnly="true" />
|
|
|
|
|
<telerik:GridBoundColumn DataField="ReturnTime" DataType="System.DateTime" HeaderText="Return Time" SortExpression="ReturnTime" UniqueName="ReturnTime" DataFormatString="{0:yyyy-MM-dd}" ReadOnly="true" />
|
|
|
|
|
<telerik:GridCheckBoxColumn DataField="isComplete" DataType="System.Boolean" HeaderText="Complete ?" SortExpression="isComplete" UniqueName="isComplete" ReadOnly="true" />
|
|
|
|
|
<telerik:GridBoundColumn DataField="Hp10Dose" DataType="System.Double" HeaderText="Hp10 Dose" SortExpression="Hp10Dose" UniqueName="Hp10Dose" MaxLength="8" ReadOnly="true" DataFormatString="{0:0.00}" />
|
|
|
|
|
<telerik:GridBoundColumn DataField="Hp07Dose" DataType="System.Double" HeaderText="Hp07 Dose" SortExpression="Hp07Dose" UniqueName="Hp07Dose" MaxLength="8" ReadOnly="true" DataFormatString="{0:0.00}" />
|
|
|
|
|
<telerik:GridBoundColumn DataField="Hp10Peak" DataType="System.Double" HeaderText="Hp10 Peak" SortExpression="Hp10Peak" UniqueName="Hp10Peak" MaxLength="8" ReadOnly="true" DataFormatString="{0:0.00}" />
|
|
|
|
|
<telerik:GridBoundColumn DataField="Hp07Peak" DataType="System.Double" HeaderText="Hp07 Peak" SortExpression="Hp07Peak" UniqueName="Hp07Peak" MaxLength="6" ReadOnly="true" DataFormatString="{0:0.00}" />
|
|
|
|
|
<telerik:GridBoundColumn DataField="Hp10Time" DataType="System.DateTime" HeaderText="Hp10 Time" SortExpression="Hp10Time" UniqueName="Hp10Time" MaxLength="6" ReadOnly="true" DataFormatString="{0:0.00}" />
|
|
|
|
|
<telerik:GridBoundColumn DataField="Hp07Time" DataType="System.DateTime" HeaderText="Hp07 Time" SortExpression="Hp07Time" UniqueName="Hp07Time" MaxLength="6" ReadOnly="true" DataFormatString="{0:0.00}" />
|
|
|
|
|
<telerik:GridBoundColumn DataField="EPDRad" HeaderText="EPDRad" SortExpression="EPDRad" UniqueName="EPDRad" MaxLength="6" ReadOnly="true" />
|
|
|
|
|
<telerik:GridBoundColumn DataField="D1" DataType="System.Double" HeaderText="D1" MaxLength="4" SortExpression="D1" UniqueName="D1" ReadOnly="true" DataFormatString="{0:0.00}" />
|
|
|
|
|
<telerik:GridBoundColumn DataField="D2" DataType="System.Double" HeaderText="D2" MaxLength="4" SortExpression="D2" UniqueName="D2" ReadOnly="true" DataFormatString="{0:0.00}" />
|
|
|
|
|
<telerik:GridBoundColumn DataField="D3" DataType="System.Double" HeaderText="D3" MaxLength="4" SortExpression="D3" UniqueName="D3" ReadOnly="true" DataFormatString="{0:0.00}" />
|
|
|
|
|
<telerik:GridBoundColumn DataField="D4" DataType="System.Double" HeaderText="D4" MaxLength="4" SortExpression="D4" UniqueName="D4" ReadOnly="true" DataFormatString="{0:0.00}" />
|
2019-02-22 15:11:31 +01:00
|
|
|
</Columns>
|
|
|
|
|
<EditFormSettings EditFormType="Template">
|
|
|
|
|
<FormTemplate>
|
|
|
|
|
<table>
|
2019-05-07 07:56:14 +02:00
|
|
|
<tr>
|
|
|
|
|
<td>
|
2019-08-28 13:38:49 +02:00
|
|
|
<asp:Label ID="Label111"></asp:Label>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<asp:Label ID="Label13" runat="server" AssociatedControlID="isAlarmClearedCheckBox" Text="I have seen the alarm and I decid to clear it:"></asp:Label>
|
2019-05-07 07:56:14 +02:00
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<telerik:RadCheckBox ID="isAlarmClearedCheckBox" runat="server" Checked='<%# Bind("isAlarmCleared") %>' Enabled="true" />
|
|
|
|
|
</td>
|
2019-08-28 13:38:49 +02:00
|
|
|
<td>
|
|
|
|
|
<asp:Label ID="Label122"></asp:Label>
|
|
|
|
|
</td>
|
2019-05-07 07:56:14 +02:00
|
|
|
</tr>
|
2019-02-22 15:11:31 +01:00
|
|
|
</table>
|
2019-05-07 07:56:14 +02:00
|
|
|
<div class="rdfCommandButtons">
|
|
|
|
|
<hr class="rdfHr" />
|
|
|
|
|
<telerik:RadButton RenderMode="Lightweight" ID="UpdateButton" runat="server" ButtonType="SkinnedButton" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>' Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>' ToolTip="Update" />
|
|
|
|
|
<telerik:RadButton RenderMode="Lightweight" ID="CancelButton" runat="server" ButtonType="SkinnedButton" CausesValidation="False" CommandName="Cancel" Text="Cancel" ToolTip="Cancel" />
|
|
|
|
|
</div>
|
2019-02-22 15:11:31 +01:00
|
|
|
</FormTemplate>
|
|
|
|
|
</EditFormSettings>
|
|
|
|
|
</MasterTableView>
|
|
|
|
|
</telerik:RadGrid>
|
|
|
|
|
|
2019-05-07 07:56:14 +02:00
|
|
|
<asp:SqlDataSource ID="SqlDSListVistClear" runat="server" ConnectionString="<%$ ConnectionStrings:HPH_REMS_newConnectionString %>"
|
|
|
|
|
SelectCommand="VisitsToClearSelect" SelectCommandType="StoredProcedure"
|
|
|
|
|
UpdateCommand="VisitsToClearUpdate" UpdateCommandType="StoredProcedure"
|
2019-05-07 08:35:02 +02:00
|
|
|
>
|
|
|
|
|
<UpdateParameters>
|
|
|
|
|
<asp:Parameter Name="ID_Visit" Type="Int32" />
|
|
|
|
|
<asp:Parameter Name="isAlarmCleared" Type="Boolean" />
|
|
|
|
|
</UpdateParameters>
|
|
|
|
|
</asp:SqlDataSource>
|
2019-02-22 15:11:31 +01:00
|
|
|
|
|
|
|
|
</asp:Content>
|