rpt_DutyReport.cs
上传用户:xuming1973
上传日期:2014-02-27
资源大小:17511k
文件大小:4k
源码类别:

WEB源码(ASP,PHP,...)

开发平台:

C#

  1. //------------------------------------------------------------------------------
  2. // <autogenerated>
  3. //     This code was generated by a tool.
  4. //     Runtime Version: 1.1.4322.573
  5. //
  6. //     Changes to this file may cause incorrect behavior and will be lost if 
  7. //     the code is regenerated.
  8. // </autogenerated>
  9. //------------------------------------------------------------------------------
  10. namespace UDS.SubModule.WorkAttendance.Report {
  11.     using System;
  12.     using System.ComponentModel;
  13.     using CrystalDecisions.Shared;
  14.     using CrystalDecisions.ReportSource;
  15.     using CrystalDecisions.CrystalReports.Engine;
  16.     
  17.     
  18.     public class rpt_DutyReport : ReportClass {
  19.         
  20.         public rpt_DutyReport() {
  21.         }
  22.         
  23.         public override string ResourceName {
  24.             get {
  25.                 return "rpt_DutyReport.rpt";
  26.             }
  27.             set {
  28.                 // Do nothing
  29.             }
  30.         }
  31.         
  32.         [Browsable(false)]
  33.         [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  34.         public CrystalDecisions.CrystalReports.Engine.Section Section1 {
  35.             get {
  36.                 return this.ReportDefinition.Sections[0];
  37.             }
  38.         }
  39.         
  40.         [Browsable(false)]
  41.         [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  42.         public CrystalDecisions.CrystalReports.Engine.Section Section2 {
  43.             get {
  44.                 return this.ReportDefinition.Sections[1];
  45.             }
  46.         }
  47.         
  48.         [Browsable(false)]
  49.         [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  50.         public CrystalDecisions.CrystalReports.Engine.Section Section3 {
  51.             get {
  52.                 return this.ReportDefinition.Sections[2];
  53.             }
  54.         }
  55.         
  56.         [Browsable(false)]
  57.         [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  58.         public CrystalDecisions.CrystalReports.Engine.Section Section4 {
  59.             get {
  60.                 return this.ReportDefinition.Sections[3];
  61.             }
  62.         }
  63.         
  64.         [Browsable(false)]
  65.         [DesignerSerializationVisibilityAttribute(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
  66.         public CrystalDecisions.CrystalReports.Engine.Section Section5 {
  67.             get {
  68.                 return this.ReportDefinition.Sections[4];
  69.             }
  70.         }
  71.     }
  72.     
  73.     [System.Drawing.ToolboxBitmapAttribute(typeof(CrystalDecisions.Shared.ExportOptions), "report.bmp")]
  74.     public class Cachedrpt_DutyReport : Component, ICachedReport {
  75.         
  76.         public Cachedrpt_DutyReport() {
  77.         }
  78.         
  79.         public virtual bool IsCacheable {
  80.             get {
  81.                 return true;
  82.             }
  83.             set {
  84.                 // 
  85.             }
  86.         }
  87.         
  88.         public virtual bool ShareDBLogonInfo {
  89.             get {
  90.                 return false;
  91.             }
  92.             set {
  93.                 // 
  94.             }
  95.         }
  96.         
  97.         public virtual System.TimeSpan CacheTimeOut {
  98.             get {
  99.                 return CachedReportConstants.DEFAULT_TIMEOUT;
  100.             }
  101.             set {
  102.                 // 
  103.             }
  104.         }
  105.         
  106.         public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() {
  107.             rpt_DutyReport rpt = new rpt_DutyReport();
  108.             rpt.Site = this.Site;
  109.             return rpt;
  110.         }
  111.         
  112.         public virtual string GetCustomizedCacheKey(RequestContext request) {
  113.             String key = null;
  114.             // // The following is the code used to generate the default
  115.             // // cache key for caching report jobs in the ASP.NET Cache.
  116.             // // Feel free to modify this code to suit your needs.
  117.             // // Returning key == null causes the default cache key to
  118.             // // be generated.
  119.             // 
  120.             // key = RequestContext.BuildCompleteCacheKey(
  121.             //     request,
  122.             //     null,       // sReportFilename
  123.             //     this.GetType(),
  124.             //     this.ShareDBLogonInfo );
  125.             return key;
  126.         }
  127.     }
  128. }