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)


// 种羊年龄分布 AgeDistribute
export const reqAgeDistribute = () => ajax("post", "/farm-huyang/produceConfig/ageDistribute")

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


// 羔羊分布 LambDistribute
export const reqLambDistribute = () => ajax("post", "/farm-huyang/produceConfig/lambDistribute")

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


// 种羊销售 SheepSale
export const reqSheepSale = () => ajax("post", "/farm-huyang/produceConfig/sheepSale")

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


// 羊粪销售 PoopSale
export const reqPoopSale = () => ajax("post", "/farm-huyang/produceConfig/poopSale")

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


// 牧场销售 Sale
export const reqSale = () => ajax("post", "/farm-huyang/produceConfig/sale")

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


// 温湿度曲线 Environment
export const reqEnvironment = () => ajax("post", "/farm-huyang/produceConfig/environment")

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