Exemplo n.º 1
0
        // <summary>
        // CreateSendData
        // </summary>
        // <returns></returns>
        // <remarks></remarks>
        public static TA_Command CreateSendData(SubCommandType sendtype)
        {
            TA_Command ret = new TA_Command();

            ret.CommandData_RM.Data_RM = new Org_CommandDataStruct_W();

            return ret;
        }
Exemplo n.º 2
0
        // <summary>
        // CreateResponse
        // </summary>
        // <param name="responcedata"></param>
        // <returns></returns>
        // <remarks></remarks>
        public static new TA_Command CreateResponseData(byte[] responcedata)
        {
            TA_Command ret = new TA_Command();

            ret.IsResponse = true;

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

            return ret;
        }