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); } }
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'); } }
public CalcState(CalcStateEnum aValue) { Type = (aValue); }
public void copyFrom(BusinessTypes.CalcState obj) { Type = (obj.Type); }
public virtual void defaults() { Type = (CalcStateEnum.None); }