public override void setUnderlyingValue(int raw) { rawVal = raw; val = (sfrTXSTABits)raw; }
public bool hasBit(sfrTXSTABits toCheck) { return (((int)val) | ((int)(toCheck))) == 0 ? false : true; }