added Methods in TaskListModel

added Field Crop ID in Task
added method removeTasksforCrop
This commit is contained in:
schrom01
2022-10-31 14:30:42 +01:00
parent 007fc81b22
commit d1d9d11b66
6 changed files with 44 additions and 8 deletions
@@ -5,7 +5,8 @@
"description": "Plant the seeds, crops in de bed.",
"startDate" : "2022-05-01",
"endDate" : "2022-05-01",
"interval" : 0
"interval" : 0,
"cropID" : 0
},
{
"id" : 2,
@@ -13,7 +14,8 @@
"description": "water the plant, so that the soil is wet around the plant.",
"startDate" : "2022-05-01",
"endDate" : "2022-09-01",
"interval" : 2
"interval" : 2,
"cropID" : 0
},
{
"id" : 3,
@@ -21,7 +23,8 @@
"description": "The fertilizer has to be mixed with water. Then fertilize the plants soil with the mixture",
"startDate" : "2022-06-01",
"endDate" : "2022-08-01",
"interval" : 28
"interval" : 28,
"cropID" : 0
},
{
"id" : 4,
@@ -29,7 +32,8 @@
"description": "Take a big enough coverage for the plants. Cover the whole plant with a bit space between the plant and the coverage",
"startDate" : "2022-07-01",
"endDate" : "2022-07-01",
"interval" : 0
"interval" : 0,
"cropID" : 0
},
{
"id" : 5,
@@ -37,7 +41,8 @@
"description": "Look for pest or illness at the leaves of the plant. Check the soil around the plant, if the roots are enough covered with soil",
"startDate" : "2022-05-01",
"endDate" : "2022-09-01",
"interval" : 5
"interval" : 5,
"cropID" : 0
},
{
"id" : 6,
@@ -45,6 +50,7 @@
"description": "Pull the ripe vegetables out from the soil. Clean them with clear, fresh water. ",
"startDate" : "2022-09-01",
"endDate" : "2022-09-01",
"interval" : 0
"interval" : 0,
"cropID" : 0
}
]