mirror of
https://github.com/KeymonSoft/Medicomed-V2.git
synced 2026-04-27 09:30:31 +00:00
Version: 5.04.18_V2
Se corigue Query del JobDone del tag "marcas_rutas"
This commit is contained in:
@@ -64,9 +64,9 @@ public medicomed.keymon.com.mx.starter _starter = null;
|
||||
public medicomed.keymon.com.mx.appupdater _appupdater = null;
|
||||
public medicomed.keymon.com.mx.mapa_rutas _mapa_rutas = null;
|
||||
public medicomed.keymon.com.mx.mapa_cliente _mapa_cliente = null;
|
||||
public medicomed.keymon.com.mx.subs _subs = null;
|
||||
public medicomed.keymon.com.mx.notificationservice _notificationservice = null;
|
||||
public medicomed.keymon.com.mx.pendientes _pendientes = null;
|
||||
public medicomed.keymon.com.mx.subs _subs = null;
|
||||
public medicomed.keymon.com.mx.tracker _tracker = null;
|
||||
public medicomed.keymon.com.mx.newinst2 _newinst2 = null;
|
||||
public medicomed.keymon.com.mx.b4xpages _b4xpages = null;
|
||||
@@ -107,7 +107,7 @@ if (__c.SubExists(ba,_callback,_eventname+"_NewData")) {
|
||||
__c.CallSubNew2(ba,_callback,_eventname+"_NewData",(Object)(_buffer));
|
||||
};
|
||||
//BA.debugLineNum = 1159;BA.debugLine="Log(\"Data \" & Buffer(0))";
|
||||
__c.LogImpl("774579972","Data "+BA.NumberToString(_buffer[(int) (0)]),0);
|
||||
__c.LogImpl("532112644","Data "+BA.NumberToString(_buffer[(int) (0)]),0);
|
||||
//BA.debugLineNum = 1160;BA.debugLine="End Sub";
|
||||
return "";
|
||||
}
|
||||
@@ -252,12 +252,12 @@ if (true) return __c.True;
|
||||
//BA.debugLineNum = 132;BA.debugLine="DisConnect";
|
||||
_disconnect();
|
||||
//BA.debugLineNum = 133;BA.debugLine="Log(\"aqui 5\")";
|
||||
__c.LogImpl("771434273","aqui 5",0);
|
||||
__c.LogImpl("528966945","aqui 5",0);
|
||||
};
|
||||
}
|
||||
catch (Exception e27) {
|
||||
ba.setLastException(e27); //BA.debugLineNum = 136;BA.debugLine="Log(LastException)";
|
||||
__c.LogImpl("771434276",BA.ObjectToString(__c.LastException(getActivityBA())),0);
|
||||
__c.LogImpl("528966948",BA.ObjectToString(__c.LastException(getActivityBA())),0);
|
||||
//BA.debugLineNum = 137;BA.debugLine="Return False";
|
||||
if (true) return __c.False;
|
||||
};
|
||||
@@ -426,22 +426,22 @@ _logmsg = ": Fill="+BA.NumberToString(_fill)+" : Points "+BA.NumberToString(_x0)
|
||||
//BA.debugLineNum = 445;BA.debugLine="If shape = 3 Then";
|
||||
if (_shape==3) {
|
||||
//BA.debugLineNum = 446;BA.debugLine="Log(\"Triangle \" & logmsg)";
|
||||
__c.LogImpl("772745002","Triangle "+_logmsg,0);
|
||||
__c.LogImpl("530277674","Triangle "+_logmsg,0);
|
||||
//BA.debugLineNum = 447;BA.debugLine="PlotTriangle(x0, y0, x1, y1, x2, y2, points, fi";
|
||||
_plottriangle(_x0,_y0,_x1,_y1,_x2,_y2,_points,_fill);
|
||||
}else if(_shape==2) {
|
||||
//BA.debugLineNum = 449;BA.debugLine="Log(\"Circle \" & logmsg)";
|
||||
__c.LogImpl("772745005","Circle "+_logmsg,0);
|
||||
__c.LogImpl("530277677","Circle "+_logmsg,0);
|
||||
//BA.debugLineNum = 450;BA.debugLine="PlotCircle(x0, y0, x1, y1, points, fill)";
|
||||
_plotcircle(_x0,_y0,_x1,_y1,_points,_fill);
|
||||
}else if(_shape==1) {
|
||||
//BA.debugLineNum = 452;BA.debugLine="Log(\"Box \" & logmsg)";
|
||||
__c.LogImpl("772745008","Box "+_logmsg,0);
|
||||
__c.LogImpl("530277680","Box "+_logmsg,0);
|
||||
//BA.debugLineNum = 453;BA.debugLine="PlotBox(x0, y0, x1, y1, points, fill)";
|
||||
_plotbox(_x0,_y0,_x1,_y1,_points,_fill);
|
||||
}else {
|
||||
//BA.debugLineNum = 455;BA.debugLine="Log(\"Line \" & logmsg)";
|
||||
__c.LogImpl("772745011","Line "+_logmsg,0);
|
||||
__c.LogImpl("530277683","Line "+_logmsg,0);
|
||||
//BA.debugLineNum = 456;BA.debugLine="PlotLine(x0, y0, x1, y1, points)";
|
||||
_plotline(_x0,_y0,_x1,_y1,_points);
|
||||
};
|
||||
@@ -1952,7 +1952,7 @@ _databytes = _data.getBytes("ASCII");
|
||||
//BA.debugLineNum = 1078;BA.debugLine="Dim dlow As Int = databytes.Length";
|
||||
_dlow = _databytes.length;
|
||||
//BA.debugLineNum = 1079;BA.debugLine="Log(\"Barcode \" & bartype & \", Size \" & dlow & \",";
|
||||
__c.LogImpl("774383363","Barcode "+_bartype+", Size "+BA.NumberToString(_dlow)+", "+_data,0);
|
||||
__c.LogImpl("531916035","Barcode "+_bartype+", Size "+BA.NumberToString(_dlow)+", "+_data,0);
|
||||
//BA.debugLineNum = 1080;BA.debugLine="WriteString(GS & \"k\" & bartype.ToUpperCase.CharAt";
|
||||
_writestring(_gs+"k"+BA.ObjectToString(_bartype.toUpperCase().charAt((int) (0))));
|
||||
//BA.debugLineNum = 1081;BA.debugLine="Dim params(1) As Byte";
|
||||
@@ -1990,7 +1990,7 @@ _dhigh = (int) (_databytes.length/(double)256);
|
||||
//BA.debugLineNum = 1095;BA.debugLine="Dim dlow As Int = databytes.Length - dhigh*256";
|
||||
_dlow = (int) (_databytes.length-_dhigh*256);
|
||||
//BA.debugLineNum = 1096;BA.debugLine="Log(\"QR Code : Size \" & size & \", EC \" & EC & \",";
|
||||
__c.LogImpl("774448900","QR Code : Size "+BA.NumberToString(_size)+", EC "+_ec+", Scale "+BA.NumberToString(_scale)+", Size "+BA.NumberToString(_dlow)+" "+BA.NumberToString(_dhigh)+" : Data = "+_data,0);
|
||||
__c.LogImpl("531981572","QR Code : Size "+BA.NumberToString(_size)+", EC "+_ec+", Scale "+BA.NumberToString(_scale)+", Size "+BA.NumberToString(_dlow)+" "+BA.NumberToString(_dhigh)+" : Data = "+_data,0);
|
||||
//BA.debugLineNum = 1097;BA.debugLine="Dim params(3) As Byte";
|
||||
_params = new byte[(int) (3)];
|
||||
;
|
||||
@@ -2027,7 +2027,7 @@ _astream.Write(_data.getBytes(_encoding));
|
||||
}
|
||||
catch (Exception e6) {
|
||||
ba.setLastException(e6); //BA.debugLineNum = 305;BA.debugLine="Log(\"Printer error : \" & LastException.Message)";
|
||||
__c.LogImpl("772482822","Printer error : "+__c.LastException(getActivityBA()).getMessage(),0);
|
||||
__c.LogImpl("530015494","Printer error : "+__c.LastException(getActivityBA()).getMessage(),0);
|
||||
//BA.debugLineNum = 306;BA.debugLine="AStream_Error";
|
||||
_astream_error();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user