예제 #1
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();
        }
예제 #2
0
        public static FlowmeterClass GetFlowmeterClass()
        {
            if (_instance == null)
            {
                lock (syncLock)
                {
                    if (_instance == null)
                    {
                        _instance = new FlowmeterClass(StaticValues.FLOWTHEORICTAG, StaticValues.FLOWREALTAG, StaticValues.TAGVARFLOW, StaticValues.FLOWMETERLIMIT, 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();
 }