// <summary> // CreateSendData // </summary> // <returns></returns> // <remarks></remarks> public static IA_Command CreateSendData(SubCommandType sendtype) { IA_Command ret = new IA_Command(); ret.CommandData_RM.Data_RM = new Org_CommandDataStruct_W_Send(); return ret; }
// <summary> // CreateResponse // </summary> // <param name="responcedata"></param> // <returns></returns> // <remarks></remarks> public static new IA_Command CreateResponseData(byte[] responcedata) { IA_Command ret = new IA_Command(); ret.IsResponse = true; //レスポンスの埋め込み ret.CommandData_RM.SetCommand(responcedata); return ret; }