Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Brayan Sarmiento
TestPinpad
Commits
ca902401
Commit
ca902401
authored
Mar 18, 2026
by
Brayan Sarmiento
Browse files
Creacion Servicios
parent
7734c707
Changes
55
Expand all
Hide whitespace changes
Inline
Side-by-side
app_datafono_difare/App.config
View file @
ca902401
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
<
configuration
>
<
configuration
>
<
appSettings
>
<
appSettings
>
<
add
key
=
"BaseUrl"
value
=
"http://localhost:9000"
/>
<
add
key
=
"BaseUrl"
value
=
"http://localhost:9000"
/>
<
add
key
=
"UrlServicio"
value
=
"http://10.100.
43.30:89
/ServiciosRG.svc"
/>
<
add
key
=
"UrlServicio"
value
=
"http://10.100.
1.28:82/ReingankServicePinpad2
/ServiciosRG.svc"
/>
<
add
key
=
"Estacion"
value
=
"
CONVIVENCIA3
"
/>
<
add
key
=
"Estacion"
value
=
"
PG041KB
"
/>
<
add
key
=
"ArchivoBines"
value
=
"C:\\
RUTA
LOGPINPAD
ADEFINIR
\\BINES.TXT"
/>
<
add
key
=
"ArchivoBines"
value
=
"C:\\LOGPINPAD
\\BINES
\\BINES.TXT"
/>
</
appSettings
>
</
appSettings
>
</
configuration
>
</
configuration
>
\ No newline at end of file
app_datafono_difare/Controllers/PinpadController.cs
View file @
ca902401
using
app_datafono_difare.Services
;
using
app_datafono_difare.Entities
;
using
app_datafono_difare.Services
;
using
Microsoft.Extensions.Configuration
;
using
Microsoft.Extensions.Configuration
;
using
System
;
using
System
;
using
System.Collections.Generic
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Linq
;
using
System.Net
;
using
System.Text
;
using
System.Text
;
using
System.Threading.Tasks
;
using
System.Threading.Tasks
;
using
System.Web.Http
;
using
System.Web.Http
;
...
@@ -11,18 +13,24 @@ namespace app_datafono_difare.Controllers
...
@@ -11,18 +13,24 @@ namespace app_datafono_difare.Controllers
{
{
public
class
PinpadController
:
ApiController
public
class
PinpadController
:
ApiController
{
{
private
readonly
TransactionService
_service
;
public
PinpadController
()
{
_service
=
new
TransactionService
(
RgService
.
Instance
,
System
.
Configuration
.
ConfigurationManager
.
AppSettings
[
"ArchivoBines"
]
);
}
[
HttpPost
]
[
HttpPost
]
public
IHttpActionResult
Inicializar
([
FromBody
]
string
UrlServicio
,
string
Estacion
)
public
IHttpActionResult
Inicializar
([
FromBody
]
InicializarRequest
req
)
{
{
try
try
{
{
var
service
=
new
TransactionService
(
RgService
.
Instance
,
System
.
Configuration
.
ConfigurationManager
.
AppSettings
[
"ArchivoBines"
]
);
var
resp
=
service
.
Inicializar
(
UrlServicio
,
Estacion
);
var
resp
=
_service
.
Inicializar
(
req
.
UrlServicio
,
req
.
Estacion
);
return
Ok
(
resp
);
return
Ok
(
resp
);
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
...
@@ -31,17 +39,13 @@ namespace app_datafono_difare.Controllers
...
@@ -31,17 +39,13 @@ namespace app_datafono_difare.Controllers
}
}
}
}
[
HttpPost
]
[
HttpPost
]
public
async
Task
<
IHttpActionResult
>
Autorizar
([
FromBody
]
decimal
amount
)
public
async
Task
<
IHttpActionResult
>
Autorizar
([
FromBody
]
PagarRequest
pagar
)
{
{
try
try
{
{
var
service
=
new
TransactionService
(
RgService
.
Instance
,
System
.
Configuration
.
ConfigurationManager
.
AppSettings
[
"ArchivoBines"
]
);
// SOLO se envía la venta — sin reconfigurar el pinpad
// SOLO se envía la venta — sin reconfigurar el pinpad
var
resp
=
await
service
.
EnviarVenta
(
amount
,
0
);
var
resp
=
await
_
service
.
LeerYAutorizar
(
pagar
);
return
Ok
(
resp
);
return
Ok
(
resp
);
}
}
...
@@ -50,5 +54,72 @@ namespace app_datafono_difare.Controllers
...
@@ -50,5 +54,72 @@ namespace app_datafono_difare.Controllers
return
InternalServerError
(
ex
);
return
InternalServerError
(
ex
);
}
}
}
}
[
HttpPost
]
public
async
Task
<
IHttpActionResult
>
Cierrelote
([
FromBody
]
InicializarRequest
req
)
{
try
{
var
resultado
=
_service
.
CerrarLote
(
req
.
Estacion
);
if
(!
resultado
.
Exitoso
)
return
Content
(
HttpStatusCode
.
BadRequest
,
resultado
);
return
Ok
(
resultado
);
}
catch
(
Exception
ex
)
{
return
InternalServerError
(
ex
);
}
}
[
HttpPost
]
public
async
Task
<
IHttpActionResult
>
AnularVoucher
([
FromBody
]
AnularRequest
anular
)
{
try
{
var
resultado
=
await
_service
.
AnularVoucher
(
anular
.
Req
.
Estacion
,
anular
);
return
Ok
(
resultado
);
}
catch
(
Exception
ex
)
{
return
InternalServerError
(
ex
);
}
}
[
HttpPost
]
public
async
Task
<
IHttpActionResult
>
ConsultarTarjeta
([
FromBody
]
InicializarRequest
req
)
{
try
{
var
resultado
=
_service
.
ConsultarTarjeta
(
req
.
Estacion
);
if
(!
resultado
.
Exitoso
)
return
Content
(
HttpStatusCode
.
BadRequest
,
resultado
);
return
Ok
(
resultado
);
}
catch
(
Exception
ex
)
{
return
InternalServerError
(
ex
);
}
}
[
HttpPost
]
public
async
Task
<
IHttpActionResult
>
ObtenerMidTid
([
FromBody
]
InicializarRequest
req
)
{
try
{
var
resultado
=
_service
.
ObtenerMidTid
(
req
.
Estacion
);
if
(!
resultado
.
Exitoso
)
return
Content
(
HttpStatusCode
.
BadRequest
,
resultado
);
return
Ok
(
resultado
);
}
catch
(
Exception
ex
)
{
return
InternalServerError
(
ex
);
}
}
}
}
}
}
app_datafono_difare/Entities/AnularRequest.cs
0 → 100644
View file @
ca902401
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
app_datafono_difare.Entities
{
public
class
AnularRequest
{
public
InicializarRequest
Req
{
get
;
set
;
}
public
AnularRequest
Anular
{
get
;
set
;
}
public
string
CodigoAutorizacion
{
get
;
set
;
}
public
string
TipoTransaccion
{
get
;
set
;
}
public
int
TipoCompraDatafast
{
get
;
set
;
}
public
int
Cuota
{
get
;
set
;
}
public
decimal
MontoTotal
{
get
;
set
;
}
public
int
Base12
{
get
;
set
;
}
public
decimal
MontoBaseCero
{
get
;
set
;
}
public
int
Iva
{
get
;
set
;
}
public
decimal
MontoServicio
{
get
;
set
;
}
public
decimal
MontoPropina
{
get
;
set
;
}
public
string
Secuencia
{
get
;
set
;
}
public
string
Aprobacion
{
get
;
set
;
}
public
string
FechaAnulacion
{
get
;
set
;
}
public
string
HoraAnulacion
{
get
;
set
;
}
}
}
app_datafono_difare/Entities/BaseResponse.cs
0 → 100644
View file @
ca902401
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
app_datafono_difare.Entities
{
public
class
BaseResponse
{
public
string
CodigoRespuesta
{
get
;
set
;
}
public
string
Descripcion
{
get
;
set
;
}
public
bool
Declinado
{
get
;
set
;
}
}
}
app_datafono_difare/Entities/InicializarRequest.cs
0 → 100644
View file @
ca902401
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
app_datafono_difare.Entities
{
public
class
InicializarRequest
{
public
string
UrlServicio
{
get
;
set
;
}
public
string
Estacion
{
get
;
set
;
}
}
}
app_datafono_difare/Entities/ObtenerMidTid.cs
0 → 100644
View file @
ca902401
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
app_datafono_difare.Entities
{
public
class
ObtenerMidTid
{
public
bool
Exitoso
{
get
;
set
;
}
public
string
Mid1
{
get
;
set
;
}
public
string
Tic1
{
get
;
set
;
}
public
string
Mid2
{
get
;
set
;
}
public
string
Tic2
{
get
;
set
;
}
}
}
app_datafono_difare/Entities/PagarRequest.cs
0 → 100644
View file @
ca902401
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
app_datafono_difare.Entities
{
public
class
PagarRequest
{
public
decimal
Amount
{
get
;
set
;
}
public
string
TipoTarjeta
{
get
;
set
;
}
public
decimal
MontoBase0
{
get
;
set
;
}
public
decimal
MontoBase12
{
get
;
set
;
}
public
decimal
Iva
{
get
;
set
;
}
}
}
app_datafono_difare/Entities/ResultadoPinpad.cs
0 → 100644
View file @
ca902401
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
app_datafono_difare.Entities
{
public
class
ResultadoPinpad
{
public
bool
Exitoso
{
get
;
set
;
}
public
string
Codigo
{
get
;
set
;
}
public
string
Mensaje
{
get
;
set
;
}
public
string
RawResponse
{
get
;
set
;
}
public
int
Lote1
{
get
;
set
;
}
public
int
Lote2
{
get
;
set
;
}
public
string
RucEmpresa
{
get
;
set
;
}
public
string
MidRed1
{
get
;
set
;
}
public
string
MidRed2
{
get
;
set
;
}
public
string
TidRed1
{
get
;
set
;
}
public
string
TidRed2
{
get
;
set
;
}
}
}
app_datafono_difare/Entities/TransaccionResponse.cs
View file @
ca902401
...
@@ -8,32 +8,15 @@ namespace app_datafono_difare.Entities
...
@@ -8,32 +8,15 @@ namespace app_datafono_difare.Entities
{
{
public
class
TransaccionResponse
public
class
TransaccionResponse
{
{
//public bool Success { get; set; }
//public string AuthorizationCode { get; set; }
public
bool
returnflag
{
get
;
set
;
}
=
false
;
//public string TransactionId { get; set; }
public
bool
depositflag
{
get
;
set
;
}
=
false
;
//public string CardNumber { get; set; }
public
bool
voidflag
{
get
;
set
;
}
=
false
;
//public string CardType { get; set; }
public
decimal
amount
{
get
;
set
;
}
=
0.00
m
;
//public string ResponseCode { get; set; }
public
string
lineitemtype
{
get
;
set
;
}
=
""
;
//public string ResponseMessage { get; set; }
public
bool
balanceduesatisfied
{
get
;
set
;
}
=
false
;
//public decimal Amount { get; set; }
public
string
referencenumber
{
get
;
set
;
}
=
""
;
//public DateTime Timestamp { get; set; }
public
string
maskedaccountnumber
{
get
;
set
;
}
=
""
;
//public string CommerceCode { get; set; }
//public string TerminalId { get; set; }
////Campos adicionales
//public string CodRed { get; set; }
//public string Metodo { get; set; }
//public string Lote { get; set; }
//public string Promocion { get; set; }
//public string codigoAdquiriente { get; set; }
//public string idAdquiriente { get; set; }
public
bool
ReturnFlag
{
get
;
set
;
}
=
false
;
public
bool
DepositFlag
{
get
;
set
;
}
=
false
;
public
bool
VoidFlag
{
get
;
set
;
}
=
false
;
public
decimal
Amount
{
get
;
set
;
}
=
0.00
m
;
public
string
LineItemType
{
get
;
set
;
}
=
""
;
public
bool
BalanceDueSatisfied
{
get
;
set
;
}
=
false
;
public
string
ReferenceNumber
{
get
;
set
;
}
=
""
;
public
string
MaskedAccountNumber
{
get
;
set
;
}
=
""
;
public
string
ResponseCode
{
get
;
set
;
}
=
""
;
public
string
ResponseCode
{
get
;
set
;
}
=
""
;
public
string
ApprovalCode
{
get
;
set
;
}
=
""
;
public
string
ApprovalCode
{
get
;
set
;
}
=
""
;
public
string
SequenceNumber
{
get
;
set
;
}
=
""
;
public
string
SequenceNumber
{
get
;
set
;
}
=
""
;
...
@@ -41,13 +24,67 @@ namespace app_datafono_difare.Entities
...
@@ -41,13 +24,67 @@ namespace app_datafono_difare.Entities
public
bool
IsDeclined
{
get
;
set
;
}
=
false
;
public
bool
IsDeclined
{
get
;
set
;
}
=
false
;
public
string
ResponseCodeDescriptor
{
get
;
set
;
}
=
""
;
public
string
ResponseCodeDescriptor
{
get
;
set
;
}
=
""
;
public
DateTime
Timestamp
{
get
;
set
;
}
public
DateTime
Timestamp
{
get
;
set
;
}
public
string
CommerceCode
{
get
;
set
;
}
public
string
CommerceCode
{
get
;
set
;
}
=
""
;
public
string
TerminalId
{
get
;
set
;
}
public
string
TerminalId
{
get
;
set
;
}
=
""
;
public
string
RedCode
{
get
;
set
;
}
public
string
RedCode
{
get
;
set
;
}
=
""
;
public
string
Lote
{
get
;
set
;
}
public
string
Lote
{
get
;
set
;
}
=
""
;
public
string
Promotion
{
get
;
set
;
}
public
string
Promotion
{
get
;
set
;
}
=
""
;
public
string
CodAdquiriente
{
get
;
set
;
}
public
string
CodAdquiriente
{
get
;
set
;
}
=
""
;
public
string
idAdquiriente
{
get
;
set
;
}
public
string
idAdquiriente
{
get
;
set
;
}
=
""
;
public
string
CardBrand
{
get
;
set
;
}
public
string
CardBrand
{
get
;
set
;
}
=
""
;
public
string
Comercio
{
get
;
set
;
}
=
""
;
public
string
AID
{
get
;
set
;
}
=
""
;
public
string
TC
{
get
;
set
;
}
=
""
;
public
string
ARQC
{
get
;
set
;
}
=
""
;
public
string
Ambiente1
{
get
;
set
;
}
=
""
;
public
string
fechaVencimiento
{
get
;
set
;
}
=
""
;
//Nuevos campos para anulacion del voucher
public
string
FechaTransaccion
{
get
;
set
;
}
=
""
;
public
string
HoraTransaccion
{
get
;
set
;
}
=
""
;
public
int
Id
{
get
;
set
;
}
public
string
IdTipoCompra
{
get
;
set
;
}
=
""
;
public
string
IdTipoTransaccion
{
get
;
set
;
}
=
""
;
public
string
ValorMid
{
get
;
set
;
}
=
""
;
public
string
ValorTid
{
get
;
set
;
}
=
""
;
public
decimal
MontoFijo
{
get
;
set
;
}
public
int
MontoInteres
{
get
;
set
;
}
public
int
MontoIva
{
get
;
set
;
}
public
int
MontoServicio
{
get
;
set
;
}
public
int
MontoPropina
{
get
;
set
;
}
public
int
PorcentajeIva
{
get
;
set
;
}
public
int
Cuotas
{
get
;
set
;
}
public
string
Modo
{
get
;
set
;
}
=
""
;
public
string
ErrorMessage
{
get
;
set
;
}
public
bool
BinEncontrado
{
get
;
set
;
}
//Mandar todos los campos
//public string iiCodigoRed { get; set; }
//public string iiCodRespuesta { get; set; }
//public string iiMensaje { get; set; }
//public string iiReferencia { get; set; }
//public string iiLote { get; set; }
//public string iiHora { get; set; }
//public string iiFecha { get; set; }
//public string iiAutorizacion { get; set; }
//public string iiTerminal { get; set; }
//public string iiComercio { get; set; }
//public string iiInteres { get; set; }
//public string iiPromocion { get; set; }
//public string iiCodAdq { get; set; }
//public string iiAdq { get; set; }
//public string iiMarca { get; set; }
//public string iiModo { get; set; }
//public string iiNombre { get; set; }
//public string iiMontoFijo { get; set; }
//public string iiEmv { get; set; }
//public string iiEmv2 { get; set; }
//public string iiEmv3 { get; set; }
//public string iiPin { get; set; }
//public string iiArqc { get; set; }
//public string iiTarjeta { get; set; }
//public string iiFecVen { get; set; }
//public string iiRespuesta { get; set; }
//public string iiMid2 { get; set; }
//public string iiTrack { get; set; }
}
}
}
}
app_datafono_difare/Helpers/ObtenerTipoTarjetaHelper.cs
View file @
ca902401
...
@@ -9,7 +9,7 @@ namespace app_datafono_difare.Helpers
...
@@ -9,7 +9,7 @@ namespace app_datafono_difare.Helpers
{
{
public
static
class
ObtenerTipoTarjetaHelper
public
static
class
ObtenerTipoTarjetaHelper
{
{
public
static
string
ObtenerTipoTarjetaPorBin
(
string
cardNumber
,
string
ruta
)
public
static
string
ObtenerTipoTarjetaPorBin
(
string
cardNumber
,
string
ruta
)
{
{
if
(
string
.
IsNullOrWhiteSpace
(
cardNumber
)
||
cardNumber
.
Length
<
6
)
if
(
string
.
IsNullOrWhiteSpace
(
cardNumber
)
||
cardNumber
.
Length
<
6
)
return
null
;
return
null
;
...
@@ -37,5 +37,22 @@ namespace app_datafono_difare.Helpers
...
@@ -37,5 +37,22 @@ namespace app_datafono_difare.Helpers
return
null
;
return
null
;
}
}
public
static
string
ObtenerRedPorCodigo
(
string
codigoRed
)
{
if
(
string
.
IsNullOrWhiteSpace
(
codigoRed
))
return
"Red no identificada"
;
codigoRed
=
codigoRed
.
Trim
();
if
(
codigoRed
==
"01"
)
return
"Datafast"
;
if
(
codigoRed
==
"02"
)
return
"Medianet"
;
return
"Red no identificada"
;
}
}
}
}
}
app_datafono_difare/Helpers/ResultadoPinpadHelpers.cs
0 → 100644
View file @
ca902401
using
app_datafono_difare.Entities
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Text.RegularExpressions
;
using
System.Threading.Tasks
;
namespace
app_datafono_difare.Helpers
{
public
class
ResultadoPinpadHelpers
{
public
static
bool
EsRespuestaOk
(
string
resp
)
{
return
!
string
.
IsNullOrEmpty
(
resp
)
&&
resp
.
Length
>=
4
&&
resp
.
Substring
(
0
,
2
)
==
"00"
;
}
public
static
ResultadoPinpad
CrearError
(
string
resp
,
string
mensajeDefault
)
{
return
new
ResultadoPinpad
{
Exitoso
=
false
,
Codigo
=
resp
.
Length
>=
2
?
resp
.
Substring
(
0
,
2
)
:
"ER"
,
Mensaje
=
resp
.
Length
>
2
?
resp
.
Substring
(
2
)
:
mensajeDefault
,
RawResponse
=
resp
};
}
public
static
int
ObtenerLoteAnterior
(
string
rawResponse
)
{
if
(
string
.
IsNullOrWhiteSpace
(
rawResponse
))
return
0
;
var
match
=
Regex
.
Match
(
rawResponse
,
@"Lote\s*=\s*(\d+)"
);
if
(!
match
.
Success
)
return
0
;
int
loteActual
=
int
.
Parse
(
match
.
Groups
[
1
].
Value
);
return
loteActual
-
1
;
}
public
static
string
ObtenerRucEmpresa
(
string
rawResponse
)
{
if
(
string
.
IsNullOrWhiteSpace
(
rawResponse
))
return
string
.
Empty
;
var
match
=
Regex
.
Match
(
rawResponse
,
@"Ruc_Empresa\s*=\s*'([^']+)'"
);
if
(!
match
.
Success
)
return
string
.
Empty
;
return
match
.
Groups
[
1
].
Value
;
}
}
}
app_datafono_difare/Neptuno.Central.exe.config
0 → 100644
View file @
ca902401
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
configuration
>
<
startup
useLegacyV2RuntimeActivationPolicy
=
"true"
>
<
supportedRuntime
version
=
"4.0"
/>
</
startup
>
<
runtime
>
<
gcConcurrent
enabled
=
"true"
/>
<
assemblyBinding
xmlns
=
"urn:schemas-microsoft-com:asm.v1"
>
<
probing
privatePath
=
"core;logic;ui"
/>
</
assemblyBinding
>
</
runtime
>
<
appSettings
>
<
add
key
=
"ReigankRutaLog"
value
=
"C:\LOGPINPAD"
/>
<
add
key
=
"ReigankRutaBines"
value
=
"C:\LOGPINPAD\BINES"
/>
<
add
key
=
"ReigankRutaDump"
value
=
"C:\LOGPINPAD\DUMP"
/>
</
appSettings
>
</
configuration
>
\ No newline at end of file
app_datafono_difare/Program.cs
View file @
ca902401
...
@@ -15,11 +15,18 @@ namespace app_datafono_difare
...
@@ -15,11 +15,18 @@ namespace app_datafono_difare
{
{
static
void
Main
()
static
void
Main
()
{
{
Directory
.
SetCurrentDirectory
(
AppDomain
.
CurrentDomain
.
BaseDirectory
);
Log
.
Logger
=
new
LoggerConfiguration
()
Log
.
Logger
=
new
LoggerConfiguration
()
.
MinimumLevel
.
Debug
()
.
MinimumLevel
.
Debug
()
.
WriteTo
.
File
(
"logs\\rest-pinpad.log"
,
rollingInterval
:
RollingInterval
.
Day
)
.
WriteTo
.
File
(
Path
.
Combine
(
AppDomain
.
CurrentDomain
.
BaseDirectory
,
"C:\\logs_app_datafono\\rest-pinpad.log"
),
rollingInterval
:
RollingInterval
.
Day
)
.
CreateLogger
();
.
CreateLogger
();
//Redirige la salida a Serilog para logs
Console
.
SetOut
(
new
SerilogTextWriter
(
Log
.
Logger
));
Console
.
SetError
(
new
SerilogTextWriter
(
Log
.
Logger
));
HostFactory
.
Run
(
x
=>
HostFactory
.
Run
(
x
=>
{
{
x
.
Service
<
PinpadService
>(
s
=>
x
.
Service
<
PinpadService
>(
s
=>
...
...
app_datafono_difare/Properties/PublishProfiles/FolderProfile.pubxml
0 → 100644
View file @
ca902401
<?xml version="1.0" encoding="utf-8"?>
<!-- https://go.microsoft.com/fwlink/?LinkID=208121. -->
<Project>
<PropertyGroup>
<Configuration>
Release
</Configuration>
<Platform>
Any CPU
</Platform>
<PublishDir>
D:\Discod\SelfCheckout\Proyecto DIFARE\PublicacionPinPad
</PublishDir>
<PublishProtocol>
FileSystem
</PublishProtocol>
<_TargetId>
Folder
</_TargetId>
</PropertyGroup>
</Project>
\ No newline at end of file
app_datafono_difare/Properties/PublishProfiles/FolderProfile.pubxml.user
0 → 100644
View file @
ca902401
<?xml version="1.0" encoding="utf-8"?>
<!-- https://go.microsoft.com/fwlink/?LinkID=208121. -->
<Project>
<PropertyGroup>
<History>
True|2025-12-17T19:20:54.5077654Z||;True|2025-12-15T12:04:29.3281583-05:00||;True|2025-12-12T10:42:20.7377788-05:00||;True|2025-12-08T11:25:43.7312482-05:00||;True|2025-12-04T15:37:16.2191665-05:00||;True|2025-12-03T15:46:16.2660630-05:00||;
</History>
<LastFailureDetails
/>
</PropertyGroup>
</Project>
\ No newline at end of file
app_datafono_difare/Properties/PublishProfiles/FolderProfile1.pubxml
0 → 100644
View file @
ca902401
<?xml version="1.0" encoding="utf-8"?>
<!-- https://go.microsoft.com/fwlink/?LinkID=208121. -->
<Project>
<PropertyGroup>
<Configuration>
Release
</Configuration>
<Platform>
Any CPU
</Platform>
<PublishDir>
D:\Discod\SelfCheckout\Proyecto DIFARE\PinPadServices
</PublishDir>
<PublishProtocol>
FileSystem
</PublishProtocol>
<_TargetId>
Folder
</_TargetId>
</PropertyGroup>
</Project>
\ No newline at end of file
app_datafono_difare/Properties/PublishProfiles/FolderProfile1.pubxml.user
0 → 100644
View file @
ca902401
<?xml version="1.0" encoding="utf-8"?>
<!-- https://go.microsoft.com/fwlink/?LinkID=208121. -->
<Project>
<PropertyGroup>
<History>
True|2025-12-10T16:54:10.1752303Z||;True|2025-12-09T15:40:43.3475849-05:00||;
</History>
<LastFailureDetails
/>
</PropertyGroup>
</Project>
\ No newline at end of file
app_datafono_difare/Services/RgService.cs
View file @
ca902401
...
@@ -17,10 +17,21 @@ namespace app_datafono_difare.Services
...
@@ -17,10 +17,21 @@ namespace app_datafono_difare.Services
public
RgFunciones
Rg
{
get
;
}
public
RgFunciones
Rg
{
get
;
}
public
string
Estacion
{
get
;
private
set
;
}
public
string
TipoTarjeta
{
get
;
private
set
;
}
private
RgService
()
private
RgService
()
{
{
Log
.
Information
(
"Inicializando RgFunciones..."
);
Log
.
Information
(
"Inicializando RgFunciones..."
);
Rg
=
RgFunciones
.
Instancia
;
Rg
=
RgFunciones
.
Instancia
;
}
}
public
void
SetEstacion
(
string
estacion
)
{
Estacion
=
estacion
;
}
public
void
SetTipoTarjeta
(
string
tipoTarjeta
)
{
TipoTarjeta
=
tipoTarjeta
;
}
}
}
}
}
app_datafono_difare/Services/TransactionService.cs
View file @
ca902401
This diff is collapsed.
Click to expand it.
app_datafono_difare/app_datafono_difare.csproj.user
0 → 100644
View file @
ca902401
<?xml version="1.0" encoding="utf-8"?>
<Project
ToolsVersion=
"Current"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<PropertyGroup>
<_LastSelectedProfileId>
D:\Discod\SelfCheckout\Proyecto DIFARE\Integration_pinpad_difare\Integration_pinpad_difare\app_datafono_difare\Properties\PublishProfiles\FolderProfile.pubxml
</_LastSelectedProfileId>
</PropertyGroup>
</Project>
\ No newline at end of file
Prev
1
2
3
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment