예제 #1
0
 public static FullReportRecord GetFullReportRecord(PiramidaRecord record, string title = null)
 {
     FullReportRecord rec=new FullReportRecord();
     rec.Title = String.IsNullOrEmpty(title) ? record.Title : title;
     rec.Key = record.Key;
     rec.Selectable = true;
     rec.Children = new List<FullReportRecord>();
     return rec;
 }
예제 #2
0
파일: Report.cs 프로젝트: rj128x/VotGES
 public RecordTypeDB(PiramidaRecord dbRecord, int parNumber,
     double minValue = -10e100, double maxValue = 10e100, double divParam = 1, double multParam = 1,
     string id = null, string title = null, ResultTypeEnum resultType = ResultTypeEnum.sum, DBOperEnum dbOper = DBOperEnum.sum,
     bool toChart = false, bool visible = false, string formatDouble = "#,0.##")
 {
     DBRecord = dbRecord;
     ParNumber = parNumber;
     MinValue = minValue;
     MaxValue = maxValue;
     DivParam = divParam;
     MultParam = multParam;
     Visible = visible;
     ToChart = toChart;
     ID = id == null ? dbRecord.Key : id;
     Title = title == null ? dbRecord.Title : title;
     ResultType = resultType;
     DBOper = dbOper;
     FormatDouble = formatDouble;
 }