25 lines
604 B
C#
25 lines
604 B
C#
namespace LaaProduction.Services.Models.Reports
|
|
{
|
|
using System;
|
|
|
|
public class TestStatus
|
|
{
|
|
public Int16 PosNr { get; set; }
|
|
|
|
public String SerialNr { get; set; }
|
|
|
|
public Boolean? HeliumTest { get; set; }
|
|
|
|
public Boolean? PressureTest { get; set; }
|
|
|
|
public Boolean? MetroTest { get; set; }
|
|
|
|
public Boolean? RadioTest { get; set; }
|
|
|
|
public Boolean Succeeded
|
|
=> (this.HeliumTest ?? false)
|
|
&& (this.PressureTest ?? false)
|
|
&& (this.MetroTest ?? false)
|
|
&& (this.RadioTest ?? false);
|
|
}
|
|
} |