Exemple #1
0
        /* -------------------------------------------------------------------------------------------
        * Method	    :   vanType()
        * Description	:   This Method is used for the van type
        * Parameters    :	none
        * Returns		:   type
        * ------------------------------------------------------------------------------------------*/
        public static int vanType()
        {
            int type = 0;

            Contract.contractDetails contract = new Contract.contractDetails();
            type = contract.vanType;
            return(type);
        }
Exemple #2
0
        /* -------------------------------------------------------------------------------------------
        * Method	    :   loadValue()
        * Description	:   This Method is used for the loadValue
        * Parameters    :	none
        * Returns		:   load
        * ------------------------------------------------------------------------------------------*/
        public static int loadValue()
        {
            int load = 0;

            Contract.contractDetails contract = new Contract.contractDetails();
            load = contract.jobType;
            return(load);
        }