public ReportClenilCompositumForte(EquipamentType eqtype)


        {
            this.eqFact = EquipamentFactory.GetEquipamentFactory();


            this.txt = new Text();
            op1      = new BeginOfManipulation(eqtype, "BeginOfManipulation", "Clenil Compositum Forte");
            op2      = new ZeroLoadCell(eqtype);
            op3      = new FirstLoading(eqtype, "1º Carregamento de Álcool Etílico Anidro", "1.2", "3", 0);
            op4      = new FirstLoading(eqtype, "2º Carregamento de Álcool Etílico Anidro", "1.2", "3", 1);
            op5      = new TempMonitoringClass(eqtype, false);
            op6      = new AdditionClass(eqtype, "Adição de Excipiente pelo Bocal T2", false, false, 0);
            op7      = new AdditionClass(eqtype, "Adição de Dipropionato de Baclometasoma", false, false, 1);
            op8      = new HighSpeedMix(eqtype, "30", "0", "1500", "2000", true, true, false, "5", 0);
            op9      = new LowSpeedMix(eqtype, "20", "30", false);
            op10     = new AdditionClass(eqtype, "Adição de Sulfato de Salbutamol Micronizado", true, false, 2);
            op11     = new HighSpeedMix(eqtype, "30", "0", "2000", "2500", true, true, false, "20", 1);
            op12     = new TankFinalWeight(eqtype, "", false);
            op13     = new ValveClass(eqtype, "15", true, true, "200", "494", "V8", "18");
            op14     = new EndOfManipulation(eqtype, false, true);

            StartReport();
        }
Esempio n. 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);
 }
        public ReportFostair(EquipamentType eqtype)
        {
            this.eqFact = EquipamentFactory.GetEquipamentFactory();

            txt    = new Text();
            op1    = new BeginOfManipulation(eqtype, "BeginOfManipulation", "Fostair");
            op2    = new ZeroLoadCell(eqtype);
            op3    = new FirstLoading(eqtype, "1º Carregamento de Álcool Etílico Anidro", "1.2", "3", 0);
            op4    = new TempMonitoringClass(eqtype, true);
            op5    = new SecondLoadingClass(eqtype, "2º Carregamento de Álcool Etílico Anidro + Formoterol", "1.2", "3", true, false, 0);
            op7    = new AdditionClass(eqtype, "Adição de Dipropionato de Beclometasona", false, false, 0);
            op8    = new HighSpeedMix(eqtype, "30", "1500", "0", "0", false, false, true, "10", 0);
            op9    = new LowSpeedMix(eqtype, "10", "30", false);
            op10   = new AdditionClass(eqtype, "Adição de Excipiente pelo Bocal T2", false, false, 1);
            op11   = new LowSpeedMix(eqtype, "10", "30", false, true);
            op12   = new TankFinalWeight(eqtype, "0", true);
            op13_1 = new ValveClass(eqtype, "5", true, false, "200", "494", "V10", "20");
            op13_2 = new ValveClass(eqtype, "5", false, true, "200", "494", "V9", "19");
            op14   = new RecirculationHoseDrain(eqtype);
            op13_3 = new ValveClass(eqtype, "1", true, true, "200", "494", "V8", "18");
            op15   = new EndOfManipulation(eqtype, true, false);
            op16   = new AdditionClass(eqtype, "Retirada de Amostra para Umidade e Titulação de HCL", false, true, 2);

            StartReport();
        }
        //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();
        }
Esempio n. 5
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();
 }
 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();
 }
Esempio n. 8
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 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();
 }
Esempio n. 10
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();
 }
        public IEquipament ConstructEquipament(EquipamentType equipamentType)
        {
            switch (equipamentType)
            {
            //case EquipamentType.Mock:
            //    return EquipamentMock.GetEquipamentMock();

            case EquipamentType.PLC:
                return(EquipamentPLC.GetEquipamentPLC());

            default:
                return(null);
            }
        }
Esempio n. 13
0
 public IReport ConstructEquipament(int reportType, int subtype, EquipamentType eqType)
 {
     if (reportType == 1)
     {
         if (subtype == 1)
         {
             return(new ReportClenilSubType1(eqType));
         }
         else if (subtype == 2)
         {
             return(new ReportClenilSubType2(eqType));
         }
         else if (subtype == 3)
         {
             return(new ReportClenilSubType3(eqType));
         }
     }
     else if (reportType == 2)
     {
         if (subtype == 1)
         {
             return(new ReportPlacebosClenil(eqType));
         }
         else if (subtype == 2)
         {
             return(new ReportPlacebosCompositum(eqType));
         }
         else if (subtype == 3)
         {
             // Este é o Placebos Fostair que possui o mesmo Layout do Placebos Compositum
             return(new ReportPlacebosCompositum(eqType));
         }
     }
     else if (reportType == 3)
     {
         return(new ReportFostair(eqType));
     }
     else if (reportType == 4)
     {
         if (subtype == 1)
         {
             return(new ReportClenilCompositum(eqType));
         }
         else if (subtype == 2)
         {
             return(new ReportClenilCompositumForte(eqType));
         }
     }
     return(null);
 }
Esempio n. 14
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();
 }
        //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();
        }
 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();
 }
Esempio n. 17
0
        public ReportPlacebosCompositum(EquipamentType eqtype)
        {
            this.eqFact = EquipamentFactory.GetEquipamentFactory();


            txt  = new Text();
            op1  = new BeginOfManipulation(eqtype, "BeginOfManipulation", "Placebos");
            op2  = new ZeroLoadCell(eqtype);
            op3  = new FirstLoading(eqtype, "1º Carregamento de Álcool Etílico Anidro", "1.2", "3", 0);
            op4  = new TempMonitoringClass(eqtype, true);
            op8  = new AdditionClass(eqtype, "Adição de Excipiente pelo Bocal T2", false, false, 0);
            op9  = new LowSpeedMix(eqtype, "15", "30", false);
            op10 = new TankFinalWeight(eqtype, "Peso final do Produto no Tanque", false);
            op11 = new ValveClass(eqtype, "5", true, true, "200", "494", "V8", "18");
            op12 = new EndOfManipulation(eqtype, true, true);
            StartReport();
        }
        public ReportPlacebosClenil(EquipamentType eqtype)
        {
            this.eqFact = EquipamentFactory.GetEquipamentFactory();


            txt  = new Text();
            op1  = new BeginOfManipulation(eqtype, "BeginOfManipulation", "Placebos");
            op2  = new ZeroLoadCell(eqtype);
            op3  = new FirstLoading(eqtype, "1º Carregamento de Álcool Etílico Anidro", "1.2", "3", 0);
            op4  = new TempMonitoringClass(eqtype, true);
            op5  = new SecondLoadingClass(eqtype, "2º Carregamento de Álcool Etílico Anidro + Glicerol", "1.2", "3", false, false, 0);
            op7  = new HighSpeedMix(eqtype, "30", "1500", "0", "0", false, false, false, "5", 0);
            op10 = new TankFinalWeight(eqtype, "Peso final do Produto no Tanque", true);
            op11 = new ValveClass(eqtype, "5", true, true, "200", "494", "V8", "18");
            op12 = new EndOfManipulation(eqtype, false, true);
            StartReport();
        }
Esempio n. 19
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();
 }
Esempio n. 20
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();
 }
        public ReportClenilSubType3(EquipamentType eqtype)
        {
            this.eqFact = EquipamentFactory.GetEquipamentFactory();

            op1      = new BeginOfManipulation(eqtype, "BeginOfManipulation", "Clenil");
            op2      = new ZeroLoadCell(eqtype);
            op3      = new FirstLoading(eqtype, "1º Carregamento de Álcool Etílico Anidro ", "1.2", "3", 0);
            op4      = new TempMonitoringClass(eqtype, true);
            op5      = new SecondLoadingClass(eqtype, "2º Carregamento de Álcool Etílico Anidro + Glicerol", "1.2", "3", false, false, 0);
            op11     = new HighSpeedMix(eqtype, "30", "1500", "0", "0", false, false, true, "5", 0);
            op12     = new AdditionClass(eqtype, "Adição de Dipropionato de Beclometasona", false, false, 0);
            op13     = new HighSpeedMix(eqtype, "30", "1500", "0", "0", false, false, false, "10", 1);
            op14     = new LowSpeedMix(eqtype, "10", "30", false);
            op15     = new TankFinalWeight(eqtype, "TankFinalWeight", true);
            op16_1   = new ValveClass(eqtype, "5", true, false, "200", "494", "V10", "20");
            op16_2   = new ValveClass(eqtype, "5", false, true, "200", "494", "V9", "19");
            op17     = new RecirculationHoseDrain(eqtype);
            op16_3   = new ValveClass(eqtype, "1", true, true, "200", "494", "V8", "18");
            op18     = new EndOfManipulation(eqtype, true, true);
            this.txt = new Text();
            StartReport();
        }
 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();
 }
 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);
 }
Esempio n. 24
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);
 }
Esempio n. 25
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);
 }
Esempio n. 26
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);
 }
Esempio n. 27
0
 public TankClass(string TankWeightTag, EquipamentType typeEq)
 {
     this.TankWeightTag = TankWeightTag;
     this.eq            = this.eqFact.ConstructEquipament(typeEq);
     this.convert       = new Convertion(typeEq);
 }
Esempio n. 28
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);
 }
 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);
 }
Esempio n. 30
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);
        }