﻿<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="09/19/2021 15:27:00" ReportInfo.Modified="12/17/2023 16:13:11" ReportInfo.CreatorVersion="2021.4.3.0">
  <ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Forms;
using System.Drawing;
using System.Data;
using FastReport;
using FastReport.Data;
using FastReport.Dialog;
using FastReport.Barcode;
using FastReport.Table;
using FastReport.Utils;

namespace FastReport
{
  public class ReportScript
  {
    
     
    
    public string getHours( TimeSpan ts)

    {

      DateTime dt = new DateTime();

      dt = dt + ts;

      return dt.Hour + &quot;:&quot;+ dt.Minute; 

    }

  }
}
</ScriptText>
  <Dictionary>
    <MsSqlDataConnection Name="ADODatabase" ConnectionString="rijcmlqJUrEa/KIcQqhhcfnlqC6PHTn0L44W7TQfS6RmUJOGDIuc+knUePlrDTYQkz8WhBi5QIjGUhemz2Uf/ra8PM7xf89349/WYTrFFVlUX5qdxFy1k6yaTJx6NFZ2D4pxm/Cytcv6E298O/jdAWtWB+kEHR4l+881qEGrxTYKpIEvrQXmFMYNbos+0hmlMiMfJS32rPQrrFjnBkKY3Q3qu8RsFrmMfk6/zH/M6eeri5WzzpQQRbkz0ztvnOqkREyxHfd8/m+Dcl/lbEN/2X/RxtewvnjUIK9CY86eKbP7ducU8SK/+nEJvNCOjc2mLCwAxUvBlOBWuA1oeksdJZANxAK1mu0QHAZr4REVTOuuIwKG3rX0CAK7ZfTmILwE2tazrVC0i9WoW16ZKeJqDrnE8uHKueQ/K49vEPOEDVLSgrcz20aWazXPaSUlVZdwm7tqFbSRyt9UToh598NWeFJAmSTr5/1+Q2R+Xpr5hN5D6wz3wflDOsn9wf2WQ1l75xtRSX3gcQnvJ49JjZlbKiaQ6cYR4yM78N7GqBqvQsfrlDtLzgf7MpJ2YNVbhscuJ2r2VjHEqHQtaanARqcRTAYzdgsnlZ4OiHY/xxBSSSIHfcRJQ6T2Hp3s7CcBS4xFInB+7YI5yO2Xr+8yyhpZO5NFop+777+pgBOWU7iLA9jbeacg8SwY1aclciumMgVOontZ1z/FootRpBtqw8KaIH9eJiGBA==" CommandTimeout="1200">
      <TableDataSource Name="McMachMove_Report" DataType="System.Int32" Enabled="true" TableName="McMachMove_Report" SelectCommand="exec mnrPrcMcRepMachMove '{00000000-0000-0000-0000-000000000000}' , '{00000000-0000-0000-0000-000000000000}' , '{00000000-0000-0000-0000-000000000000}' , '{00000000-0000-0000-0000-000000000000}' , '{00000000-0000-0000-0000-000000000000}' , '{00000000-0000-0000-0000-000000000000}' , '1-1-2023 0:0:0' , '12-17-2023 0:0:0' , '' , '' , '' , '' , '' , '0'">
        <Column Name="MoveID" DataType="System.Guid"/>
        <Column Name="MachID" DataType="System.Guid"/>
        <Column Name="MachCode" DataType="System.String"/>
        <Column Name="MachName" DataType="System.String"/>
        <Column Name="MachLatinName" DataType="System.String"/>
        <Column Name="UserID" DataType="System.Guid"/>
        <Column Name="UserName" DataType="System.String"/>
        <Column Name="UserLName" DataType="System.String"/>
        <Column Name="ToProjID" DataType="System.Guid"/>
        <Column Name="ToProjCode" DataType="System.String"/>
        <Column Name="ToProjName" DataType="System.String"/>
        <Column Name="ToProjLatinName" DataType="System.String"/>
        <Column Name="DateOut" DataType="System.DateTime"/>
        <Column Name="DateIn" DataType="System.DateTime"/>
        <Column Name="TimeIn" DataType="System.DateTime"/>
        <Column Name="TimeOut" DataType="System.DateTime"/>
        <Column Name="CounterOut" DataType="System.Double"/>
        <Column Name="CounterIn" DataType="System.Double"/>
        <Column Name="CoveredDist" DataType="System.Double"/>
        <Column Name="Status" DataType="System.Int32"/>
      </TableDataSource>
    </MsSqlDataConnection>
    <Parameter Name="CurUserID" DataType="System.String" Expression="&quot;{377A9BD0-638B-49c9-8943-74559FE06625}&quot;"/>
    <Parameter Name="FromDateTime" DataType="System.String" Expression="&quot;1-1-2023 0:0:0&quot;"/>
    <Parameter Name="ToDateTime" DataType="System.String" Expression="&quot;12-17-2023 0:0:0&quot;"/>
    <Parameter Name="FromDate" DataType="System.String" Expression="&quot;1/1/2023&quot;"/>
    <Parameter Name="ToDate" DataType="System.String" Expression="&quot;12/17/2023&quot;"/>
  </Dictionary>
  <ReportPage Name="Page1" RawPaperSize="9" LeftMargin="3" TopMargin="3" RightMargin="3" BottomMargin="3" Watermark.Font="Arial, 60pt">
    <ReportTitleBand Name="ReportTitle1" Width="771.12" Height="170.1">
      <PictureObject Name="Company_Logo" Left="0.07" Width="770.99" Height="117.17" Fill.Color="White" ImageLocation="C:\Users\HP\Downloads\Logo.bmp" SizeMode="StretchImage"/>
      <TextObject Name="Memo6" Left="1.83" Top="136.42" Width="767.32" Height="28.35" Text="حركة الآليات" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 14pt, style=Bold"/>
    </ReportTitleBand>
    <PageHeaderBand Name="PageHeader1" Top="174.1" Width="771.12" Height="28.35">
      <TextObject Name="Text1" Left="604.8" Top="9.45" Width="94.5" Height="18.9" Text="[FromDate]" Format="Date" Format.Format="d" RightToLeft="true" Font="Arial, 10pt"/>
      <TextObject Name="Text2" Left="406.35" Top="9.45" Width="94.5" Height="18.9" Text="[ToDate]" Format="Date" Format.Format="d" RightToLeft="true" Font="Arial, 10pt"/>
      <TextObject Name="Text3" Left="699.3" Top="9.45" Width="66.15" Height="18.9" Text="اعتباراً من :" RightToLeft="true" Font="Arial, 10pt, style=Bold"/>
      <TextObject Name="Text4" Left="500.85" Top="9.45" Width="66.15" Height="18.9" Text="إلى تاريخ :" RightToLeft="true" Font="Arial, 10pt, style=Bold"/>
    </PageHeaderBand>
    <DataBand Name="Data1" Top="244.47" Width="771.12" Height="24.57" DataSource="McMachMove_Report">
      <TextObject Name="Text120" Left="434.62" Width="94.49" Height="24.57" Border.Lines="All" Fill.Color="White" Text="[IIf([McMachMove_Report.ToProjName]==&quot;&quot;,&quot;&quot;,[McMachMove_Report.ToProjCode])][IIf([McMachMove_Report.ToProjName]==&quot;&quot;,&quot;&quot;,&quot;-&quot;)][IIf([McMachMove_Report.ToProjName]==&quot;&quot;,&quot;&quot;,[McMachMove_Report.ToProjName])]" Padding="2, 1, 2, 1" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Times New Roman, 7pt"/>
      <TextObject Name="Text133" Width="56.69" Height="24.57" Border.Lines="All" Fill.Color="White" Text="[IIf([McMachMove_Report.TimeIn]==ToDateTime(&quot;1/1/0001&quot;) &amp;&amp;[McMachMove_Report.TimeOut]==ToDateTime(&quot;1/1/0001&quot;) ,&quot;&quot;,IIf([McMachMove_Report.TimeIn]==ToDateTime(&quot;1/1/1980&quot;)&amp;&amp;[McMachMove_Report.TimeOut]==ToDateTime(&quot;1/1/1980&quot;),&quot;&quot;,IIf([McMachMove_Report.TimeIn]&lt;=ToDateTime(&quot;1/1/1980&quot;)&amp;&amp;[McMachMove_Report.TimeOut]&lt;=ToDateTime(&quot;1/1/1980&quot;),&quot;&quot;,[McMachMove_Report.TimeIn]-[McMachMove_Report.TimeOut])))]" Padding="2, 1, 2, 1" Format="Time" Format.Format="t" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Times New Roman, 7pt"/>
      <TextObject Name="Text134" Left="736.98" Width="37.79" Height="24.57" Border.Lines="All" Fill.Color="White" Text="[Row#]" Padding="2, 1, 2, 1" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Times New Roman, 7pt"/>
      <TextObject Name="Text135" Left="623.59" Width="113.39" Height="24.57" Border.Lines="All" Fill.Color="White" Text="[IIf([McMachMove_Report.MachName]==&quot;&quot;,&quot;&quot;,[McMachMove_Report.MachCode])][IIf([McMachMove_Report.MachName]==&quot;&quot;,&quot;&quot;,&quot;-&quot;)][IIf([McMachMove_Report.MachName]==&quot;&quot;,&quot;&quot;,[McMachMove_Report.MachName])]" Padding="2, 1, 2, 1" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Times New Roman, 7pt"/>
      <TextObject Name="Text136" Left="576.35" Width="47.24" Height="24.57" Border.Lines="All" Fill.Color="White" Text="[McMachMove_Report.UserName]" Padding="2, 1, 2, 1" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Times New Roman, 7pt"/>
      <TextObject Name="Text137" Left="529.11" Width="47.24" Height="24.57" Border.Lines="All" Fill.Color="White" Text="[IIf([McMachMove_Report.Status]==0,&quot;قيد الانتظار&quot;,IIf([McMachMove_Report.Status]==1,&quot;جاري العمل&quot;,IIf([McMachMove_Report.Status]==2,&quot;مكتمل&quot;,IIf([McMachMove_Report.Status]==3,&quot;ملغاة&quot;,&quot;&quot;))))]" Padding="2, 1, 2, 1" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Times New Roman, 7pt"/>
      <TextObject Name="Text138" Left="377.93" Width="56.69" Height="24.57" Border.Lines="All" Fill.Color="White" Text="[IIf([McMachMove_Report.DateOut]==ToDateTime(&quot;1/1/0001&quot;),&quot;&quot;,IIf([McMachMove_Report.DateOut]==ToDateTime(&quot;1/1/1980&quot;),&quot;&quot;,[McMachMove_Report.DateOut]))]" Padding="2, 1, 2, 1" Format="Date" Format.Format="d" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Times New Roman, 7pt"/>
      <TextObject Name="Text139" Left="321.24" Width="56.69" Height="24.57" Border.Lines="All" Fill.Color="White" Text="[IIf([McMachMove_Report.DateIn]==ToDateTime(&quot;1/1/0001&quot;),&quot;&quot;,IIf([McMachMove_Report.DateIn]==ToDateTime(&quot;1/1/1980&quot;),&quot;&quot;,[McMachMove_Report.DateIn]))]" Padding="2, 1, 2, 1" Format="Date" Format.Format="d" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Times New Roman, 7pt"/>
      <TextObject Name="Text140" Left="264.55" Width="56.69" Height="24.57" Border.Lines="All" Fill.Color="White" Text="[IIf([McMachMove_Report.TimeOut]==ToDateTime(&quot;1/1/0001&quot;),&quot;&quot;,IIf([McMachMove_Report.TimeOut]==ToDateTime(&quot;1/1/1980&quot;),&quot;&quot;,[McMachMove_Report.TimeOut]))]" Padding="2, 1, 2, 1" Format="Time" Format.Format="T" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Times New Roman, 7pt"/>
      <TextObject Name="Text141" Left="207.86" Width="56.69" Height="24.57" Border.Lines="All" Fill.Color="White" Text="[IIf([McMachMove_Report.TimeIn]==ToDateTime(&quot;1/1/0001&quot;),&quot;&quot;,IIf([McMachMove_Report.TimeIn]==ToDateTime(&quot;1/1/1980&quot;),&quot;&quot;,[McMachMove_Report.TimeIn]))]" Padding="2, 1, 2, 1" Format="Time" Format.Format="T" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Times New Roman, 7pt"/>
      <TextObject Name="Text142" Left="160.62" Width="47.24" Height="24.57" Border.Lines="All" Fill.Color="White" Text="[McMachMove_Report.CounterOut]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Times New Roman, 7pt"/>
      <TextObject Name="Text143" Left="113.38" Width="47.24" Height="24.57" Border.Lines="All" Fill.Color="White" Text="[McMachMove_Report.CounterIn]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Times New Roman, 7pt"/>
      <TextObject Name="Text144" Left="56.69" Width="56.69" Height="24.57" Border.Lines="All" Fill.Color="White" Text="[[McMachMove_Report.CounterIn]-[McMachMove_Report.CounterOut]]" Padding="2, 1, 2, 1" Format="Number" Format.UseLocale="true" Format.DecimalDigits="2" AutoShrink="FontWidth" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="Times New Roman, 7pt"/>
      <DataHeaderBand Name="DataHeader1" Top="206.45" Width="771.12" Height="34.02">
        <TextObject Name="Text111" Left="434.62" Width="94.49" Height="34.02" Border.Lines="All" Fill.Color="186, 211, 254" Text="إلى مشروع" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
        <TextObject Name="Text121" Left="736.98" Width="37.79" Height="34.02" Border.Lines="All" Fill.Color="186, 211, 254" Text="الرقم" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
        <TextObject Name="Text122" Left="623.59" Width="113.39" Height="34.02" Border.Lines="All" Fill.Color="186, 211, 254" Text="الآلية" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
        <TextObject Name="Text123" Left="576.35" Width="47.24" Height="34.02" Border.Lines="All" Fill.Color="186, 211, 254" Text="المشرف" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
        <TextObject Name="Text124" Left="529.11" Width="47.24" Height="34.02" Border.Lines="All" Fill.Color="186, 211, 254" Text="الحالة" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
        <TextObject Name="Text125" Left="377.93" Width="56.69" Height="34.02" Border.Lines="All" Fill.Color="186, 211, 254" Text="تاريخ الخروج" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
        <TextObject Name="Text126" Left="321.24" Width="56.69" Height="34.02" Border.Lines="All" Fill.Color="186, 211, 254" Text="تاريخ الدخول" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
        <TextObject Name="Text127" Left="264.55" Width="56.69" Height="34.02" Border.Lines="All" Fill.Color="186, 211, 254" Text="وقت الخروج" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
        <TextObject Name="Text128" Left="207.86" Width="56.69" Height="34.02" Border.Lines="All" Fill.Color="186, 211, 254" Text="وقت الدخول" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
        <TextObject Name="Text129" Left="160.62" Width="47.24" Height="34.02" Border.Lines="All" Fill.Color="186, 211, 254" Text="عداد الخروج" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
        <TextObject Name="Text130" Left="113.38" Width="47.24" Height="34.02" Border.Lines="All" Fill.Color="186, 211, 254" Text="عداد الدخول" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
        <TextObject Name="Text131" Left="56.69" Width="56.69" Height="34.02" Border.Lines="All" Fill.Color="186, 211, 254" Text="المسافة المقطوعة" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
        <TextObject Name="Text132" Width="56.69" Height="34.02" Border.Lines="All" Fill.Color="186, 211, 254" Text="الوقت المستغرق" Padding="2, 1, 2, 1" HorzAlign="Center" VertAlign="Center" Font="Times New Roman, 10pt, style=Bold"/>
      </DataHeaderBand>
    </DataBand>
    <PageFooterBand Name="PageFooter1" Top="273.04" Width="771.12" Height="47.47">
      <LineObject Name="Line3" Top="7.78" Width="774.9" Border.Color="186, 211, 254" Border.Width="2" Diagonal="true"/>
      <TextObject Name="Memo1" Left="686.39" Top="12.78" Width="75.59" Height="18.9" Text="[Page#]" Padding="2, 1, 2, 1" HorzAlign="Right" Font="Arial, 10pt, style=Bold"/>
      <TextObject Name="Memo92" Left="614.58" Top="32.35" Width="154.96" Height="15.12" Text="www.almanarasoft.com" Padding="2, 1, 2, 1" HorzAlign="Right" Font="Times New Roman, 10pt, style=Bold" TextFill.Color="Blue"/>
      <TextObject Name="Memo50" Left="75.92" Top="12.78" Width="83.15" Height="15.12" Text="[Date]" Padding="2, 1, 2, 1" Format="Date" Format.Format="d" VertAlign="Center" Font="Arial, 8pt"/>
      <TextObject Name="Memo51" Left="0.33" Top="12.78" Width="75.59" Height="15.12" Text="Printed on:" Padding="2, 1, 2, 1" AutoWidth="true" VertAlign="Center" Font="Tahoma, 8pt, style=Bold"/>
      <TextObject Name="Memo52" Left="158.52" Top="12.78" Width="39.69" Height="15.12" Text="Time:" Padding="2, 1, 2, 1" AutoWidth="true" VertAlign="Center" Font="Tahoma, 8pt, style=Bold"/>
      <TextObject Name="Text108" Left="198.21" Top="12.78" Width="83.15" Height="15.12" Text="[Date]" Padding="2, 1, 2, 1" Format="Time" Format.Format="t" VertAlign="Center" Font="Arial, 8pt"/>
    </PageFooterBand>
  </ReportPage>
</Report>
