示例#1
0
 public ReportCalorieSheet(TestContext context, string head1, string head2,
                           float idDB, float idWB, EIndoorUse idUse, EIndoorMode idMode, float odDB,
                           float odWB, EOutdoorUse odUse, EEtcUse odDp, string nozzleName, string nozzleState)
     : base(context, head1, head2, idDB, idWB, idUse, idMode,
            odDB, odWB, odUse, odDp, nozzleName, nozzleState)
 {
 }
示例#2
0
 public ReportThermoSheet(TestContext context, string head1, string head2,
                          float idDB, float idWB, EIndoorUse idUse, EIndoorMode idMode, float odDB,
                          float odWB, EOutdoorUse odUse, EEtcUse odDp, string nozzleName, string nozzleState)
     : base(context, head1, head2, idDB, idWB, idUse, idMode,
            odDB, odWB, odUse, odDp, nozzleName, nozzleState)
 {
     this.context = context;
     this.head1   = head1;
     this.head2   = head2;
 }
示例#3
0
        public ReportSheet(TestContext context, string head1, string head2,
                           float idDB, float idWB, EIndoorUse idUse, EIndoorMode idMode,
                           float odDB, float odWB, EOutdoorUse odUse, EEtcUse odDp,
                           string nozzleName, string nozzleState)
        {
            RecNo       = -1;
            IndoorDB    = idDB;
            IndoorWB    = idWB;
            IndoorUse   = idUse;
            IndoorMode  = idMode;
            OutdoorDB   = odDB;
            OutdoorWB   = odWB;
            OutdoorUse  = odUse;
            OutdoorDP   = odDp;
            NozzleName  = nozzleName;
            NozzleState = nozzleState;
            Rows        = new Dictionary <string, ReportRow>();

            TcTags = null;

            if (string.IsNullOrWhiteSpace(head2) == true)
            {
                switch (head1)
                {
                case "ID1":
                    TcTags = context.Condition.TC1;
                    break;

                case "ID2":
                    TcTags = context.Condition.TC2;
                    break;

                case "OD":
                    TcTags = context.Condition.TC3;
                    break;
                }
            }

            Initialize(context.Value, head1, head2);
        }