-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feed intake API #93
Comments
Additional ideas:
|
From the discussion today:
|
Finally listened to the recording and wrote up some minutes from the discussion that @thomasd-gea refers to. |
I think we need to do some work on the following things, still. @erwinspeybroeck maybe we should finalize this in the near future?
/locations/{location-scheme}/{location-id}/feed-reports/animal/{scheme-id}/{animal-id}
Remove the icarDailyFeedReport resource - if needed can be added later Has been some time since we discussed this, but I think we should bring that to a state where it can be released... before the release, that is :) --> discussed it with Thomas, Kor and Erwin on 24/3 |
I'm talking with Lely about what information they have available in T4C about feed intake, and want to start with that to create a definition
previous work :
Information from Lely - existing API structure
A. Lely has two types of feeding
B. Corresponsing API Methods
There is the following method to get vector feeding info in API
HttpGet --> feedoverview
public class FeedOverviewParam
{
public int? LocationId;
public DateTime? Date;
public int? NrOfAnimals;
public int? KgMilk;
public int DryMatterTotal;
public int ProductTotal;
public int TotalFeedCost;
public List FeedTypes = new List(32);
}
public class VectorFeedTypeParam
{
public int FeedId;
public int TotalProduct;
public int TotalDryMatter;
public decimal FeedCost;
}
This method gives total intake (ProductTotal/gram) daily for the number of animals on a location.
It is also possible to get intake (TotalProduct/gram) feed based on a location.
2.
There is the following method to get astronaut feeding info in API
HttpGet --> feedvisits
public class FeedVisitParam
{
public int DeviceAddress;
public string LifeNumber;
public DateTime FeedDate;
public string FeedName;
public int? NumberOfFeedType;
public int? Credit;
public int? Intake;
}
This method gives total intake (Intake/gram) daily for an animal on a astronaut device for each feedtype.
The text was updated successfully, but these errors were encountered: