Example #1
0
        private static string translateTypeToLongName(CalcStateEnum type)
        {
            switch (type)
            {
            case CalcStateEnum.None:
                return("None");

            case CalcStateEnum.MidQuarterUsed:
                return("MidQuarter");

            case CalcStateEnum.NoMidQuarter:
                return("No MidQuarter");

            default:
                return(null);
            }
        }
Example #2
0
        private static char translateTypeToShortName(CalcStateEnum type)
        {
            switch (type)
            {
            case CalcStateEnum.None:
                return('A');

            case CalcStateEnum.NoMidQuarter:
                return('B');

            case CalcStateEnum.MidQuarterUsed:
                return('C');

            default:
                return('\0');
            }
        }
Example #3
0
 public CalcState(CalcStateEnum aValue)
 {
     Type = (aValue);
 }
Example #4
0
 public void copyFrom(BusinessTypes.CalcState obj)
 {
     Type = (obj.Type);
 }
Example #5
0
 public virtual void defaults()
 {
     Type = (CalcStateEnum.None);
 }