// Decompiled with JetBrains decompiler
// Type: SE0085.StCl.scOrdFASInfo
// 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 Microsoft.VisualBasic;
using Microsoft.VisualBasic.CompilerServices;
using System;

//namespace SE0085.StCl
namespace FAS_LIB
{
  public class scOrdFASInfo : scOrderData
  {
    private int _OrdFASExtId;
    private string _FASOrdNbr;
    private string _FASAsmblLn;
    private string _FASWorkCtr;
    private int _FASOrdQty;
    private int _FASUnfilledQty;
    private int _FASCmplQty;
    private DateTime _FASDueDt;
    private int _FASPrgrsPnt;
    private string _OrdCatlgNbr;
    private string _OrdMfgPartNbr;
    private string _OrdCdDesc;
    private string _OrdProdLn;
    private bool _OrdBuildReq;
    private DateTime _OrdBldReqDt;
    private int _OrdBldReqSect;
    private int _OrdBldTimeSec;
    private int _OrdFASExtDtlId;
    private bool _OrdBldRequest;
    private DateTime _OrdBldRequestedDt;
    private DateTime _OrdBldRequiredDt;
    private int _OrdBldReqShipSpt;
    private int _OrdSectsId;
    private int _OrdSectsNum;
    private int _OrdBldReqSectQty;
    private DateTime _OrdBldCompleteDt;

    public int OrdFASExtId
    {
      get
      {
        return this._OrdFASExtId;
      }
      set
      {
        this._OrdFASExtId = value;
      }
    }

    public string FASOrdNbr
    {
      get
      {
        return this._FASOrdNbr;
      }
      set
      {
        this._FASOrdNbr = value;
      }
    }

    public string FASAsmblLn
    {
      get
      {
        return this._FASAsmblLn;
      }
      set
      {
        this._FASAsmblLn = value;
      }
    }

    public string FASWorkCtr
    {
      get
      {
        return this._FASWorkCtr;
      }
      set
      {
        this._FASWorkCtr = value;
      }
    }

    public int FASOrdQty
    {
      get
      {
        return this._FASOrdQty;
      }
      set
      {
        this._FASOrdQty = value;
      }
    }

    public int FASUnfilledQty
    {
      get
      {
        return this._FASUnfilledQty;
      }
      set
      {
        this._FASUnfilledQty = value;
      }
    }

    public int FASCmplQty
    {
      get
      {
        return this._FASCmplQty;
      }
      set
      {
        this._FASCmplQty = value;
      }
    }

    public DateTime FASDueDt
    {
      get
      {
        return this._FASDueDt;
      }
      set
      {
        this._FASDueDt = value;
      }
    }

    public string FASDueDtShort
    {
      get
      {
        return Strings.Format((object) this._FASDueDt, "MM/dd/yyyy");
      }
    }

    public int FASPrgrsPnt
    {
      get
      {
        return this._FASPrgrsPnt;
      }
      set
      {
        this._FASPrgrsPnt = value;
      }
    }

    public string OrdCatlgNbr
    {
      get
      {
        return this._OrdCatlgNbr;
      }
      set
      {
        this._OrdCatlgNbr = value;
      }
    }

    public string OrdMfgPartNbr
    {
      get
      {
        return this._OrdMfgPartNbr;
      }
      set
      {
        this._OrdMfgPartNbr = value;
      }
    }

    public string OrdCdDesc
    {
      get
      {
        return this._OrdCdDesc;
      }
      set
      {
        this._OrdCdDesc = value;
      }
    }

    public string OrdProdLn
    {
      get
      {
        return this._OrdProdLn;
      }
      set
      {
        this._OrdProdLn = value;
      }
    }

    public bool OrdBuildReq
    {
      get
      {
        return this._OrdBuildReq;
      }
      set
      {
        this._OrdBuildReq = value;
      }
    }

    public DateTime OrdBldReqDt
    {
      get
      {
        return this._OrdBldReqDt;
      }
      set
      {
        this._OrdBldReqDt = value;
      }
    }

    public int OrdBldReqSect
    {
      get
      {
        return this._OrdBldReqSect;
      }
      set
      {
        this._OrdBldReqSect = value;
      }
    }

    public int OrdBldTimeSec
    {
      get
      {
        return this._OrdBldTimeSec;
      }
      set
      {
        this._OrdBldTimeSec = value;
      }
    }

    public int OrdFASExtDtlId
    {
      get
      {
        return this._OrdFASExtDtlId;
      }
      set
      {
        this._OrdFASExtDtlId = value;
      }
    }

    public bool OrdBldRequest
    {
      get
      {
        return this._OrdBldRequest;
      }
      set
      {
        this._OrdBldRequest = value;
      }
    }

    public DateTime OrdBldRequestedDt
    {
      get
      {
        return this._OrdBldRequestedDt;
      }
      set
      {
        this._OrdBldRequestedDt = value;
      }
    }

    public DateTime OrdBldRequiredDt
    {
      get
      {
        return this._OrdBldRequiredDt;
      }
      set
      {
        this._OrdBldRequiredDt = value;
      }
    }

    public int OrdBldReqShipSpt
    {
      get
      {
        return this._OrdBldReqShipSpt;
      }
      set
      {
        this._OrdBldReqShipSpt = value;
      }
    }

    public int OrdSectsId
    {
      get
      {
        return this._OrdSectsId;
      }
      set
      {
        this._OrdSectsId = value;
      }
    }

    public int OrdSectsNum
    {
      get
      {
        return this._OrdSectsNum;
      }
      set
      {
        this._OrdSectsNum = value;
      }
    }

    public int OrdBldReqSectQty
    {
      get
      {
        return this._OrdBldReqSectQty;
      }
      set
      {
        this._OrdBldReqSectQty = value;
      }
    }

    public DateTime OrdBldCompleteDt
    {
      get
      {
        return this._OrdBldCompleteDt;
      }
      set
      {
        this._OrdBldCompleteDt = value;
      }
    }

    public scOrdFASInfo()
    {
      this._OrdFASExtId = 0;
      this._FASOrdNbr = "";
      this._FASAsmblLn = "";
      this._FASWorkCtr = "";
      this._FASOrdQty = 0;
      this._FASUnfilledQty = 0;
      this._FASCmplQty = 0;
      this._FASDueDt = Conversions.ToDate("01/01/1901");
      this._FASPrgrsPnt = 0;
      this._OrdCatlgNbr = "";
      this._OrdMfgPartNbr = "";
      this._OrdCdDesc = "";
      this._OrdProdLn = "";
      this._OrdBuildReq = false;
      this._OrdBldReqDt = Conversions.ToDate("01/01/1901");
      this._OrdBldReqSect = 0;
      this._OrdBldTimeSec = 0;
      this._OrdFASExtDtlId = 0;
      this._OrdBldRequest = false;
      this._OrdBldRequestedDt = Conversions.ToDate("01/01/1901");
      this._OrdBldRequiredDt = Conversions.ToDate("01/01/1901");
      this._OrdBldReqShipSpt = 0;
      this._OrdSectsId = 0;
      this._OrdSectsNum = 0;
      this._OrdBldReqSectQty = 0;
      this._OrdBldCompleteDt = Conversions.ToDate("01/01/1901");
    }

    public bool get_OrdBldGetSect(int SectNum)
    {
      return SectNum > 0 & SectNum <= 32 && ((ulong) checked ((long) Math.Round(Math.Pow(2.0, unchecked ((double) checked (SectNum - 1))))) & (ulong) -(this.OrdBldReqSect > 0 ? 1 : 0)) > 0UL;
    }

    public void set_OrdBldSetSect(int SectNum, object value)
    {
      if (!(SectNum > 0 & SectNum <= 32))
        return;
      this._OrdBldReqSect = checked ((int) ((long) this._OrdBldReqSect | (long) Math.Round(Math.Pow(2.0, unchecked ((double) checked (SectNum - 1))))));
    }
  }
}
