示例#1
0
 public override SatResponse ExtractLog()
 {
     return((SatResponse) new ExtractLogResponse().Create(Marshal.PtrToStringAnsi(Elgin.ExtrairLogs(this.GenerateSessionCode(), this.ActivationCode))));
 }
示例#2
0
 public override SatResponse AssignSignature(string cnpj, string signature)
 {
     return(new SatResponse().Create(Marshal.PtrToStringAnsi(Elgin.AssociarAssinatura(this.GenerateSessionCode(), this.ActivationCode, cnpj, signature))));
 }
示例#3
0
 public override SatResponse SoftwareUpdate()
 {
     return(new SatResponse().Create(Marshal.PtrToStringAnsi(Elgin.AtualizarSoftwareSAT(this.GenerateSessionCode(), this.ActivationCode))));
 }
示例#4
0
 public override SatResponse CheckCommunication(string xml)
 {
     return((SatResponse) new CheckCommunicationResponse().Create(Marshal.PtrToStringAnsi(Elgin.TesteFimAFim(this.GenerateSessionCode(), this.ActivationCode, xml))));
 }
示例#5
0
 public override SatResponse ConfigureLan(string xmlConfiguration)
 {
     return(new SatResponse().Create(Marshal.PtrToStringAnsi(Elgin.ConfigurarInterfaceDeRede(this.GenerateSessionCode(), this.ActivationCode, xmlConfiguration))));
 }
示例#6
0
 public override CancelResponse Cancel(string key, string xml)
 {
     return(new CancelResponse().Create(Marshal.PtrToStringAnsi(Elgin.CancelarUltimaVenda(this.GenerateSessionCode(), this.ActivationCode, key, xml))));
 }
示例#7
0
 public override SatResponse CheckAvailability()
 {
     return(new SatResponse().Create(Marshal.PtrToStringAnsi(Elgin.ConsultarSAT(this.GenerateSessionCode()))));
 }
示例#8
0
 public override InquireResponse Inquire(int sessionCode)
 {
     return(new InquireResponse().Create(Marshal.PtrToStringAnsi(Elgin.ConsultarNumeroSessao(this.GenerateSessionCode(), this.ActivationCode, sessionCode))));
 }
示例#9
0
 public override SendResponse Send(string xml)
 {
     return(new SendResponse().Create(Marshal.PtrToStringAnsi(Elgin.EnviarDadosVenda(this.GenerateSessionCode(), this.ActivationCode, xml))));
 }
示例#10
0
 public override GetStatusResponse GetStatus()
 {
     return(new GetStatusResponse().Create(Marshal.PtrToStringAnsi(Elgin.ConsultarStatusOperacional(this.GenerateSessionCode(), this.ActivationCode))));
 }
示例#11
0
 public override SatResponse ChangeActivationCode(int option, string newActivationCode, string newActivationCodeConfirmation)
 {
     return(new SatResponse().Create(Marshal.PtrToStringAnsi(Elgin.TrocarCodigoDeAtivacao(this.GenerateSessionCode(), this.ActivationCode, option, newActivationCode, newActivationCodeConfirmation))));
 }
示例#12
0
 public override SatResponse Unlock()
 {
     return(new SatResponse().Create(Marshal.PtrToStringAnsi(Elgin.DesbloquearSAT(this.GenerateSessionCode(), this.ActivationCode))));
 }