import { ajax } from "../sdk/ajax";
/* 智能养殖 */

// 零散信息 Breed_info
export const reqBreed_info = () => ajax("post", "/farm-huyang/produceConfig/other")

export const reqSetBreed_info = (data) => ajax("post", "/farm-huyang/produceConfig/setOther", data)


// 种羊等级分布
export const reqSheepDistribute = () => ajax("post", "/farm-huyang/produceConfig/sheepDistribute")

export const reqSetSheepDistribute = (data) => ajax("post", "/farm-huyang/produceConfig/setSheepDistribute", data)


// 牧场存栏 SheepLivestock
export const reqSheepLivestock = () => ajax("post", "/farm-huyang/produceConfig/sheepLivestock")

export const reqSetSheepLivestock = (data) => ajax("post", "/farm-huyang/produceConfig/setSheepLivestock", data)


// 消息提醒 Warn
export const reqWarn = () => ajax("post", "/farm-huyang/produceConfig/warning")

export const reqSetWarn = (data) => ajax("post", "/farm-huyang/produceConfig/setWarning", data)


// 谱系 Genealogy
export const reqGenealogy = () => ajax("post", "/farm-huyang/produceConfig/genealogy")

export const reqSetGenealogy = (data) => ajax("post", "/farm-huyang/produceConfig/setGenealogy", data)