void setData0B13(ClassCSV cCSV, string retbuff, long rowTarget, int numUma)
        {
            List <classDM> listDM = new List <classDM>();
            int            cnt    = 0;

            JVData_Struct.JV_DM_INFO mDMData =
                new JVData_Struct.JV_DM_INFO();
            mDMData.SetDataB(ref retbuff);
            for (int i = 0; i < numUma; i++)
            {
                if (int.Parse(mDMData.DMInfo[cnt].Umaban) == 0 ||
                    int.Parse(mDMData.DMInfo[cnt].Umaban) > 18)
                {
                    break;
                }
                listDM.Add(new classDM(int.Parse(mDMData.DMInfo[cnt].Umaban),
                                       int.Parse(mDMData.DMInfo[cnt].DMTime)));
                cnt++;
            }
            listDM.Sort((a, b) => a.DMTime - b.DMTime);
            // 書き込み
            for (int i = 0; i < numUma; i++)
            {
                if (listDM[i].Umaban <= 18)
                {
                    cCSV.setData(rowTarget + 1 + listDM[i].Umaban, 9,
                                 (i + 1).ToString());
                }
            }
        }
        bool setDataDM(ClassCSV cCSV, string retbuff, DateTime datetimeTarg, bool isFind)
        {
            List <classDM> listDM = new List <classDM>();

            DateTime dateTime;
            string   strShortJyo;
            string   strJyo;
            long     rowTarget;
            int      numUma;
            int      cnt = 0;

            JVData_Struct.JV_DM_INFO mDMData =
                new JVData_Struct.JV_DM_INFO();
            mDMData.SetDataB(ref retbuff);
            dateTime = DateTime.Parse(
                (mDMData.id.Year +
                 mDMData.id.MonthDay).Insert(4, "/").Insert(7, "/"));
            if (dateTime.ToShortDateString() != datetimeTarg.ToShortDateString())
            {
                return(false);
            }
            if (isFind && dateTime > datetimeTarg)
            {
                return(true);
            }
            strJyo = cCommon.JyoCord(mDMData.id.JyoCD);
            if (strJyo == "")
            {
                return(false);
            }
            strShortJyo = cCommon.Jyo2ShortJyo(strJyo);
            rowTarget   = cCSV.getDataRow(strShortJyo,
                                          int.Parse(mDMData.id.RaceNum));
            numUma = int.Parse(cCSV.getData(rowTarget, 4));
            for (int i = 0; i < numUma; i++)
            {
                if (int.Parse(mDMData.DMInfo[cnt].Umaban) == 0 ||
                    int.Parse(mDMData.DMInfo[cnt].Umaban) > 18)
                {
                    break;
                }
                listDM.Add(new classDM(int.Parse(mDMData.DMInfo[cnt].Umaban),
                                       int.Parse(mDMData.DMInfo[cnt].DMTime)));
                cnt++;
            }
            listDM.Sort((a, b) => a.DMTime - b.DMTime);
            // 書き込み
            for (int i = 0; i < numUma; i++)
            {
                if (listDM[i].Umaban <= 18)
                {
                    cCSV.setData(rowTarget + 1 + listDM[i].Umaban, 9,
                                 (i + 1).ToString());
                }
            }

            return(false);
        }