gx.evt.autoSkip=false;function hmih005(){this.ServerClass="HMih005";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV6Origem=gx.fn.getControlValue("vORIGEM");this.AV13TipFuncao=gx.fn.getControlValue("vTIPFUNCAO");this.AV14DocNro=gx.fn.getIntegerValue("vDOCNRO",".");this.AV65NroItem=gx.fn.getIntegerValue("vNROITEM",".");this.AV66NroArtigo=gx.fn.getIntegerValue("vNROARTIGO",".")};this.Validv_Usbcod=function(){try{var a=gx.util.balloon.getNew("vUSBCOD");
this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.s122_client=function(){if(this.AV67CodIdiomaLeitor=="ENG"){gx.fn.setCtrlProperty("LEITORCP","Caption","Reader");gx.fn.setCtrlProperty("LABELSENHA","Caption","Password");gx.fn.setCtrlProperty("CPFCP","Caption","CPF");gx.fn.setCtrlProperty("CODIGOCPF","Caption","");gx.fn.setCtrlProperty("TITULO","Caption","Reader Identification");gx.fn.setCtrlProperty("BUTTON2","Caption","Forward");gx.fn.setCtrlProperty("BUTTON3","Caption","New password");
gx.fn.setCtrlProperty("BUTTON4","Caption","Forgot your password?")}else{gx.fn.setCtrlProperty("LEITORCP","Caption","Leitor");gx.fn.setCtrlProperty("LABELSENHA","Caption","Senha");gx.fn.setCtrlProperty("CPFCP","Caption","CPF");gx.fn.setCtrlProperty("CODIGOCPF","Caption","Obtenha seu código via CPF");gx.fn.setCtrlProperty("TITULO","Caption","Identificação do leitor");gx.fn.setCtrlProperty("BUTTON2","Caption","Prosseguir");gx.fn.setCtrlProperty("BUTTON3","Caption","Nova senha");gx.fn.setCtrlProperty("BUTTON4","Caption","Esqueceu a senha?")
}};this.e116y2_client=function(){this.executeServerEvent("ENTER",true)};this.e146y2_client=function(){this.executeServerEvent("'NOVASENHA'",false)};this.e156y2_client=function(){this.executeServerEvent("'ESQUECEU A SENHA'",false)};this.e166y2_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,12,14,19,22,24,28,30,34,36];this.GXLastCtrlId=36;this.GXValidFnc[3]={fld:"TABLE3",grid:0};this.GXValidFnc[12]={fld:"TITULO",format:0,grid:0};this.GXValidFnc[14]={fld:"TABLE1",grid:0};
this.GXValidFnc[19]={fld:"CODIGOCPF",format:0,grid:0};this.GXValidFnc[22]={fld:"LEITORCP",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Validv_Usbcod,isvalid:null,fld:"vUSBCOD",gxz:"ZV5UsbCod",gxold:"OV5UsbCod",gxvar:"AV5UsbCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5UsbCod=a},v2z:function(a){gx.O.ZV5UsbCod=a},v2c:function(){gx.fn.setControlValue("vUSBCOD",gx.O.AV5UsbCod,1)},c2v:function(){gx.O.AV5UsbCod=this.val()
},val:function(){return gx.fn.getControlValue("vUSBCOD")},nac:function(){return false}};this.GXValidFnc[28]={fld:"CPFCP",format:0,grid:0};this.GXValidFnc[30]={lvl:0,type:"char",len:15,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRNROCPF",gxz:"ZV105ScrNroCPF",gxold:"OV105ScrNroCPF",gxvar:"AV105ScrNroCPF",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV105ScrNroCPF=a},v2z:function(a){gx.O.ZV105ScrNroCPF=a},v2c:function(){gx.fn.setControlValue("vSCRNROCPF",gx.O.AV105ScrNroCPF,0)
},c2v:function(){gx.O.AV105ScrNroCPF=this.val()},val:function(){return gx.fn.getControlValue("vSCRNROCPF")},nac:function(){return false}};this.GXValidFnc[34]={fld:"LABELSENHA",format:0,grid:0};this.GXValidFnc[36]={lvl:0,type:"char",len:20,dec:0,sign:false,isPwd:true,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSENHADIGIT",gxz:"ZV15SenhaDigit",gxold:"OV15SenhaDigit",gxvar:"AV15SenhaDigit",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV15SenhaDigit=a},v2z:function(a){gx.O.ZV15SenhaDigit=a
},v2c:function(){gx.fn.setControlValue("vSENHADIGIT",gx.O.AV15SenhaDigit,1)},c2v:function(){gx.O.AV15SenhaDigit=this.val()},val:function(){return gx.fn.getControlValue("vSENHADIGIT")},nac:function(){return false}};this.AV5UsbCod="";this.ZV5UsbCod="";this.OV5UsbCod="";this.AV105ScrNroCPF="";this.ZV105ScrNroCPF="";this.OV105ScrNroCPF="";this.AV15SenhaDigit="";this.ZV15SenhaDigit="";this.OV15SenhaDigit="";this.AV6Origem="";this.AV13TipFuncao="";this.AV14DocNro=0;this.AV65NroItem=0;this.AV66NroArtigo=0;
this.A559ParCod=0;this.A587ParNomCida="";this.A588ParNomRepo="";this.A589ParNroCRB="";this.A567ParDesEndE="";this.A787UsbCod="";this.A786UsbNom="";this.A779SetCod=0;this.A941UsbEndElet="";this.A1014TiuTipAute="";this.A883TiuCod="";this.A86CarNro=0;this.A1091CarValText="";this.A122CfgCod="";this.A127CfgValCont="";this.A942UsbIndAtiv="";this.AV67CodIdiomaLeitor="";this.ServerEvents=["e116y2_client","e146y2_client","e156y2_client","e166y2_client"];this.EnterCtrl=["BUTTON2"];this.VarControlMap.AV6Origem={id:"vORIGEM",grid:0,type:"char"};
this.VarControlMap.AV13TipFuncao={id:"vTIPFUNCAO",grid:0,type:"char"};this.VarControlMap.AV14DocNro={id:"vDOCNRO",grid:0,type:"int"};this.VarControlMap.AV65NroItem={id:"vNROITEM",grid:0,type:"int"};this.VarControlMap.AV66NroArtigo={id:"vNROARTIGO",grid:0,type:"int"};this.SetStandaloneVars()}hmih005.prototype=new gx.GxObject;gx.setParentObj(new hmih005());