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

            ret.SubCommand = sendtype;

            if (ret.SubCommand == SubCommandType.R)
            {
            }
            else
            {
                ret.CommandData_RM.Data_RM = new Org_CommandDataStruct();
            }
            return ret;
        }
Exemple #2
0
        // <summary>
        // CreateResponse
        // </summary>
        // <param name="responcedata"></param>
        // <returns></returns>
        // <remarks></remarks>
        public static new PA_Command CreateResponseData(byte[] responcedata)
        {
            PA_Command ret = new PA_Command();

            ret.IsResponse = true;

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

            return ret;
        }