<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="05/21/2013 10:46:50" ReportInfo.Modified="12/21/2016 17:14:09" ReportInfo.CreatorVersion="2016.4.12.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
  {     
  }
}
</ScriptText>
  <Styles>
    <Style Name="HeaderFooter" Border.Lines="All" Border.Color="DimGray" Border.Style="Dot" Border.Width="0.5" Fill="LinearGradient" Fill.StartColor="Silver" Fill.EndColor="Gainsboro" Fill.Angle="90" Fill.Focus="0.5" Fill.Contrast="0.76" TextFill.Color="Navy" ApplyFont="false"/>
    <Style Name="HeaderFooter2" Border.Lines="All" Border.Color="DimGray" Border.Style="Dot" Border.Width="0.5" Fill="LinearGradient" Fill.StartColor="192, 192, 255" Fill.EndColor="Gainsboro" Fill.Angle="90" Fill.Focus="0.5" Fill.Contrast="0.76" TextFill.Color="Navy" ApplyFont="false"/>
    <Style Name="HeaderFooterVert" Border.Lines="All" Border.Color="DimGray" Border.Style="Dot" Border.Width="0.5" Fill="LinearGradient" Fill.StartColor="Gray" Fill.EndColor="Black" Fill.Angle="0" Fill.Focus="0.5" Fill.Contrast="1" TextFill.Color="White" ApplyFont="false"/>
    <Style Name="TableRadif" Border.Lines="All" Border.Color="DimGray" Border.Style="Dash" Border.Width="0.5" ApplyFill="false" ApplyFont="false"/>
  </Styles>
  <Dictionary>
    <OleDbDataConnection Name="Connection" ConnectionString="rijcmlqoDWEBRlB24atBGpA/h9/NcJd7NSF1v8voegt4ZjxrkxkE4cNqgQ25xWd0yMXGhBO97LNc/abzlAaiS6uRX8hdwR9eSLNDWv0TiX1Kn1cnDK2/sLVSWF1Wvex+FBBSaRoNYk3UR6V7FuiNAhwRlsp0o+OwH4O1zsxK/tanhgwGGL0xrpRZssw9Xzjusp0mbcoTngAUqwg+WbjK4DOn8QBeX9oMknUDz3Ug6nL+GgzKPk=">
      <TableDataSource Name="Table" Alias="ViewReportBeTafkikeMah" DataType="System.Int32" Enabled="true" SelectCommand="SELECT IDElement,Count(*) as TedadAnalyze , SUM(Tonage) AS JameTonage, SUM(MeghdarAdadi * Tonage) / SUM(Tonage) AS MianginMeghdar FROM (SELECT Analyze.ID, Analyze.Tarikh, Analyze.IDKala, Analyze.NameKala, Analyze.Tonage, Analyze.Rasmi, Analyze.Dakheli, Analyze.StandardID, Analyze.StandardName, Analyze.Tozihat, Analyze.Operator, AnalyzeData.Radif, AnalyzeData.IDElement, AnalyzeData.NameElement, AnalyzeData.TypeElement, AnalyzeData.StandardValue, AnalyzeData.Meghdar, iif(isnumeric(AnalyzeData.Meghdar), cdbl(AnalyzeData.Meghdar), 0) AS MeghdarAdadi FROM (Analyze INNER JOIN AnalyzeData ON Analyze.ID = AnalyzeData.ID)) derivedtbl_1 GROUP BY IDElement">
        <Column Name="IDElement" DataType="System.String"/>
        <Column Name="TedadAnalyze" DataType="System.Int32"/>
        <Column Name="JameTonage" DataType="System.Decimal"/>
        <Column Name="MianginMeghdar" DataType="System.Double"/>
        <Column Name="Column" Alias="TarikhShoro" DataType="System.Int32" Calculated="true" Expression=""/>
        <Column Name="Column1" Alias="TarikhPayan" DataType="System.Int32" Calculated="true" Expression=""/>
      </TableDataSource>
    </OleDbDataConnection>
    <Relation Name="Analyze_AnalyzeData" ParentDataSource="null" ChildDataSource="null" ParentColumns="ID" ChildColumns="ID" Enabled="true"/>
    <Parameter Name="Tarikh" DataType="System.String"/>
    <Parameter Name="CoName" DataType="System.String"/>
    <Parameter Name="Condition" DataType="System.String"/>
    <Parameter Name="KalaName" DataType="System.String"/>
    <Parameter Name="ElementName" DataType="System.String"/>
    <Parameter Name="Miangin" DataType="System.String"/>
    <Parameter Name="Title" DataType="System.String"/>
    <Total Name="Total" Expression="[ViewReportBeTafkikeMah.JameTonage]" Evaluator="Data1"/>
    <Total Name="Jtedad" Expression="[ViewReportBeTafkikeMah.TedadAnalyze]" Evaluator="Data1"/>
  </Dictionary>
  <ReportPage Name="Page1">
    <PageHeaderBand Name="PageHeader1" Width="718.2" Height="56.7">
      <PictureObject Name="pctLogo" Left="680.4" Width="37.8" Height="37.8" Image="[encoded data, 6068 characters]"/>
      <TextObject Name="txtCoName" Left="425.25" Width="255.15" Height="37.8" Fill="LinearGradient" Fill.StartColor="255, 128, 0" Fill.EndColor="White" Fill.Angle="180" Fill.Focus="1" Fill.Contrast="1" Text="[CoName]" VertAlign="Center" RightToLeft="true" Font="B Titr, 11pt, style=Bold"/>
      <TextObject Name="Text4" Left="151.2" Width="66.15" Height="12.47" Text="تاریخ :" Padding="0, 0, 0, 0" HorzAlign="Right" VertAlign="Center" RightToLeft="true" WordWrap="false" Font="hNazanin, 9pt, style=Bold"/>
      <TextObject Name="Text5" Left="75.6" Width="75.6" Height="12.47" Text="[Tarikh]" Padding="0, 0, 0, 0" VertAlign="Center" RightToLeft="true" WordWrap="false" Font="hNazanin, 9pt, style=Bold"/>
      <TableObject Name="Table2" Top="37.8" Width="718.35" Height="18.9">
        <TableColumn Name="Column27" Width="138.61"/>
        <TableColumn Name="Column25" Width="119.75"/>
        <TableColumn Name="Column24" Width="129.2"/>
        <TableColumn Name="Column16" Width="138.61"/>
        <TableColumn Name="Column17" Width="138.61"/>
        <TableColumn Name="Column40" Width="53.57"/>
        <TableRow Name="Row3">
          <TableCell Name="Cell64" Border.Lines="All" Border.Color="DimGray" Border.Style="Dot" Border.Width="0.5" Fill="LinearGradient" Fill.StartColor="Silver" Fill.EndColor="Gainsboro" Fill.Angle="90" Fill.Focus="0.5" Fill.Contrast="0.76" Text="میانگین موزون" HorzAlign="Center" VertAlign="Center" Font="hNazanin, 10pt, style=Bold" TextFill.Color="Navy" Style="HeaderFooter"/>
          <TableCell Name="Cell62" Border.Lines="All" Border.Color="DimGray" Border.Style="Dot" Border.Width="0.5" Fill="LinearGradient" Fill.StartColor="Silver" Fill.EndColor="Gainsboro" Fill.Angle="90" Fill.Focus="0.5" Fill.Contrast="0.76" Text="تعداد آنالیز" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="hNazanin, 10pt, style=Bold" TextFill.Color="Navy" Style="HeaderFooter"/>
          <TableCell Name="Cell61" Border.Lines="All" Border.Color="DimGray" Border.Style="Dot" Border.Width="0.5" Fill="LinearGradient" Fill.StartColor="Silver" Fill.EndColor="Gainsboro" Fill.Angle="90" Fill.Focus="0.5" Fill.Contrast="0.76" Text="جمع اوزان" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="hNazanin, 10pt, style=Bold" TextFill.Color="Navy" Style="HeaderFooter"/>
          <TableCell Name="Cell53" Border.Lines="All" Border.Color="DimGray" Border.Style="Dot" Border.Width="0.5" Fill="LinearGradient" Fill.StartColor="Silver" Fill.EndColor="Gainsboro" Fill.Angle="90" Fill.Focus="0.5" Fill.Contrast="0.76" Text="تاریخ پایان" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="hNazanin, 10pt, style=Bold" TextFill.Color="Navy" Style="HeaderFooter"/>
          <TableCell Name="Cell54" Border.Lines="All" Border.Color="DimGray" Border.Style="Dot" Border.Width="0.5" Fill="LinearGradient" Fill.StartColor="Silver" Fill.EndColor="Gainsboro" Fill.Angle="90" Fill.Focus="0.5" Fill.Contrast="0.76" Text="تاریخ شروع" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="hNazanin, 10pt, style=Bold" TextFill.Color="Navy" Style="HeaderFooter"/>
          <TableCell Name="Cell77" Border.Lines="All" Border.Color="DimGray" Border.Style="Dot" Border.Width="0.5" Fill="LinearGradient" Fill.StartColor="Silver" Fill.EndColor="Gainsboro" Fill.Angle="90" Fill.Focus="0.5" Fill.Contrast="0.76" Text="ردیف" HorzAlign="Center" VertAlign="Center" Font="hNazanin, 10pt, style=Bold" TextFill.Color="Navy" Style="HeaderFooter"/>
        </TableRow>
      </TableObject>
      <TextObject Name="Text7" Left="226.8" Top="18.9" Width="264.6" Height="18.9" Text="[Condition]" AutoShrink="FontSize" HorzAlign="Center" RightToLeft="true" Font="hNazanin, 9pt, style=Bold"/>
      <TextObject Name="Text60" Left="226.8" Width="264.6" Height="18.9" Text="« [Title] »" Padding="0, 0, 0, 0" AutoShrink="FontSize" HorzAlign="Center" VertAlign="Center" Font="B Titr, 12pt, style=Bold"/>
      <TextObject Name="Text9" Left="18.9" Top="12.47" Width="132.3" Height="12.47" Text="[KalaName]" Padding="0, 0, 0, 0" AutoShrink="FontSize" VertAlign="Center" RightToLeft="true" WordWrap="false" Font="hNazanin, 9pt, style=Bold"/>
      <TextObject Name="Text8" Left="151.2" Top="12.47" Width="66.15" Height="12.47" Text="نام کالا :" Padding="0, 0, 0, 0" HorzAlign="Right" VertAlign="Center" RightToLeft="true" WordWrap="false" Font="hNazanin, 9pt, style=Bold"/>
      <TextObject Name="Text11" Left="18.9" Top="24.94" Width="132.3" Height="12.47" Text="[ElementName]" Padding="0, 0, 0, 0" AutoShrink="FontSize" VertAlign="Center" RightToLeft="true" WordWrap="false" Font="hNazanin, 9pt, style=Bold"/>
      <TextObject Name="Text10" Left="151.2" Top="24.94" Width="66.15" Height="12.47" Text="نام مولفه :" Padding="0, 0, 0, 0" HorzAlign="Right" VertAlign="Center" RightToLeft="true" WordWrap="false" Font="hNazanin, 9pt, style=Bold"/>
      <TableObject Name="Table7" Width="18.9" Height="37.74" Border.Lines="All" Border.Style="DashDot" Border.Width="0.5">
        <TableColumn Name="Column113" Width="18.9"/>
        <TableRow Name="Row22" Height="6.29">
          <TableCell Name="CellHasebAdv" Border.Lines="All" Border.Style="Dot" Border.Width="0.5" Text="سیستم جامع&#13;&#10;آزمایشـگاه" Padding="0, -3, -8, 0" HorzAlign="Center" VertAlign="Center" Angle="90" Font="B Titr, 6pt, style=Bold" TextFill.Color="128, 128, 255" LineHeight="8.32" RowSpan="6"/>
        </TableRow>
        <TableRow Name="Row23" Height="6.29">
          <TableCell Name="Cell182" Padding="0, 0, 0, 0"/>
        </TableRow>
        <TableRow Name="Row24" Height="6.29">
          <TableCell Name="Cell183" Padding="0, 0, 0, 0"/>
        </TableRow>
        <TableRow Name="Row25" Height="6.29">
          <TableCell Name="Cell184" Padding="0, 0, 0, 0"/>
        </TableRow>
        <TableRow Name="Row26" Height="6.29">
          <TableCell Name="Cell185" Padding="0, 0, 0, 0"/>
        </TableRow>
        <TableRow Name="Row27" Height="6.29">
          <TableCell Name="Cell186" Padding="0, 0, 0, 0"/>
        </TableRow>
      </TableObject>
    </PageHeaderBand>
    <DataBand Name="Data1" Top="58.66" Width="718.2" Height="18.9" DataSource="Table">
      <TableObject Name="Table1" Width="718.35" Height="18.9">
        <TableColumn Name="Column30" Width="138.61"/>
        <TableColumn Name="Column31" Width="119.75"/>
        <TableColumn Name="Column32" Width="129.2"/>
        <TableColumn Name="Column33" Width="138.61"/>
        <TableColumn Name="Column34" Width="138.61"/>
        <TableColumn Name="Column41" Width="53.57"/>
        <TableRow Name="Row4">
          <TableCell Name="Cell67" Border.Lines="All" Border.Color="DimGray" Border.Style="Dash" Border.Width="0.5" Text="[ViewReportBeTafkikeMah.MianginMeghdar]" Padding="0, 0, 0, 0" Format="Number" Format.UseLocale="false" Format.DecimalDigits="4" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" AutoShrink="FontSize" VertAlign="Center" RightToLeft="true" WordWrap="false" Font="hNazanin, 10pt, style=Bold" Style="TableRadif"/>
          <TableCell Name="Cell68" Border.Lines="All" Border.Color="DimGray" Border.Style="Dash" Border.Width="0.5" Text="[ViewReportBeTafkikeMah.TedadAnalyze]" Padding="0, 0, 0, 0" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" AutoShrink="FontSize" VertAlign="Center" RightToLeft="true" WordWrap="false" Font="hNazanin, 10pt, style=Bold" Style="TableRadif"/>
          <TableCell Name="Cell69" Border.Lines="All" Border.Color="DimGray" Border.Style="Dash" Border.Width="0.5" Text="[ViewReportBeTafkikeMah.JameTonage]" Padding="0, 0, 0, 0" Format="Custom" Format.Format="###,###,##0.#####;###,###,##0.####-" AutoShrink="FontSize" VertAlign="Center" RightToLeft="true" WordWrap="false" Font="hNazanin, 10pt, style=Bold" Style="TableRadif"/>
          <TableCell Name="Cell70" Border.Lines="All" Border.Color="DimGray" Border.Style="Dash" Border.Width="0.5" Text="[ViewReportBeTafkikeMah.TarikhPayan]" Padding="0, 0, 0, 0" AutoShrink="FontSize" HorzAlign="Center" VertAlign="Center" RightToLeft="true" WordWrap="false" Font="hNazanin, 10pt, style=Bold" Style="TableRadif"/>
          <TableCell Name="Cell71" Border.Lines="All" Border.Color="DimGray" Border.Style="Dash" Border.Width="0.5" Text="[ViewReportBeTafkikeMah.TarikhShoro]" Padding="0, 0, 0, 0" AutoShrink="FontSize" HorzAlign="Center" VertAlign="Center" RightToLeft="true" WordWrap="false" Font="hNazanin, 10pt, style=Bold" Style="TableRadif"/>
          <TableCell Name="Cell78" Border.Lines="All" Border.Color="DimGray" Border.Style="Dash" Border.Width="0.5" Text="[Row#]" Padding="0, 0, 0, 0" AutoShrink="FontSize" HorzAlign="Center" VertAlign="Center" WordWrap="false" Font="hNazanin, 10pt, style=Bold" Style="TableRadif"/>
        </TableRow>
      </TableObject>
    </DataBand>
    <ReportSummaryBand Name="ReportSummary1" Top="79.52" Width="718.2" Height="226.8">
      <TableObject Name="Table1" Width="718" Height="18.9">
        <TableColumn Name="Column35" Width="138.66"/>
        <TableColumn Name="Column36" Width="119.76"/>
        <TableColumn Name="Column37" Width="129.21"/>
        <TableColumn Name="Column38" Width="148.11"/>
        <TableColumn Name="Column39" Width="182.26"/>
        <TableRow Name="Row5">
          <TableCell Name="Cell72" Border.Lines="All" Border.Color="DimGray" Border.Style="Dot" Border.Width="0.5" Fill="LinearGradient" Fill.StartColor="Silver" Fill.EndColor="Gainsboro" Fill.Angle="90" Fill.Focus="0.5" Fill.Contrast="0.76" Text="[Miangin]" Padding="0, 0, 0, 0" Format="Number" Format.UseLocale="false" Format.DecimalDigits="4" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" AutoShrink="FontSize" VertAlign="Center" RightToLeft="true" Font="hNazanin, 10pt, style=Bold" TextFill.Color="Navy" Style="HeaderFooter"/>
          <TableCell Name="Cell73" Border.Lines="All" Border.Color="DimGray" Border.Style="Dot" Border.Width="0.5" Fill="LinearGradient" Fill.StartColor="Silver" Fill.EndColor="Gainsboro" Fill.Angle="90" Fill.Focus="0.5" Fill.Contrast="0.76" Text="[Jtedad]" Padding="0, 0, 0, 0" Format="Number" Format.UseLocale="false" Format.DecimalDigits="0" Format.DecimalSeparator="." Format.GroupSeparator="," Format.NegativePattern="3" AutoShrink="FontSize" VertAlign="Center" RightToLeft="true" Font="hNazanin, 10pt, style=Bold" TextFill.Color="Navy" Style="HeaderFooter"/>
          <TableCell Name="Cell74" Border.Lines="All" Border.Color="DimGray" Border.Style="Dot" Border.Width="0.5" Fill="LinearGradient" Fill.StartColor="Silver" Fill.EndColor="Gainsboro" Fill.Angle="90" Fill.Focus="0.5" Fill.Contrast="0.76" Text="[Total]" Padding="0, 0, 0, 0" Format="Custom" Format.Format="###,###,##0.####;###,###,##0.####-" AutoShrink="FontSize" VertAlign="Center" RightToLeft="true" Font="hNazanin, 10pt, style=Bold" TextFill.Color="Navy" Style="HeaderFooter"/>
          <TableCell Name="Cell75" Border.Lines="All" Border.Color="DimGray" Border.Style="Dot" Border.Width="0.5" Fill="LinearGradient" Fill.StartColor="Silver" Fill.EndColor="Gainsboro" Fill.Angle="90" Fill.Focus="0.5" Fill.Contrast="0.76" Text="جمع / میانگین موزون :" Padding="0, 0, 0, 0" AutoShrink="FontSize" HorzAlign="Right" VertAlign="Center" RightToLeft="true" Font="hNazanin, 10pt, style=Bold" TextFill.Color="Navy" Style="HeaderFooter" ColSpan="2"/>
          <TableCell Name="Cell76" Border.Lines="All" Border.Color="DimGray" Border.Style="Dot" Border.Width="0.5" Fill="LinearGradient" Fill.StartColor="Silver" Fill.EndColor="Gainsboro" Fill.Angle="90" Fill.Focus="0.5" Fill.Contrast="0.76" Padding="0, 0, 0, 0" AutoShrink="FontSize" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="hNazanin, 10pt, style=Bold" TextFill.Color="Navy" Style="HeaderFooter"/>
        </TableRow>
      </TableObject>
      <TextObject Name="Text58" Left="396.9" Top="179.55" Width="245.7" Height="47.25" Text="امضا تایید کننده" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="P Mitra, 10pt, style=Bold" TextFill.Color="Gray"/>
      <TextObject Name="Text59" Left="75.6" Top="179.55" Width="245.7" Height="47.25" Text="امضا تهیه کننده" HorzAlign="Center" VertAlign="Center" RightToLeft="true" Font="P Mitra, 10pt, style=Bold" TextFill.Color="Gray"/>
      <PictureObject Name="Chart" Top="18.9" Width="718.2" Height="160.65" SizeMode="StretchImage"/>
    </ReportSummaryBand>
  </ReportPage>
</Report>
