alsmanager_lib 3.0.195 → 3.0.196
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/modules.js +104 -1
- package/package.json +1 -1
package/lib/modules.js
CHANGED
|
@@ -16371,7 +16371,100 @@ function getMapPointsById(id_point) {
|
|
|
16371
16371
|
query += "where id = " + id_point;
|
|
16372
16372
|
return query;
|
|
16373
16373
|
}
|
|
16374
|
+
// Printer management
|
|
16375
|
+
/*
|
|
16376
|
+
CREATE TABLE "printer_cost_per_copy" (
|
|
16377
|
+
"id" INTEGER,
|
|
16378
|
+
"id_device" INTEGER,
|
|
16379
|
+
"id_gestore" INTEGER,
|
|
16380
|
+
"date_valid_start" TEXT,
|
|
16381
|
+
"date_valid_end" TEXT,
|
|
16382
|
+
"operation" TEXT,
|
|
16383
|
+
"print_color_bw" TEXT,
|
|
16384
|
+
"cost" REAL,
|
|
16385
|
+
PRIMARY KEY("id" AUTOINCREMENT)
|
|
16386
|
+
)
|
|
16387
|
+
|
|
16388
|
+
CREATE TABLE "printer_counters" (
|
|
16389
|
+
"id" INTEGER,
|
|
16390
|
+
"id_device" INTEGER,
|
|
16391
|
+
"date_read" TEXT,
|
|
16392
|
+
"operation" TEXT,
|
|
16393
|
+
"num_bw" INTEGER,
|
|
16394
|
+
"num_colors" INTEGER
|
|
16395
|
+
)
|
|
16396
|
+
|
|
16397
|
+
CREATE TABLE "printer_recharge_user" (
|
|
16398
|
+
"id" INTEGER,
|
|
16399
|
+
"id_user" INTEGER,
|
|
16400
|
+
"id_device" INTEGER,
|
|
16401
|
+
"operation" TEXT,
|
|
16402
|
+
"date_recharge" TEXT,
|
|
16403
|
+
"num_bw" INTEGER,
|
|
16404
|
+
"num_colors" INTEGER,
|
|
16405
|
+
PRIMARY KEY("id")
|
|
16406
|
+
)
|
|
16407
|
+
|
|
16408
|
+
CREATE TABLE "printer_stampe_user" (
|
|
16409
|
+
"id" INTEGER,
|
|
16410
|
+
"id_device" INTEGER,
|
|
16411
|
+
"id_user" INTEGER,
|
|
16412
|
+
"operation" TEXT,
|
|
16413
|
+
"date_read" TEXT,
|
|
16414
|
+
"num_bw" INTEGER,
|
|
16415
|
+
"num_colors" INTEGER,
|
|
16416
|
+
PRIMARY KEY("id" AUTOINCREMENT)
|
|
16417
|
+
)
|
|
16418
|
+
*/
|
|
16419
|
+
|
|
16420
|
+
|
|
16421
|
+
function selectCountersPrinters(id_gestore) {
|
|
16422
|
+
var query = "";
|
|
16423
|
+
return query;
|
|
16424
|
+
}
|
|
16425
|
+
|
|
16426
|
+
function readCountersPrinter(id_device) {
|
|
16427
|
+
var query = "";
|
|
16428
|
+
return query;
|
|
16429
|
+
}
|
|
16430
|
+
|
|
16431
|
+
function writeCountersPrinter(id_device, num_bw, num_colors, date_read) {
|
|
16432
|
+
var query = "";
|
|
16433
|
+
return query;
|
|
16434
|
+
}
|
|
16435
|
+
|
|
16436
|
+
function updateCountersPrinter(id_prnread, id_device, num_bw, num_colors, date_read) {
|
|
16437
|
+
var query = "";
|
|
16438
|
+
return query;
|
|
16439
|
+
}
|
|
16440
|
+
|
|
16441
|
+
function deleteCountersPrinter(id_prnread, id_device, num_bw, num_colors, date_read) {
|
|
16442
|
+
var query = "";
|
|
16443
|
+
return query;
|
|
16444
|
+
}
|
|
16445
|
+
|
|
16446
|
+
function readCountersPrinterUser(id_prnread, id_device, num_bw, num_colors, date_read) {
|
|
16447
|
+
var query = "";
|
|
16448
|
+
return query;
|
|
16449
|
+
}
|
|
16374
16450
|
|
|
16451
|
+
function writeCountersPrinterUser(id_prnread, id_device, num_bw, num_colors, date_read) {
|
|
16452
|
+
var query = "";
|
|
16453
|
+
return query;
|
|
16454
|
+
}
|
|
16455
|
+
|
|
16456
|
+
function updateCountersPrinterUser(id_prnread, id_device, num_bw, num_colors, date_read) {
|
|
16457
|
+
var query = "";
|
|
16458
|
+
return query;
|
|
16459
|
+
}
|
|
16460
|
+
|
|
16461
|
+
function deleteCountersPrinterUser(id_prnread, id_device, num_bw, num_colors, date_read) {
|
|
16462
|
+
var query = "";
|
|
16463
|
+
return query;
|
|
16464
|
+
}
|
|
16465
|
+
|
|
16466
|
+
|
|
16467
|
+
// End Printer management
|
|
16375
16468
|
// Exports
|
|
16376
16469
|
|
|
16377
16470
|
module.exports = {
|
|
@@ -16843,6 +16936,16 @@ module.exports = {
|
|
|
16843
16936
|
removeMapPoint,
|
|
16844
16937
|
removeMapPointByPlace,
|
|
16845
16938
|
queryMapPointsByPlaceAndFloor,
|
|
16846
|
-
getMapPointsById
|
|
16939
|
+
getMapPointsById,
|
|
16940
|
+
//
|
|
16941
|
+
selectCountersPrinters,
|
|
16942
|
+
readCountersPrinter,
|
|
16943
|
+
writeCountersPrinter,
|
|
16944
|
+
updateCountersPrinter,
|
|
16945
|
+
deleteCountersPrinter,
|
|
16946
|
+
readCountersPrinterUser,
|
|
16947
|
+
writeCountersPrinterUser,
|
|
16948
|
+
updateCountersPrinterUser,
|
|
16949
|
+
deleteCountersPrinterUser
|
|
16847
16950
|
};
|
|
16848
16951
|
// end of source
|