예제 #1
0
        // <summary>
        // CreateSendData
        // </summary>
        // <returns></returns>
        // <remarks></remarks>
        public static MA_Command CreateSendData(SubCommandType sendtype)
        {
            MA_Command ret = new MA_Command();

            ret.CommandData_RM.Data_RM = new Org_CommandDataStruct_W_Send();

            return ret;
        }
예제 #2
0
        // <summary>
        // CreateResponse
        // </summary>
        // <param name="responcedata"></param>
        // <returns></returns>
        // <remarks></remarks>
        public static new MA_Command CreateResponseData(byte[] responcedata)
        {
            MA_Command ret = new MA_Command();

            ret.IsResponse = true;

            //レスポンスの埋め込み
            ret.CommandData_RM.SetCommand(responcedata);

            return ret;
        }