23 lines
570 B
C#
23 lines
570 B
C#
namespace LaaProduction.Services.Models.Reports
|
|
{
|
|
public class TestStatus
|
|
{
|
|
public short PosNr { get; set; }
|
|
|
|
public string SerialNr { get; set; }
|
|
|
|
public bool? HeliumTest { get; set; }
|
|
|
|
public bool? PressureTest { get; set; }
|
|
|
|
public bool? MetroTest { get; set; }
|
|
|
|
public bool? RadioTest { get; set; }
|
|
|
|
public bool Succeeded
|
|
=> (this.HeliumTest ?? false)
|
|
&& (this.PressureTest ?? false)
|
|
&& (this.MetroTest ?? false)
|
|
&& (this.RadioTest ?? false);
|
|
}
|
|
} |