ajuste lever arm rover
This commit is contained in:
parent
cd1257cde5
commit
1f8b3027cc
|
|
@ -1753,7 +1753,7 @@ namespace AgroBase.Models
|
||||||
|
|
||||||
if (controleBase.Dispositivo == T_Code.Gps)
|
if (controleBase.Dispositivo == T_Code.Gps)
|
||||||
{
|
{
|
||||||
var (la_frontal, la_lateral) = ((JObject)controleBase._comp_value).ToObject<(double?, double?)>();
|
var (la_lateral, la_frontal) = ((JObject)controleBase._comp_value).ToObject<(double?, double?)>();
|
||||||
if (la_lateral != null || la_frontal != null)
|
if (la_lateral != null || la_frontal != null)
|
||||||
GPSService.LeverArm = new GeoLeverArm(offsetFisicoFrontalCm: VariaveisEquipamento.LeverArmFrontalCm, offsetFisicoLateralCm: VariaveisEquipamento.LeverArmLateralCm, offsetCampoFrontalCm: la_frontal ?? 0, offsetCampoLateralCm: la_lateral ?? 0);
|
GPSService.LeverArm = new GeoLeverArm(offsetFisicoFrontalCm: VariaveisEquipamento.LeverArmFrontalCm, offsetFisicoLateralCm: VariaveisEquipamento.LeverArmLateralCm, offsetCampoFrontalCm: la_frontal ?? 0, offsetCampoLateralCm: la_lateral ?? 0);
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue