Compare commits

..

2 Commits

Author SHA1 Message Date
Gerardo 01f5f499e7 arreglos 2023-11-07 00:24:41 +01:00
Gerardo 6111d62e61 arreglos 2023-11-06 22:12:22 +01:00
2 changed files with 16 additions and 17 deletions

View File

@ -335,7 +335,7 @@ copy ..\lib\$(IntDir)sqlite3.lib $(OutDir)</Command>
<PostBuildEvent>
<Command>copy $(OutDir)$(TargetFileName) ..\bin\$(IntDir)
copy $(OutDir)Olivia.lib ..\lib\$(IntDir)
copy $(OutDir)$(TargetFileName) D:\Proyectos\Olivia\Instal2.0\bin\</Command>
</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>

View File

@ -889,8 +889,8 @@ BOOL Colv_limp_thr::rellena_info_nw()
{
///////////////////////////////
ispedestrian=FALSE;
if(olv_limp->res_circ!=OLV_RES_NO)
{
if (olv_limp->res_circ != OLV_RES_NO)
{
//("FOW" =3 OR "FOW">=7) AND ("ONEWAY" = 'N' OR "ONEWAY" = ' ' )
//si se cumple lo anterior, son como doble sentido pero no se replican
//////////////////////////
@ -898,42 +898,41 @@ BOOL Colv_limp_thr::rellena_info_nw()
int sentf, senft;
sentf = dbf.getI(icampstf);
senft = dbf.getI(icampsft);
s=0;
if(sentf && senft)
s = 0;
if (sentf && senft)
{
nboth++;
}
else if(sentf)
else if (sentf)
{
s=OLV_LIMP_FLG_CIRC_TF;
s = OLV_LIMP_FLG_CIRC_TF;
ntf++;
}
else if(senft)
else if (senft)
{
s=OLV_LIMP_FLG_CIRC_FT;
s = OLV_LIMP_FLG_CIRC_FT;
nft++;
}
else
{
//no aplica la restricción por ser servicio público, cómo se sabe si es de un único sentido?
s=OLV_LIMP_FLG_CIRC_NONE;
s = OLV_LIMP_FLG_CIRC_NONE;
nno++;
}
///////////////////////////////
//fow
f=dbf.getI(icampf);
f = dbf.getI(icampf);
//solo mira si es pedestrian, f==14
if(f)
if (f)
{
s=OLV_LIMP_FLG_CIRC_NONE;
ispedestrian=TRUE;
s = OLV_LIMP_FLG_CIRC_NONE;
ispedestrian = TRUE;
}
///////////////////////////////
olv_limp->iaso[ia].flgs|=s;
olv_limp->iaso[ia].flgs |= s;
}
///////////////////////////////