import config from "../config";

export default {
  startStreamConverters: {
    url: config.base_url + "device/startStreamConverters/{farmId}",
    type: "get",
  },
  closeStreamConverters: {
    url: config.base_url + "device/closeStreamConverters/{farmId}/{converterId}",
    type: "get",
  },
  userGarden: {
    url: config.base_url + "farm/list",
    type: "post",
  },
  listByFarmId: {
    url: config.base_url + "container_phenology_monitor/list_by_farmId",
    type: "get",
  },
  queryWorkCodeSampleParams: {
    url: config.base_url + "container_phenology_monitor/query_work_code_sample_params",
    type: "get",
  },
  statByLegendRanges: {
    url: config.base_url + "container_phenology_monitor/stat_by_legend_ranges",
    type: "get",
  },
  getSampleFilesWithParams: {
    url: config.base_url + "work_code_sample/getSampleFilesWithParams",
    type: "get",
  },
  getSpeakInfo: {
    url: config.base_url + "container_phenology_sample_files_speak_title/getSpeakInfo",
    type: "get",
  },
  getFarmFilesWithParams: {
    url: config.base_url + "work_code_farm/getFarmFilesWithParams",
    type: "get",
  },
  getFarmSpeakInfo: {
    url: config.base_url + "container_phenology_sample_files_speak_title/getFarmSpeakInfo",
    type: "get",
  },
  startFightTask:{
    url: config.base_url + "autoFlow/flightTasks/{farmId}",
    type: "get",
  },
  getSampleShowTime:{
    url: config.base_url + "autoFlow/getSampleShowTime",
    type: "get",
  }
};

