Esempio n. 1
0
        public measureSystemRoleEntry setCustomRoleEntry(String __letter = "", String __symbol = "", String __name = "")
        {
            if (info == null)
            {
                info = new measureInfo();
            }
            if (info.role == null)
            {
                info.role = new measureSystemRoleEntry(__letter, __symbol, __name);
            }

            return(info.role);
        }
Esempio n. 2
0
        // public abstract IMeasureBasic calculate(IMeasureBasic second, operation op);

        public measureSystemUnitEntry setCustomUnitEntry()
        {
            if (info == null)
            {
                info = new measureInfo();
            }
            if (info.unit == null)
            {
                info.unit = new measureSystemUnitEntry();
            }

            return(info.unit);
        }