Class EPLReport
Represents an EPL-Report which is printable and contains the complete EPL-Logic for easy using with the simplic framework
Inheritance
Implements
Namespace: Simplic.Framework.Reporting
Assembly: Simplic.Framework.dll
Syntax
public class EPLReport : UI.MVC.ViewModelBase
Constructors
| Improve this Doc View SourceEPLReport()
Create epl report
Declaration
public EPLReport()
Properties
| Improve this Doc View SourceDataSourceType
Type of data-source
Declaration
public EPLReportDataSourceType DataSourceType { get; set; }
Property Value
Type | Description |
---|---|
EPLReportDataSourceType |
Design
Design which will be used by the report
Declaration
public EPLDesignModel Design { get; set; }
Property Value
Type | Description |
---|---|
EPLDesignModel |
Id
Unique id of the epl report
Declaration
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
InternName
Unique intern name of the label
Declaration
public string InternName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IsContextlessPrintable
If it does not need any context for printing
Declaration
public bool IsContextlessPrintable { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
PrinterName
Printer name for default printing
Declaration
public string PrinterName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ReportId
Report-Id used for binding
Declaration
public Guid ReportId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
SequenceId
Sequence-Id, used for binding
Declaration
public Guid? SequenceId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
SequenceNumber
Used sequence number
Declaration
public SequenceNumber SequenceNumber { get; set; }
Property Value
Type | Description |
---|---|
SequenceNumber |
SqlDataSourceCode
Sql-Data-Source code
Declaration
public string SqlDataSourceCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceError(String, Int32, Int32, Int32)
Report error
Declaration
public void Error(string message, int line, int index, int length)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Error message |
System.Int32 | line | Line number |
System.Int32 | index | Index |
System.Int32 | length | Length |
GetAsJson()
Get current epl-report as JSON-String
Declaration
public string GetAsJson()
Returns
Type | Description |
---|---|
System.String | JSon string instance |
Print(IDictionary<String, Object>)
Print epl form
Declaration
public void Print(IDictionary<string, object> inParameter = null)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, System.Object> | inParameter | Input parameter |
Process(String, EPLFormular, Int32)
Process python code
Declaration
public string Process(string code, EPLFormular formular, int commandIndex)
Parameters
Type | Name | Description |
---|---|---|
System.String | code | Code |
EPLFormular | formular | Current formular |
System.Int32 | commandIndex | Current index of the form |
Returns
Type | Description |
---|---|
System.String | String that will be added to the print-stream |
ProcessStatement(String)
Process statement and try to return a value
Declaration
public string ProcessStatement(string statement)
Parameters
Type | Name | Description |
---|---|---|
System.String | statement | Statement to process |
Returns
Type | Description |
---|---|
System.String | String which will used for replacing in the report |