Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Color(
- R: Int,
- G: Int,
- B: Int,
- A: Int
- )
- // http://fisawebapp.azurewebsites.net/api/pct/chart/construction/33e8f407-cf48-47bc-b4ea-2ce184562585
- // http://fisawebapp.azurewebsites.net/api/pct/chart/construction
- // mesma coisa pra pvq
- // OLD
- class ConstructionPctFailRate(
- val constructionName: String,
- val pctResult: List<PctFailsResult>)
- // NEW
- class ConstructionPctFailRate(
- val constructionName: String,
- val color: Color,
- val pctGoal: Int,
- val pctResult: List<PctFailsResult>)
- // http://fisawebapp.azurewebsites.net/api/ppc/chart/construction/33e8f407-cf48-47bc-b4ea-2ce184562585/general
- //OLD
- class PpcGeneralResultApi(val period: Int, val resultPercentage: Float)
- response = List<PpcGeneralResultApi)
- //NEW
- class PpcGeneralResultApi(val period: Int, val resultPercentage: Float)
- class ConstructionPpcGeneralResult(
- val constructionName: String,
- val color: Color,
- val results: List<PpcGeneralResultApi>
- )
- response = ConstructionPpcGeneralResult
- // http://fisawebapp.azurewebsites.net/api/ppc/chart/construction/33e8f407-cf48-47bc-b4ea-2ce184562585/supplier
- // mesma coisa pro four weeks
- //OLD
- class PpcSupplierResultApi(val supplier: String, val resultPercentage: Float)
- response = List<PpcSupplierResultApi>
- //NEW
- class PpcSupplierResultApi(val supplier: String, val resultPercentage: Float)
- class ConstructionPpcGeneralResult(
- val constructionName: String,
- val color: Color,
- val results: List<PpcSupplierResultApi>
- )
- response = ConstructionPpcGeneralResult
- // http://fisawebapp.azurewebsites.net/api/ppc/chart/construction/33e8f407-cf48-47bc-b4ea-2ce184562585/failreason
- // mesma coisa pro four weeks
- //OLD
- class PpcFailReasonResultApi(
- val failReason: Int,
- val percentage: Float,
- val translatedValue: String)
- response = List<PpcFailReasonResultApi>
- //NEW
- class PpcFailReasonResultApi(
- val failReason: Int,
- val percentage: Float,
- val translatedValue: String)
- class ConstructionResult(
- constructionName: String,
- color: Color,
- results: List<PpcFailReasonResultApi>
- )
- // http://fisawebapp.azurewebsites.net/api/pg/chart/energybyworker/construction/33e8f407-cf48-47bc-b4ea-2ce184562585
- // para todos da pg
- //OLD
- class PGKwhByWorkersResult(
- val constructionName: String,
- val color: Int,
- val results: List<kwhWorkerByMonth>
- )
- // NEW
- class PGKwhByWorkersResult(
- val constructionName: String,
- val color: Color, // <- color aqui
- val results: List<kwhWorkerByMonth>
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement