// Decompiled with JetBrains decompiler
// Type: SE0085.StCl.scPVNonConformance
// Assembly: SE0085StCl, Version=1.0.0.1, Culture=neutral, PublicKeyToken=null
// MVID: 2F536775-F65D-4A2A-A94A-55B55F096E84
// Assembly location: C:\Users\Abishek\Downloads\SchneiderCode_Breaker_09292016\Breaker Schedule-20160930T014118Z\Breaker Schedule\Solution for gathering Breaker Data\DMS\bin\Debug\SE0085StCl.dll

using System;
using System.Collections.Generic;

namespace SE0085.StCl
{
  public class scPVNonConformance : scPVRecord
  {
    private int _NonConfId;
    private DateTime _NonConfRv;
    private long _NonConfResponsible;
    private long _NonConfAffected;
    private long _NonConfDefect;
    private long _NonConfDevice;
    private string _NonConfDetails;
    private short _NonConfQty;
    private string _NonConfUserMCO;
    private DateTime _NonConfUpdatedDate;
    private List<scItemMaster> _NonConfAssyPart;
    private List<scAssociateData> _NonConfTaskAssoc;
    private scSeverity _Severity;
    private scEscalationLvl _Esculation;
    private int _RootCauseId;
    private int _CorrActId;

    public int NonConfId
    {
      get
      {
        return this._NonConfId;
      }
      set
      {
        this._NonConfId = value;
      }
    }

    public DateTime NonConfRev
    {
      get
      {
        return this._NonConfRv;
      }
      set
      {
        this._NonConfRv = value;
      }
    }

    public long Responsible
    {
      get
      {
        return this._NonConfResponsible;
      }
      set
      {
        this._NonConfResponsible = value;
      }
    }

    public long Affected
    {
      get
      {
        return this._NonConfAffected;
      }
      set
      {
        this._NonConfAffected = value;
      }
    }

    public long Defect
    {
      get
      {
        return this._NonConfDefect;
      }
      set
      {
        this._NonConfDefect = value;
      }
    }

    public long Device
    {
      get
      {
        return this._NonConfDevice;
      }
      set
      {
        this._NonConfDevice = value;
      }
    }

    public string Details
    {
      get
      {
        return this._NonConfDetails;
      }
      set
      {
        this._NonConfDetails = value;
      }
    }

    public short Quantity
    {
      get
      {
        return this._NonConfQty;
      }
      set
      {
        this._NonConfQty = value;
      }
    }

    public scSeverity Severity
    {
      get
      {
        return this._Severity;
      }
      set
      {
        this._Severity = value;
      }
    }

    public int SeverityId
    {
      get
      {
        return this._Severity.SeverityId;
      }
      set
      {
        this._Severity.SeverityId = value;
      }
    }

    public scEscalationLvl Escalation
    {
      get
      {
        return this._Esculation;
      }
      set
      {
        this._Esculation = value;
      }
    }

    public int EscalationLvlId
    {
      get
      {
        return this._Esculation.EscalationLvlId;
      }
      set
      {
        this._Esculation.EscalationLvlId = value;
      }
    }

    public string NonConfUserMCO
    {
      get
      {
        return this._NonConfUserMCO;
      }
      set
      {
        this._NonConfUserMCO = value;
      }
    }

    public DateTime NonConfUpdatedDate
    {
      get
      {
        return this._NonConfUpdatedDate;
      }
      set
      {
        this._NonConfUpdatedDate = value;
      }
    }

    public List<scAssociateData> TaskAssociate
    {
      get
      {
        return this._NonConfTaskAssoc;
      }
      set
      {
        this._NonConfTaskAssoc = value;
      }
    }

    public List<scItemMaster> AssyPart
    {
      get
      {
        return this._NonConfAssyPart;
      }
      set
      {
        this._NonConfAssyPart = value;
      }
    }

    public int RootCauseId
    {
      get
      {
        return this._RootCauseId;
      }
      set
      {
        this._RootCauseId = value;
      }
    }

    public int CorrActId
    {
      get
      {
        return this._CorrActId;
      }
      set
      {
        this._CorrActId = value;
      }
    }

    public scPVNonConformance()
    {
      this.InitNonConf();
    }

    public void InitNonConf()
    {
      this._NonConfId = 0;
      this._NonConfRv = this.DefaultDate;
      this._NonConfResponsible = 0L;
      this._NonConfAffected = 0L;
      this._NonConfDefect = 0L;
      this._NonConfDevice = 0L;
      this._NonConfDetails = "";
      this._NonConfQty = (short) 1;
      this._NonConfAssyPart = new List<scItemMaster>();
      this._NonConfTaskAssoc = new List<scAssociateData>();
      this._NonConfUpdatedDate = this.DefaultDate;
      this._NonConfUserMCO = "";
      this._Severity = new scSeverity();
      this._Esculation = new scEscalationLvl();
      this._RootCauseId = 1;
      this._CorrActId = 1;
    }
  }
}
