//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();
        }
示例#2
0
        public static LoadingCellClass GetLoadingCellClass()
        {
            if (_instance == null)
            {
                lock (syncLock)
                {
                    if (_instance == null)
                    {
                        _instance = new LoadingCellClass(StaticValues.CELLREALTAG, StaticValues.CELLLIMIT, StaticValues.TAGVARCELL, StaticValues.EQUIPAMENTTYPE);
                    }
                    ;
                }
            }

            return(_instance);
        }
 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();
 }