public SignPosition(SIGN_POSITION_TYPE sign_position_type_ /*, int def_ix_position_ = 0*/) { signType = SignType.CreateSignType(sign_position_type_); ix_position = -1; ix_count = 0; }
public StructFieldAcsMsg(SIGN_POSITION_TYPE spt_, int sign_pos_, int data_length_) { signType = SignType.CreateSignType(spt_); sign_ = SignType.GetSignByType(spt_); sign_position_type = spt_; sign_position = sign_pos_; data_length = data_length_; ary_chars = new char[data_length]; }
public static char GetSignByType(SIGN_POSITION_TYPE sign_position_type_) { return((char)ary[(int)sign_position_type_, 1]); }
/// <summary> /// may return null /// </summary> /// <param name="sign_position_type_"></param> /// <returns></returns> public static SignType CreateSignType(SIGN_POSITION_TYPE sign_position_type_) { char sign = (char)ary[(int)sign_position_type_, 1]; return(new SignType(sign_position_type_, sign)); }
SignType(SIGN_POSITION_TYPE sign_position_type_, char sign_) { sign_position_type = sign_position_type_; sign = sign_; }