Пример #1
0
 protected LoadingCellClass(string RealQtyTag, string LimitTag, string CellVariationTag, EquipamentType typeEq)
 {
     this.RealQtyTag       = RealQtyTag;
     this.LimitTag         = LimitTag;
     this.CellVariationTag = CellVariationTag;
     this.eq = this.eqFact.ConstructEquipament(typeEq);
 }
Пример #2
0
 protected ShakerClass(string ShakingSpeedTag, string RpmLimitTag, EquipamentType typeEq)
 {
     this.ShakingSpeedTag = ShakingSpeedTag;
     this.RpmLimitTag     = RpmLimitTag;
     this.eq      = this.eqFact.ConstructEquipament(typeEq);
     this.convert = new Convertion(typeEq);
 }
 protected BasicInfoClass(string DateTag, string HourTag, string OperatorLoginTag, string OperatorNameTag, EquipamentType typeEq)
 {
     this.DateTag          = DateTag;
     this.HourTag          = HourTag;
     this.OperatorLoginTag = OperatorLoginTag;
     this.OperatorNameTag  = OperatorNameTag;
     this.eq = this.eqFact.ConstructEquipament(typeEq);
 }
        public List <RecipeData> SearchInfoInList(IEquipament eq, string id)
        {
            var recipesInfos = eq.recipe;

            var result = recipesInfos.Data.FindAll(d => d.Id == id);

            return(result);
        }
 protected GlicerolClass(string GliQtyTag, string OutFlowStartTag, string OutFlowEndTag, EquipamentType typeEq)
 {
     this.GliQtyTag       = GliQtyTag;
     this.OutFlowStartTag = OutFlowStartTag;
     this.OutFlowEndTag   = OutFlowEndTag;
     this.eq      = this.eqFact.ConstructEquipament(typeEq);
     this.convert = new Convertion(typeEq);
 }
Пример #6
0
 protected ClenilClass(string ClenilSpeedTag, string EndTimeTag, string IniTimeTag, EquipamentType typeEq)
 {
     this.ClenilSpeedTag = ClenilSpeedTag;
     this.EndTimeTag     = EndTimeTag;
     this.IniTimeTag     = IniTimeTag;
     this.eq             = this.eqFact.ConstructEquipament(typeEq);
     this.convert        = new Convertion(typeEq);
 }
Пример #7
0
 protected AnchorClass(string AnchorSpeedTag, string IniTimeTag, string EndTimeTag, EquipamentType typeEq)
 {
     this.AnchorSpeedTag = AnchorSpeedTag;
     this.IniTimeTag     = IniTimeTag;
     this.RpmLimitTag    = RpmLimitTag;
     this.EndTimeTag     = EndTimeTag;
     this.eq             = this.eqFact.ConstructEquipament(typeEq);
     this.convert        = new Convertion(typeEq);
 }
Пример #8
0
 protected FlowmeterClass(string TheoricQtyTag, string RealQtyTag, string FlowVariationTag, string LimitTag, EquipamentType typeEq)
 {
     this.TheoricQtyTag    = TheoricQtyTag;
     this.RealQtyTag       = RealQtyTag;
     this.LimitTag         = LimitTag;
     this.FlowVariationTag = FlowVariationTag;
     this.eq      = this.eqFact.ConstructEquipament(typeEq);
     this.convert = new Convertion(typeEq);
 }
Пример #9
0
 protected LobulesClass(string EndTimeTag, string IniTimeTag, string RpmLimit, string lobulesSpeedTag, EquipamentType typeEq)
 {
     this.EndTimeTag      = EndTimeTag;
     this.IniTimeTag      = IniTimeTag;
     this.RpmLimit        = RpmLimit;
     this.lobulesSpeedTag = lobulesSpeedTag;
     this.eq      = this.eqFact.ConstructEquipament(typeEq);
     this.convert = new Convertion(typeEq);
 }
Пример #10
0
 protected ClenilStrong(string ClenilSpeedStrongTag, string EndTimeTag, string IniTimeTag, string RpmLimitTag, EquipamentType typeEq)
 {
     this.ClenilSpeedStrongTag = ClenilSpeedStrongTag;
     this.EndTimeTag           = EndTimeTag;
     this.IniTimeTag           = IniTimeTag;
     this.RpmLimitTag          = RpmLimitTag;
     this.eq      = this.eqFact.ConstructEquipament(typeEq);
     this.convert = new Convertion(typeEq);
 }
Пример #11
0
        protected ProductClass(string CodeTag, string ProductTag, string BatchTag, string ProductTempTag, EquipamentType typeEq)
        {
            this.CodeTag        = CodeTag;
            this.ProductTag     = ProductTag;
            this.BatchTag       = BatchTag;
            this.ProductTempTag = ProductTempTag;

            this.eq = this.eqFact.ConstructEquipament(typeEq);
        }
Пример #12
0
        //conts


        public FillingStart(EquipamentType typeEq, string Product)
        {
            this.eq       = this.eqFact.ConstructEquipament(typeEq);
            this.infos    = BasicInfoClass.GetBasicInfo();
            this.prod     = ProductClass.GetProductClass();
            this.tank     = TankClass.GetTankClass();
            this.convert  = new Convertion(typeEq);
            this.errorlog = new ErrorLog();
        }
Пример #13
0
 public Pdf(string txt)
 {
     reportTxt = txt;
     binfos    = BasicInfoClass.GetBasicInfo();
     logClass  = new LogClass();
     text      = new Text();
     Batch     = binfos.KeepBatch;
     eq        = eqFact.ConstructEquipament(EquipamentType.PLC);
 }
Пример #14
0
 protected TurbineClass(string TurbineSpeedTag, string IniTimeTag, string EndTimeTag, string mixTimeTag, EquipamentType typeEq)
 {
     this.TurbineSpeedTag = TurbineSpeedTag;
     this.IniTimeTag      = IniTimeTag;
     this.EndTimeTag      = EndTimeTag;
     this.RpmLimitTag     = RpmLimitTag;
     this.mixTimeTag      = mixTimeTag;
     this.eq      = this.eqFact.ConstructEquipament(typeEq);
     this.convert = new Convertion(typeEq);
 }
Пример #15
0
 public EndFilling(EquipamentType typeEq, bool checkBreak)
 {
     this.eq         = this.eqFact.ConstructEquipament(typeEq);
     this.infos      = BasicInfoClass.GetBasicInfo();
     this.tank       = TankClass.GetTankClass();
     this.convert    = new Convertion(typeEq);
     this.errorlog   = new ErrorLog();
     this.checkBreak = checkBreak;
     //this.logAction = new //logAction();
 }
 public BeginOfManipulation(EquipamentType typeEq, string OperationName, string Product)
 {
     this.eq            = this.eqFact.ConstructEquipament(typeEq);
     this.OperationName = OperationName;
     this.prod          = ProductClass.GetProductClass();
     this.basicInfo     = BasicInfoClass.GetBasicInfo();
     this.errorlog      = new ErrorLog();
     this.convert       = new Convertion(typeEq);
     this.logAction     = new LogAction();
 }
Пример #17
0
 public ZeroLoadCell(EquipamentType typeEq)
 {
     //ID da Operação - cada operação possui um ID exceto a incial(BeginOfMAnipulation)
     // e a ZeroLoadCell
     this.operationID = "2";
     this.tank        = TankClass.GetTankClass();
     this.basicInfo   = BasicInfoClass.GetBasicInfo();
     this.eq          = this.eqFact.ConstructEquipament(typeEq);
     errorlog         = new ErrorLog();
     this.convert     = new Convertion(typeEq);
     this.logAction   = new LogAction();
 }
 public RecirculationHoseDrain(EquipamentType typeEq)
 {
     //ID da Operação - cada operação possui um ID exceto a incial(BeginOfMAnipulation)
     this.operationID   = "11";
     this.eq            = this.eqFact.ConstructEquipament(typeEq);
     this.OperationName = OperationName;
     this.prod          = ProductClass.GetProductClass();
     this.infos         = BasicInfoClass.GetBasicInfo();
     this.convert       = new Convertion(typeEq);
     this.errorlog      = new ErrorLog();
     //this.logAction = new //logAction();
 }
 public EndOfManipulation(EquipamentType typeEq, bool checkBreak, bool gerarPdf)
 {
     //ID da Operação - cada operação possui um ID exceto a incial(BeginOfMAnipulation)
     this.operationID = "12";
     this.infos       = BasicInfoClass.GetBasicInfo();
     this.eq          = this.eqFact.ConstructEquipament(typeEq);
     this.convert     = new Convertion(typeEq);
     this.errorlog    = new ErrorLog();
     this.checkBreak  = checkBreak;
     this.gerarPdf    = gerarPdf;
     //this.logAction = new //logAction();
 }
Пример #20
0
 public TempMonitoringClass(EquipamentType typeEq, bool checkBreak)
 {
     //ID da Operação - cada operação possui um ID exceto a incial
     this.operationID = "4";
     this.eq          = this.eqFact.ConstructEquipament(typeEq);
     this.shaker      = ShakerClass.GetShakerClass();
     this.prod        = ProductClass.GetProductClass();
     this.basicInfo   = BasicInfoClass.GetBasicInfo();
     this.errorlog    = new ErrorLog();
     this.convert     = new Convertion(typeEq);
     this.checkBreak  = checkBreak;
     //this.logAction = new //logAction();
 }
 public TankFinalWeight(EquipamentType typeEq, string OperationName, bool checkBreak)
 {
     //ID da Operação - cada operação possui um ID exceto a incial(BeginOfMAnipulation)
     this.operationID   = "11";
     this.eq            = this.eqFact.ConstructEquipament(typeEq);
     this.OperationName = OperationName;
     this.checkBreak    = checkBreak;
     this.infos         = BasicInfoClass.GetBasicInfo();
     this.tanks         = TankClass.GetTankClass();
     this.errorlog      = new ErrorLog();
     this.convert       = new Convertion(typeEq);
     //this.logAction = new //logAction();
 }
Пример #22
0
 public AdditionClass(EquipamentType typeEq, string headerName, bool checkBreak, bool gerarPdf, int index)
 {
     //ID da Operação - cada operação possui um ID exceto a incial(BeginOfMAnipulation)
     this.operationID = "7";
     this.eq          = this.eqFact.ConstructEquipament(typeEq);
     this.index       = index;
     this.headerName  = headerName;
     this.checkBreak  = checkBreak;
     this.gerarPdf    = gerarPdf;
     this.infos       = BasicInfoClass.GetBasicInfo();
     this.convert     = new Convertion(typeEq);
     this.errorlog    = new ErrorLog();
     //this.logAction = new //logAction();
 }
Пример #23
0
        //conts

        public FirstLoading(EquipamentType typeEq, string headerName, string limitFlow, string limitCell, int index)
        {
            this.operationID = "3";
            this.index       = index;
            this.eq          = this.eqFact.ConstructEquipament(typeEq);
            this.headerName  = headerName;
            this.flux        = FlowmeterClass.GetFlowmeterClass();
            this.cell        = LoadingCellClass.GetLoadingCellClass();
            this.infos       = BasicInfoClass.GetBasicInfo();
            this.errorlog    = new ErrorLog();
            this.limitCell   = limitCell;
            this.limitFlow   = limitFlow;
            this.convert     = new Convertion(typeEq);
            //this.logAction = new //logAction();
        }
Пример #24
0
 public FourthLoadingClass(EquipamentType typeEq, string headerName, string limitFlow, string limitCell, int index)
 {
     //ID da Operação - cada operação possui um ID exceto a incial
     this.index       = index;
     this.operationID = "5";
     this.eq          = this.eqFact.ConstructEquipament(typeEq);
     this.headerName  = headerName;
     this.flux        = FlowmeterClass.GetFlowmeterClass();
     this.cell        = LoadingCellClass.GetLoadingCellClass();
     this.infos       = BasicInfoClass.GetBasicInfo();
     this.gli         = GlicerolClass.GetGlicerolClass();
     this.errorlog    = new ErrorLog();
     this.limitCell   = limitCell;
     this.limitFlow   = limitFlow;
     this.convert     = new Convertion(typeEq);
     //this.logAction = new //logAction();
 }
Пример #25
0
 public ValveClass(EquipamentType typeEq, string valveTime, bool checkIniValve, bool finalValve,
                   string lowLimit, string highLimit, string valvName, string id)
 {
     //ID da Operação - cada operação possui um ID exceto a incial(BeginOfMAnipulation)
     this.operationID   = id;
     this.valvName      = valvName;
     this.checkIniValve = checkIniValve;
     this.finalValve    = finalValve;
     this.lobules       = LobulesClass.GetLobulesClass();
     this.anchor        = AnchorClass.GetAnchorClass();
     this.basicInfo     = BasicInfoClass.GetBasicInfo();
     this.valveTime     = valveTime;
     this.highLimit     = highLimit;
     this.lowLimit      = lowLimit;
     this.errorlog      = new ErrorLog();
     this.convert       = new Convertion(typeEq);
     this.eq            = this.eqFact.ConstructEquipament(typeEq);
     //this.logAction = new //logAction();
 }
Пример #26
0
 public LowSpeedMix(EquipamentType typeEq, string mixTime, string rpmLimit, bool checkBreak, bool secondTable = false)
 {
     //ID da Operação - cada operação possui um ID exceto a incial
     this.operationID = "8";
     this.basicInfo   = BasicInfoClass.GetBasicInfo();
     this.anchor      = AnchorClass.GetAnchorClass();
     this.mixTime     = mixTime;
     this.eq          = this.eqFact.ConstructEquipament(typeEq);
     this.errorlog    = new ErrorLog();
     this.rpmLimit    = rpmLimit;
     this.checkBreak  = checkBreak;
     this.convert     = new Convertion(typeEq);
     if (secondTable == true)
     {
         this.secondTable = true;
     }
     else
     {
         this.secondTable = false;
     }
     //this.logAction = new //logAction();
 }
Пример #27
0
 public HighSpeedMix(EquipamentType typeEq, string anchorLimit,
                     string turbineLimit, string clenilLimit, string clenilStrongLimit, bool changeTable, bool clenilForte, bool checkBreak, string mixTime, int index)
 {
     //ID da Operação - cada operação possui um ID exceto a incial
     this.operationID       = "6";
     this.index             = index;
     this.basicInfo         = BasicInfoClass.GetBasicInfo();
     this.anchor            = AnchorClass.GetAnchorClass();
     this.turbine           = TurbineClass.GetTurbineClass();
     this.clenil            = ClenilClass.GetClenilClass();
     this.clenilStrong      = ClenilStrong.GetClenilStrong();
     this.anchorLimit       = anchorLimit;
     this.turbineLimit      = turbineLimit;
     this.clenilLimit       = clenilLimit;
     this.clenilForte       = clenilForte;
     this.checkBreak        = checkBreak;
     this.mixTime           = mixTime;
     this.clenilStrongLimit = clenilStrongLimit;
     this.changeTable       = changeTable;
     this.eq       = this.eqFact.ConstructEquipament(typeEq);
     this.convert  = new Convertion(typeEq);
     this.errorlog = new ErrorLog();
     //this.logAction = new //logAction();
 }
Пример #28
0
 public Convertion(EquipamentType typeEq)
 {
     this.eq       = this.eqFact.ConstructEquipament(typeEq);
     this.errorLog = new ErrorLog();
 }
Пример #29
0
 public TankClass(string TankWeightTag, EquipamentType typeEq)
 {
     this.TankWeightTag = TankWeightTag;
     this.eq            = this.eqFact.ConstructEquipament(typeEq);
     this.convert       = new Convertion(typeEq);
 }