Compare commits
784 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4a6387200f | |||
| 231bf245ae | |||
| a01aa53a6b | |||
| ae77cdbf7e | |||
| 94fc764558 | |||
| 162a7911ce | |||
| 989e5f7634 | |||
| 485e036126 | |||
| 01cc0ae711 | |||
| adfcbc3d0e | |||
| 999e4625f4 | |||
| 886c66b86a | |||
| c7aa0810e1 | |||
| 1f8733a62e | |||
| 8153d1ebf0 | |||
| 6a54f949dd | |||
| 668687ca1e | |||
| 76fc82705e | |||
| f8e2c4921a | |||
| af357b6be0 | |||
| 3effc621db | |||
| 15f2cd08bb | |||
| 427ea91be4 | |||
| 8ca5b48751 | |||
| dabeefe3ed | |||
| 180f6aa0e4 | |||
| 551eb57ffd | |||
| 8947a8a6f0 | |||
| c4a103ddc5 | |||
| be82fade76 | |||
| 4a826fb71a | |||
| d8c62a8a76 | |||
| fae5c10d20 | |||
| ab91e14732 | |||
| 6b1a5c8fbf | |||
| bd4b140292 | |||
| fffdd2e568 | |||
| 5524850eac | |||
| 8cd2069c0c | |||
| a0550d3ac9 | |||
| 0a7d8990a6 | |||
| a40c45aba9 | |||
| c185910064 | |||
| 1775e6a37d | |||
| 852da9f6b8 | |||
| 29f57f9f02 | |||
| 6b8e883199 | |||
| ab58c4912e | |||
| b7267308ea | |||
| ef8897cd11 | |||
| 03654ebde8 | |||
| 44a03bcd3a | |||
| fe7d37d6cd | |||
| 1746be8b1d | |||
| c124168179 | |||
| c32531dc20 | |||
| 13f62dc408 | |||
| 0170713d9c | |||
| abb7b52254 | |||
| 25cadda397 | |||
| a5ae2b0d5a | |||
| 78a5d21622 | |||
| 26e9567673 | |||
| 552c43158d | |||
| e86cfb2578 | |||
| 8a3d84b267 | |||
| f8f0f34006 | |||
| 82ddd5afea | |||
| b5c0584757 | |||
| 986d756654 | |||
| 04312ff31b | |||
| 402c232279 | |||
| 7a332a15cb | |||
| 4d04a1c9a5 | |||
| 1147659afc | |||
| 42108012f8 | |||
| c75aafc923 | |||
| 2b088ba214 | |||
| 20eec649f7 | |||
| 001d753ba6 | |||
| 2cfbd5ac5e | |||
| a20a679d50 | |||
| 2ca30b9fd6 | |||
| 5da45f091f | |||
| ab2c19587c | |||
| 9b00843ced | |||
| d0788a7fd6 | |||
| 6aceca240e | |||
| aa62fe966b | |||
| f1947bcce0 | |||
| 918e3614dc | |||
| 5ca10085b6 | |||
| 5038be163c | |||
| 9c0c5a69ec | |||
| 763d52a34f | |||
| d71a0d6839 | |||
| 7722d88671 | |||
| a4a054ef5a | |||
| a18395976b | |||
| bcb49e93cb | |||
| c343e2974b | |||
| 3c7907448e | |||
| a46b7a08ed | |||
| 91986cc972 | |||
| 04efb8ec7e | |||
| d1c94bb3c7 | |||
| 9f4f888fac | |||
| 888d321be7 | |||
| abb9a1bbeb | |||
| 974107576b | |||
| dee18799c7 | |||
| ab414a1a3f | |||
| f715f46f9c | |||
| cb524ecf5e | |||
| b118851550 | |||
| 94e5f09577 | |||
| 1b02568a46 | |||
| 55b97a540a | |||
| 5e35ba60b4 | |||
| 387a37d6bb | |||
| b8ddbbfecc | |||
| 2cc9912eaf | |||
| 000748e16a | |||
| d183d1f336 | |||
| 564407fdd1 | |||
| c36e3f391f | |||
| 8af70649bf | |||
| 74bdf4088f | |||
| b38ebb0113 | |||
| 0a128b968b | |||
| b4ceeb3c94 | |||
| b986d65f99 | |||
| 7a8d62c918 | |||
| da1b278cc0 | |||
| c80706dfe8 | |||
| 9e625f5445 | |||
| cda35629b3 | |||
| ef4d57967c | |||
| 666f108399 | |||
| 8aff7c8a8b | |||
| d65ce17318 | |||
| ddb11e8901 | |||
| 95b45500ba | |||
| fa52cff936 | |||
| d0eb3168cb | |||
| 5480590750 | |||
| 3c579f3d83 | |||
| 085250b53b | |||
| 5072a84d5b | |||
| f0b1dcd9e6 | |||
| d862bddb33 | |||
| f5c312cf06 | |||
| bc7c8c433a | |||
| 41b93a197b | |||
| e5f3182d9f | |||
| bf12cb18b8 | |||
| 5e4640d68a | |||
| 9d26c6e9da | |||
| 01d6e34348 | |||
| 2e32e61c3d | |||
| a4cec6d9c7 | |||
| 9124b6430e | |||
| ec46ceef8d | |||
| e054da7d24 | |||
| 489bf50f1c | |||
| 3c155ca696 | |||
| caea3e874f | |||
| 2e1ddb8a77 | |||
| d600d11a2d | |||
| 09b504d35d | |||
| dd1fa6f6bc | |||
| 05fbcb3344 | |||
| 359569b4f3 | |||
| e35fbeaca3 | |||
| 318cbc838a | |||
| 80adbd2bd7 | |||
| f82797f309 | |||
| e9409c5173 | |||
| dc5be90004 | |||
| 3aa3548044 | |||
| d71b04ee04 | |||
| 2453ea6d8c | |||
| a32b879d22 | |||
| d8ee01835f | |||
| 34a6c990e9 | |||
| b461d12027 | |||
| 955a6f5fbf | |||
| 5b1021ab50 | |||
| 612748f592 | |||
| 2a89cc9d92 | |||
| 65c6216894 | |||
| c985910a47 | |||
| f0dc81e5e1 | |||
| 5605f63f91 | |||
| 00283f2052 | |||
| 9ef5f49ffe | |||
| c79308aabb | |||
| 9dfe40cefa | |||
| 7b3a73f5b9 | |||
| 1a52741b97 | |||
| df13e449fa | |||
| 4f65bbf3da | |||
| 7941fa6bbb | |||
| 7432b5c205 | |||
| 64b6b8d2ac | |||
| 1edc21f2b5 | |||
| 767e55c41f | |||
| 38b3ef25bd | |||
| 1db978d60d | |||
| 90991c4aca | |||
| 884b96dff0 | |||
| c4e78b5c3d | |||
| e6995f1781 | |||
| ac9973fac0 | |||
| 54dfa866d6 | |||
| 92710f66ce | |||
| 378d248db1 | |||
| 8c35e2f88d | |||
| c4e899bdb2 | |||
| 6bec734827 | |||
| 2fc9a39325 | |||
| 02a23481bf | |||
| ee8d78545e | |||
| b37031e961 | |||
| 330213940c | |||
| 8cd84ec233 | |||
| 72d5223c2f | |||
| d894e7404a | |||
| 72333fa4f7 | |||
| 8e2e5ce6dc | |||
| bb4b32fd18 | |||
| b1492dd3a1 | |||
| 1692e0db8d | |||
| cc48580fe6 | |||
| 11763c307c | |||
| b7a9257df1 | |||
| 362a6085b6 | |||
| 1436fd9492 | |||
| 92c6531aa0 | |||
| 47a18ec910 | |||
| d56e442291 | |||
| 1e6b2c66cb | |||
| 1e5b683f08 | |||
| e03c8bae22 | |||
| 83564c10a8 | |||
| f1b3ed17ec | |||
| 0c317bdca8 | |||
| 40a3718373 | |||
| e6df5448da | |||
| de35780c08 | |||
| 4629210d5a | |||
| 4c37048388 | |||
| fa879f0d94 | |||
| 3e1e9fccca | |||
| bede753f7c | |||
| f9f0af62b9 | |||
| 9ee4754789 | |||
| 3e3fdc22e9 | |||
| a8825a8d0a | |||
| ff0f8943da | |||
| dd8cfa848e | |||
| 8da6523b05 | |||
| eef3d843db | |||
| 95503650aa | |||
| 7eebb34cd0 | |||
| 53741ee39f | |||
| 14cb6e6b07 | |||
| e8b4c647a6 | |||
| c79da5b84c | |||
| caaa52d189 | |||
| e86f139bd1 | |||
| d9a01ca865 | |||
| 4367b61f9f | |||
| 9d5c1435db | |||
| a4d74ffa4a | |||
| 6699d4b467 | |||
| b7704cd667 | |||
| c5442f286f | |||
| 9b46911b8f | |||
| e3d7d1e32c | |||
| 1e9cdee69c | |||
| 980ef302e6 | |||
| 872e2b2a71 | |||
| 353a313309 | |||
| 29e0c0ad41 | |||
| 8fcccf2c3a | |||
| 43580ac7f8 | |||
| affbff0325 | |||
| 8ad350dafc | |||
| 0d25578486 | |||
| a424461d57 | |||
| 21135dae61 | |||
| cad3cf174e | |||
| d121ac15e5 | |||
| 9f36a84607 | |||
| a08a580dac | |||
| 38304a30f2 | |||
| 2d95446949 | |||
| c723a1c706 | |||
| 0a7b38ce64 | |||
| 51caf68d1b | |||
| bae9d03f1e | |||
| 56401ddd24 | |||
| d58cdd4552 | |||
| f34827f71b | |||
| e09474cd82 | |||
| 02ad142010 | |||
| ed264e6684 | |||
| 143b22aeec | |||
| 1b435e9a68 | |||
| 63bbef1fb9 | |||
| 036fb4f3e0 | |||
| 48db0b9b4e | |||
| 842a1cd25d | |||
| ca6faa131f | |||
| 013d6c0341 | |||
| 1a66e1d3ac | |||
| 6c8ca22478 | |||
| 38bb3b788c | |||
| 53d6a1ba2f | |||
| 1cca1d814b | |||
| 87cdc57c5e | |||
| b769bf8512 | |||
| f95f80182b | |||
| 50a63fdc3b | |||
| 89e615b4cf | |||
| d4be8ca789 | |||
| 339b2beda9 | |||
| 1808e7f889 | |||
| fa47032388 | |||
| da8ba63c63 | |||
| b84b2f4c46 | |||
| db4b957f73 | |||
| ad5df08348 | |||
| d549092e1d | |||
| c66b75070e | |||
| 3569cefcf2 | |||
| 6951e4bc03 | |||
| 3a1dff7862 | |||
| dca85c1ba4 | |||
| 820b7c8a95 | |||
| eab04be8a6 | |||
| b041f454a8 | |||
| 974426d2d4 | |||
| 13e6bf1480 | |||
| 2008a42941 | |||
| a71bc0c620 | |||
| afee432981 | |||
| f2a18e2f92 | |||
| 7cf7442420 | |||
| 3cbf56db67 | |||
| 809b8b3120 | |||
| 1e863e30e2 | |||
| 5947e1cfec | |||
| 3a07a474ea | |||
| 4a9289d180 | |||
| 2278d7796f | |||
| c1009afa81 | |||
| 3be61ea91f | |||
| 1b4d4a0aae | |||
| a8f1802eb8 | |||
| 014e804977 | |||
| 9c59ab0c54 | |||
| 1c5c6fb16b | |||
| 589b4e3dd4 | |||
| e7f9b0838c | |||
| 580c7ed4bc | |||
| d905325534 | |||
| 3a45434314 | |||
| 956db792a2 | |||
| e2b3bbe7f2 | |||
| 43ff03eda2 | |||
| bc6d144c2b | |||
| 6d19104d35 | |||
| 2ef6869e0c | |||
| dbdff2ca9f | |||
| f112ee2b77 | |||
| bfe6c924b3 | |||
| 5532f7c995 | |||
| 1eddc286dd | |||
| 8f6feb5d54 | |||
| 29cb178598 | |||
| 2a9f761970 | |||
| 3199544fdf | |||
| 83b12f9aea | |||
| d615d882d4 | |||
| 071d5cf891 | |||
| 34efac3cb7 | |||
| 945f6b4ffe | |||
| 0ee93cdc17 | |||
| af2ff8d5c7 | |||
| 9afb251b50 | |||
| a76ce48ea3 | |||
| 23eca39e23 | |||
| b0a86d0deb | |||
| 496b05492e | |||
| 28c55b6262 | |||
| a94ebcdf4f | |||
| ae6d8669bd | |||
| 1511380a9d | |||
| ff3dff6602 | |||
| 024557cbc9 | |||
| 7922b2be49 | |||
| 0e9394761e | |||
| 4972876c8f | |||
| dadb62da66 | |||
| 5c38f9506b | |||
| 2d1892c4e2 | |||
| e64f227b7e | |||
| c5ee12e8f1 | |||
| babe1c8978 | |||
| 7acfdc0867 | |||
| a29f4dc0b8 | |||
| c2d33dea3b | |||
| 82c35ca5b2 | |||
| 18076b2a9f | |||
| 14aed027d5 | |||
| 70d9073e9b | |||
| ceca5d839d | |||
| 37fc742c93 | |||
| f8cd699d0c | |||
| 89e03cd7e7 | |||
| fef1f9978b | |||
| f08cd9a11c | |||
| 1087a1182c | |||
| 3debf88a10 | |||
| 4677454067 | |||
| f096dd6085 | |||
| 0dfc004f94 | |||
| fe65d6ff11 | |||
| af282e3ab5 | |||
| 09924ada83 | |||
| ace5b2ab93 | |||
| a7f5cbe27f | |||
| a0c2732a7d | |||
| 1ceb6bd9a3 | |||
| 15bfe327a7 | |||
| a3a8d39e8b | |||
| c50f5825d3 | |||
| d684c46be4 | |||
| b599aa0352 | |||
| ecd04bae25 | |||
| dfe2202446 | |||
| 31fe51a3f4 | |||
| 411b598cea | |||
| dbe14e68a0 | |||
| 6e054645f1 | |||
| 194871b523 | |||
| 34909a5c07 | |||
| e73498d254 | |||
| e6bc49301e | |||
| 5ea0b34c90 | |||
| ed7a05ada7 | |||
| 353f952fc4 | |||
| 64df450c98 | |||
| 034e85c79d | |||
| 248f3db782 | |||
| 02a0a86d1a | |||
| f9908cc63d | |||
| 38f2a0c3b1 | |||
| f9a0488abb | |||
| 794f2ce843 | |||
| 38b9ed255d | |||
| 8db90cdc84 | |||
| 797a447fd1 | |||
| 4171111d73 | |||
| 4785347879 | |||
| cd40165ce5 | |||
| 2e4dba8c4a | |||
| f4b182674b | |||
| c6929b6ff2 | |||
| 9efc9cba7d | |||
| 5bf8cec3be | |||
| 9d36511fa5 | |||
| 805afb982f | |||
| 6bc92da2c1 | |||
| 002ee09ccd | |||
| d1e1e5f61f | |||
| 54c66f4a34 | |||
| 5aa35b741d | |||
| 1aaec8ed5e | |||
| 8697a0f6ec | |||
| 83e971f1e9 | |||
| d0dd2707b3 | |||
| 5ab9ef8b51 | |||
| e89e743ec2 | |||
| 053ccdf4f1 | |||
| a9e5363390 | |||
| cb4d158cf2 | |||
| cb6c8564f1 | |||
| 31c48f50e5 | |||
| 293dc103f8 | |||
| debc16e42e | |||
| cd7cdb7326 | |||
| e87e2ab036 | |||
| f95f6d5386 | |||
| 68b819e430 | |||
| e8812faad2 | |||
| 4825b10e35 | |||
| 7e825d0e93 | |||
| 924519f157 | |||
| 24ff59aeb8 | |||
| eb4655edbd | |||
| 9be445273e | |||
| 87f7288c08 | |||
| 4f21fc3b94 | |||
| 3e9a96861f | |||
| 4d0353cd83 | |||
| 13c10dc0dc | |||
| 5f5b89e445 | |||
| eddec0566a | |||
| f78c1422be | |||
| 25fa766aeb | |||
| 9f6d5a80da | |||
| bb14c275d5 | |||
| 9a70d3806f | |||
| 22fbc5c763 | |||
| 7e819f39ad | |||
| 845567ca33 | |||
| d0c14f17fd | |||
| 6ae0a594e6 | |||
| 458d378c12 | |||
| d5f041756b | |||
| ed93c4d123 | |||
| a2423c157d | |||
| 86a7bdc912 | |||
| 604ab558fc | |||
| af461e1cbf | |||
| b9c6bbcd82 | |||
| 73958c8573 | |||
| fe9543681a | |||
| 56b5850b1a | |||
| c5e4605de6 | |||
| 96be4bdf64 | |||
| ff1586b36d | |||
| 7abe80f7b0 | |||
| 27d76311a0 | |||
| 88d65ae806 | |||
| 03e2d68477 | |||
| d9de2b52d6 | |||
| 6b73efa871 | |||
| 597597ef5b | |||
| c884e4886a | |||
| d1eeb7f43e | |||
| b644a9973f | |||
| a57fc701aa | |||
| 092e2cea15 | |||
| b3db69f682 | |||
| de7d55ac7d | |||
| cd49fe747c | |||
| c987caf75e | |||
| de908b710c | |||
| 5d83283178 | |||
| 23143ff639 | |||
| 34ee4d48ab | |||
| 9fdee19c7c | |||
| 2f2a1c5856 | |||
| 236b44a7d5 | |||
| aac9d92780 | |||
| 6a214b937d | |||
| 5a46383da4 | |||
| 5828994ee3 | |||
| 305af5c74d | |||
| dcf95e37ce | |||
| b44092654c | |||
| 7d4b9e8fdf | |||
| 4b1d5d9ba5 | |||
| d32968950a | |||
| 87a480132b | |||
| b6f5df7cc0 | |||
| ee9d6bccd9 | |||
| 020d48ef81 | |||
| b5a10f0a4d | |||
| 4fbd022656 | |||
| f7741afc30 | |||
| 5aa295e892 | |||
| 05464488c2 | |||
| 9c74816bab | |||
| e0847cd908 | |||
| 916939ac04 | |||
| ff43684c34 | |||
| 10f24fd8a9 | |||
| 7fe9041597 | |||
| d0abff101f | |||
| f0cd2524cf | |||
| c593e804a7 | |||
| c35950da01 | |||
| 4f56bfefba | |||
| 10cda086d2 | |||
| b31ade6b6a | |||
| 5730bfa154 | |||
| c8f2572f51 | |||
| 71c8a26ac8 | |||
| 9a348bef64 | |||
| 62cf634c95 | |||
| 789defb69d | |||
| a10d23b131 | |||
| a75726bdad | |||
| 06d05b8d95 | |||
| c11a9a91b8 | |||
| d2596d57df | |||
| 2a98a0270a | |||
| 5ed50840ac | |||
| 3a6689d752 | |||
| 3538277d0b | |||
| 51e0486c01 | |||
| 76052f9b23 | |||
| e71de2c52f | |||
| c19b635366 | |||
| dff6e4a4e2 | |||
| 6acc206fb1 | |||
| 674e34f9b5 | |||
| 79f20fd611 | |||
| 0758afdd98 | |||
| 3160d2b60b | |||
| 6b5c4ddaa7 | |||
| 957d245a53 | |||
| eca5cd628c | |||
| 1118725454 | |||
| d28d3ddcfa | |||
| f6b926d77e | |||
| 48ffbb6de1 | |||
| 7010548337 | |||
| 55e8aada24 | |||
| 7aed2bfb32 | |||
| 3c215cbaa5 | |||
| c16ca8d422 | |||
| 77ba05537c | |||
| 79e9e6c348 | |||
| 97bc417be4 | |||
| 6b7a854bb1 | |||
| 1d08af6a1f | |||
| 1abbbf0f06 | |||
| 52632c24ba | |||
| ee8a02c156 | |||
| 6b3e5b8715 | |||
| c2d76264eb | |||
| 6c1f620775 | |||
| 81abde6743 | |||
| b4afc67f55 | |||
| bfd46d3c26 | |||
| 32a0be9f90 | |||
| fbd955e218 | |||
| 86b17ddeba | |||
| 206020281d | |||
| dbc4a03df2 | |||
| 9a9138998b | |||
| 57992108cd | |||
| 020516dcac | |||
| 6d1ba5f1ad | |||
| a347d4e60d | |||
| f7420ad6c5 | |||
| 2c5f3ad29c | |||
| 36b5e5c81e | |||
| c20adac35c | |||
| 1b46b1b083 | |||
| b6e0353f78 | |||
| 0dd39fc73f | |||
| ca960ff094 | |||
| 6776fe848f | |||
| 0f0acaae49 | |||
| b3315ebc7c | |||
| 4255a813d6 | |||
| 4abc80f676 | |||
| 1c17d2ed2d | |||
| 200ba3c7d5 | |||
| 8c38ac95ec | |||
| b4e5297c5a | |||
| f63a34a547 | |||
| 26e2f3a3a0 | |||
| 0829d4474a | |||
| 42185bf93e | |||
| c5e5a5befe | |||
| 466e91de18 | |||
| 083362ccf7 | |||
| 90fb77a2c3 | |||
| 6e96070cd1 | |||
| 60972602b0 | |||
| a4bdc7fd21 | |||
| fa7d1fdee6 | |||
| e7dc77a058 | |||
| e12de0f60e | |||
| 9e76475908 | |||
| cda3a89b78 | |||
| add5495c29 | |||
| 8799c74874 | |||
| c23586f2c9 | |||
| dba9bc113e | |||
| ff38224afd | |||
| 5af4531a2e | |||
| aae07244ed | |||
| 6fe3bb8b07 | |||
| 9b41ae4944 | |||
| 07197d9e1d | |||
| a1f5b58640 | |||
| 772cab4575 | |||
| 2df6c3ce72 | |||
| 4e4b89944f | |||
| 4dc7d6307f | |||
| fab347ace0 | |||
| be04238508 | |||
| dbfea33e98 | |||
| d4606fa6f6 | |||
| 6dffd29e65 | |||
| 5662be2850 | |||
| 57629f9806 | |||
| 4f460d3e40 | |||
| af427dd25a | |||
| 93f982fcd1 | |||
| 6c59b60c9b | |||
| 53a8d9a371 | |||
| 6893925221 | |||
| 0e530a5349 | |||
| 6205f7a7c1 | |||
| d0ab5f773c | |||
| 30f1a14292 | |||
| bb74aaff1c | |||
| 35c61192ed | |||
| 7454de6c5d | |||
| 356a4fc127 | |||
| b26f205476 | |||
| 3f951365cb | |||
| 8fd0f336b5 | |||
| e06a140e11 | |||
| b37d6d0d2b | |||
| 8c41b4aff5 | |||
| 1571877677 | |||
| 6ec9b69068 | |||
| 58c0e3b165 | |||
| 1029149af2 | |||
| 691a8bc694 | |||
| a85208e492 | |||
| c34e4c488e | |||
| 1a93357180 | |||
| 400d7442d8 | |||
| c4313a0ff1 | |||
| a262898d36 | |||
| 8956671b39 | |||
| bbf9f0bd17 | |||
| 67f8d20560 | |||
| c59b8fd6d7 | |||
| 22f872b503 | |||
| b3c196081a | |||
| 649d7ffee0 | |||
| b7e9f52367 | |||
| c43681a965 | |||
| f3747c2cdd | |||
| c517f548c8 | |||
| a5e666d623 | |||
| 3c365c7a57 | |||
| 638c98a642 | |||
| ec29b4a3c6 | |||
| d389fb3632 | |||
| 8529d19134 | |||
| c74da3d4e0 | |||
| 8cee60292c | |||
| 94326ec852 | |||
| e3492d49bf | |||
| 1ce1b0a903 | |||
| 57b7938e8a | |||
| 5c940681b3 | |||
| a56380923c | |||
| 326395dcc6 | |||
| 4f325d4d1b | |||
| 52f67f53f9 | |||
| 9aa57eb5ba | |||
| b5e237af8e | |||
| 13c75d38d8 | |||
| 53fffe9065 | |||
| f88eef7f67 | |||
| 27d23fe29f | |||
| ee6c32c1dc | |||
| a091654897 | |||
| 5736c8e5b3 | |||
| 9ba3b9f36d | |||
| 3a8b51641e | |||
| 1674f9c980 | |||
| 808b7c81ea | |||
| 52219a8255 | |||
| b908a7daa6 | |||
| 1abf7b16cf | |||
| 76315c4ecb | |||
| 3ab7766068 | |||
| ad6b0478f3 |
+19
@@ -148,12 +148,18 @@ publish/
|
||||
|
||||
# NuGet Packages
|
||||
*.nupkg
|
||||
# NuGet Symbol Packages
|
||||
*.snupkg
|
||||
# The packages folder can be ignored because of Package Restore
|
||||
**/[Pp]ackages/*
|
||||
**/packages/*
|
||||
# except build/, which is used as an MSBuild target.
|
||||
!**/packages/build/
|
||||
# Uncomment if necessary however generally it will be regenerated when needed
|
||||
#!**/packages/repositories.config
|
||||
# NuGet v3's project.json files produces more ignorable files
|
||||
*.nuget.props
|
||||
*.nuget.targets
|
||||
|
||||
# Windows Azure Build Output
|
||||
csx/
|
||||
@@ -330,3 +336,16 @@ _UpgradeReport_Files/
|
||||
Backup*/
|
||||
UpgradeLog*.XML
|
||||
|
||||
# esclusioni gestione IOB-WIN-PYTHON
|
||||
IOB-WIN-PSER/logs/logfile.txt*
|
||||
IOB-WIN-PSER/dist/logTest/*
|
||||
IOB-WIN-PSER/dist/IOB-WIN-PSER/*
|
||||
IOB-WIN-PSER/logs/*/*.txt
|
||||
IOB-WIN-PSER/dist/CONF/*.cfg
|
||||
IOB-WIN-PSER/dist/logs/*/*.txt
|
||||
IOB-WIN-PSER/dist/*.exe
|
||||
IOB-WIN-PSER/dist-nuitka/*.exe
|
||||
IOB-WIN-PSER.build/
|
||||
IOB-WIN-PSER.dist/
|
||||
IOB-WIN-PSER.onefile-build/
|
||||
|
||||
|
||||
+192
-13
@@ -137,7 +137,6 @@ variables:
|
||||
# mCurl -v -u GitLab:$NEXUS_PASSWD --upload-file "Resources\ChangeLog.html" https://nexus.steamware.net/repository/SWS/$env:NEXUS_PATH/$version/LAST/ChangeLog.html
|
||||
# mCurl -v -u $env:NEXUS_USER:$env:NEXUS_PASSWD --upload-file bin/release/$env:APP_NAME.zip $env:NEXUS_SERVER/utility/$env:NEXUS_PATH/$version/$env:APP_NAME-$version.zip
|
||||
|
||||
|
||||
stages:
|
||||
- build
|
||||
- staging
|
||||
@@ -269,11 +268,45 @@ EgwProxy.OsaiCncLib:build:
|
||||
script:
|
||||
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.vbproj" -target:Build /p:Configuration=Release /p:Platform="x86" /p:OutputPath=bin/ /nodeReuse:false /verbosity:minimal /m'
|
||||
|
||||
EgwProxy.SqlDb:build:
|
||||
stage: build
|
||||
tags:
|
||||
- win
|
||||
variables:
|
||||
APP_NAME: EgwProxy.SqlDb
|
||||
only:
|
||||
refs:
|
||||
- develop
|
||||
- SDK/SqlDb
|
||||
before_script:
|
||||
- *nuget-fix
|
||||
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
|
||||
- *version-fix
|
||||
script:
|
||||
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=Release /p:Platform="x86" /p:OutputPath=bin/ /nodeReuse:false /verbosity:minimal /m'
|
||||
|
||||
EgwProxy.Gomba:build:
|
||||
stage: build
|
||||
tags:
|
||||
- win
|
||||
variables:
|
||||
APP_NAME: EgwProxy.Gomba
|
||||
only:
|
||||
refs:
|
||||
- develop
|
||||
- SDK/Gomba
|
||||
before_script:
|
||||
- *nuget-fix
|
||||
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
|
||||
- *version-fix
|
||||
script:
|
||||
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=Release /p:Platform="x86" /p:OutputPath=bin/ /nodeReuse:false /verbosity:minimal /m'
|
||||
|
||||
|
||||
# --------------------------------
|
||||
# STAGING: (nuget beta)
|
||||
# --------------------------------
|
||||
EgwProxy.Ftp:build:staging:
|
||||
EgwProxy.Ftp:staging:
|
||||
stage: staging
|
||||
needs: ["EgwProxy.Ftp:build"]
|
||||
tags:
|
||||
@@ -293,10 +326,10 @@ EgwProxy.Ftp:build:staging:
|
||||
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m'
|
||||
- '& Remove-Item *.nupkg'
|
||||
- '& $env:NUGET_PATH pack "$env:APP_NAME.Debug.nuspec"'
|
||||
- '& "$env:NUGET_PATH" setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& "$env:NUGET_PATH" push *$env:NUM_DEB.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
|
||||
EgwProxy.Icoel:build:staging:
|
||||
EgwProxy.Icoel:staging:
|
||||
stage: staging
|
||||
needs: ["EgwProxy.Icoel:build"]
|
||||
tags:
|
||||
@@ -316,10 +349,10 @@ EgwProxy.Icoel:build:staging:
|
||||
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m'
|
||||
- '& Remove-Item *.nupkg'
|
||||
- '& $env:NUGET_PATH pack "$env:APP_NAME.Debug.nuspec"'
|
||||
- '& "$env:NUGET_PATH" setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& "$env:NUGET_PATH" push *$env:NUM_DEB.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
|
||||
EgwProxy.MultiCncLib:build:staging:
|
||||
EgwProxy.MultiCncLib:staging:
|
||||
stage: staging
|
||||
needs: ["EgwProxy.MultiCncLib:build"]
|
||||
tags:
|
||||
@@ -340,10 +373,10 @@ EgwProxy.MultiCncLib:build:staging:
|
||||
- '& Remove-Item *.nupkg'
|
||||
- '& $env:NUGET_PATH pack "$env:APP_NAME.Debug.nuspec"'
|
||||
# - '& "$env:NUGET_PATH" pack "$env:APP_NAME\$env:APP_NAME.vbproj" -properties Configuration=$env:CONFIG -Version $env:NUM_DEB'
|
||||
- '& "$env:NUGET_PATH" setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& "$env:NUGET_PATH" push *$env:NUM_DEB.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
|
||||
EgwProxy.OsaiCncLib:build:staging:
|
||||
EgwProxy.OsaiCncLib:staging:
|
||||
stage: staging
|
||||
needs: ["EgwProxy.OsaiCncLib:build"]
|
||||
tags:
|
||||
@@ -364,9 +397,56 @@ EgwProxy.OsaiCncLib:build:staging:
|
||||
- '& Remove-Item *.nupkg'
|
||||
- '& $env:NUGET_PATH pack "$env:APP_NAME.Debug.nuspec"'
|
||||
# - '& "$env:NUGET_PATH" pack "$env:APP_NAME\$env:APP_NAME.vbproj" -properties Configuration=$env:CONFIG -Version $env:NUM_DEB'
|
||||
- '& "$env:NUGET_PATH" setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& "$env:NUGET_PATH" push *$env:NUM_DEB.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
|
||||
EgwProxy.SqlDb:staging:
|
||||
stage: staging
|
||||
needs: ["EgwProxy.SqlDb:build"]
|
||||
tags:
|
||||
- win
|
||||
variables:
|
||||
CONFIG: Debug
|
||||
APP_NAME: EgwProxy.SqlDb
|
||||
only:
|
||||
refs:
|
||||
- develop
|
||||
before_script:
|
||||
- *nuget-fix
|
||||
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
|
||||
- *version-fix
|
||||
- *nuspec-fix
|
||||
script:
|
||||
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m'
|
||||
- '& Remove-Item *.nupkg'
|
||||
- '& $env:NUGET_PATH pack "$env:APP_NAME.Debug.nuspec"'
|
||||
- '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& "$env:NUGET_PATH" push *$env:NUM_DEB.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
|
||||
EgwProxy.Gomba:staging:
|
||||
stage: staging
|
||||
needs: ["EgwProxy.Gomba:build"]
|
||||
tags:
|
||||
- win
|
||||
variables:
|
||||
CONFIG: Debug
|
||||
APP_NAME: EgwProxy.Gomba
|
||||
only:
|
||||
refs:
|
||||
- develop
|
||||
before_script:
|
||||
- *nuget-fix
|
||||
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
|
||||
- *version-fix
|
||||
- *nuspec-fix
|
||||
script:
|
||||
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m'
|
||||
- '& Remove-Item *.nupkg'
|
||||
- '& $env:NUGET_PATH pack "$env:APP_NAME.Debug.nuspec"'
|
||||
- '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& "$env:NUGET_PATH" push *$env:NUM_DEB.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
|
||||
|
||||
# --------------------------------
|
||||
# RELEASE
|
||||
# --------------------------------
|
||||
@@ -460,7 +540,7 @@ EgwProxy.Ftp:build:release:
|
||||
- '& Remove-Item *.nupkg'
|
||||
- '& $env:NUGET_PATH pack "$env:APP_NAME.Release.nuspec"'
|
||||
# - '& "$env:NUGET_PATH" pack "$env:APP_NAME\$env:APP_NAME.csproj" -properties Configuration=$env:CONFIG -Version $env:NUM_REL'
|
||||
- '& "$env:NUGET_PATH" setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& "$env:NUGET_PATH" push *$env:NUM_REL.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
|
||||
EgwProxy.Icoel:build:release:
|
||||
@@ -484,7 +564,7 @@ EgwProxy.Icoel:build:release:
|
||||
- '& Remove-Item *.nupkg'
|
||||
- '& $env:NUGET_PATH pack "$env:APP_NAME.Release.nuspec"'
|
||||
# - '& "$env:NUGET_PATH" pack "$env:APP_NAME\$env:APP_NAME.csproj" -properties Configuration=$env:CONFIG -Version $env:NUM_REL'
|
||||
- '& "$env:NUGET_PATH" setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& "$env:NUGET_PATH" push *$env:NUM_REL.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
|
||||
EgwProxy.MultiCncLib:build:release:
|
||||
@@ -508,7 +588,7 @@ EgwProxy.MultiCncLib:build:release:
|
||||
- '& Remove-Item *.nupkg'
|
||||
- '& $env:NUGET_PATH pack "$env:APP_NAME.Release.nuspec"'
|
||||
# - '& "$env:NUGET_PATH" pack "$env:APP_NAME\$env:APP_NAME.vbproj" -properties Configuration=$env:CONFIG -Version $env:NUM_REL'
|
||||
- '& "$env:NUGET_PATH" setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& "$env:NUGET_PATH" push *$env:NUM_REL.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
|
||||
EgwProxy.OsaiCncLib:build:release:
|
||||
@@ -531,7 +611,54 @@ EgwProxy.OsaiCncLib:build:release:
|
||||
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.vbproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m'
|
||||
- '& Remove-Item *.nupkg'
|
||||
- '& $env:NUGET_PATH pack "$env:APP_NAME.Release.nuspec"'
|
||||
- '& "$env:NUGET_PATH" setapikey fe387daa-d07c-3207-877e-96c8be1be91b -source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& "$env:NUGET_PATH" push *$env:NUM_REL.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
|
||||
EgwProxy.SqlDb:build:release:
|
||||
stage: release
|
||||
needs: ["EgwProxy.SqlDb:build"]
|
||||
tags:
|
||||
- win
|
||||
variables:
|
||||
CONFIG: Release
|
||||
APP_NAME: EgwProxy.SqlDb
|
||||
only:
|
||||
refs:
|
||||
- SDK/SqlDb
|
||||
before_script:
|
||||
- *nuget-fix
|
||||
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
|
||||
- *version-fix
|
||||
- *nuspec-fix
|
||||
script:
|
||||
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m'
|
||||
- '& Remove-Item *.nupkg'
|
||||
- '& $env:NUGET_PATH pack "$env:APP_NAME.Release.nuspec"'
|
||||
# - '& "$env:NUGET_PATH" pack "$env:APP_NAME\$env:APP_NAME.csproj" -properties Configuration=$env:CONFIG -Version $env:NUM_REL'
|
||||
- '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& "$env:NUGET_PATH" push *$env:NUM_REL.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
|
||||
EgwProxy.Gomba:build:release:
|
||||
stage: release
|
||||
needs: ["EgwProxy.Gomba:build"]
|
||||
tags:
|
||||
- win
|
||||
variables:
|
||||
CONFIG: Release
|
||||
APP_NAME: EgwProxy.Gomba
|
||||
only:
|
||||
refs:
|
||||
- SDK/Gomba
|
||||
before_script:
|
||||
- *nuget-fix
|
||||
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
|
||||
- *version-fix
|
||||
- *nuspec-fix
|
||||
script:
|
||||
- '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m'
|
||||
- '& Remove-Item *.nupkg'
|
||||
- '& $env:NUGET_PATH pack "$env:APP_NAME.Release.nuspec"'
|
||||
- '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
- '& "$env:NUGET_PATH" push *$env:NUM_REL.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted'
|
||||
|
||||
# --------------------------------
|
||||
@@ -546,6 +673,9 @@ EgwProxy.Ftp:docfx:
|
||||
APP_NAME: EgwProxy.Ftp
|
||||
only:
|
||||
- SDK/Ftp
|
||||
before_script:
|
||||
- *nuget-fix
|
||||
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
|
||||
script:
|
||||
- docfx $env:APP_NAME/docfx.json
|
||||
- mv $env:APP_NAME/_site "docfx"
|
||||
@@ -560,6 +690,9 @@ EgwProxy.Icoel:docfx:
|
||||
APP_NAME: EgwProxy.Icoel
|
||||
only:
|
||||
- SDK/Icoel
|
||||
before_script:
|
||||
- *nuget-fix
|
||||
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
|
||||
script:
|
||||
- docfx $env:APP_NAME/docfx.json
|
||||
- mv $env:APP_NAME/_site "docfx"
|
||||
@@ -574,6 +707,9 @@ EgwProxy.MultiCncLib:docfx:
|
||||
APP_NAME: EgwProxy.MultiCncLib
|
||||
only:
|
||||
- SDK/MultiCnc
|
||||
before_script:
|
||||
- *nuget-fix
|
||||
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
|
||||
script:
|
||||
- docfx $env:APP_NAME/docfx.json
|
||||
- mv $env:APP_NAME/_site "docfx"
|
||||
@@ -588,11 +724,48 @@ EgwProxy.OsaiCncLib:docfx:
|
||||
APP_NAME: EgwProxy.OsaiCncLib
|
||||
only:
|
||||
- SDK/OsaiCnc
|
||||
before_script:
|
||||
- *nuget-fix
|
||||
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
|
||||
script:
|
||||
- docfx $env:APP_NAME/docfx.json
|
||||
- mv $env:APP_NAME/_site "docfx"
|
||||
- *DocReplica
|
||||
|
||||
EgwProxy.SqlDb:docfx:
|
||||
stage: docfx
|
||||
needs: ["EgwProxy.SqlDb:build"]
|
||||
tags:
|
||||
- win
|
||||
variables:
|
||||
APP_NAME: EgwProxy.SqlDb
|
||||
only:
|
||||
- SDK/SqlDb
|
||||
before_script:
|
||||
- *nuget-fix
|
||||
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
|
||||
script:
|
||||
- docfx $env:APP_NAME/docfx.json
|
||||
- mv $env:APP_NAME/_site "docfx"
|
||||
- *DocReplica
|
||||
|
||||
EgwProxy.Gomba:docfx:
|
||||
stage: docfx
|
||||
needs: ["EgwProxy.Gomba:build"]
|
||||
tags:
|
||||
- win
|
||||
variables:
|
||||
APP_NAME: EgwProxy.Gomba
|
||||
only:
|
||||
- SDK/Gomba
|
||||
before_script:
|
||||
- *nuget-fix
|
||||
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
|
||||
script:
|
||||
- docfx $env:APP_NAME/docfx.json
|
||||
- mv $env:APP_NAME/_site "docfx"
|
||||
- *DocReplica
|
||||
|
||||
IOB-WIN-NEXT:docfx:
|
||||
stage: docfx
|
||||
needs: ["IOB-WIN-NEXT:build"]
|
||||
@@ -602,6 +775,9 @@ IOB-WIN-NEXT:docfx:
|
||||
APP_NAME: IOB-WIN-NEXT
|
||||
only:
|
||||
- master
|
||||
before_script:
|
||||
- *nuget-fix
|
||||
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
|
||||
script:
|
||||
- docfx $env:APP_NAME/docfx.json
|
||||
- mv $env:APP_NAME/_site "docfx"
|
||||
@@ -616,6 +792,9 @@ IOB-MAN:docfx:
|
||||
APP_NAME: IOB-MAN
|
||||
only:
|
||||
- master
|
||||
before_script:
|
||||
- *nuget-fix
|
||||
- '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet'
|
||||
script:
|
||||
- docfx $env:APP_NAME/docfx.json
|
||||
- mv $env:APP_NAME/_site "docfx"
|
||||
|
||||
+529
@@ -0,0 +1,529 @@
|
||||
1;E2_800.00;Alarm Word 0;0;1,ALLARME INVERTER CATENA TRASP. TESSUTO
|
||||
2;E2_800.01;Alarm Word 0;1;2,ALLARME INVERTER CILINDRO SOVRALIMENTAZIONE SUPERIORE
|
||||
3;E2_800.02;Alarm Word 0;2;3,ALLARME INVERTER CILINDRO SOVRALIMENTAZIONE INFERIORE
|
||||
4;E2_800.03;Alarm Word 0;3;4,ALLARME INVERTER RUOTA SOVRALIMENTAZIONE SINISTRA
|
||||
5;E2_800.04;Alarm Word 0;4;5,ALLARME INVERTER RUOTA SOVRALIMENTAZIONE DESTRA
|
||||
6;E2_800.05;Alarm Word 0;5;6,ALLARME INVERTER STACCAPEZZA
|
||||
7;E2_800.06;Alarm Word 0;6;7,ALLARME INVERTER FALDAROTOLATORE
|
||||
8;E2_800.07;Alarm Word 0;7;8,ALLARME INVERTER FALDERUOLE
|
||||
9;E2_800.08;Alarm Word 0;8;9,ALLARME INVERTER ESAUSTORE 1
|
||||
10;E2_800.09;Alarm Word 0;9;10,ALLARME FUNE SICUREZZA USCITA
|
||||
11;E2_800.10;Alarm Word 0;10;11,ALLARME VENTILATORE 1 (BASSO)
|
||||
12;E2_800.11;Alarm Word 0;11;12, ALLARME VENTILATORE 2 (BASSO)
|
||||
13;E2_800.12;Alarm Word 0;12;13,ALLARME F.C. MINIMO CAMPO MASTER
|
||||
14;E2_800.13;Alarm Word 0;13;14,ALLARME F.C. MASSIMO CAMPO MASTER
|
||||
15;E2_800.14;Alarm Word 0;14;15,ALLARME PROTEZIONE TAPPETO INGRESSO
|
||||
16;E2_800.15;Alarm Word 0;15;16,RIFERIMENTO POTENZIOMETRI CAMPI ASSENTE
|
||||
17;E2_801.00;Alarm Word 1;0;17,ALLARME CONDIZIONATORI
|
||||
18;E2_801.01;Alarm Word 1;1;18,EMERGENZA IN CORSO !!!
|
||||
19;E2_801.02;Alarm Word 1;2;19,ALLARME PROTEZIONE RECUPERO CALORE - GRUPPO 2 POMPA 1
|
||||
20;E2_801.03;Alarm Word 1;3;20,ALLARME POMPA RECUPERO CALORE 3
|
||||
21;E2_801.04;Alarm Word 1;4;21,CONTROLLO UMIDITA' : FUORI CAMPO
|
||||
22;E2_801.05;Alarm Word 1;5;22,ALLARME RILEVATORE ALTEZZA TESSUTO
|
||||
23;E2_801.06;Alarm Word 1;6;23,ALLARME NON RILASCIO TESSUTO SINISTRO
|
||||
24;E2_801.07;Alarm Word 1;7;24,ALLARME NON RILASCIO TESSUTO DESTRO
|
||||
25;E2_801.08;Alarm Word 1;8;25,ALLARME ALIMENTAZIONE 24VAC QUADRO
|
||||
26;E2_801.09;Alarm Word 1;9;26,ALLARME APRICIMOSSE
|
||||
27;E2_801.10;Alarm Word 1;10;27,ALLARME ASCIUGACIMOSSE A INFRAROSSI
|
||||
28;E2_801.11;Alarm Word 1;11;28,ALLARME PROTEZIONE CELLA DI RAFFREDDAMENTO 1
|
||||
29;E2_801.12;Alarm Word 1;12;29,CAMPO PARALLELO 2 ALLARME PROTEZIONE
|
||||
30;E2_801.13;Alarm Word 1;13;30,ALLARME VENTILATORE 3 (BASSO)
|
||||
31;E2_801.14;Alarm Word 1;14;31,ALLARME VENTILATORE 4 (BASSO)
|
||||
32;E2_801.15;Alarm Word 1;15;32,CAMPO PARALLELO 1 ALLARME PROTEZIONE
|
||||
33;E2_802.00;Alarm Word 2;0;33,CAMPO PARALLELO 3 ALLARME PROTEZIONE
|
||||
34;E2_802.01;Alarm Word 2;1;34,RAGGIUNTO MASSIMO CARICO CELLA DI CARICO TAPPETO
|
||||
35;E2_802.02;Alarm Word 2;2;35,ALLARME FALLOPEZZA SINISTRO
|
||||
36;E2_802.03;Alarm Word 2;3;36,ALLARME FALLOPEZZA DESTRO
|
||||
37;E2_802.04;Alarm Word 2;4;37,PARATIE ANTERIORI APERTE
|
||||
38;E2_802.05;Alarm Word 2;5;38,ALLARME AZIONAMENTO CAMPO CONICO
|
||||
39;E2_802.06;Alarm Word 2;6;39,BLOCCO BRUCIATORE 9
|
||||
40;E2_802.07;Alarm Word 2;7;40,CAMPO MASTER ALLARME PROTEZIONE
|
||||
41;E2_802.08;Alarm Word 2;8;41,ALLARME PRESSOSTATO TENDICATENA SINISTRO
|
||||
42;E2_802.09;Alarm Word 2;9;42,ALLARME PRESSOSTATO TENDICATENA DESTRO
|
||||
43;E2_802.10;Alarm Word 2;10;43,ALLARME MASSIMO ALLUNGAMENTO CATENA
|
||||
44;E2_802.11;Alarm Word 2;11;44,ALLARME TIPO LAVORO USCITA NON SELEZIONATO
|
||||
45;E2_802.12;Alarm Word 2;12;45,ALLARME RADDRIZZATRAMA
|
||||
46;E2_802.13;Alarm Word 2;13;46,ALLARME SPREMITORE 1
|
||||
47;E2_802.14;Alarm Word 2;14;47,BLOCCO BRUCIATORE 10
|
||||
48;E2_802.15;Alarm Word 2;15;48,BLOCCO BRUCIATORE 11
|
||||
49;E2_803.00;Alarm Word 3;0;49,BLOCCO BRUCIATORE 12
|
||||
50;E2_803.01;Alarm Word 3;1;50,BLOCCO BRUCIATORE 1
|
||||
51;E2_803.02;Alarm Word 3;2;51,BLOCCO BRUCIATORE 2
|
||||
52;E2_803.03;Alarm Word 3;3;52,BLOCCO BRUCIATORE 3
|
||||
53;E2_803.04;Alarm Word 3;4;53,BLOCCO BRUCIATORE 4
|
||||
54;E2_803.05;Alarm Word 3;5;54,BIELLE FUORI POSIZIONE
|
||||
55;E2_803.06;Alarm Word 3;6;55,GRUPPO FALDATORE FUORI POSIZIONE
|
||||
56;E2_803.07;Alarm Word 3;7;56,SERIE ARRESTI APERTA
|
||||
57;E2_803.08;Alarm Word 3;8;57,MANCANZA LUBRIFICANTE CATENA TRASP. TESSUTO
|
||||
58;E2_803.09;Alarm Word 3;9;58,ALLARME INVERTER PICCOLO ROTOLO
|
||||
59;E2_803.10;Alarm Word 3;10;59,ALLARME PROTEZIONE ALLARGATORI
|
||||
60;E2_803.11;Alarm Word 3;11;60,ALLARME PROTEZIONE ASPIRACIMOSSE
|
||||
61;E2_803.12;Alarm Word 3;12;61,ALLARME TAGLIACIMOSSE SINISTRA
|
||||
62;E2_803.13;Alarm Word 3;13;62,ALLARME TAGLIACIMOSSE DESTRA
|
||||
63;E2_803.14;Alarm Word 3;14;63,ALLARME INVERTER VENTILATORI INV101
|
||||
64;E2_803.15;Alarm Word 3;15;64,ALLARME INVERTER VENTILATORI INV103
|
||||
65;E2_804.00;Alarm Word 4;0;65,ALLARME TIMEOUT VITE CAMPO MASTER
|
||||
66;E2_804.01;Alarm Word 4;1;66,ALLARME TIMEOUT VITE CAMPO PARALLELO 1
|
||||
67;E2_804.02;Alarm Word 4;2;67,ALLARME TIMEOUT VITE CAMPO PARALLELO 2
|
||||
68;E2_804.03;Alarm Word 4;3;68,ALLARME TIMEOUT VITE CAMPO PARALLELO 3
|
||||
69;E2_804.04;Alarm Word 4;4;69,ALLARME TIMEOUT VITE CAMPO PARALLELO 4
|
||||
70;E2_804.05;Alarm Word 4;5;70,ALLARME TIMEOUT VITE CAMPO PARALLELO 5
|
||||
71;E2_804.06;Alarm Word 4;6;71,ALLARME TIMEOUT VITE CAMPO PARALLELO 6
|
||||
72;E2_804.07;Alarm Word 4;7;72,ALLARME TIMEOUT VITE CAMPO PARALLELO 7
|
||||
73;E2_804.08;Alarm Word 4;8;73,ALLARME TIMEOUT VITE CAMPO PARALLELO 8
|
||||
74;E2_804.09;Alarm Word 4;9;74,ALLARME TIMEOUT VITE CAMPO PARALLELO 9
|
||||
75;E2_804.10;Alarm Word 4;10;75,ALLARME DEVICE_NET ADDR. 32 DA BANCHETTO DI SPALMATURA
|
||||
76;E2_804.11;Alarm Word 4;11;76,ALLARME INVERTER DOGAL
|
||||
77;E2_804.12;Alarm Word 4;12;77,ALLARME FOTOCELLULA TAPPETO USCITA PIENO
|
||||
78;E2_804.13;Alarm Word 4;13;78,TEMPO DI CICLO PLC SOPRA MASSIMO IMPOSTATO
|
||||
79;E2_804.14;Alarm Word 4;14;79,ERRORE INDIRIZZI SONDE BRUCIATORI
|
||||
80;E2_804.15;Alarm Word 4;15;80,ALLARME VENTILATORE 4 (ALTO)
|
||||
81;E2_805.00;Alarm Word 5;0;81,ALLARME VENTILATORE 5 (ALTO)
|
||||
82;E2_805.01;Alarm Word 5;1;82,ALLARME VENTILATORE 6 (ALTO)
|
||||
83;E2_805.02;Alarm Word 5;2;83,ALLARME VENTILATORE 7 (ALTO)
|
||||
84;E2_805.03;Alarm Word 5;3;84,SONDA BRUCIATORE 1 INTERROTTA
|
||||
85;E2_805.04;Alarm Word 5;4;85,SONDA BRUCIATORE 2 INTERROTTA
|
||||
86;E2_805.05;Alarm Word 5;5;86,SONDA BRUCIATORE 3 INTERROTTA
|
||||
87;E2_805.06;Alarm Word 5;6;87,SONDA BRUCIATORE 4 INTERROTTA
|
||||
88;E2_805.07;Alarm Word 5;7;88,ALLARME DEVICE_NET ADDR. 0
|
||||
89;E2_805.08;Alarm Word 5;8;89,ALLARME DEVICE_NET ADDR. 1
|
||||
90;E2_805.09;Alarm Word 5;9;90,ALLARME DEVICE_NET ADDR. 2
|
||||
91;E2_805.10;Alarm Word 5;10;91,ALLARME DEVICE_NET ADDR. 3
|
||||
92;E2_805.11;Alarm Word 5;11;92,ALLARME DEVICE_NET ADDR. 4
|
||||
93;E2_805.12;Alarm Word 5;12;93,ALLARME DEVICE_NET ADDR. 5
|
||||
94;E2_805.13;Alarm Word 5;13;94,ALLARME DEVICE_NET ADDR. 6
|
||||
95;E2_805.14;Alarm Word 5;14;95,ALLARME DEVICE_NET ADDR. 7
|
||||
96;E2_805.15;Alarm Word 5;15;96,ALLARME DEVICE_NET ADDR. 8
|
||||
97;E2_806.00;Alarm Word 6;0;97,ALLARME DEVICE_NET ADDR. 9
|
||||
98;E2_806.01;Alarm Word 6;1;98,ALLARME DEVICE_NET ADDR. 10
|
||||
99;E2_806.02;Alarm Word 6;2;99,ALLARME DEVICE_NET ADDR. 11
|
||||
100;E2_806.03;Alarm Word 6;3;100,ALLARME DEVICE_NET ADDR. 12
|
||||
101;E2_806.04;Alarm Word 6;4;101,ALLARME DEVICE_NET ADDR. 13
|
||||
102;E2_806.05;Alarm Word 6;5;102,ALLARME DEVICE_NET ADDR. 14
|
||||
103;E2_806.06;Alarm Word 6;6;103,ALLARME DEVICE_NET ADDR. 15
|
||||
104;E2_806.07;Alarm Word 6;7;104,ALLARME DEVICE_NET ADDR. 16
|
||||
105;E2_806.08;Alarm Word 6;8;105,ALLARME DEVICE_NET ADDR. 17
|
||||
106;E2_806.09;Alarm Word 6;9;106,ALLARME DEVICE_NET ADDR. 18
|
||||
107;E2_806.10;Alarm Word 6;10;107,ALLARME DEVICE_NET ADDR. 19
|
||||
108;E2_806.11;Alarm Word 6;11;108,ALLARME DEVICE_NET ADDR. 20
|
||||
109;E2_806.12;Alarm Word 6;12;109,ALLARME DEVICE_NET ADDR. 21
|
||||
110;E2_806.13;Alarm Word 6;13;110,ALLARME DEVICE_NET ADDR. 22
|
||||
111;E2_806.14;Alarm Word 6;14;111,ALLARME DEVICE_NET ADDR. 23
|
||||
112;E2_806.15;Alarm Word 6;15;112,ALLARME DEVICE_NET ADDR. 24
|
||||
113;E2_807.00;Alarm Word 7;0;113,ALLARME DEVICE_NET ADDR. 25
|
||||
114;E2_807.01;Alarm Word 7;1;114,ALLARME DEVICE_NET ADDR. 26
|
||||
115;E2_807.02;Alarm Word 7;2;115,BLOCCO BRUCIATORE 5
|
||||
116;E2_807.03;Alarm Word 7;3;116,BLOCCO BRUCIATORE 6
|
||||
117;E2_807.04;Alarm Word 7;4;117,BLOCCO BRUCIATORE 7
|
||||
118;E2_807.05;Alarm Word 7;5;118,BLOCCO BRUCIATORE 8
|
||||
119;E2_807.06;Alarm Word 7;6;119,SOVRATEMPERATURA BRUCIATORE 1
|
||||
120;E2_807.07;Alarm Word 7;7;120,SOVRATEMPERATURA BRUCIATORE 2
|
||||
121;E2_807.08;Alarm Word 7;8;121,SOVRATEMPERATURA BRUCIATORE 3
|
||||
122;E2_807.09;Alarm Word 7;9;122,SOVRATEMPERATURA BRUCIATORE 4
|
||||
123;E2_807.10;Alarm Word 7;10;123,SOVRATEMPERATURA BRUCIATORE 5
|
||||
124;E2_807.11;Alarm Word 7;11;124,SOVRATEMPERATURA BRUCIATORE 6
|
||||
125;E2_807.12;Alarm Word 7;12;125,SOVRATEMPERATURA BRUCIATORE 7
|
||||
126;E2_807.13;Alarm Word 7;13;126,SOVRATEMPERATURA BRUCIATORE 8
|
||||
127;E2_807.14;Alarm Word 7;14;127,SONDA BRUCIATORE 5 INTERROTTA
|
||||
128;E2_807.15;Alarm Word 7;15;128,SONDA BRUCIATORE 6 INTERROTTA
|
||||
129;E2_808.00;Alarm Word 8;0;129,SONDA BRUCIATORE 7 INTERROTTA
|
||||
130;E2_808.01;Alarm Word 8;1;130,SONDA BRUCIATORE 8 INTERROTTA
|
||||
131;E2_808.02;Alarm Word 8;2;131,SONDA BRUCIATORE 9 INTERROTTA
|
||||
132;E2_808.03;Alarm Word 8;3;132,SONDA BRUCIATORE 10 INTERROTTA
|
||||
133;E2_808.04;Alarm Word 8;4;133,SONDA BRUCIATORE 11 INTERROTTA
|
||||
134;E2_808.05;Alarm Word 8;5;134,SONDA BRUCIATORE 12 INTERROTTA
|
||||
135;E2_808.06;Alarm Word 8;6;135,SOVRATEMPERATURA BRUCIATORE 9
|
||||
136;E2_808.07;Alarm Word 8;7;136,SOVRATEMPERATURA BRUCIATORE 10
|
||||
137;E2_808.08;Alarm Word 8;8;137,SOVRATEMPERATURA BRUCIATORE 11
|
||||
138;E2_808.09;Alarm Word 8;9;138,SOVRATEMPERATURA BRUCIATORE 12
|
||||
139;E2_808.10;Alarm Word 8;10;139,ALLARME INVERTER VENTILATORI INV105
|
||||
140;E2_808.11;Alarm Word 8;11;140,ALLARME INVERTER VENTILATORI INV107
|
||||
141;E2_808.12;Alarm Word 8;12;141,ALLARME INVERTER VENTILATORI INV109
|
||||
142;E2_808.13;Alarm Word 8;13;142,ALLARME INVERTER VENTILATORI INV111
|
||||
143;E2_808.14;Alarm Word 8;14;143,ALLARME VENTILATORE 5 (BASSO)
|
||||
144;E2_808.15;Alarm Word 8;15;144,ALLARME VENTILATORE 6 (BASSO)
|
||||
145;E2_809.00;Alarm Word 9;0;145,ALLARME VENTILATORE 7 (BASSO)
|
||||
146;E2_809.01;Alarm Word 9;1;146,ALLARME VENTILATORE 8 (BASSO)
|
||||
147;E2_809.02;Alarm Word 9;2;147,ALLARME VENTILATORE 9 (BASSO)
|
||||
148;E2_809.03;Alarm Word 9;3;148,ALLARME VENTILATORE 10 (BASSO)
|
||||
149;E2_809.04;Alarm Word 9;4;149,ALLARME VENTILATORE 11 (BASSO)
|
||||
150;E2_809.05;Alarm Word 9;5;150,ALLARME VENTILATORE 12 (BASSO)
|
||||
151;E2_809.06;Alarm Word 9;6;151,ALLARME INVERTER ESAUSTORE 2
|
||||
152;E2_809.07;Alarm Word 9;7;152,CAMPO PARALLELO 4 ALLARME PROTEZIONE
|
||||
153;E2_809.08;Alarm Word 9;8;153,CAMPO PARALLELO 5 ALLARME PROTEZIONE
|
||||
154;E2_809.09;Alarm Word 9;9;154,CAMPO PARALLELO 6 ALLARME PROTEZIONE
|
||||
155;E2_809.10;Alarm Word 9;10;155,CAMPO PARALLELO 7 ALLARME PROTEZIONE
|
||||
156;E2_809.11;Alarm Word 9;11;156,CAMPO PARALLELO 8 ALLARME PROTEZIONE
|
||||
157;E2_809.12;Alarm Word 9;12;157,ALLARME INSEGUIMENTO VITE MASTER AGGIUNTA
|
||||
158;E2_809.13;Alarm Word 9;13;158,ALLARME INVERTER CILINDRO RAFFREDDAMENTO
|
||||
159;E2_809.14;Alarm Word 9;14;159,ALLARME TEMPERATURA ESAUSTORI
|
||||
160;E2_809.15;Alarm Word 9;15;160,ALLARME INVERTER RECUPERO CALORE GRUPPO 1
|
||||
161;E2_810.00;Alarm Word 10;0;161,ALLARME FINECORSA SX TAPPETO USCITA
|
||||
162;E2_810.01;Alarm Word 10;1;162,ALLARME FINECORSA DX TAPPETO USCITA
|
||||
163;E2_810.02;Alarm Word 10;2;163,ALLARME INVERTER RECUPERO CALORE GRUPPO 2
|
||||
164;E2_810.03;Alarm Word 10;3;164,ALLARME DEVICE_NET ADDR. 31
|
||||
165;E2_810.04;Alarm Word 10;4;165,ALLARME CENTRATORE USCITA
|
||||
166;E2_810.05;Alarm Word 10;5;166,COMPATTATORE NON PRONTO
|
||||
167;E2_810.06;Alarm Word 10;6;167,ALLARME CONTROLLO PIROMETRI
|
||||
168;E2_810.07;Alarm Word 10;7;168,ALLARME ALLARGATORE SU TAPPETO USCITA
|
||||
169;E2_810.08;Alarm Word 10;8;169,ALLARME CONTROLLO FUMI
|
||||
170;E2_810.09;Alarm Word 10;9;170,ALLARME FINECORSA BALLERINO ALTO
|
||||
171;E2_810.10;Alarm Word 10;10;171,ALLARME FINECORSA BALLERINO BASSO
|
||||
172;E2_810.11;Alarm Word 10;11;172,ALLARME PROTEZIONE ASPIRATORE VAPORIZZO INTENSIVO
|
||||
173;E2_810.12;Alarm Word 10;12;173,ALLARME PROTEZIONE BRUCIATORE 1
|
||||
174;E2_810.13;Alarm Word 10;13;174,ALLARME PROTEZIONE BRUCIATORE 2
|
||||
175;E2_810.14;Alarm Word 10;14;175,ALLARME PROTEZIONE BRUCIATORE 3
|
||||
176;E2_810.15;Alarm Word 10;15;176,ALLARME PROTEZIONE BRUCIATORE 4
|
||||
177;E2_811.00;Alarm Word 11;0;177,ALLARME PROTEZIONE BRUCIATORE 5
|
||||
178;E2_811.01;Alarm Word 11;1;178,ALLARME PROTEZIONE BRUCIATORE 6
|
||||
179;E2_811.02;Alarm Word 11;2;179,ALLARME PROTEZIONE BRUCIATORE 7
|
||||
180;E2_811.03;Alarm Word 11;3;180,ALLARME PROTEZIONE BRUCIATORE 8
|
||||
181;E2_811.04;Alarm Word 11;4;181,ALLARME PROTEZIONE BRUCIATORE 9
|
||||
182;E2_811.05;Alarm Word 11;5;182,ALLARME PROTEZIONE BRUCIATORE 10
|
||||
183;E2_811.06;Alarm Word 11;6;183,ALLARME PROTEZIONE BRUCIATORE 11
|
||||
184;E2_811.07;Alarm Word 11;7;184,ALLARME PROTEZIONE BRUCIATORE 12
|
||||
185;E2_811.08;Alarm Word 11;8;185,TERMOFISSAGGIO O ESSICCAZIONE: TEMPERATURA FUORI CAMPO
|
||||
186;E2_811.09;Alarm Word 11;9;186,TERMOFISSAGGIO O ESSICCAZIONE: VELOCITA' FUORI CAMPO
|
||||
187;E2_811.10;Alarm Word 11;10;187,TERMOFISSAGGIO O ESSICCAZIONE: TEMPO FUORI CAMPO
|
||||
188;E2_811.11;Alarm Word 11;11;188,SISTEMA CAMPI PARALLELI NON TARATO
|
||||
189;E2_811.12;Alarm Word 11;12;189,ALLARME PROTEZIONE VENTOLE BRUCIATORI
|
||||
190;E2_811.13;Alarm Word 11;13;190,CAMPO CONICO SINISTRO SU LIMITE CHIUSURA
|
||||
191;E2_811.14;Alarm Word 11;14;191,CAMPO CONICO SINISTRO SU LIMITE APERTURA
|
||||
192;E2_811.15;Alarm Word 11;15;192,CAMPO CONICO DESTRO SU LIMITE APERTURA
|
||||
193;E2_812.00;Alarm Word 12;0;193,CAMPO CONICO DESTRO SU LIMITE CHIUSURA
|
||||
194;E2_812.01;Alarm Word 12;1;194,FINECORSA CAMPO CONICO DESTRO SU TRAVERSA
|
||||
195;E2_812.02;Alarm Word 12;2;195,FINECORSA CAMPO CONICO SINISTRO SU TRAVERSA
|
||||
196;E2_812.03;Alarm Word 12;3;196,ALLARME PROTEZIONE INVERTER CAMPO CONICO SINISTRO
|
||||
197;E2_812.04;Alarm Word 12;4;197,ALLARME PROTEZIONE INVERTER CAMPO CONICO DESTRO
|
||||
198;E2_812.05;Alarm Word 12;5;198,ALLARME DEVICE_NET ADDR. 27
|
||||
199;E2_812.06;Alarm Word 12;6;199,ALLARME VENTILATORE 8 (ALTO)
|
||||
200;E2_812.07;Alarm Word 12;7;200,ALLARME VENTILATORE 9 (ALTO)
|
||||
201;E2_812.08;Alarm Word 12;8;201,ALLARME VENTILATORE 10 (ALTO)
|
||||
202;E2_812.09;Alarm Word 12;9;202,ALLARME VENTILATORE 11 (ALTO)
|
||||
203;E2_812.10;Alarm Word 12;10;203,ALLARME VENTILATORE 12 (ALTO)
|
||||
204;E2_812.11;Alarm Word 12;11;204,ALLARME VENTILATORE 1 (ALTO)
|
||||
205;E2_812.12;Alarm Word 12;12;205,ALLARME VENTILATORE 2 (ALTO)
|
||||
206;E2_812.13;Alarm Word 12;13;206,ALLARME VENTILATORE 3 (ALTO)
|
||||
207;E2_812.14;Alarm Word 12;14;207,ALLARME PROTEZIONE CELLA DI RAFFREDDAMENTO 2
|
||||
208;E2_812.15;Alarm Word 12;15;208,ALLARME FINECORSA TANDEM CONTROLLO ANSA TESSUTO
|
||||
209;E2_813.00;Alarm Word 13;0;209,ALLARME FUNE SICUREZZA / PROTEZIONE RIBALTABILE ANTERIORE
|
||||
210;E2_813.01;Alarm Word 13;1;210,ALLARME INVERTER VENTILATORI INV101A
|
||||
211;E2_813.02;Alarm Word 13;2;211,ALLARME INVERTER VENTILATORI INV103A
|
||||
212;E2_813.03;Alarm Word 13;3;212,ALLARME INVERTER VENTILATORI INV105A
|
||||
213;E2_813.04;Alarm Word 13;4;213,ALLARME INVERTER VENTILATORI INV107A
|
||||
214;E2_813.05;Alarm Word 13;5;214,ALLARME INVERTER VENTILATORI INV109A
|
||||
215;E2_813.06;Alarm Word 13;6;215,ALLARME INVERTER VENTILATORI INV111A
|
||||
216;E2_813.07;Alarm Word 13;7;216,ALLARME DA BANCHETTO DI SPALMATURA
|
||||
217;E2_813.08;Alarm Word 13;8;217,ALLARME DEVICE_NET ADDR. 28
|
||||
218;E2_813.09;Alarm Word 13;9;218,STOP JOG USCITA PER PESO RAGGIUNTO SU CELLA DI CARICO
|
||||
219;E2_813.10;Alarm Word 13;10;219,DOGAL NON PRONTO
|
||||
220;E2_813.11;Alarm Word 13;11;220,ALLARME PROTEZIONE CELLA RAFFREDDAMENTO 91A
|
||||
221;E2_813.12;Alarm Word 13;12;221,MALFUNZIONAMENTO RECUPERO CALORE GRUPPO 1
|
||||
222;E2_813.13;Alarm Word 13;13;222,ALLARME PROTEZIONE SOSTEGNO TESSUTO
|
||||
223;E2_813.14;Alarm Word 13;14;223,TARATURA CAMPI CONICI NON EFFETTUATA!
|
||||
224;E2_813.15;Alarm Word 13;15;224,ALLARME TIMEOUT VITE CAMPO PARALLELO 10
|
||||
225;E2_814.00;Alarm Word 14;0;225,CAMPO PARALLELO 9 ALLARME PROTEZIONE
|
||||
226;E2_814.01;Alarm Word 14;1;226,CAMPO PARALLELO 10 ALLARME PROTEZIONE
|
||||
227;E2_814.02;Alarm Word 14;2;227,CAMPO PARALLELO 11 ALLARME PROTEZIONE
|
||||
228;E2_814.03;Alarm Word 14;3;228,CAMPO PARALLELO 12 ALLARME PROTEZIONE
|
||||
229;E2_814.04;Alarm Word 14;4;229,ALLARME FLUSSOSTATO RECUPERO CALORE 1
|
||||
230;E2_814.05;Alarm Word 14;5;230,ALLARME FLUSSOSTATO RECUPERO CALORE 2
|
||||
231;E2_814.06;Alarm Word 14;6;231,ALLARME FLUSSOSTATO RECUPERO CALORE 3
|
||||
232;E2_814.07;Alarm Word 14;7;232,ALLARME PROTEZIONE VENTILATORE ASCIUGACIMOSSE
|
||||
233;E2_814.08;Alarm Word 14;8;233,ALLARME PROTEZIONE RESISTENZE ASCIUGACIMOSSE
|
||||
234;E2_814.09;Alarm Word 14;9;234,ALLARME PROTEZIONE RECUPERO CALORE - GRUPPO 1 POMPA 1
|
||||
235;E2_814.10;Alarm Word 14;10;235,ALLARME INCENDIO
|
||||
236;E2_814.11;Alarm Word 14;11;236,ATTENZIONE ! ALLARME PRESENTE SU BANCHETTO DI SPALMATURA
|
||||
237;E2_814.12;Alarm Word 14;12;237,MALFUNZIONAMENTO RECUPERO CALORE GRUPPO 2
|
||||
238;E2_814.13;Alarm Word 14;13;238,ALLARME PROTEZIONE CELLA RAFFREDDAMENTO 91B
|
||||
239;E2_814.14;Alarm Word 14;14;239,ALLARME PROTEZIONE PULISCISPILLI
|
||||
240;E2_814.15;Alarm Word 14;15;240,BATTERIA PLC - LIVELLO BASSO
|
||||
241;E2_815.00;Alarm Word 15;0;241,ALLARME CONTEMPORANEIT? TERMOSTATI SICUREZZA BRUCIATORI
|
||||
242;E2_815.01;Alarm Word 15;1;242,BLOCCO VERSIONE SOFTWARE
|
||||
243;E2_815.02;Alarm Word 15;2;243,SROTOLATORE NON PRONTO
|
||||
244;E2_815.03;Alarm Word 15;3;244,ERRORE DI COMUNICAZIONE PROTOCOL MACRO
|
||||
245;E2_815.04;Alarm Word 15;4;245,ALLARME TAGLIERINA URBAN
|
||||
246;E2_815.05;Alarm Word 15;5;246,FINE TESSUTO IN INGRESSO
|
||||
247;E2_815.06;Alarm Word 15;6;247,ALLARME PROTEZIONE SERVOVENTILAZIONI MOTORI
|
||||
248;E2_815.07;Alarm Word 15;7;248,ALLARME INVERTER ARROTOLATORE TANGENZIALE
|
||||
249;E2_815.08;Alarm Word 15;8;249,ALLARME SPREMITORE 2
|
||||
250;E2_815.09;Alarm Word 15;9;250,ALLARME FS-91ER PLEVA
|
||||
251;E2_815.10;Alarm Word 15;10;251,ALLARME LINEA EMERGENZA ARROTOLATORE
|
||||
252;E2_815.11;Alarm Word 15;11;252,ALLARME FOTOCELLULE ARROTOLATORE
|
||||
253;E2_815.12;Alarm Word 15;12;253,PORTA CASSETTA USCITA RAMOSA APERTA
|
||||
254;E2_815.13;Alarm Word 15;13;254,ALLARME FINECORSA CILINDRO PROTEZIONE ARROTOLATORE ASSIALE
|
||||
255;E2_815.14;Alarm Word 15;14;255,ALLARME PRESSOSTATI GRUPPO VALVOLE USCITA
|
||||
256;E2_815.15;Alarm Word 15;15;256,ARROTOLATORE NON PRONTO
|
||||
257;E2_816.00;Alarm Word 16;0;257,FINECORSA GRUPPO FALDATORE AVANTI
|
||||
258;E2_816.01;Alarm Word 16;1;258,FINECORSA GRUPPO FALDATORE INDIETRO
|
||||
259;E2_816.02;Alarm Word 16;2;259,ALLARME BATTERIA ELETTRICA 1
|
||||
260;E2_816.03;Alarm Word 16;3;260,SOVRATEMPERATURA BATTERIA ELETTRICA 5
|
||||
261;E2_816.04;Alarm Word 16;4;261,ALLARME BATTERIA ELETTRICA 2
|
||||
262;E2_816.05;Alarm Word 16;5;262,RISCALDAMENTO QUADRO SPENTO
|
||||
263;E2_816.06;Alarm Word 16;6;263,SOVRATEMPERATURA BATTERIA ELETTRICA 1
|
||||
264;E2_816.07;Alarm Word 16;7;264,SOVRATEMPERATURA BATTERIA ELETTRICA 2
|
||||
265;E2_816.08;Alarm Word 16;8;265,ALLARME BATTERIA ELETTRICA 3
|
||||
266;E2_816.09;Alarm Word 16;9;266,EMERGENZA DA SPALMATRICE
|
||||
267;E2_816.10;Alarm Word 16;10;267,ALLARME BATTERIA ELETTRICA 4
|
||||
268;E2_816.11;Alarm Word 16;11;268,ALLARME BATTERIA ELETTRICA 5
|
||||
269;E2_816.12;Alarm Word 16;12;269,SOVRATEMPERATURA BATTERIA ELETTRICA 3
|
||||
270;E2_816.13;Alarm Word 16;13;270,SOVRATEMPERATURA BATTERIA ELETTRICA 4
|
||||
271;E2_816.14;Alarm Word 16;14;271,ALLARME IDROSTATO RECUPERO CALORE 1
|
||||
272;E2_816.15;Alarm Word 16;15;272,ALLARME SENSORE LIVELLO RECUPERO CALORE 1 : AGGIUNGERE LIQUIDO !
|
||||
273;E2_817.00;Alarm Word 17;0;273,ALLARME RELE' CONTROLLO FASI
|
||||
274;E2_817.01;Alarm Word 17;1;274,ALLARME DEVICE NET ADDR. 40 - MODULO GRT1-DRT USCITA RAMOSA
|
||||
275;E2_817.02;Alarm Word 17;2;275,ALLARME PRESSOSTATO LINEA ENTRATA MACCHINA
|
||||
276;E2_817.03;Alarm Word 17;3;276,ALLARME PRESSOSTATO LINEA USCITA MACCHINA
|
||||
277;E2_817.04;Alarm Word 17;4;277,CAMPO CANNOCCHIALI 1 BLOCCATO
|
||||
278;E2_817.05;Alarm Word 17;5;278,CAMPO CANNOCCHIALI 2 BLOCCATO
|
||||
279;E2_817.06;Alarm Word 17;6;279,ALLARME DISCONTINUITA' CAMPI PARALLELI
|
||||
280;E2_817.07;Alarm Word 17;7;280,ALLARME INSEGUIMENTO CAMPI PARALLELI - VITE LENTA
|
||||
281;E2_817.08;Alarm Word 17;8;281,ALLARME LIMITE VITI
|
||||
282;E2_817.09;Alarm Word 17;9;282,RAGGIUNTO MASSIMO CARICO SU CELLA DI CARICO
|
||||
283;E2_817.10;Alarm Word 17;10;283,ALLARME PRESSOSTATO ESAUSTORE
|
||||
284;E2_817.11;Alarm Word 17;11;284,EMERGENZA MOVIMENTO TESSUTO
|
||||
285;E2_817.12;Alarm Word 17;12;285,EMERGENZA DA SPREMITORE 1
|
||||
286;E2_817.13;Alarm Word 17;13;286,EMERGENZA DA RADDRIZZATRAMA
|
||||
287;E2_817.14;Alarm Word 17;14;287,EMERGENZA DA SROTOLATORE
|
||||
288;E2_817.15;Alarm Word 17;15;288,EMERGENZA DA ARROTOLATORE
|
||||
289;E2_818.00;Alarm Word 18;0;289,ALLARME SICUREZZA BRUCIATORE 1
|
||||
290;E2_818.01;Alarm Word 18;1;290,ALLARME SICUREZZA BRUCIATORE 2
|
||||
291;E2_818.02;Alarm Word 18;2;291,ALLARME SICUREZZA BRUCIATORE 3
|
||||
292;E2_818.03;Alarm Word 18;3;292,ALLARME SICUREZZA BRUCIATORE 4
|
||||
293;E2_818.04;Alarm Word 18;4;293,ALLARME SICUREZZA BRUCIATORE 5
|
||||
294;E2_818.05;Alarm Word 18;5;294,ALLARME SICUREZZA BRUCIATORE 6
|
||||
295;E2_818.06;Alarm Word 18;6;295,ALLARME SICUREZZA BRUCIATORE 7
|
||||
296;E2_818.07;Alarm Word 18;7;296,ALLARME SICUREZZA BRUCIATORE 8
|
||||
297;E2_818.08;Alarm Word 18;8;297,ALLARME SICUREZZA BRUCIATORE 9
|
||||
298;E2_818.09;Alarm Word 18;9;298,ALLARME SICUREZZA BRUCIATORE 10
|
||||
299;E2_818.10;Alarm Word 18;10;299,ALLARME SICUREZZA BRUCIATORE 11
|
||||
300;E2_818.11;Alarm Word 18;11;300,ALLARME SICUREZZA BRUCIATORE 12
|
||||
301;E2_818.12;Alarm Word 18;12;301,ALLARME BRUCIATORE 1 SPENTO
|
||||
302;E2_818.13;Alarm Word 18;13;302,ALLARME BRUCIATORE 2 SPENTO
|
||||
303;E2_818.14;Alarm Word 18;14;303,ALLARME BRUCIATORE 3 SPENTO
|
||||
304;E2_818.15;Alarm Word 18;15;304,ALLARME BRUCIATORE 4 SPENTO
|
||||
305;E2_819.00;Alarm Word 19;0;305,ALLARME BRUCIATORE 5 SPENTO
|
||||
306;E2_819.01;Alarm Word 19;1;306,ALLARME BRUCIATORE 6 SPENTO
|
||||
307;E2_819.02;Alarm Word 19;2;307,ALLARME BRUCIATORE 7 SPENTO
|
||||
308;E2_819.03;Alarm Word 19;3;308,ALLARME BRUCIATORE 8 SPENTO
|
||||
309;E2_819.04;Alarm Word 19;4;309,ALLARME BRUCIATORE 9 SPENTO
|
||||
310;E2_819.05;Alarm Word 19;5;310,ALLARME BRUCIATORE 10 SPENTO
|
||||
311;E2_819.06;Alarm Word 19;6;311,ALLARME BRUCIATORE 11 SPENTO
|
||||
312;E2_819.07;Alarm Word 19;7;312,ALLARME BRUCIATORE 12 SPENTO
|
||||
313;E2_819.08;Alarm Word 19;8;313,ALLARME SENSORE LIVELLO RECUPERO CALORE 2 : AGGIUNGERE LIQUIDO !
|
||||
314;E2_819.09;Alarm Word 19;9;314,ALLARME DA MIXER
|
||||
315;E2_819.10;Alarm Word 19;10;315,ALLARME PRESSOSTATI LUBRIFICAZIONE
|
||||
316;E2_819.11;Alarm Word 19;11;316,ALLARME ABBATTITORE FUMI
|
||||
317;E2_819.12;Alarm Word 19;12;317,MACCHINA 1 NON IN LINEA
|
||||
318;E2_819.13;Alarm Word 19;13;318,MACCHINA 2 NON IN LINEA
|
||||
319;E2_819.14;Alarm Word 19;14;319,MACCHINA 3 NON IN LINEA
|
||||
320;E2_819.15;Alarm Word 19;15;320,MACCHINA 4 NON IN LINEA
|
||||
321;E2_820.00;Alarm Word 20;0;321,MACCHINA 5 NON IN LINEA
|
||||
322;E2_820.01;Alarm Word 20;1;322,MACCHINA 6 NON IN LINEA
|
||||
323;E2_820.02;Alarm Word 20;2;323,MACCHINA 7 NON IN LINEA
|
||||
324;E2_820.03;Alarm Word 20;3;324,MACCHINA 8 NON IN LINEA
|
||||
325;E2_820.04;Alarm Word 20;4;325,NON STOP NON PRONTO
|
||||
326;E2_820.05;Alarm Word 20;5;326,EMERGENZA DA NON STOP
|
||||
327;E2_820.06;Alarm Word 20;6;327,ALLARME DISCONTINUITA' CAMPO MASTER
|
||||
328;E2_820.07;Alarm Word 20;7;328,ALLARME DISCONTINUITA' CAMPO PARALLELO 1
|
||||
329;E2_820.08;Alarm Word 20;8;329,ALLARME DISCONTINUITA' CAMPO PARALLELO 2
|
||||
330;E2_820.09;Alarm Word 20;9;330,ALLARME DISCONTINUITA' CAMPO PARALLELO 3
|
||||
331;E2_820.10;Alarm Word 20;10;331,ALLARME DISCONTINUITA' CAMPO PARALLELO 4
|
||||
332;E2_820.11;Alarm Word 20;11;332,ALLARME DISCONTINUITA' CAMPO PARALLELO 5
|
||||
333;E2_820.12;Alarm Word 20;12;333,ALLARME DISCONTINUITA' CAMPO PARALLELO 6
|
||||
334;E2_820.13;Alarm Word 20;13;334,ALLARME DISCONTINUITA' CAMPO PARALLELO 7
|
||||
335;E2_820.14;Alarm Word 20;14;335,ALLARME DISCONTINUITA' CAMPO PARALLELO 8
|
||||
336;E2_820.15;Alarm Word 20;15;336,ALLARME DISCONTINUITA' CAMPO PARALLELO 9
|
||||
337;E2_821.00;Alarm Word 21;0;337,ALLARME DISCONTINUITA' CAMPO PARALLELO 10
|
||||
338;E2_821.01;Alarm Word 21;1;338,PROTEZIONI INGRESSO APERTE
|
||||
339;E2_821.02;Alarm Word 21;2;339,PROTEZIONI USCITA APERTE
|
||||
340;E2_821.03;Alarm Word 21;3;340,ALLARME PROTEZIONE ESTRATTORE FUMI 1
|
||||
341;E2_821.04;Alarm Word 21;4;341,ALLARME PROTEZIONE ESTRATTORE FUMI 2
|
||||
342;E2_821.05;Alarm Word 21;5;342,MANCANZA PRESSOSTATO ESTRATTORE FUMI 1
|
||||
343;E2_821.06;Alarm Word 21;6;343,MANCANZA PRESSOSTATO ESTRATTORE FUMI 2
|
||||
344;E2_821.07;Alarm Word 21;7;344,EMERGENZA DA MIXER
|
||||
345;E2_821.08;Alarm Word 21;8;345,EMERGENZA DA SPREMITORE 2
|
||||
346;E2_821.09;Alarm Word 21;9;346,ALLARME PROTEZIONE VENTILATORE RECUPERO CALORE 1
|
||||
347;E2_821.10;Alarm Word 21;10;347,ALLARME PROTEZIONE VENTILATORE RECUPERO CALORE 2
|
||||
348;E2_821.11;Alarm Word 21;11;348,ALLARME MODULO VELOCITA? ZERO CATENA TRASP. TESSUTO
|
||||
349;E2_821.12;Alarm Word 21;12;349,ALLARME RILEVAMENTO TESSUTO SINISTRO USCITA
|
||||
350;E2_821.13;Alarm Word 21;13;350,ALLARME RILEVAMENTO TESSUTO DESTRO USCITA
|
||||
351;E2_821.14;Alarm Word 21;14;351,ALLARME FINECORSA SOLLEVAMENTO CAMPI CONICI
|
||||
352;E2_821.15;Alarm Word 21;15;352,ALLARME IDROSTATO RECUPERO CALORE 2
|
||||
353;E2_822.00;Alarm Word 22;0;353,ALLARME FUNE DI PROTEZIONE IN USCITA
|
||||
354;E2_822.01;Alarm Word 22;1;354,ALLARME PROTEZIONE VENTOLA BRUCIATORE MAXON 1
|
||||
355;E2_822.02;Alarm Word 22;2;355,ALLARME PROTEZIONE VENTOLA BRUCIATORE MAXON 2
|
||||
356;E2_822.03;Alarm Word 22;3;356,ALLARME PROTEZIONE VENTOLA BRUCIATORE MAXON 3
|
||||
357;E2_822.04;Alarm Word 22;4;357,ALLARME PROTEZIONE VENTOLA BRUCIATORE MAXON 4
|
||||
358;E2_822.05;Alarm Word 22;5;358,ALLARME PROTEZIONE VENTOLA BRUCIATORE MAXON 5
|
||||
359;E2_822.06;Alarm Word 22;6;359,ALLARME PROTEZIONE VENTOLA BRUCIATORE MAXON 6
|
||||
360;E2_822.07;Alarm Word 22;7;360,ALLARME PROTEZIONE VENTOLA BRUCIATORE MAXON 7
|
||||
361;E2_822.08;Alarm Word 22;8;361,ALLARME PROTEZIONE VENTOLA BRUCIATORE MAXON 8
|
||||
362;E2_822.09;Alarm Word 22;9;362,ALLARME PROTEZIONE VENTOLA BRUCIATORE MAXON 9
|
||||
363;E2_822.10;Alarm Word 22;10;363,ALLARME PROTEZIONE VENTOLA BRUCIATORE MAXON 10
|
||||
364;E2_822.11;Alarm Word 22;11;364,ALLARME PROTEZIONE VENTOLA BRUCIATORE MAXON 11
|
||||
365;E2_822.12;Alarm Word 22;12;365,ALLARME PROTEZIONE VENTOLA BRUCIATORE MAXON 12
|
||||
366;E2_822.13;Alarm Word 22;13;366,OLIO CATENA - PRESSIONE MINIMA
|
||||
367;E2_822.14;Alarm Word 22;14;367,POMPA OLIO CATENA - ALLARME PROTEZIONE
|
||||
368;E2_822.15;Alarm Word 22;15;368,JBOX INGRESSO - BALLERINO BASSO
|
||||
369;E2_823.00;Alarm Word 23;0;369,JBOX INGRESSO - FINE TESSUTO
|
||||
370;E2_823.01;Alarm Word 23;1;370,JBOX INGRESSO - PIENO
|
||||
371;E2_823.02;Alarm Word 23;2;371,JBOX INGRESSO - BALLERINO ALTO
|
||||
372;E2_823.03;Alarm Word 23;3;372,JBOX INGRESSO - VUOTO
|
||||
373;E2_823.04;Alarm Word 23;4;373,JBOX USCITA - BALLERINO BASSO
|
||||
374;E2_823.05;Alarm Word 23;5;374,JBOX USCITA - FINE TESSUTO
|
||||
375;E2_823.06;Alarm Word 23;6;375,JBOX USCITA - PIENO
|
||||
376;E2_823.07;Alarm Word 23;7;376,JBOX USCITA - BALLERINO ALTO
|
||||
377;E2_823.08;Alarm Word 23;8;377,JBOX USCITA - VUOTO
|
||||
378;E2_823.09;Alarm Word 23;9;378,JBOX USCITA - ALLARME PRESSOSTATO
|
||||
379;E2_823.10;Alarm Word 23;10;379,JBOX ENTRATA - ALLARME PRESSOSTATO
|
||||
380;E2_823.11;Alarm Word 23;11;380,ALLARME PROTEZIONE CARRELLO FALDATORE
|
||||
381;E2_823.12;Alarm Word 23;12;381,RISCALDAMENTO INDIRETTO - ALLARME FEEDBACK SERRANDA BR. 1
|
||||
382;E2_823.13;Alarm Word 23;13;382,RISCALDAMENTO INDIRETTO - ALLARME FEEDBACK SERRANDA BR. 2
|
||||
383;E2_823.14;Alarm Word 23;14;383,RISCALDAMENTO INDIRETTO - ALLARME FEEDBACK SERRANDA BR. 3
|
||||
384;E2_823.15;Alarm Word 23;15;384,RISCALDAMENTO INDIRETTO - ALLARME FEEDBACK SERRANDA BR. 4
|
||||
385;E2_824.00;Alarm Word 24;0;385,RISCALDAMENTO INDIRETTO - ALLARME FEEDBACK SERRANDA BR. 5
|
||||
386;E2_824.01;Alarm Word 24;1;386,RISCALDAMENTO INDIRETTO - ALLARME FEEDBACK SERRANDA BR. 6
|
||||
387;E2_824.02;Alarm Word 24;2;387,RISCALDAMENTO INDIRETTO - ALLARME FEEDBACK SERRANDA BR. 7
|
||||
388;E2_824.03;Alarm Word 24;3;388,RISCALDAMENTO INDIRETTO - ALLARME FEEDBACK SERRANDA BR. 8
|
||||
389;E2_824.04;Alarm Word 24;4;389,RISCALDAMENTO INDIRETTO - ALLARME FEEDBACK SERRANDA BR. 9
|
||||
390;E2_824.05;Alarm Word 24;5;390,RISCALDAMENTO INDIRETTO - ALLARME FEEDBACK SERRANDA BR. 10
|
||||
391;E2_824.06;Alarm Word 24;6;391,RISCALDAMENTO INDIRETTO - ALLARME FEEDBACK SERRANDA BR. 11
|
||||
392;E2_824.07;Alarm Word 24;7;392,RISCALDAMENTO INDIRETTO - ALLARME FEEDBACK SERRANDA BR. 12
|
||||
393;E2_824.08;Alarm Word 24;8;393,ESTRATTORE FUMI RISC. INDIRETTO 1 - ALLARME PROTEZIONE
|
||||
394;E2_824.09;Alarm Word 24;9;394,ESTRATTORE FUMI RISC. INDIRETTO 2 - ALLARME PROTEZIONE
|
||||
395;E2_824.10;Alarm Word 24;10;395,ESTRATTORE FUMI RISC. INDIRETTO 3 - ALLARME PROTEZIONE
|
||||
396;E2_824.11;Alarm Word 24;11;396,ESTRATTORE FUMI RISC. INDIRETTO 4 - ALLARME PROTEZIONE
|
||||
397;E2_824.12;Alarm Word 24;12;397,ESTRATTORE FUMI RISC. INDIRETTO 5 - ALLARME PROTEZIONE
|
||||
398;E2_824.13;Alarm Word 24;13;398,ESTRATTORE FUMI RISC. INDIRETTO 6 - ALLARME PROTEZIONE
|
||||
399;E2_824.14;Alarm Word 24;14;399,TAGLIERINA SINISTRA - FUORI POSIZIONE
|
||||
400;E2_824.15;Alarm Word 24;15;400,TAGLIERINA DESTRA - FUORI POSIZIONE
|
||||
401;E2_825.00;Alarm Word 25;0;401,ALLARME PROTEZIONE CILINDRO CONTRASTO TAGLIERINE
|
||||
402;E2_825.01;Alarm Word 25;1;402,JBOX INGRESSO - TESSUTO INCROCIATO
|
||||
403;E2_825.02;Alarm Word 25;2;403,JBOX USCITA - TESSUTO INCROCIATO
|
||||
404;E2_825.03;Alarm Word 25;3;404,ALLARME DEVICE_NET STAZIONE ADDR.38 - JBOX INGRESSO
|
||||
405;E2_825.04;Alarm Word 25;4;405,ALLARME DEVICE_NET STAZIONE ADDR.39 - JBOX USCITA
|
||||
406;E2_825.05;Alarm Word 25;5;406,JBOX INGRESSO - ALLARME INVERTER
|
||||
407;E2_825.06;Alarm Word 25;6;407,JBOX USCITA - ALLARME INVERTER
|
||||
408;E2_825.07;Alarm Word 25;7;408,ALLARGA/CENTRATORE A/B SU IMBARRAGGIO - ALLARME PROTEZIONE
|
||||
409;E2_825.08;Alarm Word 25;8;409,ALLARME TIMEOUT VITE CAMPO PARALLELO 11
|
||||
410;E2_825.09;Alarm Word 25;9;410,ALLARME TIMEOUT VITE CAMPO PARALLELO 12
|
||||
411;E2_825.10;Alarm Word 25;10;411,FRENO JBOX INGRESSO - ALLARME PROTEZIONE
|
||||
412;E2_825.11;Alarm Word 25;11;412,FRENO JBOX USCITA - ALLARME PROTEZIONE
|
||||
413;E2_825.12;Alarm Word 25;12;413,ALLARME PROTEZIONE FRENO CAMPO CONICO SINISTRO
|
||||
414;E2_825.13;Alarm Word 25;13;414,ALLARME PROTEZIONE FRENO CAMPO CONICO DESTRO
|
||||
415;E2_825.14;Alarm Word 25;14;415,VERIFICA PRESSOSTATO 1 FALLITA
|
||||
416;E2_825.15;Alarm Word 25;15;416,VERIFICA PRESSOSTATO 2 FALLITA
|
||||
417;E2_826.00;Alarm Word 26;0;417,ALLARME TERMOSTATO INTERNO QUADRO
|
||||
418;E2_826.01;Alarm Word 26;1;418,ALLARME PROTEZIONE RECUPERO CALORE - GRUPPO 1 POMPA 2
|
||||
419;E2_826.02;Alarm Word 26;2;419,ALLARME PROTEZIONE RECUPERO CALORE - GRUPPO 2 POMPA 2
|
||||
420;E2_826.03;Alarm Word 26;3;420,PROTEZIONE RIBALTABILE INGRESSO
|
||||
421;E2_826.04;Alarm Word 26;4;421,FUNE EMERGENZA INGRESSO
|
||||
422;E2_826.05;Alarm Word 26;5;422,PARATIA SCORREVOLE INGRESSO SINISTRA
|
||||
423;E2_826.06;Alarm Word 26;6;423,PARATIA SCORREVOLE INGRESSO DESTRA
|
||||
424;E2_826.07;Alarm Word 26;7;424,CANCELLO SINISTRO ENTRATA ANTERIORE
|
||||
425;E2_826.08;Alarm Word 26;8;425,CANCELLO SINISTRO ENTRATA POSTERIORE
|
||||
426;E2_826.09;Alarm Word 26;9;426,CANCELLO DESTRO ENTRATA ANTERIORE
|
||||
427;E2_826.10;Alarm Word 26;10;427,CANCELLO DESTRO ENTRATA POSTERIORE
|
||||
428;E2_826.11;Alarm Word 26;11;428,CANCELLO SINISTRO USCITA
|
||||
429;E2_826.12;Alarm Word 26;12;429,CANCELLO DESTRO USCITA
|
||||
430;E2_826.13;Alarm Word 26;13;430,TENSIONATORE FUNE EMERGENZA SINISTRA ZONA FORNO
|
||||
431;E2_826.14;Alarm Word 26;14;431,TENSIONATORE FUNE EMERGENZA DESTRA ZONA FORNO
|
||||
432;E2_826.15;Alarm Word 26;15;432,FUNE EMERGENZA SINISTRA ZONA FORNO
|
||||
433;E2_827.00;Alarm Word 27;0;433,FUNE EMERGENZA DESTRA ZONA FORNO
|
||||
434;E2_827.01;Alarm Word 27;1;434,ALLARME FEEDBACK SCARICO ARIA ENTRATA MACCHINA (1)
|
||||
435;E2_827.02;Alarm Word 27;2;435,ALLARME FEEDBACK SCARICO ARIA ENTRATA MACCHINA (2)
|
||||
436;E2_827.03;Alarm Word 27;3;436,ALLARME FEEDBACK SCARICO ARIA USCITA MACCHINA (1)
|
||||
437;E2_827.04;Alarm Word 27;4;437,ALLARME FEEDBACK SCARICO ARIA USCITA MACCHINA (2)
|
||||
438;E2_827.05;Alarm Word 27;5;438,ALLARME FEEDBACK EMERGENZA GENERALE DA SCARICO ARIA
|
||||
439;E2_827.06;Alarm Word 27;6;439,BYPASS SPORTELLI ARMADIO ATTIVO
|
||||
440;E2_827.07;Alarm Word 27;7;440,TIMEOUT ENCODER CAMPO CONICO SINISTRO
|
||||
441;E2_827.08;Alarm Word 27;8;441,TIMEOUT ENCODER CAMPO CONICO DESTRO
|
||||
442;E2_827.09;Alarm Word 27;9;442,ALLARME BALLERINO ALTO SPREMITORE 1
|
||||
443;E2_827.10;Alarm Word 27;10;443,ALLARME BALLERINO ALTO SPREMITORE 2
|
||||
444;E2_827.11;Alarm Word 27;11;444,
|
||||
445;E2_827.12;Alarm Word 27;12;445,
|
||||
446;E2_827.13;Alarm Word 27;13;446,
|
||||
447;E2_827.14;Alarm Word 27;14;447,
|
||||
448;E2_827.15;Alarm Word 27;15;448,
|
||||
449;E2_828.00;Alarm Word 28;0;449,
|
||||
450;E2_828.01;Alarm Word 28;1;450,
|
||||
451;E2_828.02;Alarm Word 28;2;451,
|
||||
452;E2_828.03;Alarm Word 28;3;452,
|
||||
453;E2_828.04;Alarm Word 28;4;453,
|
||||
454;E2_828.05;Alarm Word 28;5;454,
|
||||
455;E2_828.06;Alarm Word 28;6;455,
|
||||
456;E2_828.07;Alarm Word 28;7;456,
|
||||
457;E2_828.08;Alarm Word 28;8;457,
|
||||
458;E2_828.09;Alarm Word 28;9;458,
|
||||
459;E2_828.10;Alarm Word 28;10;459,
|
||||
460;E2_828.11;Alarm Word 28;11;460,ALLARME PROTEZIONE BARRE ANTISTATICHE
|
||||
461;E2_828.12;Alarm Word 28;12;461,ALLARME PROTEZIONE VENTILAZIONE INTERNO QUADRO
|
||||
462;E2_828.13;Alarm Word 28;13;462,BORDO SENSIBILE
|
||||
463;E2_828.14;Alarm Word 28;14;463,FALDAROTOLATORE_SICUREZZA SX/DX
|
||||
464;E2_828.15;Alarm Word 28;15;464,FALDAROTOLATORE_EMERGENZA TESSUTO
|
||||
465;E2_829.00;Alarm Word 29;0;465,ALLARME DEPRESSIONE RISCALDAMENTO INDIRETTO BR.1
|
||||
466;E2_829.01;Alarm Word 29;1;466,ALLARME DEPRESSIONE RISCALDAMENTO INDIRETTO BR.2
|
||||
467;E2_829.02;Alarm Word 29;2;467,ALLARME DEPRESSIONE RISCALDAMENTO INDIRETTO BR.3
|
||||
468;E2_829.03;Alarm Word 29;3;468,ALLARME DEPRESSIONE RISCALDAMENTO INDIRETTO BR.4
|
||||
469;E2_829.04;Alarm Word 29;4;469,ALLARME DEPRESSIONE RISCALDAMENTO INDIRETTO BR.5
|
||||
470;E2_829.05;Alarm Word 29;5;470,ALLARME DEPRESSIONE RISCALDAMENTO INDIRETTO BR.6
|
||||
471;E2_829.06;Alarm Word 29;6;471,ALLARME DEPRESSIONE RISCALDAMENTO INDIRETTO BR.7
|
||||
472;E2_829.07;Alarm Word 29;7;472,ALLARME DEPRESSIONE RISCALDAMENTO INDIRETTO BR.8
|
||||
473;E2_829.08;Alarm Word 29;8;473,ALLARME DEPRESSIONE RISCALDAMENTO INDIRETTO BR.9
|
||||
474;E2_829.09;Alarm Word 29;9;474,ALLARME DEPRESSIONE RISCALDAMENTO INDIRETTO BR.10
|
||||
475;E2_829.10;Alarm Word 29;10;475,ALLARME DEPRESSIONE RISCALDAMENTO INDIRETTO BR.11
|
||||
476;E2_829.11;Alarm Word 29;11;476,ALLARME DEPRESSIONE RISCALDAMENTO INDIRETTO BR.12
|
||||
477;E2_829.12;Alarm Word 29;12;477,MALFUNZIONAMNETO PRESSOSTATO ESTRATTORE FUMI 1/2
|
||||
478;E2_829.13;Alarm Word 29;13;478,MALFUNZIONAMNETO PRESSOSTATO ESTRATTORE FUMI 3/4
|
||||
479;E2_829.14;Alarm Word 29;14;479,MALFUNZIONAMNETO PRESSOSTATO ESTRATTORE FUMI 5/6
|
||||
480;E2_829.15;Alarm Word 29;15;480,MALFUNZIONAMNETO PRESSOSTATO ESTRATTORE FUMI 7/8
|
||||
481;E2_830.00;Alarm Word 30;0;481,MALFUNZIONAMNETO PRESSOSTATO ESTRATTORE FUMI 9/10
|
||||
482;E2_830.01;Alarm Word 30;1;482,MALFUNZIONAMENTO PRESSOSTATO SICUREZZA BRUCIATORE 1
|
||||
483;E2_830.02;Alarm Word 30;2;483,MALFUNZIONAMENTO PRESSOSTATO SICUREZZA BRUCIATORE 2
|
||||
484;E2_830.03;Alarm Word 30;3;484,MALFUNZIONAMENTO PRESSOSTATO SICUREZZA BRUCIATORE 3
|
||||
485;E2_830.04;Alarm Word 30;4;485,MALFUNZIONAMENTO PRESSOSTATO SICUREZZA BRUCIATORE 4
|
||||
486;E2_830.05;Alarm Word 30;5;486,MALFUNZIONAMENTO PRESSOSTATO SICUREZZA BRUCIATORE 5
|
||||
487;E2_830.06;Alarm Word 30;6;487,MALFUNZIONAMENTO PRESSOSTATO SICUREZZA BRUCIATORE 6
|
||||
488;E2_830.07;Alarm Word 30;7;488,MALFUNZIONAMENTO PRESSOSTATO SICUREZZA BRUCIATORE 7
|
||||
489;E2_830.08;Alarm Word 30;8;489,MALFUNZIONAMENTO PRESSOSTATO SICUREZZA BRUCIATORE 8
|
||||
490;E2_830.09;Alarm Word 30;9;490,MALFUNZIONAMENTO PRESSOSTATO SICUREZZA BRUCIATORE 9
|
||||
491;E2_830.10;Alarm Word 30;10;491,MALFUNZIONAMENTO PRESSOSTATO SICUREZZA BRUCIATORE 10
|
||||
492;E2_830.11;Alarm Word 30;11;492,TRASDUTTORE PRESSIONE BR 1 INTERROTTO
|
||||
493;E2_830.12;Alarm Word 30;12;493,TRASDUTTORE PRESSIONE BR 2 INTERROTTO
|
||||
494;E2_830.13;Alarm Word 30;13;494,TRASDUTTORE PRESSIONE BR 3 INTERROTTO
|
||||
495;E2_830.14;Alarm Word 30;14;495,TRASDUTTORE PRESSIONE BR 4 INTERROTTO
|
||||
496;E2_830.15;Alarm Word 30;15;496,TRASDUTTORE PRESSIONE BR 5 INTERROTTO
|
||||
497;E2_831.00;Alarm Word 31;0;497,TRASDUTTORE PRESSIONE BR 6 INTERROTTO
|
||||
498;E2_831.01;Alarm Word 31;1;498,TRASDUTTORE PRESSIONE BR 7 INTERROTTO
|
||||
499;E2_831.02;Alarm Word 31;2;499,TRASDUTTORE PRESSIONE BR 8 INTERROTTO
|
||||
500;E2_831.03;Alarm Word 31;3;500,TRASDUTTORE PRESSIONE BR 9 INTERROTTO
|
||||
501;E2_831.04;Alarm Word 31;4;501,TRASDUTTORE PRESSIONE BR 10 INTERROTTO
|
||||
502;E2_831.05;Alarm Word 31;5;502,TRASDUTTORE PRESSIONE BR 11 INTERROTTO
|
||||
503;E2_831.06;Alarm Word 31;6;503,TRASDUTTORE PRESSIONE BR 12 INTERROTTO
|
||||
504;E2_831.07;Alarm Word 31;7;504,ERRORE TRASDUTTORE DI PRESSIONE RC1
|
||||
505;E2_831.08;Alarm Word 31;8;505,ERRORE TRASDUTTORE DI PRESSIONE RC2
|
||||
506;E2_831.09;Alarm Word 31;9;506,ALLARME INVERTER RIPRISTINO PRESSIONE GRUPPO 1 RC
|
||||
507;E2_831.10;Alarm Word 31;10;507,ALLARME INVERTER RIPRISTINO PRESSIONE GRUPPO 2 RC
|
||||
508;E2_831.11;Alarm Word 31;11;508,MALFUNZIONAMENTO PRESSOSTATO SICUREZZA BRUCIATORE 11
|
||||
509;E2_831.12;Alarm Word 31;12;509,MALFUNZIONAMENTO PRESSOSTATO SICUREZZA BRUCIATORE 12
|
||||
510;E2_831.13;Alarm Word 31;13;510,ALLARME PRESSOSTATO TAGLIERINE
|
||||
511;E2_831.14;Alarm Word 31;14;511,BALLERINO ALTO - SROTOLATORE - ALLARME
|
||||
512;E2_831.15;Alarm Word 31;15;512,EMERGENZA DA LINEA ENTRATA RAMOSA
|
||||
513;E2_832.00;Alarm Word 32;0;513,LINEA ENTRATA RAMOSA NON PRONTA
|
||||
514;E2_832.01;Alarm Word 32;1;514,EMERGENZA DA LINEA USCITA RAMOSA
|
||||
515;E2_832.02;Alarm Word 32;2;515,LINEA USCITA RAMOSA NON PRONTA
|
||||
516;E2_832.03;Alarm Word 32;3;516,TAGLIERINA CENTRALE FUORI POSIZIONE
|
||||
517;E2_832.04;Alarm Word 32;4;517,TIRACIMOSSE NON PRONTO
|
||||
518;E2_832.05;Alarm Word 32;5;518,JBOX INGRESSO IN EMERGENZA
|
||||
519;E2_832.06;Alarm Word 32;6;519,JBOX INGRESSO NON PRONTO
|
||||
520;E2_832.07;Alarm Word 32;7;520,JBOX USCITA IN EMERGENZA
|
||||
521;E2_832.08;Alarm Word 32;8;521,JBOX USCITA NON PRONTO
|
||||
522;E2_832.09;Alarm Word 32;9;522,ALLARME D-NET 41 RISCALDAMENTO INDIRETTO
|
||||
523;E2_832.10;Alarm Word 32;10;523,SPAZZOLATRICE IN EMERGENZA
|
||||
524;E2_832.11;Alarm Word 32;11;524,SPAZZOLATRICE NON PRONTA
|
||||
525;E2_832.12;Alarm Word 32;12;525,ALLARME FUNE DI SICUREZZA USCITA STACCAPEZZA
|
||||
526;E2_832.13;Alarm Word 32;13;526,ALLARME FUNE DI SICUREZZA USCITA FALDAROTOLATORE
|
||||
527;E2_832.14;Alarm Word 32;14;527,ALLARME FUNE DI SICUREZZA CAMPO CONICO SINISTRO
|
||||
528;E2_832.15;Alarm Word 32;15;528,ALLARME FUNE DI SICUREZZA CAMPO CONICO DESTRO
|
||||
|
||||
|
@@ -0,0 +1,793 @@
|
||||
[
|
||||
{
|
||||
"description": "Alarm Word 0 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 0",
|
||||
"index": 0,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"1,ALLARME INVERTER CATENA TRASP. TESSUTO",
|
||||
"2,ALLARME INVERTER CILINDRO SOVRALIMENTAZIONE SUPERIORE",
|
||||
"3,ALLARME INVERTER CILINDRO SOVRALIMENTAZIONE INFERIORE",
|
||||
"4,ALLARME INVERTER RUOTA SOVRALIMENTAZIONE SINISTRA",
|
||||
"5,ALLARME INVERTER RUOTA SOVRALIMENTAZIONE DESTRA",
|
||||
"6,ALLARME INVERTER STACCAPEZZA",
|
||||
"7,ALLARME INVERTER FALDAROTOLATORE",
|
||||
"8,ALLARME INVERTER FALDERUOLE",
|
||||
"9,ALLARME INVERTER ESAUSTORE 1 ",
|
||||
"10,ALLARME FUNE SICUREZZA USCITA",
|
||||
"11,ALLARME VENTILATORE 1 (BASSO)",
|
||||
"12, ALLARME VENTILATORE 2 (BASSO)",
|
||||
"13,ALLARME F.C. MINIMO CAMPO MASTER",
|
||||
"14,ALLARME F.C. MASSIMO CAMPO MASTER",
|
||||
"15,ALLARME PROTEZIONE TAPPETO INGRESSO",
|
||||
"16,RIFERIMENTO POTENZIOMETRI CAMPI ASSENTE"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 1 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 1",
|
||||
"index": 1,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"17,ALLARME CONDIZIONATORI",
|
||||
"18,EMERGENZA IN CORSO !!!",
|
||||
"19,ALLARME PROTEZIONE RECUPERO CALORE - GRUPPO 2 POMPA 1",
|
||||
"20,ALLARME POMPA RECUPERO CALORE 3",
|
||||
"21,CONTROLLO UMIDITA' : FUORI CAMPO",
|
||||
"22,ALLARME RILEVATORE ALTEZZA TESSUTO",
|
||||
"23,ALLARME NON RILASCIO TESSUTO SINISTRO",
|
||||
"24,ALLARME NON RILASCIO TESSUTO DESTRO",
|
||||
"25,ALLARME ALIMENTAZIONE 24VAC QUADRO",
|
||||
"26,ALLARME APRICIMOSSE",
|
||||
"27,ALLARME ASCIUGACIMOSSE A INFRAROSSI",
|
||||
"28,ALLARME PROTEZIONE CELLA DI RAFFREDDAMENTO 1",
|
||||
"29,CAMPO PARALLELO 2 ALLARME PROTEZIONE",
|
||||
"30,ALLARME VENTILATORE 3 (BASSO)",
|
||||
"31,ALLARME VENTILATORE 4 (BASSO)",
|
||||
"32,CAMPO PARALLELO 1 ALLARME PROTEZIONE"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 2 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 2",
|
||||
"index": 2,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"33,CAMPO PARALLELO 3 ALLARME PROTEZIONE",
|
||||
"34,RAGGIUNTO MASSIMO CARICO CELLA DI CARICO TAPPETO",
|
||||
"35,ALLARME FALLOPEZZA SINISTRO",
|
||||
"36,ALLARME FALLOPEZZA DESTRO",
|
||||
"37,PARATIE ANTERIORI APERTE",
|
||||
"38,ALLARME AZIONAMENTO CAMPO CONICO",
|
||||
"39,BLOCCO BRUCIATORE 9",
|
||||
"40,CAMPO MASTER ALLARME PROTEZIONE ",
|
||||
"41,ALLARME PRESSOSTATO TENDICATENA SINISTRO",
|
||||
"42,ALLARME PRESSOSTATO TENDICATENA DESTRO",
|
||||
"43,ALLARME MASSIMO ALLUNGAMENTO CATENA",
|
||||
"44,ALLARME TIPO LAVORO USCITA NON SELEZIONATO",
|
||||
"45,ALLARME RADDRIZZATRAMA",
|
||||
"46,ALLARME SPREMITORE 1",
|
||||
"47,BLOCCO BRUCIATORE 10",
|
||||
"48,BLOCCO BRUCIATORE 11"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 3 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 3",
|
||||
"index": 3,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"49,BLOCCO BRUCIATORE 12",
|
||||
"50,BLOCCO BRUCIATORE 1",
|
||||
"51,BLOCCO BRUCIATORE 2",
|
||||
"52,BLOCCO BRUCIATORE 3",
|
||||
"53,BLOCCO BRUCIATORE 4",
|
||||
"54,BIELLE FUORI POSIZIONE",
|
||||
"55,GRUPPO FALDATORE FUORI POSIZIONE",
|
||||
"56,SERIE ARRESTI APERTA",
|
||||
"57,MANCANZA LUBRIFICANTE CATENA TRASP. TESSUTO",
|
||||
"58,ALLARME INVERTER PICCOLO ROTOLO",
|
||||
"59,ALLARME PROTEZIONE ALLARGATORI",
|
||||
"60,ALLARME PROTEZIONE ASPIRACIMOSSE",
|
||||
"61,ALLARME TAGLIACIMOSSE SINISTRA",
|
||||
"62,ALLARME TAGLIACIMOSSE DESTRA",
|
||||
"63,ALLARME INVERTER VENTILATORI INV101",
|
||||
"64,ALLARME INVERTER VENTILATORI INV103"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 4 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 4",
|
||||
"index": 4,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"65,ALLARME TIMEOUT VITE CAMPO MASTER",
|
||||
"66,ALLARME TIMEOUT VITE CAMPO PARALLELO 1",
|
||||
"67,ALLARME TIMEOUT VITE CAMPO PARALLELO 2",
|
||||
"68,ALLARME TIMEOUT VITE CAMPO PARALLELO 3",
|
||||
"69,ALLARME TIMEOUT VITE CAMPO PARALLELO 4",
|
||||
"70,ALLARME TIMEOUT VITE CAMPO PARALLELO 5",
|
||||
"71,ALLARME TIMEOUT VITE CAMPO PARALLELO 6",
|
||||
"72,ALLARME TIMEOUT VITE CAMPO PARALLELO 7",
|
||||
"73,ALLARME TIMEOUT VITE CAMPO PARALLELO 8",
|
||||
"74,ALLARME TIMEOUT VITE CAMPO PARALLELO 9",
|
||||
"75,ALLARME DEVICE_NET ADDR. 32 DA BANCHETTO DI SPALMATURA",
|
||||
"76,ALLARME INVERTER DOGAL ",
|
||||
"77,ALLARME FOTOCELLULA TAPPETO USCITA PIENO",
|
||||
"78,TEMPO DI CICLO PLC SOPRA MASSIMO IMPOSTATO",
|
||||
"79,ERRORE INDIRIZZI SONDE BRUCIATORI",
|
||||
"80,ALLARME VENTILATORE 4 (ALTO)"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 5 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 5",
|
||||
"index": 5,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"81,ALLARME VENTILATORE 5 (ALTO)",
|
||||
"82,ALLARME VENTILATORE 6 (ALTO)",
|
||||
"83,ALLARME VENTILATORE 7 (ALTO)",
|
||||
"84,SONDA BRUCIATORE 1 INTERROTTA",
|
||||
"85,SONDA BRUCIATORE 2 INTERROTTA",
|
||||
"86,SONDA BRUCIATORE 3 INTERROTTA",
|
||||
"87,SONDA BRUCIATORE 4 INTERROTTA",
|
||||
"88,ALLARME DEVICE_NET ADDR. 0",
|
||||
"89,ALLARME DEVICE_NET ADDR. 1",
|
||||
"90,ALLARME DEVICE_NET ADDR. 2",
|
||||
"91,ALLARME DEVICE_NET ADDR. 3",
|
||||
"92,ALLARME DEVICE_NET ADDR. 4",
|
||||
"93,ALLARME DEVICE_NET ADDR. 5",
|
||||
"94,ALLARME DEVICE_NET ADDR. 6",
|
||||
"95,ALLARME DEVICE_NET ADDR. 7",
|
||||
"96,ALLARME DEVICE_NET ADDR. 8"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 6 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 6",
|
||||
"index": 6,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"97,ALLARME DEVICE_NET ADDR. 9",
|
||||
"98,ALLARME DEVICE_NET ADDR. 10",
|
||||
"99,ALLARME DEVICE_NET ADDR. 11",
|
||||
"100,ALLARME DEVICE_NET ADDR. 12",
|
||||
"101,ALLARME DEVICE_NET ADDR. 13",
|
||||
"102,ALLARME DEVICE_NET ADDR. 14",
|
||||
"103,ALLARME DEVICE_NET ADDR. 15",
|
||||
"104,ALLARME DEVICE_NET ADDR. 16",
|
||||
"105,ALLARME DEVICE_NET ADDR. 17",
|
||||
"106,ALLARME DEVICE_NET ADDR. 18",
|
||||
"107,ALLARME DEVICE_NET ADDR. 19",
|
||||
"108,ALLARME DEVICE_NET ADDR. 20",
|
||||
"109,ALLARME DEVICE_NET ADDR. 21",
|
||||
"110,ALLARME DEVICE_NET ADDR. 22",
|
||||
"111,ALLARME DEVICE_NET ADDR. 23",
|
||||
"112,ALLARME DEVICE_NET ADDR. 24"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 7 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 7",
|
||||
"index": 7,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"113,ALLARME DEVICE_NET ADDR. 25",
|
||||
"114,ALLARME DEVICE_NET ADDR. 26",
|
||||
"115,BLOCCO BRUCIATORE 5",
|
||||
"116,BLOCCO BRUCIATORE 6",
|
||||
"117,BLOCCO BRUCIATORE 7",
|
||||
"118,BLOCCO BRUCIATORE 8",
|
||||
"119,SOVRATEMPERATURA BRUCIATORE 1",
|
||||
"120,SOVRATEMPERATURA BRUCIATORE 2",
|
||||
"121,SOVRATEMPERATURA BRUCIATORE 3",
|
||||
"122,SOVRATEMPERATURA BRUCIATORE 4",
|
||||
"123,SOVRATEMPERATURA BRUCIATORE 5",
|
||||
"124,SOVRATEMPERATURA BRUCIATORE 6",
|
||||
"125,SOVRATEMPERATURA BRUCIATORE 7",
|
||||
"126,SOVRATEMPERATURA BRUCIATORE 8",
|
||||
"127,SONDA BRUCIATORE 5 INTERROTTA",
|
||||
"128,SONDA BRUCIATORE 6 INTERROTTA"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 8 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 8",
|
||||
"index": 8,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"129,SONDA BRUCIATORE 7 INTERROTTA",
|
||||
"130,SONDA BRUCIATORE 8 INTERROTTA",
|
||||
"131,SONDA BRUCIATORE 9 INTERROTTA",
|
||||
"132,SONDA BRUCIATORE 10 INTERROTTA",
|
||||
"133,SONDA BRUCIATORE 11 INTERROTTA",
|
||||
"134,SONDA BRUCIATORE 12 INTERROTTA",
|
||||
"135,SOVRATEMPERATURA BRUCIATORE 9",
|
||||
"136,SOVRATEMPERATURA BRUCIATORE 10",
|
||||
"137,SOVRATEMPERATURA BRUCIATORE 11",
|
||||
"138,SOVRATEMPERATURA BRUCIATORE 12",
|
||||
"139,ALLARME INVERTER VENTILATORI INV105",
|
||||
"140,ALLARME INVERTER VENTILATORI INV107",
|
||||
"141,ALLARME INVERTER VENTILATORI INV109",
|
||||
"142,ALLARME INVERTER VENTILATORI INV111",
|
||||
"143,ALLARME VENTILATORE 5 (BASSO)",
|
||||
"144,ALLARME VENTILATORE 6 (BASSO)"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 9 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 9",
|
||||
"index": 9,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"145,ALLARME VENTILATORE 7 (BASSO)",
|
||||
"146,ALLARME VENTILATORE 8 (BASSO)",
|
||||
"147,ALLARME VENTILATORE 9 (BASSO)",
|
||||
"148,ALLARME VENTILATORE 10 (BASSO)",
|
||||
"149,ALLARME VENTILATORE 11 (BASSO)",
|
||||
"150,ALLARME VENTILATORE 12 (BASSO)",
|
||||
"151,ALLARME INVERTER ESAUSTORE 2",
|
||||
"152,CAMPO PARALLELO 4 ALLARME PROTEZIONE",
|
||||
"153,CAMPO PARALLELO 5 ALLARME PROTEZIONE",
|
||||
"154,CAMPO PARALLELO 6 ALLARME PROTEZIONE",
|
||||
"155,CAMPO PARALLELO 7 ALLARME PROTEZIONE",
|
||||
"156,CAMPO PARALLELO 8 ALLARME PROTEZIONE",
|
||||
"157,ALLARME INSEGUIMENTO VITE MASTER AGGIUNTA",
|
||||
"158,ALLARME INVERTER CILINDRO RAFFREDDAMENTO",
|
||||
"159,ALLARME TEMPERATURA ESAUSTORI",
|
||||
"160,ALLARME INVERTER RECUPERO CALORE GRUPPO 1 "
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 10 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 10",
|
||||
"index": 10,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"161,ALLARME FINECORSA SX TAPPETO USCITA",
|
||||
"162,ALLARME FINECORSA DX TAPPETO USCITA",
|
||||
"163,ALLARME INVERTER RECUPERO CALORE GRUPPO 2",
|
||||
"164,ALLARME DEVICE_NET ADDR. 31",
|
||||
"165,ALLARME CENTRATORE USCITA",
|
||||
"166,COMPATTATORE NON PRONTO",
|
||||
"167,ALLARME CONTROLLO PIROMETRI",
|
||||
"168,ALLARME ALLARGATORE SU TAPPETO USCITA",
|
||||
"169,ALLARME CONTROLLO FUMI",
|
||||
"170,ALLARME FINECORSA BALLERINO ALTO",
|
||||
"171,ALLARME FINECORSA BALLERINO BASSO",
|
||||
"172,ALLARME PROTEZIONE ASPIRATORE VAPORIZZO INTENSIVO",
|
||||
"173,ALLARME PROTEZIONE BRUCIATORE 1",
|
||||
"174,ALLARME PROTEZIONE BRUCIATORE 2",
|
||||
"175,ALLARME PROTEZIONE BRUCIATORE 3",
|
||||
"176,ALLARME PROTEZIONE BRUCIATORE 4"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 11 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 11",
|
||||
"index": 11,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"177,ALLARME PROTEZIONE BRUCIATORE 5",
|
||||
"178,ALLARME PROTEZIONE BRUCIATORE 6",
|
||||
"179,ALLARME PROTEZIONE BRUCIATORE 7",
|
||||
"180,ALLARME PROTEZIONE BRUCIATORE 8",
|
||||
"181,ALLARME PROTEZIONE BRUCIATORE 9",
|
||||
"182,ALLARME PROTEZIONE BRUCIATORE 10",
|
||||
"183,ALLARME PROTEZIONE BRUCIATORE 11",
|
||||
"184,ALLARME PROTEZIONE BRUCIATORE 12",
|
||||
"185,TERMOFISSAGGIO O ESSICCAZIONE: TEMPERATURA FUORI CAMPO",
|
||||
"186,TERMOFISSAGGIO O ESSICCAZIONE: VELOCITA' FUORI CAMPO",
|
||||
"187,TERMOFISSAGGIO O ESSICCAZIONE: TEMPO FUORI CAMPO",
|
||||
"188,SISTEMA CAMPI PARALLELI NON TARATO",
|
||||
"189,ALLARME PROTEZIONE VENTOLE BRUCIATORI",
|
||||
"190,CAMPO CONICO SINISTRO SU LIMITE CHIUSURA",
|
||||
"191,CAMPO CONICO SINISTRO SU LIMITE APERTURA",
|
||||
"192,CAMPO CONICO DESTRO SU LIMITE APERTURA"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 12 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 12",
|
||||
"index": 12,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"193,CAMPO CONICO DESTRO SU LIMITE CHIUSURA",
|
||||
"194,FINECORSA CAMPO CONICO DESTRO SU TRAVERSA",
|
||||
"195,FINECORSA CAMPO CONICO SINISTRO SU TRAVERSA",
|
||||
"196,ALLARME PROTEZIONE INVERTER CAMPO CONICO SINISTRO",
|
||||
"197,ALLARME PROTEZIONE INVERTER CAMPO CONICO DESTRO",
|
||||
"198,ALLARME DEVICE_NET ADDR. 27",
|
||||
"199,ALLARME VENTILATORE 8 (ALTO)",
|
||||
"200,ALLARME VENTILATORE 9 (ALTO)",
|
||||
"201,ALLARME VENTILATORE 10 (ALTO)",
|
||||
"202,ALLARME VENTILATORE 11 (ALTO)",
|
||||
"203,ALLARME VENTILATORE 12 (ALTO)",
|
||||
"204,ALLARME VENTILATORE 1 (ALTO)",
|
||||
"205,ALLARME VENTILATORE 2 (ALTO)",
|
||||
"206,ALLARME VENTILATORE 3 (ALTO)",
|
||||
"207,ALLARME PROTEZIONE CELLA DI RAFFREDDAMENTO 2",
|
||||
"208,ALLARME FINECORSA TANDEM CONTROLLO ANSA TESSUTO"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 13 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 13",
|
||||
"index": 13,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"209,ALLARME FUNE SICUREZZA / PROTEZIONE RIBALTABILE ANTERIORE",
|
||||
"210,ALLARME INVERTER VENTILATORI INV101A",
|
||||
"211,ALLARME INVERTER VENTILATORI INV103A",
|
||||
"212,ALLARME INVERTER VENTILATORI INV105A",
|
||||
"213,ALLARME INVERTER VENTILATORI INV107A",
|
||||
"214,ALLARME INVERTER VENTILATORI INV109A",
|
||||
"215,ALLARME INVERTER VENTILATORI INV111A",
|
||||
"216,ALLARME DA BANCHETTO DI SPALMATURA",
|
||||
"217,ALLARME DEVICE_NET ADDR. 28",
|
||||
"218,STOP JOG USCITA PER PESO RAGGIUNTO SU CELLA DI CARICO",
|
||||
"219,DOGAL NON PRONTO",
|
||||
"220,ALLARME PROTEZIONE CELLA RAFFREDDAMENTO 91A",
|
||||
"221,MALFUNZIONAMENTO RECUPERO CALORE GRUPPO 1",
|
||||
"222,ALLARME PROTEZIONE SOSTEGNO TESSUTO",
|
||||
"223,TARATURA CAMPI CONICI NON EFFETTUATA!",
|
||||
"224,ALLARME TIMEOUT VITE CAMPO PARALLELO 10"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 14 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 14",
|
||||
"index": 14,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"225,CAMPO PARALLELO 9 ALLARME PROTEZIONE",
|
||||
"226,CAMPO PARALLELO 10 ALLARME PROTEZIONE",
|
||||
"227,CAMPO PARALLELO 11 ALLARME PROTEZIONE",
|
||||
"228,CAMPO PARALLELO 12 ALLARME PROTEZIONE",
|
||||
"229,ALLARME FLUSSOSTATO RECUPERO CALORE 1",
|
||||
"230,ALLARME FLUSSOSTATO RECUPERO CALORE 2",
|
||||
"231,ALLARME FLUSSOSTATO RECUPERO CALORE 3",
|
||||
"232,ALLARME PROTEZIONE VENTILATORE ASCIUGACIMOSSE",
|
||||
"233,ALLARME PROTEZIONE RESISTENZE ASCIUGACIMOSSE",
|
||||
"234,ALLARME PROTEZIONE RECUPERO CALORE - GRUPPO 1 POMPA 1 ",
|
||||
"235,ALLARME INCENDIO",
|
||||
"236,ATTENZIONE ! ALLARME PRESENTE SU BANCHETTO DI SPALMATURA",
|
||||
"237,MALFUNZIONAMENTO RECUPERO CALORE GRUPPO 2",
|
||||
"238,ALLARME PROTEZIONE CELLA RAFFREDDAMENTO 91B",
|
||||
"239,ALLARME PROTEZIONE PULISCISPILLI",
|
||||
"240,BATTERIA PLC - LIVELLO BASSO"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 15 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 15",
|
||||
"index": 15,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"241,ALLARME CONTEMPORANEIT? TERMOSTATI SICUREZZA BRUCIATORI",
|
||||
"242,BLOCCO VERSIONE SOFTWARE",
|
||||
"243,SROTOLATORE NON PRONTO",
|
||||
"244,ERRORE DI COMUNICAZIONE PROTOCOL MACRO",
|
||||
"245,ALLARME TAGLIERINA URBAN",
|
||||
"246,FINE TESSUTO IN INGRESSO",
|
||||
"247,ALLARME PROTEZIONE SERVOVENTILAZIONI MOTORI",
|
||||
"248,ALLARME INVERTER ARROTOLATORE TANGENZIALE",
|
||||
"249,ALLARME SPREMITORE 2",
|
||||
"250,ALLARME FS-91ER PLEVA",
|
||||
"251,ALLARME LINEA EMERGENZA ARROTOLATORE",
|
||||
"252,ALLARME FOTOCELLULE ARROTOLATORE",
|
||||
"253,PORTA CASSETTA USCITA RAMOSA APERTA",
|
||||
"254,ALLARME FINECORSA CILINDRO PROTEZIONE ARROTOLATORE ASSIALE",
|
||||
"255,ALLARME PRESSOSTATI GRUPPO VALVOLE USCITA",
|
||||
"256,ARROTOLATORE NON PRONTO"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 16 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 16",
|
||||
"index": 16,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"257,FINECORSA GRUPPO FALDATORE AVANTI",
|
||||
"258,FINECORSA GRUPPO FALDATORE INDIETRO",
|
||||
"259,ALLARME BATTERIA ELETTRICA 1",
|
||||
"260,SOVRATEMPERATURA BATTERIA ELETTRICA 5",
|
||||
"261,ALLARME BATTERIA ELETTRICA 2",
|
||||
"262,RISCALDAMENTO QUADRO SPENTO",
|
||||
"263,SOVRATEMPERATURA BATTERIA ELETTRICA 1",
|
||||
"264,SOVRATEMPERATURA BATTERIA ELETTRICA 2",
|
||||
"265,ALLARME BATTERIA ELETTRICA 3",
|
||||
"266,EMERGENZA DA SPALMATRICE",
|
||||
"267,ALLARME BATTERIA ELETTRICA 4",
|
||||
"268,ALLARME BATTERIA ELETTRICA 5",
|
||||
"269,SOVRATEMPERATURA BATTERIA ELETTRICA 3",
|
||||
"270,SOVRATEMPERATURA BATTERIA ELETTRICA 4",
|
||||
"271,ALLARME IDROSTATO RECUPERO CALORE 1",
|
||||
"272,ALLARME SENSORE LIVELLO RECUPERO CALORE 1 : AGGIUNGERE LIQUIDO !"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 17 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 17",
|
||||
"index": 17,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"273,ALLARME RELE' CONTROLLO FASI",
|
||||
"274,ALLARME DEVICE NET ADDR. 40 - MODULO GRT1-DRT USCITA RAMOSA",
|
||||
"275,ALLARME PRESSOSTATO LINEA ENTRATA MACCHINA",
|
||||
"276,ALLARME PRESSOSTATO LINEA USCITA MACCHINA",
|
||||
"277,CAMPO CANNOCCHIALI 1 BLOCCATO",
|
||||
"278,CAMPO CANNOCCHIALI 2 BLOCCATO",
|
||||
"279,ALLARME DISCONTINUITA' CAMPI PARALLELI",
|
||||
"280,ALLARME INSEGUIMENTO CAMPI PARALLELI - VITE LENTA",
|
||||
"281,ALLARME LIMITE VITI",
|
||||
"282,RAGGIUNTO MASSIMO CARICO SU CELLA DI CARICO",
|
||||
"283,ALLARME PRESSOSTATO ESAUSTORE",
|
||||
"284,EMERGENZA MOVIMENTO TESSUTO",
|
||||
"285,EMERGENZA DA SPREMITORE 1",
|
||||
"286,EMERGENZA DA RADDRIZZATRAMA",
|
||||
"287,EMERGENZA DA SROTOLATORE",
|
||||
"288,EMERGENZA DA ARROTOLATORE"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 18 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 18",
|
||||
"index": 18,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"289,ALLARME SICUREZZA BRUCIATORE 1",
|
||||
"290,ALLARME SICUREZZA BRUCIATORE 2",
|
||||
"291,ALLARME SICUREZZA BRUCIATORE 3",
|
||||
"292,ALLARME SICUREZZA BRUCIATORE 4",
|
||||
"293,ALLARME SICUREZZA BRUCIATORE 5",
|
||||
"294,ALLARME SICUREZZA BRUCIATORE 6",
|
||||
"295,ALLARME SICUREZZA BRUCIATORE 7",
|
||||
"296,ALLARME SICUREZZA BRUCIATORE 8",
|
||||
"297,ALLARME SICUREZZA BRUCIATORE 9",
|
||||
"298,ALLARME SICUREZZA BRUCIATORE 10",
|
||||
"299,ALLARME SICUREZZA BRUCIATORE 11",
|
||||
"300,ALLARME SICUREZZA BRUCIATORE 12",
|
||||
"301,ALLARME BRUCIATORE 1 SPENTO",
|
||||
"302,ALLARME BRUCIATORE 2 SPENTO",
|
||||
"303,ALLARME BRUCIATORE 3 SPENTO",
|
||||
"304,ALLARME BRUCIATORE 4 SPENTO"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 19 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 19",
|
||||
"index": 19,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"305,ALLARME BRUCIATORE 5 SPENTO",
|
||||
"306,ALLARME BRUCIATORE 6 SPENTO",
|
||||
"307,ALLARME BRUCIATORE 7 SPENTO",
|
||||
"308,ALLARME BRUCIATORE 8 SPENTO",
|
||||
"309,ALLARME BRUCIATORE 9 SPENTO",
|
||||
"310,ALLARME BRUCIATORE 10 SPENTO",
|
||||
"311,ALLARME BRUCIATORE 11 SPENTO",
|
||||
"312,ALLARME BRUCIATORE 12 SPENTO",
|
||||
"313,ALLARME SENSORE LIVELLO RECUPERO CALORE 2 : AGGIUNGERE LIQUIDO !",
|
||||
"314,ALLARME DA MIXER",
|
||||
"315,ALLARME PRESSOSTATI LUBRIFICAZIONE",
|
||||
"316,ALLARME ABBATTITORE FUMI",
|
||||
"317,MACCHINA 1 NON IN LINEA",
|
||||
"318,MACCHINA 2 NON IN LINEA",
|
||||
"319,MACCHINA 3 NON IN LINEA",
|
||||
"320,MACCHINA 4 NON IN LINEA"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 20 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 20",
|
||||
"index": 20,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"321,MACCHINA 5 NON IN LINEA",
|
||||
"322,MACCHINA 6 NON IN LINEA",
|
||||
"323,MACCHINA 7 NON IN LINEA",
|
||||
"324,MACCHINA 8 NON IN LINEA",
|
||||
"325,NON STOP NON PRONTO",
|
||||
"326,EMERGENZA DA NON STOP",
|
||||
"327,ALLARME DISCONTINUITA' CAMPO MASTER",
|
||||
"328,ALLARME DISCONTINUITA' CAMPO PARALLELO 1",
|
||||
"329,ALLARME DISCONTINUITA' CAMPO PARALLELO 2",
|
||||
"330,ALLARME DISCONTINUITA' CAMPO PARALLELO 3",
|
||||
"331,ALLARME DISCONTINUITA' CAMPO PARALLELO 4",
|
||||
"332,ALLARME DISCONTINUITA' CAMPO PARALLELO 5",
|
||||
"333,ALLARME DISCONTINUITA' CAMPO PARALLELO 6",
|
||||
"334,ALLARME DISCONTINUITA' CAMPO PARALLELO 7",
|
||||
"335,ALLARME DISCONTINUITA' CAMPO PARALLELO 8",
|
||||
"336,ALLARME DISCONTINUITA' CAMPO PARALLELO 9"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 21 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 21",
|
||||
"index": 21,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"337,ALLARME DISCONTINUITA' CAMPO PARALLELO 10",
|
||||
"338,PROTEZIONI INGRESSO APERTE",
|
||||
"339,PROTEZIONI USCITA APERTE",
|
||||
"340,ALLARME PROTEZIONE ESTRATTORE FUMI 1",
|
||||
"341,ALLARME PROTEZIONE ESTRATTORE FUMI 2",
|
||||
"342,MANCANZA PRESSOSTATO ESTRATTORE FUMI 1",
|
||||
"343,MANCANZA PRESSOSTATO ESTRATTORE FUMI 2",
|
||||
"344,EMERGENZA DA MIXER",
|
||||
"345,EMERGENZA DA SPREMITORE 2",
|
||||
"346,ALLARME PROTEZIONE VENTILATORE RECUPERO CALORE 1",
|
||||
"347,ALLARME PROTEZIONE VENTILATORE RECUPERO CALORE 2",
|
||||
"348,ALLARME MODULO VELOCITA? ZERO CATENA TRASP. TESSUTO",
|
||||
"349,ALLARME RILEVAMENTO TESSUTO SINISTRO USCITA",
|
||||
"350,ALLARME RILEVAMENTO TESSUTO DESTRO USCITA",
|
||||
"351,ALLARME FINECORSA SOLLEVAMENTO CAMPI CONICI",
|
||||
"352,ALLARME IDROSTATO RECUPERO CALORE 2"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 22 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 22",
|
||||
"index": 22,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"353,ALLARME FUNE DI PROTEZIONE IN USCITA",
|
||||
"354,ALLARME PROTEZIONE VENTOLA BRUCIATORE MAXON 1",
|
||||
"355,ALLARME PROTEZIONE VENTOLA BRUCIATORE MAXON 2",
|
||||
"356,ALLARME PROTEZIONE VENTOLA BRUCIATORE MAXON 3",
|
||||
"357,ALLARME PROTEZIONE VENTOLA BRUCIATORE MAXON 4",
|
||||
"358,ALLARME PROTEZIONE VENTOLA BRUCIATORE MAXON 5",
|
||||
"359,ALLARME PROTEZIONE VENTOLA BRUCIATORE MAXON 6",
|
||||
"360,ALLARME PROTEZIONE VENTOLA BRUCIATORE MAXON 7",
|
||||
"361,ALLARME PROTEZIONE VENTOLA BRUCIATORE MAXON 8",
|
||||
"362,ALLARME PROTEZIONE VENTOLA BRUCIATORE MAXON 9",
|
||||
"363,ALLARME PROTEZIONE VENTOLA BRUCIATORE MAXON 10",
|
||||
"364,ALLARME PROTEZIONE VENTOLA BRUCIATORE MAXON 11",
|
||||
"365,ALLARME PROTEZIONE VENTOLA BRUCIATORE MAXON 12",
|
||||
"366,OLIO CATENA - PRESSIONE MINIMA",
|
||||
"367,POMPA OLIO CATENA - ALLARME PROTEZIONE",
|
||||
"368,JBOX INGRESSO - BALLERINO BASSO"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 23 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 23",
|
||||
"index": 23,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"369,JBOX INGRESSO - FINE TESSUTO",
|
||||
"370,JBOX INGRESSO - PIENO",
|
||||
"371,JBOX INGRESSO - BALLERINO ALTO",
|
||||
"372,JBOX INGRESSO - VUOTO",
|
||||
"373,JBOX USCITA - BALLERINO BASSO",
|
||||
"374,JBOX USCITA - FINE TESSUTO",
|
||||
"375,JBOX USCITA - PIENO",
|
||||
"376,JBOX USCITA - BALLERINO ALTO",
|
||||
"377,JBOX USCITA - VUOTO",
|
||||
"378,JBOX USCITA - ALLARME PRESSOSTATO",
|
||||
"379,JBOX ENTRATA - ALLARME PRESSOSTATO",
|
||||
"380,ALLARME PROTEZIONE CARRELLO FALDATORE",
|
||||
"381,RISCALDAMENTO INDIRETTO - ALLARME FEEDBACK SERRANDA BR. 1",
|
||||
"382,RISCALDAMENTO INDIRETTO - ALLARME FEEDBACK SERRANDA BR. 2",
|
||||
"383,RISCALDAMENTO INDIRETTO - ALLARME FEEDBACK SERRANDA BR. 3",
|
||||
"384,RISCALDAMENTO INDIRETTO - ALLARME FEEDBACK SERRANDA BR. 4"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 24 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 24",
|
||||
"index": 24,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"385,RISCALDAMENTO INDIRETTO - ALLARME FEEDBACK SERRANDA BR. 5",
|
||||
"386,RISCALDAMENTO INDIRETTO - ALLARME FEEDBACK SERRANDA BR. 6",
|
||||
"387,RISCALDAMENTO INDIRETTO - ALLARME FEEDBACK SERRANDA BR. 7",
|
||||
"388,RISCALDAMENTO INDIRETTO - ALLARME FEEDBACK SERRANDA BR. 8",
|
||||
"389,RISCALDAMENTO INDIRETTO - ALLARME FEEDBACK SERRANDA BR. 9",
|
||||
"390,RISCALDAMENTO INDIRETTO - ALLARME FEEDBACK SERRANDA BR. 10",
|
||||
"391,RISCALDAMENTO INDIRETTO - ALLARME FEEDBACK SERRANDA BR. 11",
|
||||
"392,RISCALDAMENTO INDIRETTO - ALLARME FEEDBACK SERRANDA BR. 12",
|
||||
"393,ESTRATTORE FUMI RISC. INDIRETTO 1 - ALLARME PROTEZIONE",
|
||||
"394,ESTRATTORE FUMI RISC. INDIRETTO 2 - ALLARME PROTEZIONE",
|
||||
"395,ESTRATTORE FUMI RISC. INDIRETTO 3 - ALLARME PROTEZIONE",
|
||||
"396,ESTRATTORE FUMI RISC. INDIRETTO 4 - ALLARME PROTEZIONE",
|
||||
"397,ESTRATTORE FUMI RISC. INDIRETTO 5 - ALLARME PROTEZIONE",
|
||||
"398,ESTRATTORE FUMI RISC. INDIRETTO 6 - ALLARME PROTEZIONE",
|
||||
"399,TAGLIERINA SINISTRA - FUORI POSIZIONE",
|
||||
"400,TAGLIERINA DESTRA - FUORI POSIZIONE"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 25 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 25",
|
||||
"index": 25,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"401,ALLARME PROTEZIONE CILINDRO CONTRASTO TAGLIERINE",
|
||||
"402,JBOX INGRESSO - TESSUTO INCROCIATO",
|
||||
"403,JBOX USCITA - TESSUTO INCROCIATO",
|
||||
"404,ALLARME DEVICE_NET STAZIONE ADDR.38 - JBOX INGRESSO",
|
||||
"405,ALLARME DEVICE_NET STAZIONE ADDR.39 - JBOX USCITA",
|
||||
"406,JBOX INGRESSO - ALLARME INVERTER",
|
||||
"407,JBOX USCITA - ALLARME INVERTER",
|
||||
"408,ALLARGA/CENTRATORE A/B SU IMBARRAGGIO - ALLARME PROTEZIONE",
|
||||
"409,ALLARME TIMEOUT VITE CAMPO PARALLELO 11",
|
||||
"410,ALLARME TIMEOUT VITE CAMPO PARALLELO 12",
|
||||
"411,FRENO JBOX INGRESSO - ALLARME PROTEZIONE",
|
||||
"412,FRENO JBOX USCITA - ALLARME PROTEZIONE",
|
||||
"413,ALLARME PROTEZIONE FRENO CAMPO CONICO SINISTRO",
|
||||
"414,ALLARME PROTEZIONE FRENO CAMPO CONICO DESTRO",
|
||||
"415,VERIFICA PRESSOSTATO 1 FALLITA",
|
||||
"416,VERIFICA PRESSOSTATO 2 FALLITA"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 26 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 26",
|
||||
"index": 26,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"417,ALLARME TERMOSTATO INTERNO QUADRO",
|
||||
"418,ALLARME PROTEZIONE RECUPERO CALORE - GRUPPO 1 POMPA 2",
|
||||
"419,ALLARME PROTEZIONE RECUPERO CALORE - GRUPPO 2 POMPA 2",
|
||||
"420,PROTEZIONE RIBALTABILE INGRESSO",
|
||||
"421,FUNE EMERGENZA INGRESSO",
|
||||
"422,PARATIA SCORREVOLE INGRESSO SINISTRA",
|
||||
"423,PARATIA SCORREVOLE INGRESSO DESTRA",
|
||||
"424,CANCELLO SINISTRO ENTRATA ANTERIORE",
|
||||
"425,CANCELLO SINISTRO ENTRATA POSTERIORE",
|
||||
"426,CANCELLO DESTRO ENTRATA ANTERIORE",
|
||||
"427,CANCELLO DESTRO ENTRATA POSTERIORE",
|
||||
"428,CANCELLO SINISTRO USCITA",
|
||||
"429,CANCELLO DESTRO USCITA",
|
||||
"430,TENSIONATORE FUNE EMERGENZA SINISTRA ZONA FORNO",
|
||||
"431,TENSIONATORE FUNE EMERGENZA DESTRA ZONA FORNO",
|
||||
"432,FUNE EMERGENZA SINISTRA ZONA FORNO"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 27 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 27",
|
||||
"index": 27,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"433,FUNE EMERGENZA DESTRA ZONA FORNO",
|
||||
"434,ALLARME FEEDBACK SCARICO ARIA ENTRATA MACCHINA (1)",
|
||||
"435,ALLARME FEEDBACK SCARICO ARIA ENTRATA MACCHINA (2)",
|
||||
"436,ALLARME FEEDBACK SCARICO ARIA USCITA MACCHINA (1)",
|
||||
"437,ALLARME FEEDBACK SCARICO ARIA USCITA MACCHINA (2)",
|
||||
"438,ALLARME FEEDBACK EMERGENZA GENERALE DA SCARICO ARIA",
|
||||
"439,BYPASS SPORTELLI ARMADIO ATTIVO",
|
||||
"440,TIMEOUT ENCODER CAMPO CONICO SINISTRO",
|
||||
"441,TIMEOUT ENCODER CAMPO CONICO DESTRO",
|
||||
"442,ALLARME BALLERINO ALTO SPREMITORE 1",
|
||||
"443,ALLARME BALLERINO ALTO SPREMITORE 2",
|
||||
"444,",
|
||||
"445,",
|
||||
"446,",
|
||||
"447,",
|
||||
"448,"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 28 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 28",
|
||||
"index": 28,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"449,",
|
||||
"450,",
|
||||
"451,",
|
||||
"452,",
|
||||
"453,",
|
||||
"454,",
|
||||
"455,",
|
||||
"456,",
|
||||
"457,",
|
||||
"458,",
|
||||
"459,",
|
||||
"460,ALLARME PROTEZIONE BARRE ANTISTATICHE",
|
||||
"461,ALLARME PROTEZIONE VENTILAZIONE INTERNO QUADRO",
|
||||
"462,BORDO SENSIBILE ",
|
||||
"463,FALDAROTOLATORE_SICUREZZA SX/DX ",
|
||||
"464,FALDAROTOLATORE_EMERGENZA TESSUTO "
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 29 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 29",
|
||||
"index": 29,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"465,ALLARME DEPRESSIONE RISCALDAMENTO INDIRETTO BR.1",
|
||||
"466,ALLARME DEPRESSIONE RISCALDAMENTO INDIRETTO BR.2",
|
||||
"467,ALLARME DEPRESSIONE RISCALDAMENTO INDIRETTO BR.3",
|
||||
"468,ALLARME DEPRESSIONE RISCALDAMENTO INDIRETTO BR.4",
|
||||
"469,ALLARME DEPRESSIONE RISCALDAMENTO INDIRETTO BR.5",
|
||||
"470,ALLARME DEPRESSIONE RISCALDAMENTO INDIRETTO BR.6",
|
||||
"471,ALLARME DEPRESSIONE RISCALDAMENTO INDIRETTO BR.7",
|
||||
"472,ALLARME DEPRESSIONE RISCALDAMENTO INDIRETTO BR.8",
|
||||
"473,ALLARME DEPRESSIONE RISCALDAMENTO INDIRETTO BR.9",
|
||||
"474,ALLARME DEPRESSIONE RISCALDAMENTO INDIRETTO BR.10",
|
||||
"475,ALLARME DEPRESSIONE RISCALDAMENTO INDIRETTO BR.11",
|
||||
"476,ALLARME DEPRESSIONE RISCALDAMENTO INDIRETTO BR.12",
|
||||
"477,MALFUNZIONAMNETO PRESSOSTATO ESTRATTORE FUMI 1/2",
|
||||
"478,MALFUNZIONAMNETO PRESSOSTATO ESTRATTORE FUMI 3/4",
|
||||
"479,MALFUNZIONAMNETO PRESSOSTATO ESTRATTORE FUMI 5/6",
|
||||
"480,MALFUNZIONAMNETO PRESSOSTATO ESTRATTORE FUMI 7/8"
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"description": "Alarm Word 30 ",
|
||||
"tipoMem": "Byte",
|
||||
"memAddr": "Alarm Word 30",
|
||||
"index": 30,
|
||||
"size": 2,
|
||||
"messages": [
|
||||
"481,MALFUNZIONAMNETO PRESSOSTATO ESTRATTORE FUMI 9/10",
|
||||
"482,MALFUNZIONAMENTO PRESSOSTATO SICUREZZA BRUCIATORE 1",
|
||||
"483,MALFUNZIONAMENTO PRESSOSTATO SICUREZZA BRUCIATORE 2",
|
||||
"484,MALFUNZIONAMENTO PRESSOSTATO SICUREZZA BRUCIATORE 3",
|
||||
"485,MALFUNZIONAMENTO PRESSOSTATO SICUREZZA BRUCIATORE 4",
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
# ToDo's aperti
|
||||
## ALL
|
||||
- verifica disattivazione WDST da IOB vari
|
||||
- riorganizzazione GLOBALE degli IOB x folder del tipo iob (OPC-UA, ModBus, Siemens...)
|
||||
|
||||
## IMI REMOSA
|
||||
|
||||
Da completare:
|
||||
- lantek: capire come rendono il link tra dati PODL e part program
|
||||
- check stato dati IMI altri impianto (sembrano "vuotini")
|
||||
|
||||
BIN
Binary file not shown.
@@ -13,7 +13,7 @@ PORT=8193
|
||||
GETPRGNAME=true
|
||||
|
||||
[SERVER]
|
||||
MPIP=192.168.0.113
|
||||
MPIP=192.168.111.104
|
||||
MPURL=/MP/IO
|
||||
CMDBASE=/IOB/input/
|
||||
CMDFLOG=/IOB/flog/
|
||||
|
||||
@@ -13,7 +13,7 @@ PORT=8193
|
||||
GETPRGNAME=true
|
||||
|
||||
[SERVER]
|
||||
MPIP=192.168.0.113
|
||||
MPIP=192.168.111.104
|
||||
MPURL=/MP/IO
|
||||
CMDBASE=/IOB/input/
|
||||
CMDFLOG=/IOB/flog/
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||
-->
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Any CPU</Platform>
|
||||
<PublishDir>bin\Release\net6.0\win-x64\publish\</PublishDir>
|
||||
<PublishProtocol>FileSystem</PublishProtocol>
|
||||
<_TargetId>Folder</_TargetId>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||
<SelfContained>false</SelfContained>
|
||||
<PublishSingleFile>true</PublishSingleFile>
|
||||
<PublishReadyToRun>false</PublishReadyToRun>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,37 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.2.32516.85
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EgwCApp.Core", "EgwCApp.Core\EgwCApp.Core.csproj", "{DF02D478-2309-48B8-BF0D-90B02327AF02}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EgwCApp.XmlProc", "EgwCApp.XmlProc\EgwCApp.XmlProc.csproj", "{64BC5889-BE30-489A-B78F-8B3EE08819CB}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EgwCApp.XmlTesting", "EgwCApp.XmlTesting\EgwCApp.XmlTesting.csproj", "{52D72303-ACAB-4289-8856-0F56A50474FC}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{DF02D478-2309-48B8-BF0D-90B02327AF02}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{DF02D478-2309-48B8-BF0D-90B02327AF02}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{DF02D478-2309-48B8-BF0D-90B02327AF02}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{DF02D478-2309-48B8-BF0D-90B02327AF02}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{64BC5889-BE30-489A-B78F-8B3EE08819CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{64BC5889-BE30-489A-B78F-8B3EE08819CB}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{64BC5889-BE30-489A-B78F-8B3EE08819CB}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{64BC5889-BE30-489A-B78F-8B3EE08819CB}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{52D72303-ACAB-4289-8856-0F56A50474FC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{52D72303-ACAB-4289-8856-0F56A50474FC}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{52D72303-ACAB-4289-8856-0F56A50474FC}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{52D72303-ACAB-4289-8856-0F56A50474FC}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {2AF3181F-288A-47D5-8087-2AB660476D85}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -0,0 +1,20 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\EgwCApp.Core\EgwCApp.Core.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Update="testConf.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,378 @@
|
||||
using EgwCApp.Core;
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using static EgwCApp.Core.WharehouseData;
|
||||
|
||||
namespace EgwCApp.XmlProc
|
||||
{
|
||||
public class ImportProc
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
/// <summary>
|
||||
/// Init oggetto per import
|
||||
/// </summary>
|
||||
/// <param name="confFileName"></param>
|
||||
public ImportProc(string confFileName)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(confFileName))
|
||||
{
|
||||
fileConfName = confFileName;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Public Constructors
|
||||
|
||||
#region Public Methods
|
||||
|
||||
/// <summary>
|
||||
/// Decodifica configurazione
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public bool decodeConfig()
|
||||
{
|
||||
bool answ = false;
|
||||
if (!string.IsNullOrEmpty(fileConfName))
|
||||
{
|
||||
// deserializzo config
|
||||
if (!File.Exists(fileConfName))
|
||||
{
|
||||
Console.WriteLine($"Error: ConfigFile not found | {fileConfName}");
|
||||
}
|
||||
else
|
||||
{
|
||||
string rawData = File.ReadAllText(fileConfName);
|
||||
// se ho contenuto procedo
|
||||
if (string.IsNullOrEmpty(rawData))
|
||||
{
|
||||
Console.WriteLine($"Error: ConfigFile empty! | {fileConfName}");
|
||||
}
|
||||
else
|
||||
{
|
||||
// deserializzo
|
||||
taskConfig = JsonConvert.DeserializeObject<ConfigFile>(rawData);
|
||||
answ = taskConfig != null;
|
||||
}
|
||||
}
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Esegue import (se possibile)
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public bool doProcess()
|
||||
{
|
||||
bool answ = false;
|
||||
if (taskConfig != null)
|
||||
{
|
||||
// verifico esista il file...
|
||||
if (string.IsNullOrEmpty(taskConfig.FileInPath) && File.Exists(taskConfig.FileInPath))
|
||||
{
|
||||
// manca file ingresso!!! esco!
|
||||
}
|
||||
else
|
||||
{
|
||||
// verifico il tipo di process necessario...
|
||||
switch (taskConfig.Type)
|
||||
{
|
||||
case ImportType.CSV:
|
||||
fileReturnData = File.ReadAllText(taskConfig.FileInPath);
|
||||
answ = true;
|
||||
break;
|
||||
|
||||
case ImportType.Excel:
|
||||
fileReturnData = processExcelImport(taskConfig.FileInPath);
|
||||
answ = true;
|
||||
break;
|
||||
|
||||
case ImportType.ND:
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Esecuzione ritorno informazioni secondo configurazione...
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public bool doReturn()
|
||||
{
|
||||
bool answ = false;
|
||||
if (taskConfig != null)
|
||||
{
|
||||
// verifico il tipo di return necessario...
|
||||
switch (taskConfig.Return)
|
||||
{
|
||||
case ReturnMode.Console:
|
||||
Console.WriteLine(fileReturnData);
|
||||
answ = true;
|
||||
break;
|
||||
|
||||
case ReturnMode.Redis:
|
||||
break;
|
||||
|
||||
case ReturnMode.File:
|
||||
// verifico path ci sia... sennò creo
|
||||
string outPath = string.IsNullOrEmpty(taskConfig.FileOutPath) ? "FileOut.txt" : taskConfig.FileOutPath;
|
||||
// verifico se vadano salvati in una folder differente...
|
||||
if (!string.IsNullOrEmpty(taskConfig.ConvertDir))
|
||||
{
|
||||
if (!Directory.Exists(taskConfig.ConvertDir))
|
||||
{
|
||||
Directory.CreateDirectory(taskConfig.ConvertDir);
|
||||
}
|
||||
outPath = Path.Combine(taskConfig.ConvertDir, Path.GetFileName(outPath));
|
||||
}
|
||||
// salvo il file!
|
||||
File.WriteAllText(outPath, fileReturnData);
|
||||
answ = true;
|
||||
break;
|
||||
|
||||
case ReturnMode.ND:
|
||||
default:
|
||||
break;
|
||||
}
|
||||
// se fatto eventualmente archivio
|
||||
if (answ)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(taskConfig.ArchiveDir))
|
||||
{
|
||||
// verifico cartella archivio
|
||||
if (!Directory.Exists(taskConfig.ArchiveDir))
|
||||
{
|
||||
Directory.CreateDirectory(taskConfig.ArchiveDir);
|
||||
}
|
||||
// sposto file
|
||||
string fName = Path.GetFileName(taskConfig.FileInPath);
|
||||
File.Move(taskConfig.FileInPath, Path.Combine(taskConfig.ArchiveDir, fName), true);
|
||||
}
|
||||
}
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
#endregion Public Methods
|
||||
|
||||
#region Protected Properties
|
||||
|
||||
/// <summary>
|
||||
/// Nome del file config da processare
|
||||
/// </summary>
|
||||
protected string fileConfName { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// Contenuto del file da restituire come return data (serializzato)
|
||||
/// </summary>
|
||||
protected string fileReturnData { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// Configurazione del task da eseguire
|
||||
/// </summary>
|
||||
protected ConfigFile? taskConfig { get; set; } = new ConfigFile();
|
||||
|
||||
#endregion Protected Properties
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
/// <summary>
|
||||
/// Estrae da una riga l'i-esimo elemento
|
||||
/// </summary>
|
||||
/// <param name="riga"></param>
|
||||
/// <param name="col"></param>
|
||||
/// <returns></returns>
|
||||
protected string getCellVal(System.Data.DataRow? riga, int col)
|
||||
{
|
||||
string answ = "";
|
||||
if (riga != null)
|
||||
{
|
||||
try
|
||||
{
|
||||
answ = $"{riga.ItemArray[col]}".Trim();
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Cleanup stringa x impiego tipo ident da char dubbi
|
||||
/// </summary>
|
||||
/// <param name="origData"></param>
|
||||
/// <returns></returns>
|
||||
protected string strFixId(string origData)
|
||||
{
|
||||
return origData.Replace(".", "").Replace(" ", "_");
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
|
||||
#region Private Methods
|
||||
|
||||
/// <summary>
|
||||
/// Importa un file excel e restituisce una
|
||||
/// </summary>
|
||||
/// <param name="fileItem"></param>
|
||||
/// <returns></returns>
|
||||
private string processExcelImport(string fileItem)
|
||||
{
|
||||
string outVal = "";
|
||||
int numErr = 0;
|
||||
// test procedura di import files excel x Giacovelli...
|
||||
var currExcel = new ExcelMan(fileItem);
|
||||
// creo lista dati in formato RegGiacenze...
|
||||
Dictionary<string, BatchRec> listaGiac = new Dictionary<string, BatchRec>();
|
||||
var dtSet = currExcel.getDataSet();
|
||||
if (dtSet != null && dtSet.Tables != null && dtSet.Tables.Count > 0)
|
||||
{
|
||||
string nomeFile = Path.GetFileName(fileItem);
|
||||
nomeFile = nomeFile.Substring(0, nomeFile.LastIndexOf("."));
|
||||
var elSheet = dtSet.Tables;
|
||||
int idxTab = 0;
|
||||
// cerco lo sheet corretto se > 1
|
||||
if (dtSet.Tables.Count > 1)
|
||||
{
|
||||
bool found = false;
|
||||
for (int i = 0; i < dtSet.Tables.Count; i++)
|
||||
{
|
||||
if (nomeFile.Contains(dtSet.Tables[i].TableName))
|
||||
{
|
||||
idxTab = i;
|
||||
found = true;
|
||||
break;
|
||||
}
|
||||
// controllo parametro opzionale...
|
||||
if (!found && taskConfig != null && !string.IsNullOrEmpty(taskConfig.TargetName))
|
||||
{
|
||||
if (dtSet.Tables[i].TableName == taskConfig.TargetName)
|
||||
{
|
||||
idxTab = i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
var tabella = dtSet.Tables[idxTab];
|
||||
int numRighe = tabella.Rows.Count;
|
||||
int idxODL = taskConfig != null ? taskConfig.IdxODL : 0;
|
||||
for (int i = 0; i < numRighe; i++)
|
||||
{
|
||||
if (taskConfig != null && taskConfig.ProcessParamInt != null && taskConfig.ProcessParamInt.Count > 5)
|
||||
{
|
||||
if (numErr < numRighe / 5)
|
||||
{
|
||||
try
|
||||
{
|
||||
// variabili di appoggio...
|
||||
DateTime dtRif = DateTime.Today;
|
||||
double qtyTot = 0;
|
||||
int numPack = 0;
|
||||
var riga = tabella.Rows[i];
|
||||
if (riga != null)
|
||||
{
|
||||
string ddt = getCellVal(riga, taskConfig.ProcessParamInt["ExtDoc"]);
|
||||
string sDate = getCellVal(riga, taskConfig.ProcessParamInt["DateRif"]);
|
||||
string prod = getCellVal(riga, taskConfig.ProcessParamInt["Product"]);
|
||||
// verifiche x import: header, data e DDT (vuoti o "-") --> SKIP!
|
||||
bool checkHeaderKo = (ddt == "DDT" || prod == "PRODOTTO");
|
||||
bool checkEmptyDdt = (string.IsNullOrEmpty(ddt) || ddt == "-");
|
||||
bool checkEmptyDate = (string.IsNullOrEmpty(sDate) || sDate == "-");
|
||||
if (checkHeaderKo)
|
||||
{
|
||||
//lgTrace($"SKIP header");
|
||||
}
|
||||
else if (checkEmptyDdt || checkEmptyDate)
|
||||
{
|
||||
//lgTrace($"SKIP linea vuota | i: {i} | ddt: {ddt} | date: {sDate} | prod: {prod}");
|
||||
}
|
||||
else
|
||||
{
|
||||
string variety = getCellVal(riga, taskConfig.ProcessParamInt["Variety"]);
|
||||
string suppl = getCellVal(riga, taskConfig.ProcessParamInt["Supplier"]);
|
||||
string sQty = getCellVal(riga, taskConfig.ProcessParamInt["QtyTot"]);
|
||||
string sNum = getCellVal(riga, taskConfig.ProcessParamInt["NumPack"]);
|
||||
string numPed = getCellVal(riga, taskConfig.ProcessParamInt["NumPed"]);
|
||||
string packPed = getCellVal(riga, taskConfig.ProcessParamInt["PackPed"]);
|
||||
string pesoPack = getCellVal(riga, taskConfig.ProcessParamInt["PesoPack"]);
|
||||
DateTime.TryParse(sDate, out dtRif);
|
||||
int.TryParse(sNum, out numPack);
|
||||
double.TryParse(sQty, out qtyTot);
|
||||
string identRG = ddt.Length > 2 ? $"{strFixId(ddt)}.{strFixId(prod)}.{strFixId(variety)}.{strFixId(suppl)}" : $"{dtRif:yyyyMMdd}.{strFixId(prod)}.{strFixId(variety)}.{strFixId(suppl)}";
|
||||
string notes = $"{numPed}x{packPed}x{pesoPack}";
|
||||
// verifico di avere dati per proseguire...
|
||||
bool checkIdent = !string.IsNullOrEmpty($"{prod}{variety}{suppl}");
|
||||
if (checkIdent)
|
||||
{
|
||||
BatchRec newRow = new BatchRec()
|
||||
{
|
||||
IdxODL = idxODL,
|
||||
IdentRG = identRG,
|
||||
DateRif = dtRif,
|
||||
ExtDoc = ddt,
|
||||
Product = prod,
|
||||
Variety = variety,
|
||||
Supplier = suppl,
|
||||
NumPack = numPack,
|
||||
QtyTot = qtyTot,
|
||||
Notes = notes
|
||||
};
|
||||
// verifico: se manca aggiungo
|
||||
if (!listaGiac.ContainsKey(identRG))
|
||||
{
|
||||
listaGiac.Add(identRG, newRow);
|
||||
}
|
||||
else
|
||||
{
|
||||
// altrimenti aggiorno giacenza con valori numerici
|
||||
listaGiac[identRG].NumPack += newRow.NumPack;
|
||||
listaGiac[identRG].QtyTot += newRow.QtyTot;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
//lgError($"Errore verifica identità riga | prod: {prod} | variety: {variety} | suppl: {suppl}");
|
||||
numErr++;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
numErr++;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (listaGiac.Count > 0)
|
||||
{
|
||||
// converto in una nuova lista...
|
||||
int rCounter = 1;
|
||||
Dictionary<int, BatchRec> list2Send = new Dictionary<int, BatchRec>();
|
||||
foreach (var item in listaGiac)
|
||||
{
|
||||
list2Send.Add(rCounter, item.Value);
|
||||
rCounter++;
|
||||
}
|
||||
// serializzo e restituisco file JSON...
|
||||
var serVal = JsonConvert.SerializeObject(list2Send);
|
||||
if (serVal != null && !string.IsNullOrEmpty(serVal))
|
||||
{
|
||||
outVal = serVal;
|
||||
}
|
||||
}
|
||||
return outVal;
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
// See https://aka.ms/new-console-template for more information
|
||||
|
||||
// ExcImport: Excel Importer, per IobWin in logica lettura Giacenze
|
||||
// parametri:
|
||||
// $0: Path ConfigFile file per esecuzione
|
||||
|
||||
|
||||
using EgwCApp.XmlProc;
|
||||
|
||||
string separator = "--------------------------------------";
|
||||
string fileName = "";
|
||||
|
||||
// controllo args, se mancassero o incompleti mostro help
|
||||
if (args.Length < 1)
|
||||
{
|
||||
Console.WriteLine(separator);
|
||||
Console.WriteLine("- ExcelFileImporter - Core 6.0");
|
||||
Console.WriteLine("- v.0.0.0.0 | @Egalware 2022+");
|
||||
Console.WriteLine(separator);
|
||||
Console.WriteLine();
|
||||
Console.WriteLine("Mancano parametri per esecuzione:");
|
||||
Console.WriteLine("");
|
||||
Console.WriteLine("$0: ConfigFile da impiegare");
|
||||
|
||||
// provo a processare testConf...
|
||||
fileName = "testConf.json";
|
||||
}
|
||||
else
|
||||
{
|
||||
fileName = args[0];
|
||||
}
|
||||
|
||||
// ora processo se ho filename valido...
|
||||
if (!string.IsNullOrEmpty(fileName))
|
||||
{
|
||||
// verifico se ho file...
|
||||
if (File.Exists(fileName))
|
||||
{
|
||||
ImportProc importObj = new ImportProc(fileName);
|
||||
bool stepOk = importObj.decodeConfig();
|
||||
if (stepOk)
|
||||
{
|
||||
stepOk = importObj.doProcess();
|
||||
if (!stepOk)
|
||||
{
|
||||
Console.WriteLine("Errore in processing file");
|
||||
}
|
||||
else
|
||||
{
|
||||
importObj.doReturn();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Errore in processing config file");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Errore file non trovato!");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
||||
-->
|
||||
<Project>
|
||||
<PropertyGroup>
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Any CPU</Platform>
|
||||
<PublishDir>bin\Release\net6.0\win-x64\publish\</PublishDir>
|
||||
<PublishProtocol>FileSystem</PublishProtocol>
|
||||
<_TargetId>Folder</_TargetId>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||
<SelfContained>false</SelfContained>
|
||||
<PublishSingleFile>true</PublishSingleFile>
|
||||
<PublishReadyToRun>false</PublishReadyToRun>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,4 @@
|
||||
@echo off
|
||||
|
||||
REM compilo in publish
|
||||
dotnet publish EgwCApp.ExcImport.csproj -p:PublishSingleFile=true -r win-x64 -c Release --self-contained false
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"ArchiveDir": "C:\\temp\\import\\archive",
|
||||
"ConvertDir": "C:\\temp\\import\\convert",
|
||||
"FileInPath": "C:\\temp\\import\\01.12.xlsx",
|
||||
"FileOutPath": "01.12.json",
|
||||
"IdxODL": 987654321,
|
||||
"ProcessParamInt": {
|
||||
"Product": 3,
|
||||
"Variety": 9,
|
||||
"Supplier": 8,
|
||||
"ExtDoc": 2,
|
||||
"DateRif": 14,
|
||||
"QtyTot": 22,
|
||||
"NumPack": 21,
|
||||
"NumPed": 17,
|
||||
"PackPed": 18,
|
||||
"PesoPack": 20
|
||||
},
|
||||
"ProcessParamStr": {},
|
||||
"RedisDB": 0,
|
||||
"RedisOut": "",
|
||||
"Return": "File",
|
||||
"TargetName": "DB Loco",
|
||||
"Type": "Excel"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"FilePath": "C:\\Temp\\test.log",
|
||||
"ProcessParams": {},
|
||||
"Return": "Console",
|
||||
"Type": "Excel"
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"ArchiveDir": "C:\\temp\\import\\archive",
|
||||
"ConvertDir": "C:\\temp\\import\\convert",
|
||||
"FileInPath": "C:\\temp\\import\\01.12.xlsx",
|
||||
"FileOutPath": "01.12.json",
|
||||
"IdxODL": 987654321,
|
||||
"ProcessParamInt": {
|
||||
"Product": 3,
|
||||
"Variety": 9,
|
||||
"Supplier": 8,
|
||||
"ExtDoc": 2,
|
||||
"DateRif": 14,
|
||||
"QtyTot": 22,
|
||||
"NumPack": 21,
|
||||
"NumPed": 17,
|
||||
"PackPed": 18,
|
||||
"PesoPack": 20
|
||||
},
|
||||
"ProcessParamStr": {},
|
||||
"RedisDB": 0,
|
||||
"RedisOut": "",
|
||||
"Return": "File",
|
||||
"TargetName": "DB Loco",
|
||||
"Type": "Excel"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
echo ------------ Parametri compilazione ------------
|
||||
echo OutDir: $(OutDir)
|
||||
echo Configuration: $(ConfigurationName)
|
||||
echo ProjectDir: $(ProjectDir)
|
||||
echo AssemblyName: $(AssemblyName)
|
||||
echo TargetDir: $(TargetDir)
|
||||
echo ------------ Parametri compilazione ------------
|
||||
|
||||
preBuild.bat $(SolutionDir)EgwCApp.ExcImport\EgwCApp.ExcImport.csproj $(SolutionDir)EgwCApp.ExcImport\bin\Release\net6.0\publish\win-x64\ $(ProjectDir)Utils
|
||||
@@ -0,0 +1,21 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\EgwCApp.Core\EgwCApp.Core.csproj" />
|
||||
<ProjectReference Include="..\EgwCApp.XmlProc\EgwCApp.XmlProc.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<None Update="Tools\ExcImport.exe">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,120 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using EgwCApp.Core;
|
||||
using Newtonsoft.Json;
|
||||
using System.Diagnostics;
|
||||
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace EgwCApp.XmlTesting
|
||||
{
|
||||
public class FileProcMan
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
public FileProcMan(string toolDir, string exeFileName)
|
||||
{
|
||||
this.confFileName = "conf.json";
|
||||
this.baseDir = toolDir;
|
||||
this.exeName = exeFileName;
|
||||
appPath = $"./{baseDir}/{exeName}";
|
||||
}
|
||||
|
||||
#endregion Public Constructors
|
||||
|
||||
#region Public Methods
|
||||
|
||||
/// <summary>
|
||||
/// Processa il singolo file e riporta tempo esecuzione
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public TimeSpan doProcess(string fPath)
|
||||
{
|
||||
TimeSpan outVal = new TimeSpan();
|
||||
Stopwatch sw = new Stopwatch();
|
||||
// preparo file conf
|
||||
createConfFile(fPath);
|
||||
// avvio processing
|
||||
Console.WriteLine("calling ext app with args:");
|
||||
Console.WriteLine($"{appPath} {confFileName}");
|
||||
Console.WriteLine();
|
||||
|
||||
ProcessStartInfo psi = new ProcessStartInfo
|
||||
{
|
||||
FileName = appPath,
|
||||
Arguments = $"{confFileName}",
|
||||
WindowStyle = ProcessWindowStyle.Minimized,
|
||||
//WindowStyle = ProcessWindowStyle.Hidden,
|
||||
UseShellExecute = false,
|
||||
//CreateNoWindow = true,
|
||||
RedirectStandardOutput = true,
|
||||
RedirectStandardInput = true,
|
||||
};
|
||||
|
||||
sw.Start();
|
||||
|
||||
Process p = Process.Start(psi);
|
||||
|
||||
string q = "";
|
||||
while (!p.HasExited)
|
||||
{
|
||||
q += p.StandardOutput.ReadToEnd();
|
||||
}
|
||||
|
||||
sw.Stop();
|
||||
outVal = sw.Elapsed;
|
||||
|
||||
return outVal;
|
||||
}
|
||||
|
||||
#endregion Public Methods
|
||||
|
||||
#region Protected Fields
|
||||
|
||||
protected string appPath = "";
|
||||
protected string baseDir = "";
|
||||
protected string confFileName = "";
|
||||
protected string exeName = "";
|
||||
|
||||
#endregion Protected Fields
|
||||
|
||||
#region Private Methods
|
||||
|
||||
private void createConfFile(string item)
|
||||
{
|
||||
Dictionary<string, int> importParams = new Dictionary<string, int>();
|
||||
importParams.Add("Product", 3);
|
||||
importParams.Add("Variety", 9);
|
||||
importParams.Add("Supplier", 8);
|
||||
importParams.Add("ExtDoc", 2);
|
||||
importParams.Add("DateRif", 14);
|
||||
importParams.Add("QtyTot", 22);
|
||||
importParams.Add("NumPack", 21);
|
||||
importParams.Add("NumPed", 17);
|
||||
importParams.Add("PackPed", 18);
|
||||
importParams.Add("PesoPack", 20);
|
||||
// calcolo nome file conf specifico
|
||||
string outFileName = Path.GetFileName(item).Replace("xlsx", "json");
|
||||
confFileName = $"conf_{outFileName}";
|
||||
// calcolo outFIleName
|
||||
var newConf = new ConfigFile()
|
||||
{
|
||||
ArchiveDir = @"C:\temp\import\archive\",
|
||||
ConvertDir = @"C:\temp\import\convert\",
|
||||
Type = ImportType.Excel,
|
||||
FileInPath = item,
|
||||
FileOutPath = outFileName,
|
||||
Return = ReturnMode.File,
|
||||
ProcessParamInt = importParams,
|
||||
TargetName = "DB Loco"
|
||||
};
|
||||
// serializzo e salvo!
|
||||
var rawData = JsonConvert.SerializeObject(newConf, Formatting.Indented);
|
||||
File.WriteAllText(confFileName, rawData);
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
// See https://aka.ms/new-console-template for more information
|
||||
|
||||
using EgwCApp.Core;
|
||||
using System.Diagnostics;
|
||||
using Newtonsoft.Json;
|
||||
using EgwCApp.XmlTesting;
|
||||
|
||||
Dictionary<string, TimeSpan> statsColl = new Dictionary<string, TimeSpan>();
|
||||
Stopwatch sw = new Stopwatch();
|
||||
|
||||
string separator = "--------------------------------------";
|
||||
Console.WriteLine(separator);
|
||||
Console.WriteLine("Console Test Application");
|
||||
Console.WriteLine(separator);
|
||||
Console.WriteLine();
|
||||
|
||||
// creo il file di configurazione...
|
||||
string fileName = "conf.json";
|
||||
ConfigFile newConf = new ConfigFile();
|
||||
string rawData = "";
|
||||
|
||||
// test CSV
|
||||
//newConf = new ConfigFile()
|
||||
//{
|
||||
// Type = ImportType.CSV,
|
||||
// FileInPath = @"C:\Temp\test.log",
|
||||
// Return = ReturnMode.Console
|
||||
//};
|
||||
|
||||
|
||||
// svuoto eventuali conf vecchi
|
||||
var listaConf = Directory.GetFiles(Directory.GetCurrentDirectory(), "*.json");
|
||||
if (listaConf != null && listaConf.Count() > 0)
|
||||
{
|
||||
foreach (var file2del in listaConf)
|
||||
{
|
||||
File.Delete(file2del);
|
||||
}
|
||||
}
|
||||
// cerco file xlsx e ciclo...
|
||||
var listaFiles = Directory.GetFiles(@"C:\temp\import\", "*.xlsx");
|
||||
if (listaFiles != null && listaFiles.Count() > 0)
|
||||
{
|
||||
FileProcMan fpm = new FileProcMan("Tools", "ExcImport.exe");
|
||||
foreach (var item in listaFiles)
|
||||
{
|
||||
TimeSpan timeElaps = fpm.doProcess(item);
|
||||
|
||||
statsColl.Add($"Ext prog executed for {item}", timeElaps);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Console.WriteLine(separator);
|
||||
Console.WriteLine("press enter to proceed...");
|
||||
|
||||
Console.ReadLine();
|
||||
|
||||
foreach (var item in statsColl)
|
||||
{
|
||||
Console.WriteLine($"{item.Key} {item.Value.TotalMilliseconds} ms");
|
||||
}
|
||||
//Console.WriteLine($"Display executed in {timeElaps.TotalMilliseconds} ms");
|
||||
|
||||
Console.ReadLine();
|
||||
Binary file not shown.
@@ -0,0 +1,6 @@
|
||||
@echo off
|
||||
|
||||
REM recupero versione compilata
|
||||
ROBOCOPY %1 %2 *.exe /MIR
|
||||
|
||||
echo Eseguito restore CApp!
|
||||
@@ -34,6 +34,10 @@
|
||||
<assemblyIdentity name="System.ValueTuple" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.Extensions.Logging.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-3.1.32.0" newVersion="3.1.32.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
<system.web>
|
||||
|
||||
@@ -33,11 +33,11 @@
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="FluentFTP, Version=41.0.0.0, Culture=neutral, PublicKeyToken=f4af092b1d8df44f, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\FluentFTP.41.0.0\lib\net462\FluentFTP.dll</HintPath>
|
||||
<Reference Include="FluentFTP, Version=51.1.0.0, Culture=neutral, PublicKeyToken=f4af092b1d8df44f, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\FluentFTP.51.1.0\lib\net462\FluentFTP.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.Logging.Abstractions, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.Logging.Abstractions.2.1.0\lib\netstandard2.0\Microsoft.Extensions.Logging.Abstractions.dll</HintPath>
|
||||
<Reference Include="Microsoft.Extensions.Logging.Abstractions, Version=3.1.32.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.Logging.Abstractions.3.1.32\lib\netstandard2.0\Microsoft.Extensions.Logging.Abstractions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
@@ -45,6 +45,9 @@
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.ValueTuple.4.5.0\lib\net461\System.ValueTuple.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Web.Extensions" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
@@ -60,6 +63,9 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
<None Include="conf\testSetup-ftp.steamware.net.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="conf\testSetup.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
|
||||
+332
-193
@@ -1,7 +1,11 @@
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using static System.Net.Mime.MediaTypeNames;
|
||||
|
||||
namespace EgwProxy.Ftp.Test
|
||||
@@ -39,6 +43,8 @@ namespace EgwProxy.Ftp.Test
|
||||
/// </summary>
|
||||
private const string separator = "------------------------";
|
||||
|
||||
private static Stopwatch sw = new Stopwatch();
|
||||
|
||||
#endregion Private Fields
|
||||
|
||||
#region Private Methods
|
||||
@@ -79,215 +85,348 @@ namespace EgwProxy.Ftp.Test
|
||||
ftpClient = new Manager(testConf.server, testConf.user, testConf.password, testConf.rawCert, testConf.skipCert);
|
||||
serverTest(ftpClient);
|
||||
|
||||
// eseguo per ogni step
|
||||
foreach (var item in testConf.steps)
|
||||
bool doRepeat = true;
|
||||
while (doRepeat)
|
||||
{
|
||||
Console.WriteLine($"------ Step {item.id} | {item.description} ------");
|
||||
string esitoStep = "";
|
||||
switch (item.action)
|
||||
// eseguo per ogni step
|
||||
foreach (var item in testConf.steps)
|
||||
{
|
||||
case stepType.checkDir:
|
||||
if (item.paramList != null && item.paramList.Count > 0)
|
||||
{
|
||||
string dir2check = item.paramList[0];
|
||||
var dirCheckExists = ftpClient.dirExists(dir2check);
|
||||
esitoStep = dirCheckExists ? $"Directory {dir2check} found!" : $"Directory {dir2check} NOT found!";
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: missing parameter!";
|
||||
}
|
||||
break;
|
||||
|
||||
case stepType.checkFile:
|
||||
if (item.paramList != null && item.paramList.Count > 0)
|
||||
{
|
||||
string file2check = item.paramList[0];
|
||||
var dirCheckExists = ftpClient.fileExists(file2check);
|
||||
esitoStep = dirCheckExists ? $"File {file2check} found!" : $"File {file2check} NOT found!";
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: missing parameter!";
|
||||
}
|
||||
break;
|
||||
|
||||
case stepType.createDir:
|
||||
if (item.paramList != null && item.paramList.Count > 0)
|
||||
{
|
||||
string dir2check = item.paramList[0];
|
||||
var preTest = ftpClient.dirExists(dir2check);
|
||||
if (preTest)
|
||||
Console.WriteLine($"------ Step {item.id} | {item.description} ------");
|
||||
string esitoStep = "";
|
||||
switch (item.action)
|
||||
{
|
||||
case stepType.checkDir:
|
||||
if (item.paramList != null && item.paramList.Count > 0)
|
||||
{
|
||||
esitoStep = "Error: Folder already exists!";
|
||||
string dir2check = item.paramList[0];
|
||||
var dirCheckExists = ftpClient.DirExists(dir2check);
|
||||
esitoStep = dirCheckExists ? $"Directory {dir2check} found!" : $"Directory {dir2check} NOT found!";
|
||||
}
|
||||
else
|
||||
{
|
||||
var dirCreate = ftpClient.createDir(dir2check);
|
||||
esitoStep = dirCreate ? $"Directory {dir2check} created!" : $"Error: {dir2check} NOT created!";
|
||||
esitoStep = "Error: missing parameter!";
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: missing parameter!";
|
||||
}
|
||||
break;
|
||||
|
||||
case stepType.delDir:
|
||||
if (item.paramList != null && item.paramList.Count > 0)
|
||||
{
|
||||
string dir2check = item.paramList[0];
|
||||
var preTest = ftpClient.dirExists(dir2check);
|
||||
if (preTest)
|
||||
case stepType.checkFile:
|
||||
if (item.paramList != null && item.paramList.Count > 0)
|
||||
{
|
||||
var dirDelete = ftpClient.deleteDir(dir2check);
|
||||
esitoStep = dirDelete ? $"Directory {dir2check} deleted!" : $"Error: {dir2check} NOT deleted!";
|
||||
string file2check = item.paramList[0];
|
||||
var dirCheckExists = ftpClient.FileExists(file2check);
|
||||
esitoStep = dirCheckExists ? $"File {file2check} found!" : $"File {file2check} NOT found!";
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: Folder doesn't exists, delete not possible!";
|
||||
esitoStep = "Error: missing parameter!";
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: missing parameter!";
|
||||
}
|
||||
break;
|
||||
|
||||
case stepType.delFile:
|
||||
if (item.paramList != null && item.paramList.Count > 0)
|
||||
{
|
||||
string file2check = item.paramList[0];
|
||||
var preTest = ftpClient.fileExists(file2check);
|
||||
if (preTest)
|
||||
case stepType.createDir:
|
||||
if (item.paramList != null && item.paramList.Count > 0)
|
||||
{
|
||||
var dirDelete = ftpClient.deleteFile(file2check);
|
||||
esitoStep = dirDelete ? $"File {file2check} deleted!" : $"Error: {file2check} NOT deleted!";
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: File doesn't exists, delete not possible!";
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: missing parameter!";
|
||||
}
|
||||
break;
|
||||
|
||||
case stepType.downloadDir:
|
||||
if (item.paramList != null && item.paramList.Count > 1)
|
||||
{
|
||||
string dir2check = item.paramList[0];
|
||||
string localDir = Path.Combine(BaseDirectory, item.paramList[1]);
|
||||
var preTest = ftpClient.dirExists(dir2check);
|
||||
if (preTest)
|
||||
{
|
||||
var dirDelete = ftpClient.getDir(localDir, dir2check);
|
||||
esitoStep = dirDelete ? $"Directory {dir2check} downloaded!" : $"Error: {dir2check} NOT downloaded!";
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: Folder doesn't exists, download not possible!";
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: missing parameters!";
|
||||
}
|
||||
break;
|
||||
|
||||
case stepType.downloadFile:
|
||||
if (item.paramList != null && item.paramList.Count > 1)
|
||||
{
|
||||
string dir2check = item.paramList[0];
|
||||
string localDir = Path.Combine(BaseDirectory, item.paramList[1]);
|
||||
var preTest = ftpClient.dirExists(dir2check);
|
||||
if (preTest)
|
||||
{
|
||||
var dirDelete = ftpClient.getDir(localDir, dir2check);
|
||||
esitoStep = dirDelete ? $"Directory {dir2check} downloaded!" : $"Error: {dir2check} NOT downloaded!";
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: Folder doesn't exists, download not possible!";
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: missing parameters!";
|
||||
}
|
||||
break;
|
||||
|
||||
case stepType.uploadDir:
|
||||
if (item.paramList != null && item.paramList.Count > 1)
|
||||
{
|
||||
string remoteDir = item.paramList[0];
|
||||
string localDir = Path.Combine(BaseDirectory, item.paramList[1]);
|
||||
var dirUploaded = ftpClient.sendDir(localDir, remoteDir);
|
||||
esitoStep = dirUploaded ? $"Directory {remoteDir} uploaded!" : $"Error: {remoteDir} NOT uploaded!";
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: missing parameters!";
|
||||
}
|
||||
break;
|
||||
|
||||
case stepType.uploadFile:
|
||||
if (item.paramList != null && item.paramList.Count > 1)
|
||||
{
|
||||
string remotePath = item.paramList[0];
|
||||
string localPath = Path.Combine(BaseDirectory, item.paramList[1]);
|
||||
var fileUploaded = ftpClient.sendFile(localPath, remotePath);
|
||||
esitoStep = fileUploaded ? $"File {remotePath} uploaded!" : $"Error: {remotePath} NOT uploaded!";
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: missing parameters!";
|
||||
}
|
||||
break;
|
||||
|
||||
case stepType.listContent:
|
||||
if (item.paramList != null && item.paramList.Count > 0)
|
||||
{
|
||||
string remoteDir = item.paramList[0];
|
||||
var preTest = ftpClient.dirExists(remoteDir);
|
||||
if (preTest)
|
||||
{
|
||||
var listResult = ftpClient.listDir(remoteDir, false);
|
||||
Console.WriteLine($"Content of dir {remoteDir}:");
|
||||
foreach (var itemList in listResult)
|
||||
string dir2check = item.paramList[0];
|
||||
var preTest = ftpClient.DirExists(dir2check);
|
||||
if (preTest)
|
||||
{
|
||||
Console.WriteLine(itemList);
|
||||
esitoStep = "Error: Folder already exists!";
|
||||
}
|
||||
else
|
||||
{
|
||||
var dirCreate = ftpClient.CreateDir(dir2check);
|
||||
esitoStep = dirCreate ? $"Directory {dir2check} created!" : $"Error: {dir2check} NOT created!";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: Folder doesn't exists, list not possible!";
|
||||
esitoStep = "Error: missing parameter!";
|
||||
}
|
||||
break;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: missing parameter!";
|
||||
}
|
||||
break;
|
||||
case stepType.delDir:
|
||||
if (item.paramList != null && item.paramList.Count > 0)
|
||||
{
|
||||
string dir2check = item.paramList[0];
|
||||
var preTest = ftpClient.DirExists(dir2check);
|
||||
if (preTest)
|
||||
{
|
||||
var dirDelete = ftpClient.DeleteDir(dir2check);
|
||||
esitoStep = dirDelete ? $"Directory {dir2check} deleted!" : $"Error: {dir2check} NOT deleted!";
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: Folder doesn't exists, delete not possible!";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: missing parameter!";
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
case stepType.delFile:
|
||||
if (item.paramList != null && item.paramList.Count > 0)
|
||||
{
|
||||
string file2check = item.paramList[0];
|
||||
var preTest = ftpClient.FileExists(file2check);
|
||||
if (preTest)
|
||||
{
|
||||
var dirDelete = ftpClient.DeleteFile(file2check);
|
||||
esitoStep = dirDelete ? $"File {file2check} deleted!" : $"Error: {file2check} NOT deleted!";
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: File doesn't exists, delete not possible!";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: missing parameter!";
|
||||
}
|
||||
break;
|
||||
|
||||
case stepType.downloadDir:
|
||||
if (item.paramList != null && item.paramList.Count > 1)
|
||||
{
|
||||
string dir2check = item.paramList[0];
|
||||
string localDir = Path.Combine(BaseDirectory, item.paramList[1]);
|
||||
var preTest = ftpClient.DirExists(dir2check);
|
||||
if (preTest)
|
||||
{
|
||||
var dirDelete = ftpClient.GetDir(localDir, dir2check);
|
||||
esitoStep = dirDelete ? $"Directory {dir2check} downloaded!" : $"Error: {dir2check} NOT downloaded!";
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: Folder doesn't exists, download not possible!";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: missing parameters!";
|
||||
}
|
||||
break;
|
||||
|
||||
case stepType.downloadFile:
|
||||
if (item.paramList != null && item.paramList.Count > 1)
|
||||
{
|
||||
string dir2check = item.paramList[0];
|
||||
string localDir = Path.Combine(BaseDirectory, item.paramList[1]);
|
||||
var preTest = ftpClient.DirExists(dir2check);
|
||||
if (preTest)
|
||||
{
|
||||
var dirDelete = ftpClient.GetDir(localDir, dir2check);
|
||||
esitoStep = dirDelete ? $"Directory {dir2check} downloaded!" : $"Error: {dir2check} NOT downloaded!";
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: Folder doesn't exists, download not possible!";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: missing parameters!";
|
||||
}
|
||||
break;
|
||||
|
||||
case stepType.uploadDir:
|
||||
if (item.paramList != null && item.paramList.Count > 1)
|
||||
{
|
||||
string remoteDir = item.paramList[0];
|
||||
string localDir = Path.Combine(BaseDirectory, item.paramList[1]);
|
||||
var dirUploaded = ftpClient.SendDir(localDir, remoteDir);
|
||||
esitoStep = dirUploaded ? $"Directory {remoteDir} uploaded!" : $"Error: {remoteDir} NOT uploaded!";
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: missing parameters!";
|
||||
}
|
||||
break;
|
||||
|
||||
case stepType.uploadFile:
|
||||
if (item.paramList != null && item.paramList.Count > 1)
|
||||
{
|
||||
string remotePath = item.paramList[0];
|
||||
string localPath = Path.Combine(BaseDirectory, item.paramList[1]);
|
||||
var fileUploaded = ftpClient.SendFile(localPath, remotePath);
|
||||
esitoStep = fileUploaded ? $"File {remotePath} uploaded!" : $"Error: {remotePath} NOT uploaded!";
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: missing parameters!";
|
||||
}
|
||||
break;
|
||||
|
||||
case stepType.listContent:
|
||||
if (item.paramList != null && item.paramList.Count > 0)
|
||||
{
|
||||
string remoteDir = item.paramList[0];
|
||||
var preTest = ftpClient.DirExists(remoteDir);
|
||||
if (preTest)
|
||||
{
|
||||
var listResult = ftpClient.ListDir(remoteDir, false);
|
||||
Console.WriteLine($"Content of dir {remoteDir}:");
|
||||
foreach (var itemList in listResult)
|
||||
{
|
||||
Console.WriteLine(itemList);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: Folder doesn't exists, list not possible!";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: missing parameter!";
|
||||
}
|
||||
break;
|
||||
|
||||
case stepType.genRandomDir:
|
||||
if (item.paramList != null && item.paramList.Count > 0)
|
||||
{
|
||||
sw.Restart();
|
||||
// crea una struttura ricorsiva di 3 livelli con 20 file
|
||||
// con contenuto random ogni livello
|
||||
string localDir = Path.Combine(BaseDirectory, item.paramList[0]);
|
||||
if (!Directory.Exists(localDir))
|
||||
{
|
||||
Directory.CreateDirectory(localDir);
|
||||
}
|
||||
// ora vado a creare 3 livelli di folder
|
||||
int numDepth = 3;
|
||||
int numFile = 20;
|
||||
int numRows = 1000;
|
||||
string baseDir = localDir;
|
||||
for (int iDir = 0; iDir < numDepth; iDir++)
|
||||
{
|
||||
DateTime adesso = DateTime.Now;
|
||||
string newSub = $"{adesso:HHmmss_fff}";
|
||||
// sposto puntamento folder...
|
||||
baseDir = Path.Combine(baseDir, newSub);
|
||||
if (!Directory.Exists(baseDir))
|
||||
{
|
||||
Directory.CreateDirectory(baseDir);
|
||||
}
|
||||
for (int iFile = 0; iFile < numFile; iFile++)
|
||||
{
|
||||
string filePath = Path.Combine(baseDir, $"File_{iFile:000}.txt");
|
||||
using (StreamWriter writer = new StreamWriter(filePath))
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
// compongo un testo di numRow righe da GUID...
|
||||
for (int i = 0; i < numRows; i++)
|
||||
{
|
||||
var newId = Guid.NewGuid();
|
||||
sb.AppendLine($"{DateTime.Now:HH:mm:ss.ffffff} | {newId} | {newId}");
|
||||
}
|
||||
writer.WriteLine(sb.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
sw.Stop();
|
||||
esitoStep = $"Completata generazione test data: {sw.ElapsedMilliseconds:N1} ms";
|
||||
}
|
||||
break;
|
||||
|
||||
case stepType.mirrorDirL2R:
|
||||
if (item.paramList != null && item.paramList.Count > 1)
|
||||
{
|
||||
sw.Restart();
|
||||
string localDir = Path.Combine(BaseDirectory, item.paramList[0]);
|
||||
string remoteDir = item.paramList[1];
|
||||
var preTest = ftpClient.DirExists(remoteDir);
|
||||
if (!preTest)
|
||||
{
|
||||
ftpClient.CreateDir(remoteDir);
|
||||
}
|
||||
|
||||
var mirrorDone = ftpClient.SendDir(localDir, remoteDir, FluentFTP.FtpFolderSyncMode.Mirror);
|
||||
esitoStep = mirrorDone ? $"Directory {localDir} mirrored L2R!" : $"Error: {remoteDir} NOT mirrored!";
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: missing parameters!";
|
||||
}
|
||||
sw.Stop();
|
||||
esitoStep = $"Completato mirror L2R: {sw.ElapsedMilliseconds:N1} ms";
|
||||
break;
|
||||
|
||||
case stepType.mirrorDirR2L:
|
||||
if (item.paramList != null && item.paramList.Count > 1)
|
||||
{
|
||||
sw.Restart();
|
||||
string remoteDir = item.paramList[0];
|
||||
string localDir = Path.Combine(BaseDirectory, item.paramList[1]);
|
||||
var preTest = ftpClient.DirExists(remoteDir);
|
||||
if (preTest)
|
||||
{
|
||||
var mirrorDone = ftpClient.GetDir(localDir, remoteDir, FluentFTP.FtpFolderSyncMode.Mirror);
|
||||
esitoStep = mirrorDone ? $"Directory {remoteDir} mirrored R2L!" : $"Error: {remoteDir} NOT mirrored!";
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Dir remota non trovata!";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: missing parameters!";
|
||||
}
|
||||
sw.Stop();
|
||||
esitoStep = $"Completato mirror R2L: {sw.ElapsedMilliseconds:N1} ms";
|
||||
break;
|
||||
|
||||
case stepType.delFileList:
|
||||
if (item.paramList != null && item.paramList.Count > 1)
|
||||
{
|
||||
sw.Restart();
|
||||
string remoteDir = item.paramList[0];
|
||||
string fileSearch= item.paramList[1];
|
||||
List<FluentFTP.FtpListItem> resList = ftpClient.GetRemoteList(remoteDir, true);
|
||||
// cerco solo i file di tipo fileSearch
|
||||
List<FluentFTP.FtpListItem> resListFilt = new List<FluentFTP.FtpListItem>();
|
||||
foreach (var flItem in resList)
|
||||
{
|
||||
if(flItem.Type == FluentFTP.FtpObjectType.File && flItem.Name.EndsWith(fileSearch))
|
||||
{
|
||||
resListFilt.Add(flItem);
|
||||
}
|
||||
}
|
||||
// elimino quelli trovati
|
||||
if (resListFilt.Count>0)
|
||||
{
|
||||
var fList = resListFilt.Select(x => x.FullName).ToList();
|
||||
var numDel = ftpClient.DeleteFileList(fList);
|
||||
// indico esito eliminazione
|
||||
esitoStep = $"Eliminati {numDel}/{resListFilt.Count} file";
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "File non trovati!";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
esitoStep = "Error: missing parameters!";
|
||||
}
|
||||
sw.Stop();
|
||||
esitoStep += $"{Environment.NewLine}Completato GetRemotList : {sw.ElapsedMilliseconds:N1} ms";
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Console.WriteLine(esitoStep);
|
||||
Console.WriteLine($"------ Done Step {item.id} ------");
|
||||
Console.WriteLine();
|
||||
Console.WriteLine("Press a key to continue...");
|
||||
Console.ReadKey();
|
||||
}
|
||||
|
||||
|
||||
Console.WriteLine(esitoStep);
|
||||
Console.WriteLine($"------ Done Step {item.id} ------");
|
||||
Console.WriteLine();
|
||||
Console.WriteLine("Press a key to continue...");
|
||||
Console.ReadKey();
|
||||
Console.WriteLine("Do you want to repeat from the beginnning? esc to close");
|
||||
ConsoleKeyInfo answ = Console.ReadKey();
|
||||
doRepeat = answ.Key != ConsoleKey.Escape;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -307,7 +446,7 @@ namespace EgwProxy.Ftp.Test
|
||||
serverTest(ftpClient);
|
||||
|
||||
Console.WriteLine("--- Folder ---");
|
||||
var testExists = ftpClient.dirExists($"data/test_folder");
|
||||
var testExists = ftpClient.DirExists($"data/test_folder");
|
||||
if (testExists)
|
||||
{
|
||||
Console.WriteLine("Folder already exists!");
|
||||
@@ -315,12 +454,12 @@ namespace EgwProxy.Ftp.Test
|
||||
else
|
||||
{
|
||||
Console.WriteLine("--- Create folder ---");
|
||||
var testCreate = ftpClient.createDir($"data/test_folder");
|
||||
var testCreate = ftpClient.CreateDir($"data/test_folder");
|
||||
Console.WriteLine();
|
||||
}
|
||||
|
||||
Console.WriteLine("Contenuto folder remota: ");
|
||||
var folderContent = ftpClient.listDir("data/", true);
|
||||
var folderContent = ftpClient.ListDir("data/", true);
|
||||
foreach (var item in folderContent)
|
||||
{
|
||||
Console.WriteLine(item);
|
||||
@@ -330,9 +469,9 @@ namespace EgwProxy.Ftp.Test
|
||||
Console.ReadKey();
|
||||
|
||||
Console.WriteLine("--- Upload file ---");
|
||||
ftpClient.sendFile("test/FileProva.txt", "data/test_folder/FileProva.txt");
|
||||
ftpClient.SendFile("test/FileProva.txt", "data/test_folder/FileProva.txt");
|
||||
Console.WriteLine("Contenuto folder remota: ");
|
||||
folderContent = ftpClient.listDir("data/", true);
|
||||
folderContent = ftpClient.ListDir("data/", true);
|
||||
foreach (var item in folderContent)
|
||||
{
|
||||
Console.WriteLine(item);
|
||||
@@ -344,9 +483,9 @@ namespace EgwProxy.Ftp.Test
|
||||
|
||||
Console.WriteLine("--- Download File ---");
|
||||
|
||||
ftpClient.getFile("test/FileProva_02.txt", "data/test_folder/FileProva.txt");
|
||||
ftpClient.GetFile("test/FileProva_02.txt", "data/test_folder/FileProva.txt");
|
||||
Console.WriteLine("Contenuto folder remota: ");
|
||||
folderContent = ftpClient.listDir("data/", true);
|
||||
folderContent = ftpClient.ListDir("data/", true);
|
||||
foreach (var item in folderContent)
|
||||
{
|
||||
Console.WriteLine(item);
|
||||
@@ -361,9 +500,9 @@ namespace EgwProxy.Ftp.Test
|
||||
private static void serverTest(Manager ftpClient)
|
||||
{
|
||||
Console.WriteLine(separator);
|
||||
var testServer = ftpClient.serverOk();
|
||||
var testServer = ftpClient.ServerOk();
|
||||
Console.WriteLine($"Test connessione: esito {testServer}");
|
||||
var srvType = ftpClient.serverType();
|
||||
var srvType = ftpClient.ServerType();
|
||||
Console.WriteLine($"Server: {srvType}");
|
||||
Console.WriteLine(separator);
|
||||
Console.WriteLine();
|
||||
|
||||
@@ -32,11 +32,15 @@ namespace EgwProxy.Ftp.Test
|
||||
createDir,
|
||||
delDir,
|
||||
delFile,
|
||||
delFileList,
|
||||
downloadDir,
|
||||
downloadFile,
|
||||
genRandomDir,
|
||||
listContent,
|
||||
mirrorDirL2R,
|
||||
mirrorDirR2L,
|
||||
uploadDir,
|
||||
uploadFile,
|
||||
listContent
|
||||
uploadFile
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"server": "ftp.steamware.net",
|
||||
"user": "testftpuser",
|
||||
"password": "we4reFromB3rghem!",
|
||||
"rawCert": "",
|
||||
"skipCert": true,
|
||||
"steps": [
|
||||
{
|
||||
"id": "01",
|
||||
"description": "Test base directory",
|
||||
"action": "checkDir",
|
||||
"paramList": [
|
||||
"data/"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "02",
|
||||
"description": "Create directory",
|
||||
"action": "createDir",
|
||||
"paramList": [
|
||||
"data/test_directory"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "03",
|
||||
"description": "Upload File",
|
||||
"action": "uploadFile",
|
||||
"paramList": [
|
||||
"data/test_directory/FileProva.txt",
|
||||
"test/FileProva.txt"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "04",
|
||||
"description": "Browse Directory",
|
||||
"action": "listContent",
|
||||
"paramList": [
|
||||
"data/test_directory/"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "05",
|
||||
"description": "Upload File",
|
||||
"action": "uploadFile",
|
||||
"paramList": [
|
||||
"data/test_directory/FileProva_02.txt",
|
||||
"test/FileProva.txt"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "06",
|
||||
"description": "Browse Directory",
|
||||
"action": "listContent",
|
||||
"paramList": [
|
||||
"data/test_directory/"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "07",
|
||||
"description": "Download Directory",
|
||||
"action": "downloadDir",
|
||||
"paramList": [
|
||||
"data/test_directory/",
|
||||
"temp/mirror"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "08",
|
||||
"description": "Delete Remote Directory",
|
||||
"action": "delDir",
|
||||
"paramList": [
|
||||
"data/test_directory/"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"server": "ftp.steamware.net",
|
||||
"server": "egw-tscale-04",
|
||||
"user": "testftpuser",
|
||||
"password": "we4reFromB3rghem!",
|
||||
"rawCert": "",
|
||||
@@ -7,70 +7,38 @@
|
||||
"steps": [
|
||||
{
|
||||
"id": "01",
|
||||
"description": "Test base directory",
|
||||
"action": "checkDir",
|
||||
"description": "Generate Local Folder Data",
|
||||
"action": "delFileList",
|
||||
"paramList": [
|
||||
"data/"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "02",
|
||||
"description": "Create directory",
|
||||
"action": "createDir",
|
||||
"paramList": [
|
||||
"data/test_directory"
|
||||
"ftpdata/syncfolder/",
|
||||
"File_000.txt"
|
||||
]
|
||||
},
|
||||
//{
|
||||
// "id": "02",
|
||||
// "description": "Mirror Local 2 Remote Directory",
|
||||
// "action": "mirrorDirL2R",
|
||||
// "paramList": [
|
||||
// "temp\\localsource",
|
||||
// "ftpdata/syncfolder"
|
||||
// ]
|
||||
//},
|
||||
{
|
||||
"id": "03",
|
||||
"description": "Upload File",
|
||||
"action": "uploadFile",
|
||||
"description": "Mirror Remote 2 Local Directory",
|
||||
"action": "mirrorDirR2L",
|
||||
"paramList": [
|
||||
"data/test_directory/FileProva.txt",
|
||||
"test/FileProva.txt"
|
||||
"ftpdata/syncfolder",
|
||||
"temp\\localdest"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "04",
|
||||
"description": "Browse Directory",
|
||||
"action": "listContent",
|
||||
"paramList": [
|
||||
"data/test_directory/"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "05",
|
||||
"description": "Upload File",
|
||||
"action": "uploadFile",
|
||||
"paramList": [
|
||||
"data/test_directory/FileProva_02.txt",
|
||||
"test/FileProva.txt"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "06",
|
||||
"description": "Browse Directory",
|
||||
"action": "listContent",
|
||||
"paramList": [
|
||||
"data/test_directory/"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "07",
|
||||
"description": "Download Directory",
|
||||
"action": "downloadDir",
|
||||
"paramList": [
|
||||
"data/test_directory/",
|
||||
"temp/mirror"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "08",
|
||||
"description": "Delete Remote Directory",
|
||||
"action": "delDir",
|
||||
"paramList": [
|
||||
"data/test_directory/"
|
||||
]
|
||||
}
|
||||
//{
|
||||
// "id": "04",
|
||||
// "description": "Delete Remote Directory",
|
||||
// "action": "delDir",
|
||||
// "paramList": [
|
||||
// "ftpdata/syncfolder"
|
||||
// ]
|
||||
//}
|
||||
]
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="FluentFTP" version="41.0.0" targetFramework="net462" />
|
||||
<package id="Microsoft.Extensions.Logging.Abstractions" version="2.1.0" targetFramework="net462" />
|
||||
<package id="FluentFTP" version="51.1.0" targetFramework="net462" />
|
||||
<package id="Microsoft.Extensions.Logging.Abstractions" version="3.1.32" targetFramework="net462" />
|
||||
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net462" />
|
||||
<package id="System.ValueTuple" version="4.5.0" targetFramework="net462" />
|
||||
</packages>
|
||||
@@ -31,14 +31,22 @@
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="FluentFTP, Version=41.0.0.0, Culture=neutral, PublicKeyToken=f4af092b1d8df44f, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\FluentFTP.41.0.0\lib\net462\FluentFTP.dll</HintPath>
|
||||
<Reference Include="FluentFTP, Version=51.1.0.0, Culture=neutral, PublicKeyToken=f4af092b1d8df44f, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\FluentFTP.51.1.0\lib\net462\FluentFTP.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.Logging.Abstractions, Version=2.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.Logging.Abstractions.2.1.0\lib\netstandard2.0\Microsoft.Extensions.Logging.Abstractions.dll</HintPath>
|
||||
<Reference Include="Microsoft.Extensions.Logging.Abstractions, Version=3.1.32.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.Logging.Abstractions.3.1.32\lib\netstandard2.0\Microsoft.Extensions.Logging.Abstractions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\NLog.5.3.1\lib\net46\NLog.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.IO.Compression, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL" />
|
||||
<Reference Include="System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.ValueTuple.4.5.0\lib\net461\System.ValueTuple.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
@@ -51,6 +59,7 @@
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.config" />
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
|
||||
+277
-71
@@ -1,4 +1,5 @@
|
||||
using FluentFTP;
|
||||
using NLog;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@@ -7,7 +8,7 @@ using System.Net.Security;
|
||||
namespace EgwProxy.Ftp
|
||||
{
|
||||
/// <summary>
|
||||
/// Client per operazioni FTP, basato su FluentFTP: https://github.com/robinrodricks/FluentFTP/wiki/Quick-Start-Example
|
||||
/// Client per operazioni FTP, basato su FluentFTP: https://github.com/robinrodricks/FluentFTP https://github.com/robinrodricks/FluentFTP/wiki/Quick-Start-Example
|
||||
/// </summary>
|
||||
public class Manager
|
||||
{
|
||||
@@ -40,22 +41,38 @@ namespace EgwProxy.Ftp
|
||||
{
|
||||
client = new FtpClient(server);
|
||||
}
|
||||
client.Config.RetryAttempts = 3;
|
||||
IsConfigured = true;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Public Constructors
|
||||
|
||||
#region Public Properties
|
||||
|
||||
public bool IsConfigured { get; set; } = false;
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Public Methods
|
||||
|
||||
/// <summary>
|
||||
/// Creazione directory remota
|
||||
/// </summary>
|
||||
/// <param name="remoteDir">Nome directory remota da creare (ad es: @"/public_html/videos")</param>
|
||||
public bool createDir(string remoteDir)
|
||||
public bool CreateDir(string remoteDir)
|
||||
{
|
||||
tryConnect();
|
||||
// upload della folder + files, cancellazione extra files = mirroring
|
||||
bool answ = client.CreateDirectory(remoteDir);
|
||||
bool answ = false;
|
||||
try
|
||||
{
|
||||
tryConnect();
|
||||
// upload della folder + files, cancellazione extra files = mirroring
|
||||
answ = client.CreateDirectory(remoteDir);
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
Log.Error($"Eccezione in CreateDir{Environment.NewLine}{exc}");
|
||||
}
|
||||
// chiudo!
|
||||
client.Disconnect();
|
||||
return answ;
|
||||
@@ -65,54 +82,97 @@ namespace EgwProxy.Ftp
|
||||
/// Eliminazionedirectory remota
|
||||
/// </summary>
|
||||
/// <param name="remoteDir">Nome directory remota da eliminare</param>
|
||||
public bool deleteDir(string remoteDir)
|
||||
public bool DeleteDir(string remoteDir)
|
||||
{
|
||||
tryConnect();
|
||||
bool answ = false;
|
||||
try
|
||||
{
|
||||
tryConnect();
|
||||
// Elimina folder
|
||||
client.DeleteDirectory(remoteDir);
|
||||
answ = true;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
catch (Exception exc)
|
||||
{
|
||||
Log.Error($"Eccezione in DeleteDir{Environment.NewLine}{exc}");
|
||||
}
|
||||
// chiudo!
|
||||
client.Disconnect();
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Eliminazionedirectory remota
|
||||
/// Eliminazione file remoto
|
||||
/// </summary>
|
||||
/// <param name="remoteFile">Nome file remoto da eliminare</param>
|
||||
public bool deleteFile(string remoteFile)
|
||||
public bool DeleteFile(string remoteFile)
|
||||
{
|
||||
tryConnect();
|
||||
bool answ = false;
|
||||
tryConnect();
|
||||
try
|
||||
{
|
||||
// Elimina folder
|
||||
client.DeleteFile(remoteFile);
|
||||
answ = true;
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
catch (Exception exc)
|
||||
{
|
||||
Log.Error($"Eccezione in DeleteFile{Environment.NewLine}{exc}");
|
||||
}
|
||||
// chiudo!
|
||||
client.Disconnect();
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Eliminazione lista di files remoti
|
||||
/// </summary>
|
||||
/// <param name="remFileList">Lista file remoti da eliminare</param>
|
||||
public int DeleteFileList(List<string> remFileList)
|
||||
{
|
||||
int numDone = 0;
|
||||
tryConnect();
|
||||
try
|
||||
{
|
||||
foreach (var remoteFile in remFileList)
|
||||
{
|
||||
// Elimina folder
|
||||
client.DeleteFile(remoteFile);
|
||||
// verifico se sia presente...
|
||||
bool fExist = client.FileExists(remoteFile);
|
||||
if (!fExist)
|
||||
{
|
||||
numDone++;
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
Log.Error($"Eccezione in DeleteFileList{Environment.NewLine}{exc}");
|
||||
}
|
||||
// chiudo!
|
||||
client.Disconnect();
|
||||
return numDone;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Verifica esistenza directory su server FTP remoto
|
||||
/// </summary>
|
||||
/// <param name="remotePath">Percorso remoto da testare (ad es "/htdocs/extras/")</param>
|
||||
/// <returns></returns>
|
||||
public bool dirExists(string remotePath)
|
||||
public bool DirExists(string remotePath)
|
||||
{
|
||||
tryConnect();
|
||||
bool answ = client.DirectoryExists(remotePath);
|
||||
// chiudo!
|
||||
bool answ = false;
|
||||
try
|
||||
{
|
||||
tryConnect();
|
||||
answ = client.DirectoryExists(remotePath);
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
Log.Error($"Eccezione in DirExists{Environment.NewLine}{exc}");
|
||||
}
|
||||
// c chiudo!
|
||||
client.Disconnect();
|
||||
return answ;
|
||||
}
|
||||
@@ -122,10 +182,18 @@ namespace EgwProxy.Ftp
|
||||
/// </summary>
|
||||
/// <param name="remotePath">Percorso remoto da testare (ad es "/htdocs/big2.txt")</param>
|
||||
/// <returns></returns>
|
||||
public bool fileExists(string remotePath)
|
||||
public bool FileExists(string remotePath)
|
||||
{
|
||||
tryConnect();
|
||||
bool answ = client.FileExists(remotePath);
|
||||
bool answ = false;
|
||||
try
|
||||
{
|
||||
tryConnect();
|
||||
answ = client.FileExists(remotePath);
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
Log.Error($"Eccezione in FileExists{Environment.NewLine}{exc}");
|
||||
}
|
||||
// chiudo!
|
||||
client.Disconnect();
|
||||
return answ;
|
||||
@@ -134,20 +202,25 @@ namespace EgwProxy.Ftp
|
||||
/// <summary>
|
||||
/// Scaricamento intera directory, modalità MIRROR
|
||||
/// </summary>
|
||||
/// <param name="dirPath">Path directory da inviare (ad es:@"C:\website\videos\")</param>
|
||||
/// <param name="localDir">Path directory da inviare (ad es:@"C:\website\videos\")</param>
|
||||
/// <param name="remoteDir">Nome remoto file per caricamento (ad es: @"/public_html/videos")</param>
|
||||
public bool getDir(string dirPath, string remoteDir)
|
||||
/// <param name="syncMode">Modalità di sync (default = mirror)</param>
|
||||
public bool GetDir(string localDir, string remoteDir, FtpFolderSyncMode syncMode = FtpFolderSyncMode.Mirror)
|
||||
{
|
||||
bool answ = false;
|
||||
tryConnect();
|
||||
try
|
||||
{
|
||||
tryConnect();
|
||||
//var result = client.DownloadDirectory(localDir, remoteDir, FtpFolderSyncMode.Mirror, FtpLocalExists.Overwrite, FtpVerify.Retry);
|
||||
// upload della folder + files, cancellazione extra files = mirroring
|
||||
var result = client.DownloadDirectory(dirPath, remoteDir, FtpFolderSyncMode.Mirror);
|
||||
answ = (result != null && result.Count > 0);
|
||||
var result = client.DownloadDirectory(localDir, remoteDir, syncMode);
|
||||
//answ = (result != null && result.Count > 0);
|
||||
answ = result != null && result.Where(x => !x.IsSuccess).Count() == 0;
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
Log.Error($"Eccezione in GetDir{Environment.NewLine}{exc}");
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
// chiudo!
|
||||
client.Disconnect();
|
||||
return answ;
|
||||
@@ -158,13 +231,20 @@ namespace EgwProxy.Ftp
|
||||
/// </summary>
|
||||
/// <param name="fileName">Path locale del file da inviare (ad es: @"C:\MyVideo.mp4")</param>
|
||||
/// <param name="remoteName">NOme remoto file per caricamento (ad es: "/htdocs/MyVideo.mp4")</param>
|
||||
public bool getFile(string fileName, string remoteName)
|
||||
public bool GetFile(string fileName, string remoteName)
|
||||
{
|
||||
bool answ = false;
|
||||
tryConnect();
|
||||
// effettuo caricamento puntuale
|
||||
var result = client.DownloadFile(fileName, remoteName);
|
||||
answ = result == FtpStatus.Success;
|
||||
try
|
||||
{
|
||||
tryConnect();
|
||||
// effettuo caricamento puntuale
|
||||
var result = client.DownloadFile(fileName, remoteName);
|
||||
answ = result == FtpStatus.Success;
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
Log.Error($"Eccezione in GetFile{Environment.NewLine}{exc}");
|
||||
}
|
||||
// chiudo!
|
||||
client.Disconnect();
|
||||
return answ;
|
||||
@@ -173,23 +253,63 @@ namespace EgwProxy.Ftp
|
||||
/// <summary>
|
||||
/// Mostra contenuto directory remota
|
||||
/// </summary>
|
||||
/// <param name="remoteDir">Nome directory remota da leggere (ad es: @"/public_html/videos")</param>
|
||||
/// <param name="remoteDir">Nome directory remota da leggere con (ad es: @"/public_html/videos")</param>
|
||||
/// <param name="recurse">Indica se fare search ricorsivo</param>
|
||||
public List<string> listDir(string remoteDir, bool recurse)
|
||||
public List<FtpListItem> GetRemoteList(string remoteDir, bool recurse)
|
||||
{
|
||||
tryConnect();
|
||||
// upload della folder + files, cancellazione extra files = mirroring
|
||||
FtpListItem[] dirContent;
|
||||
if (recurse)
|
||||
List<FtpListItem> answ = new List<FtpListItem>();
|
||||
try
|
||||
{
|
||||
dirContent = client.GetListing(remoteDir, FtpListOption.Recursive);
|
||||
tryConnect();
|
||||
// recupero listing remoto directory
|
||||
FtpListItem[] dirContent;
|
||||
if (recurse)
|
||||
{
|
||||
dirContent = client.GetListing(remoteDir, FtpListOption.Recursive);
|
||||
}
|
||||
else
|
||||
{
|
||||
dirContent = client.GetListing(remoteDir);
|
||||
}
|
||||
answ = dirContent.ToList();
|
||||
}
|
||||
else
|
||||
catch (Exception exc)
|
||||
{
|
||||
dirContent = client.GetListing(remoteDir);
|
||||
Log.Error($"Eccezione in GetRemoteList{Environment.NewLine}{exc}");
|
||||
}
|
||||
client.Disconnect();
|
||||
// chiudo!
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Mostra contenuto directory remota
|
||||
/// </summary>
|
||||
/// <param name="remoteDir">Nome directory remota da leggere (ad es: @"/public_html/videos")</param>
|
||||
/// <param name="recurse">Indica se fare search ricorsivo</param>
|
||||
public List<string> ListDir(string remoteDir, bool recurse)
|
||||
{
|
||||
List<string> answ = new List<string>();
|
||||
try
|
||||
{
|
||||
tryConnect();
|
||||
// upload della folder + files, cancellazione extra files = mirroring
|
||||
FtpListItem[] dirContent;
|
||||
if (recurse)
|
||||
{
|
||||
dirContent = client.GetListing(remoteDir, FtpListOption.Recursive);
|
||||
}
|
||||
else
|
||||
{
|
||||
dirContent = client.GetListing(remoteDir);
|
||||
}
|
||||
answ = dirContent.Select(x => $"{x.Type} - {x.Name}").ToList();
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
Log.Error($"Eccezione in ListDir{Environment.NewLine}{exc}");
|
||||
}
|
||||
client.Disconnect();
|
||||
var answ = dirContent.Select(x => $"{x.Type} - {x.Name}").ToList();
|
||||
// chiudo!
|
||||
return answ;
|
||||
}
|
||||
@@ -197,15 +317,72 @@ namespace EgwProxy.Ftp
|
||||
/// <summary>
|
||||
/// Caricamento intera directory, modalità MIRROR
|
||||
/// </summary>
|
||||
/// <param name="dirPath">Path directory da inviare (ad es:@"C:\website\videos\")</param>
|
||||
/// <param name="localDir">Path directory da inviare (ad es:@"C:\website\videos\")</param>
|
||||
/// <param name="remoteDir">Nome remoto file per caricamento (ad es: @"/public_html/videos")</param>
|
||||
public bool sendDir(string dirPath, string remoteDir)
|
||||
/// <param name="syncMode">Modalità di sync (default = mirror)</param>
|
||||
public List<FtpResult> MirrorLocalDir(string localDir, string remoteDir, FtpFolderSyncMode syncMode = FtpFolderSyncMode.Mirror)
|
||||
{
|
||||
List<FtpResult> jobResult = new List<FtpResult>();
|
||||
try
|
||||
{
|
||||
tryConnect();
|
||||
jobResult = client.UploadDirectory(localDir, remoteDir, syncMode);
|
||||
//answ = (result != null && result.Count > 0);
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
Log.Error($"Eccezione in MirrorLocalDir{Environment.NewLine}{exc}");
|
||||
}
|
||||
// chiudo!
|
||||
client.Disconnect();
|
||||
return jobResult;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Scaricamento intera directory, modalità MIRROR, con restituzione elenco esiti
|
||||
/// </summary>
|
||||
/// <param name="localDir">Path directory da inviare (ad es:@"C:\website\videos\")</param>
|
||||
/// <param name="remoteDir">Nome remoto file per caricamento (ad es: @"/public_html/videos")</param>
|
||||
/// <param name="syncMode">Modalità di sync (default = mirror)</param>
|
||||
public List<FtpResult> MirrorRemoteDir(string localDir, string remoteDir, FtpFolderSyncMode syncMode = FtpFolderSyncMode.Mirror)
|
||||
{
|
||||
List<FtpResult> jobResult = new List<FtpResult>();
|
||||
try
|
||||
{
|
||||
tryConnect();
|
||||
jobResult = client.DownloadDirectory(localDir, remoteDir, syncMode);
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
Log.Error($"Eccezione in mirrorRemoteDir{Environment.NewLine}{exc}");
|
||||
}
|
||||
// chiudo!
|
||||
client.Disconnect();
|
||||
return jobResult;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Caricamento intera directory, modalità MIRROR
|
||||
/// </summary>
|
||||
/// <param name="localDir">Path directory da inviare (ad es:@"C:\website\videos\")</param>
|
||||
/// <param name="remoteDir">Nome remoto file per caricamento (ad es: @"/public_html/videos")</param>
|
||||
/// <param name="syncMode">Modalità di sync (default = mirror)</param>
|
||||
public bool SendDir(string localDir, string remoteDir, FtpFolderSyncMode syncMode = FtpFolderSyncMode.Mirror)
|
||||
{
|
||||
bool answ = false;
|
||||
tryConnect();
|
||||
// upload della folder + files, cancellazione extra files = mirroring
|
||||
var result = client.UploadDirectory(dirPath, remoteDir, FtpFolderSyncMode.Mirror);
|
||||
answ = (result != null && result.Count > 0);
|
||||
try
|
||||
{
|
||||
tryConnect();
|
||||
//var result = client.UploadDirectory(localDir, remoteDir, FtpFolderSyncMode.Mirror, FtpRemoteExists.OverwriteInPlace, FtpVerify.Retry);
|
||||
// upload della folder + files, cancellazione extra files = mirroring
|
||||
var result = client.UploadDirectory(localDir, remoteDir, syncMode);
|
||||
//answ = (result != null && result.Count > 0);
|
||||
answ = result != null && result.Where(x => !x.IsSuccess).Count() == 0;
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
Log.Error($"Eccezione in SendDir{Environment.NewLine}{exc}");
|
||||
}
|
||||
// chiudo!
|
||||
client.Disconnect();
|
||||
return answ;
|
||||
@@ -216,17 +393,25 @@ namespace EgwProxy.Ftp
|
||||
/// </summary>
|
||||
/// <param name="fileName">Path locale del file da inviare (ad es: @"C:\MyVideo.mp4")</param>
|
||||
/// <param name="remoteName">NOme remoto file per caricamento (ad es: "/htdocs/MyVideo.mp4")</param>
|
||||
public bool sendFile(string fileName, string remoteName)
|
||||
public bool SendFile(string fileName, string remoteName)
|
||||
{
|
||||
bool answ = false;
|
||||
tryConnect();
|
||||
// effettuo caricamento puntuale
|
||||
var result = client.UploadFile(fileName, remoteName);
|
||||
answ = result == FtpStatus.Success;
|
||||
// se insuccesso --> controllo se ci sia file...
|
||||
if (!answ)
|
||||
try
|
||||
{
|
||||
answ = fileExists(remoteName);
|
||||
tryConnect();
|
||||
tryConnect();
|
||||
// effettuo caricamento puntuale
|
||||
var result = client.UploadFile(fileName, remoteName);
|
||||
answ = result == FtpStatus.Success;
|
||||
// se insuccesso --> controllo se ci sia file...
|
||||
if (!answ)
|
||||
{
|
||||
answ = FileExists(remoteName);
|
||||
}
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
Log.Error($"Eccezione in SendFile{Environment.NewLine}{exc}");
|
||||
}
|
||||
// chiudo!
|
||||
client.Disconnect();
|
||||
@@ -237,10 +422,18 @@ namespace EgwProxy.Ftp
|
||||
/// Verifica connessione con server FTP remoto
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public bool serverOk()
|
||||
public bool ServerOk()
|
||||
{
|
||||
tryConnect();
|
||||
bool answ = client.IsConnected;
|
||||
bool answ = false;
|
||||
try
|
||||
{
|
||||
tryConnect();
|
||||
answ = client.IsConnected;
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
Log.Error($"Eccezione in ServerOk{Environment.NewLine}{exc}");
|
||||
}
|
||||
// chiudo!
|
||||
client.Disconnect();
|
||||
return answ;
|
||||
@@ -250,13 +443,22 @@ namespace EgwProxy.Ftp
|
||||
/// Restituisce tipo server remoto
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string serverType()
|
||||
public string ServerType()
|
||||
{
|
||||
tryConnect();
|
||||
FtpServer srvType = client.ServerType;
|
||||
string answ = "";
|
||||
try
|
||||
{
|
||||
tryConnect();
|
||||
FtpServer srvType = client.ServerType;
|
||||
answ = $"{srvType}";
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
Log.Error($"Eccezione in ServerType{Environment.NewLine}{exc}");
|
||||
}
|
||||
// chiudo!
|
||||
client.Disconnect();
|
||||
return $"{srvType}";
|
||||
return answ;
|
||||
}
|
||||
|
||||
#endregion Public Methods
|
||||
@@ -270,17 +472,21 @@ namespace EgwProxy.Ftp
|
||||
#region Protected Properties
|
||||
|
||||
protected string _passwd { get; set; } = "";
|
||||
|
||||
protected string _rawCert { get; set; } = "";
|
||||
protected string _server { get; set; } = "";
|
||||
|
||||
protected string _userName { get; set; } = "";
|
||||
|
||||
#endregion Protected Properties
|
||||
|
||||
#region Private Fields
|
||||
|
||||
private static Logger Log = LogManager.GetCurrentClassLogger();
|
||||
|
||||
#endregion Private Fields
|
||||
|
||||
#region Private Properties
|
||||
|
||||
private FtpClient client { get; set; }
|
||||
private FtpClient client { get; set; } = new FtpClient();
|
||||
|
||||
#endregion Private Properties
|
||||
|
||||
@@ -294,9 +500,9 @@ namespace EgwProxy.Ftp
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine($"{e.PolicyErrors}");
|
||||
Console.WriteLine($"Cert:{Environment.NewLine}{e.Certificate}");
|
||||
Console.WriteLine($"RawString:{Environment.NewLine}{e.Certificate.GetRawCertDataString()}");
|
||||
Log.Error($"{e.PolicyErrors}");
|
||||
Log.Error($"Cert:{Environment.NewLine}{e.Certificate}");
|
||||
Log.Error($"RawString:{Environment.NewLine}{e.Certificate.GetRawCertDataString()}");
|
||||
throw new Exception($"{e.PolicyErrors}{Environment.NewLine}{e.Certificate.GetRawCertDataString()}");
|
||||
}
|
||||
}
|
||||
@@ -306,7 +512,7 @@ namespace EgwProxy.Ftp
|
||||
// connect to the server and automatically detect working FTP settings
|
||||
if (!client.IsConnected)
|
||||
{
|
||||
var profiles = client.AutoDetect();
|
||||
var profiles = client.AutoDetect(true, true);
|
||||
#if false
|
||||
// if any profiles are found, print the code to the console
|
||||
if (profiles.Count > 0)
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.Extensions.Logging.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-3.1.32.0" newVersion="3.1.32.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
@@ -1,5 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="FluentFTP" version="41.0.0" targetFramework="net462" />
|
||||
<package id="Microsoft.Extensions.Logging.Abstractions" version="2.1.0" targetFramework="net462" />
|
||||
<package id="FluentFTP" version="51.1.0" targetFramework="net462" />
|
||||
<package id="Microsoft.Extensions.Logging.Abstractions" version="3.1.32" targetFramework="net462" />
|
||||
<package id="NLog" version="5.3.1" targetFramework="net462" />
|
||||
<package id="System.ValueTuple" version="4.5.0" targetFramework="net462" />
|
||||
</packages>
|
||||
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package >
|
||||
<metadata>
|
||||
<id>EgwProxy.Gomba</id>
|
||||
<version>#version#</version>
|
||||
<title>EgwProxy.Gomba</title>
|
||||
<authors>Samuele E. Locatelli, EgalWare</authors>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<license type="expression">MIT</license>
|
||||
<description>Libreria per comunicazione con adapter SOAP XML delle bilance Gomba x scambio dati (IOB-WIN-NEXT) - beta/unstable</description>
|
||||
<releaseNotes>#releaseNotes#</releaseNotes>
|
||||
<copyright>#copyright#</copyright>
|
||||
<tags>EgwProxy.Gomba EgwProxy Gomba</tags>
|
||||
<dependencies>
|
||||
<dependency id="System.Runtime.Serialization.Primitives" version="4.3.0" />
|
||||
<dependency id="System.Runtime.Serialization.Xml" version="4.3.0" />
|
||||
<dependency id="System.ServiceModel.Http" version="4.6.0" />
|
||||
<dependency id="System.ServiceModel.NetTcp" version="4.6.0" />
|
||||
<dependency id="System.ServiceModel.Primitives" version="4.6.0" />
|
||||
<dependency id="System.ServiceModel.Security" version="4.6.0" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="EgwProxy.Gomba\bin\Debug\EgwProxy*.dll" target="lib" />
|
||||
<file src="EgwProxy.Gomba\bin\Debug\EgwProxy*.config" target="lib" />
|
||||
<file src="EgwProxy.Gomba\bin\Debug\EgwProxy*.pdb" target="lib" />
|
||||
</files>
|
||||
</package>
|
||||
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package >
|
||||
<metadata>
|
||||
<id>EgwProxy.Gomba</id>
|
||||
<version>#version#</version>
|
||||
<title>EgwProxy.Gomba</title>
|
||||
<authors>Samuele E. Locatelli, EgalWare</authors>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<license type="expression">MIT</license>
|
||||
<description>Libreria per comunicazione con adapter SOAP XML delle bilance Gomba x scambio dati (IOB-WIN-NEXT)</description>
|
||||
<releaseNotes>#releaseNotes#</releaseNotes>
|
||||
<copyright>#copyright#</copyright>
|
||||
<tags>EgwProxy.Gomba EgwProxy Gomba</tags>
|
||||
<dependencies>
|
||||
<dependency id="System.Runtime.Serialization.Primitives" version="4.3.0" />
|
||||
<dependency id="System.Runtime.Serialization.Xml" version="4.3.0" />
|
||||
<dependency id="System.ServiceModel.Http" version="4.6.0" />
|
||||
<dependency id="System.ServiceModel.NetTcp" version="4.6.0" />
|
||||
<dependency id="System.ServiceModel.Primitives" version="4.6.0" />
|
||||
<dependency id="System.ServiceModel.Security" version="4.6.0" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="EgwProxy.Gomba\bin\Release\EgwProxy*.dll" target="lib" />
|
||||
<file src="EgwProxy.Gomba\bin\Release\EgwProxy*.config" target="lib" />
|
||||
</files>
|
||||
</package>
|
||||
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
|
||||
</startup>
|
||||
<system.serviceModel>
|
||||
<bindings>
|
||||
<basicHttpBinding>
|
||||
<binding name="lwpServicePortBinding">
|
||||
<security mode="Transport" />
|
||||
</binding>
|
||||
</basicHttpBinding>
|
||||
</bindings>
|
||||
<client>
|
||||
<endpoint address="https://308gomba:8000/ws" binding="basicHttpBinding"
|
||||
bindingConfiguration="lwpServicePortBinding" contract="GombaServ.lwpService"
|
||||
name="lwpServicePort" />
|
||||
</client>
|
||||
</system.serviceModel>
|
||||
</configuration>
|
||||
@@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{2B7F1536-61D1-4F05-AF8D-62A52D114479}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>EgwProxy.Gomba.Test</RootNamespace>
|
||||
<AssemblyName>EgwProxy.Gomba.Test</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.ServiceModel" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\EgwProxy.Gomba\EgwProxy.Gomba.csproj">
|
||||
<Project>{cc377124-1b94-40c1-b552-d6d42eb2bf27}</Project>
|
||||
<Name>EgwProxy.Gomba</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
@@ -0,0 +1,107 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace EgwProxy.Gomba.Test
|
||||
{
|
||||
internal class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
// gestire da conf se saltare certificato
|
||||
ServicePointManager.ServerCertificateValidationCallback = delegate { return true; };
|
||||
|
||||
string linea = "-----------------------------";
|
||||
Console.WriteLine(linea);
|
||||
Console.WriteLine("Test comunicazione Gomba");
|
||||
Console.WriteLine(linea);
|
||||
Console.WriteLine();
|
||||
|
||||
string escimi = "N";
|
||||
GombaServ.lwpServiceClient gombaConn;
|
||||
// init proxy SOAP
|
||||
if (false)
|
||||
{
|
||||
//gombaConn = new GombaServ.lwpServiceClient();
|
||||
}
|
||||
else
|
||||
{
|
||||
//gombaConn = new GombaServ.lwpServiceClient("lwpServicePort", new System.ServiceModel.EndpointAddress("https://172.28.31.56:8000/ws"));
|
||||
gombaConn = new GombaServ.lwpServiceClient("lwpServicePort", new System.ServiceModel.EndpointAddress("https://308gomba:8000/ws"));
|
||||
}
|
||||
|
||||
Console.WriteLine("Premere un tasto per iniziare test.");
|
||||
escimi = Console.ReadLine().ToUpper();
|
||||
|
||||
int idxReq = 10;
|
||||
// lettura
|
||||
while (escimi != "E")
|
||||
{
|
||||
string pesata = "";
|
||||
Console.WriteLine($"{linea} {DateTime.Now:HH:mm:ss.fff} {linea}");
|
||||
try
|
||||
{
|
||||
string dataFrom = "01/01/2023";
|
||||
string dataTo = DateTime.Today.AddDays(1).ToString("dd/MM/yyyy");
|
||||
var results = gombaConn.reqWeightList("ALL", dataFrom, dataTo);
|
||||
foreach (var item in results)
|
||||
{
|
||||
pesata = $"rm: {item.rm} | DI: {item.dateIn} | DO: {item.dateOut} | BI: {item.balanceIn} | BO: {item.balanceOut} | WI: {item.weightIn} | WO: {item.weightOut} | Feed: {item.feedback} | note: {item.notes}";
|
||||
//pesata = $"rm: {item.rm} | DI: {item.dateIn} | DO: {item.dateOut} | BI: {item.balanceIn} | BO: {item.balanceOut} | WI: {item.weightIn} | WO: {item.weightOut} | net: {item.net} | MI: {item.idMemIn} | MO: {item.idMemOut} | Feed: {item.feedback} | note: {item.notes}";
|
||||
Console.WriteLine(pesata);
|
||||
}
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
Console.WriteLine($"Errore:{Environment.NewLine}{exc}");
|
||||
}
|
||||
Console.WriteLine($"{linea} {DateTime.Now:HH:mm:ss.fff} {linea}");
|
||||
Console.WriteLine();
|
||||
Console.WriteLine();
|
||||
Console.WriteLine();
|
||||
Console.WriteLine("Cosa vuoi fare ora? I = pesata IN, O= pesata OUT, E = uscita, altrimenti rilettura");
|
||||
escimi = Console.ReadLine().ToUpper();
|
||||
|
||||
DateTime adesso = DateTime.Now;
|
||||
// invio pesata
|
||||
if (escimi == "I")
|
||||
{
|
||||
try
|
||||
{
|
||||
var answ = gombaConn.memWeight("IN", $"ODL000000{idxReq}", "TEST", "INGRESSO", "15000", "PROVA IN", $"{adesso:yyyy/MM/dd}", $"{adesso:HH:mm:ss}");
|
||||
bool pesoOk = answ.feedback == "C";
|
||||
pesata = $"rm: {answ.rm} | DI: {answ.dateIn} | DO: {answ.dateOut} | BI: {answ.balanceIn} | BO: {answ.balanceOut} | WI: {answ.weightIn} | WO: {answ.weightOut} | Feed: {answ.feedback} | note: {answ.notes}";
|
||||
Console.WriteLine(pesata);
|
||||
Console.WriteLine();
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
Console.WriteLine($"Errore:{Environment.NewLine}{exc}");
|
||||
}
|
||||
}
|
||||
else if (escimi == "O")
|
||||
{
|
||||
try
|
||||
{
|
||||
var answ = gombaConn.memWeight("OUT", $"ODL000000{idxReq}", "TEST", "USCITA", "15000", "PROVA OUT", $"{adesso:yyyy/MM/dd}", $"{adesso:HH:mm:ss}");
|
||||
bool pesoOk = answ.feedback == "C";
|
||||
pesata = $"rm: {answ.rm} | DI: {answ.dateIn} | DO: {answ.dateOut} | BI: {answ.balanceIn} | BO: {answ.balanceOut} | WI: {answ.weightIn} | WO: {answ.weightOut} | Feed: {answ.feedback} | note: {answ.notes}";
|
||||
Console.WriteLine(pesata);
|
||||
Console.WriteLine();
|
||||
if (pesoOk)
|
||||
{
|
||||
idxReq++;
|
||||
}
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
Console.WriteLine($"Errore:{Environment.NewLine}{exc}");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("EgwProxy.Gomba.Test")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("EgwProxy.Gomba.Test")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2023")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("2b7f1536-61d1-4f05-af8d-62a52d114479")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
@@ -0,0 +1,31 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.2.32630.192
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EgwProxy.Gomba.Test", "EgwProxy.Gomba.Test\EgwProxy.Gomba.Test.csproj", "{2B7F1536-61D1-4F05-AF8D-62A52D114479}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EgwProxy.Gomba", "EgwProxy.Gomba\EgwProxy.Gomba.csproj", "{CC377124-1B94-40C1-B552-D6D42EB2BF27}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{2B7F1536-61D1-4F05-AF8D-62A52D114479}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2B7F1536-61D1-4F05-AF8D-62A52D114479}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2B7F1536-61D1-4F05-AF8D-62A52D114479}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2B7F1536-61D1-4F05-AF8D-62A52D114479}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{CC377124-1B94-40C1-B552-D6D42EB2BF27}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{CC377124-1B94-40C1-B552-D6D42EB2BF27}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{CC377124-1B94-40C1-B552-D6D42EB2BF27}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{CC377124-1B94-40C1-B552-D6D42EB2BF27}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {DA96981F-F7D0-47A9-A51F-9BCC8D35619F}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
|
||||
</startup>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime.Serialization.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.2.0" newVersion="4.1.2.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
<system.serviceModel>
|
||||
<bindings>
|
||||
<basicHttpBinding>
|
||||
<binding name="lwpServicePortBinding">
|
||||
<security mode="Transport" />
|
||||
</binding>
|
||||
<binding name="lwpServicePortBinding1" />
|
||||
</basicHttpBinding>
|
||||
</bindings>
|
||||
<client>
|
||||
<endpoint address="https://308gomba:8000/ws" binding="basicHttpBinding"
|
||||
bindingConfiguration="lwpServicePortBinding" contract="GombaServ.lwpService"
|
||||
name="lwpServicePort" />
|
||||
</client>
|
||||
</system.serviceModel>
|
||||
</configuration>
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
This file is automatically generated by Visual Studio .Net. It is
|
||||
used to store generic object data source configuration information.
|
||||
Renaming the file extension or editing the content of this file may
|
||||
cause the file to be unrecognizable by the program.
|
||||
-->
|
||||
<GenericObjectDataSource DisplayName="gestWeightOut" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TypeInfo>EgwProxy.Gomba.GombaServ.gestWeightOut, Connected Services.GombaServ.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
|
||||
</GenericObjectDataSource>
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
This file is automatically generated by Visual Studio .Net. It is
|
||||
used to store generic object data source configuration information.
|
||||
Renaming the file extension or editing the content of this file may
|
||||
cause the file to be unrecognizable by the program.
|
||||
-->
|
||||
<GenericObjectDataSource DisplayName="memWeightResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TypeInfo>EgwProxy.Gomba.GombaServ.memWeightResponse, Connected Services.GombaServ.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
|
||||
</GenericObjectDataSource>
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
This file is automatically generated by Visual Studio .Net. It is
|
||||
used to store generic object data source configuration information.
|
||||
Renaming the file extension or editing the content of this file may
|
||||
cause the file to be unrecognizable by the program.
|
||||
-->
|
||||
<GenericObjectDataSource DisplayName="reqWeightListResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TypeInfo>EgwProxy.Gomba.GombaServ.reqWeightListResponse, Connected Services.GombaServ.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
|
||||
</GenericObjectDataSource>
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
This file is automatically generated by Visual Studio .Net. It is
|
||||
used to store generic object data source configuration information.
|
||||
Renaming the file extension or editing the content of this file may
|
||||
cause the file to be unrecognizable by the program.
|
||||
-->
|
||||
<GenericObjectDataSource DisplayName="reqWeightResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TypeInfo>EgwProxy.Gomba.GombaServ.reqWeightResponse, Connected Services.GombaServ.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
|
||||
</GenericObjectDataSource>
|
||||
@@ -0,0 +1,611 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace EgwProxy.Gomba.GombaServ {
|
||||
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ServiceModel.ServiceContractAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", ConfigurationName="GombaServ.lwpService")]
|
||||
public interface lwpService {
|
||||
|
||||
// CODEGEN: Parameter 'return' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlElementAttribute'.
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://servicesImpl.webServices.gomba.com/lwpService/memWeightRequest", ReplyAction="http://servicesImpl.webServices.gomba.com/lwpService/memWeightResponse")]
|
||||
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
||||
[return: System.ServiceModel.MessageParameterAttribute(Name="return")]
|
||||
EgwProxy.Gomba.GombaServ.memWeightResponse memWeight(EgwProxy.Gomba.GombaServ.memWeightRequest request);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://servicesImpl.webServices.gomba.com/lwpService/memWeightRequest", ReplyAction="http://servicesImpl.webServices.gomba.com/lwpService/memWeightResponse")]
|
||||
System.Threading.Tasks.Task<EgwProxy.Gomba.GombaServ.memWeightResponse> memWeightAsync(EgwProxy.Gomba.GombaServ.memWeightRequest request);
|
||||
|
||||
// CODEGEN: Parameter 'return' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlElementAttribute'.
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://servicesImpl.webServices.gomba.com/lwpService/reqWeightListRequest", ReplyAction="http://servicesImpl.webServices.gomba.com/lwpService/reqWeightListResponse")]
|
||||
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
||||
[return: System.ServiceModel.MessageParameterAttribute(Name="return")]
|
||||
EgwProxy.Gomba.GombaServ.reqWeightListResponse reqWeightList(EgwProxy.Gomba.GombaServ.reqWeightListRequest request);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://servicesImpl.webServices.gomba.com/lwpService/reqWeightListRequest", ReplyAction="http://servicesImpl.webServices.gomba.com/lwpService/reqWeightListResponse")]
|
||||
System.Threading.Tasks.Task<EgwProxy.Gomba.GombaServ.reqWeightListResponse> reqWeightListAsync(EgwProxy.Gomba.GombaServ.reqWeightListRequest request);
|
||||
|
||||
// CODEGEN: Parameter 'return' requires additional schema information that cannot be captured using the parameter mode. The specific attribute is 'System.Xml.Serialization.XmlElementAttribute'.
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://servicesImpl.webServices.gomba.com/lwpService/reqWeightRequest", ReplyAction="http://servicesImpl.webServices.gomba.com/lwpService/reqWeightResponse")]
|
||||
[System.ServiceModel.XmlSerializerFormatAttribute(SupportFaults=true)]
|
||||
[return: System.ServiceModel.MessageParameterAttribute(Name="return")]
|
||||
EgwProxy.Gomba.GombaServ.reqWeightResponse reqWeight(EgwProxy.Gomba.GombaServ.reqWeightRequest request);
|
||||
|
||||
[System.ServiceModel.OperationContractAttribute(Action="http://servicesImpl.webServices.gomba.com/lwpService/reqWeightRequest", ReplyAction="http://servicesImpl.webServices.gomba.com/lwpService/reqWeightResponse")]
|
||||
System.Threading.Tasks.Task<EgwProxy.Gomba.GombaServ.reqWeightResponse> reqWeightAsync(EgwProxy.Gomba.GombaServ.reqWeightRequest request);
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.8.3761.0")]
|
||||
[System.SerializableAttribute()]
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.ComponentModel.DesignerCategoryAttribute("code")]
|
||||
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://servicesImpl.webServices.gomba.com/")]
|
||||
public partial class gestWeightOut : object, System.ComponentModel.INotifyPropertyChanged {
|
||||
|
||||
private string balanceInField;
|
||||
|
||||
private string balanceOutField;
|
||||
|
||||
private string cod1Field;
|
||||
|
||||
private string cod2Field;
|
||||
|
||||
private string cod3Field;
|
||||
|
||||
private string cod4Field;
|
||||
|
||||
private string cod5Field;
|
||||
|
||||
private string cod6Field;
|
||||
|
||||
private System.DateTime dateInField;
|
||||
|
||||
private bool dateInFieldSpecified;
|
||||
|
||||
private System.DateTime dateOutField;
|
||||
|
||||
private bool dateOutFieldSpecified;
|
||||
|
||||
private string feedbackField;
|
||||
|
||||
private string idMemInField;
|
||||
|
||||
private string idMemOutField;
|
||||
|
||||
private string netField;
|
||||
|
||||
private string notesField;
|
||||
|
||||
private string rmField;
|
||||
|
||||
private string weightInField;
|
||||
|
||||
private string weightOutField;
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=0)]
|
||||
public string balanceIn {
|
||||
get {
|
||||
return this.balanceInField;
|
||||
}
|
||||
set {
|
||||
this.balanceInField = value;
|
||||
this.RaisePropertyChanged("balanceIn");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=1)]
|
||||
public string balanceOut {
|
||||
get {
|
||||
return this.balanceOutField;
|
||||
}
|
||||
set {
|
||||
this.balanceOutField = value;
|
||||
this.RaisePropertyChanged("balanceOut");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=2)]
|
||||
public string cod1 {
|
||||
get {
|
||||
return this.cod1Field;
|
||||
}
|
||||
set {
|
||||
this.cod1Field = value;
|
||||
this.RaisePropertyChanged("cod1");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=3)]
|
||||
public string cod2 {
|
||||
get {
|
||||
return this.cod2Field;
|
||||
}
|
||||
set {
|
||||
this.cod2Field = value;
|
||||
this.RaisePropertyChanged("cod2");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=4)]
|
||||
public string cod3 {
|
||||
get {
|
||||
return this.cod3Field;
|
||||
}
|
||||
set {
|
||||
this.cod3Field = value;
|
||||
this.RaisePropertyChanged("cod3");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=5)]
|
||||
public string cod4 {
|
||||
get {
|
||||
return this.cod4Field;
|
||||
}
|
||||
set {
|
||||
this.cod4Field = value;
|
||||
this.RaisePropertyChanged("cod4");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=6)]
|
||||
public string cod5 {
|
||||
get {
|
||||
return this.cod5Field;
|
||||
}
|
||||
set {
|
||||
this.cod5Field = value;
|
||||
this.RaisePropertyChanged("cod5");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=7)]
|
||||
public string cod6 {
|
||||
get {
|
||||
return this.cod6Field;
|
||||
}
|
||||
set {
|
||||
this.cod6Field = value;
|
||||
this.RaisePropertyChanged("cod6");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=8)]
|
||||
public System.DateTime dateIn {
|
||||
get {
|
||||
return this.dateInField;
|
||||
}
|
||||
set {
|
||||
this.dateInField = value;
|
||||
this.RaisePropertyChanged("dateIn");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlIgnoreAttribute()]
|
||||
public bool dateInSpecified {
|
||||
get {
|
||||
return this.dateInFieldSpecified;
|
||||
}
|
||||
set {
|
||||
this.dateInFieldSpecified = value;
|
||||
this.RaisePropertyChanged("dateInSpecified");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=9)]
|
||||
public System.DateTime dateOut {
|
||||
get {
|
||||
return this.dateOutField;
|
||||
}
|
||||
set {
|
||||
this.dateOutField = value;
|
||||
this.RaisePropertyChanged("dateOut");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlIgnoreAttribute()]
|
||||
public bool dateOutSpecified {
|
||||
get {
|
||||
return this.dateOutFieldSpecified;
|
||||
}
|
||||
set {
|
||||
this.dateOutFieldSpecified = value;
|
||||
this.RaisePropertyChanged("dateOutSpecified");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=10)]
|
||||
public string feedback {
|
||||
get {
|
||||
return this.feedbackField;
|
||||
}
|
||||
set {
|
||||
this.feedbackField = value;
|
||||
this.RaisePropertyChanged("feedback");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=11)]
|
||||
public string idMemIn {
|
||||
get {
|
||||
return this.idMemInField;
|
||||
}
|
||||
set {
|
||||
this.idMemInField = value;
|
||||
this.RaisePropertyChanged("idMemIn");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=12)]
|
||||
public string idMemOut {
|
||||
get {
|
||||
return this.idMemOutField;
|
||||
}
|
||||
set {
|
||||
this.idMemOutField = value;
|
||||
this.RaisePropertyChanged("idMemOut");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=13)]
|
||||
public string net {
|
||||
get {
|
||||
return this.netField;
|
||||
}
|
||||
set {
|
||||
this.netField = value;
|
||||
this.RaisePropertyChanged("net");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=14)]
|
||||
public string notes {
|
||||
get {
|
||||
return this.notesField;
|
||||
}
|
||||
set {
|
||||
this.notesField = value;
|
||||
this.RaisePropertyChanged("notes");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=15)]
|
||||
public string rm {
|
||||
get {
|
||||
return this.rmField;
|
||||
}
|
||||
set {
|
||||
this.rmField = value;
|
||||
this.RaisePropertyChanged("rm");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=16)]
|
||||
public string weightIn {
|
||||
get {
|
||||
return this.weightInField;
|
||||
}
|
||||
set {
|
||||
this.weightInField = value;
|
||||
this.RaisePropertyChanged("weightIn");
|
||||
}
|
||||
}
|
||||
|
||||
/// <remarks/>
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified, Order=17)]
|
||||
public string weightOut {
|
||||
get {
|
||||
return this.weightOutField;
|
||||
}
|
||||
set {
|
||||
this.weightOutField = value;
|
||||
this.RaisePropertyChanged("weightOut");
|
||||
}
|
||||
}
|
||||
|
||||
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
||||
|
||||
protected void RaisePropertyChanged(string propertyName) {
|
||||
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
|
||||
if ((propertyChanged != null)) {
|
||||
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(WrapperName="memWeight", WrapperNamespace="http://servicesImpl.webServices.gomba.com/", IsWrapped=true)]
|
||||
public partial class memWeightRequest {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=0)]
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public string type;
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=1)]
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public string rm;
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=2)]
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public string cod1;
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=3)]
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public string cod2;
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=4)]
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public string cod3;
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=5)]
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public string cod4;
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=6)]
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public string cod5;
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=7)]
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public string cod6;
|
||||
|
||||
public memWeightRequest() {
|
||||
}
|
||||
|
||||
public memWeightRequest(string type, string rm, string cod1, string cod2, string cod3, string cod4, string cod5, string cod6) {
|
||||
this.type = type;
|
||||
this.rm = rm;
|
||||
this.cod1 = cod1;
|
||||
this.cod2 = cod2;
|
||||
this.cod3 = cod3;
|
||||
this.cod4 = cod4;
|
||||
this.cod5 = cod5;
|
||||
this.cod6 = cod6;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(WrapperName="memWeightResponse", WrapperNamespace="http://servicesImpl.webServices.gomba.com/", IsWrapped=true)]
|
||||
public partial class memWeightResponse {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=0)]
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public EgwProxy.Gomba.GombaServ.gestWeightOut @return;
|
||||
|
||||
public memWeightResponse() {
|
||||
}
|
||||
|
||||
public memWeightResponse(EgwProxy.Gomba.GombaServ.gestWeightOut @return) {
|
||||
this.@return = @return;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(WrapperName="reqWeightList", WrapperNamespace="http://servicesImpl.webServices.gomba.com/", IsWrapped=true)]
|
||||
public partial class reqWeightListRequest {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=0)]
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public string type;
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=1)]
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public string dateStart;
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=2)]
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public string dateEnd;
|
||||
|
||||
public reqWeightListRequest() {
|
||||
}
|
||||
|
||||
public reqWeightListRequest(string type, string dateStart, string dateEnd) {
|
||||
this.type = type;
|
||||
this.dateStart = dateStart;
|
||||
this.dateEnd = dateEnd;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(WrapperName="reqWeightListResponse", WrapperNamespace="http://servicesImpl.webServices.gomba.com/", IsWrapped=true)]
|
||||
public partial class reqWeightListResponse {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=0)]
|
||||
[System.Xml.Serialization.XmlElementAttribute("return", Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public EgwProxy.Gomba.GombaServ.gestWeightOut[] @return;
|
||||
|
||||
public reqWeightListResponse() {
|
||||
}
|
||||
|
||||
public reqWeightListResponse(EgwProxy.Gomba.GombaServ.gestWeightOut[] @return) {
|
||||
this.@return = @return;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(WrapperName="reqWeight", WrapperNamespace="http://servicesImpl.webServices.gomba.com/", IsWrapped=true)]
|
||||
public partial class reqWeightRequest {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=0)]
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public string rm;
|
||||
|
||||
public reqWeightRequest() {
|
||||
}
|
||||
|
||||
public reqWeightRequest(string rm) {
|
||||
this.rm = rm;
|
||||
}
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
[System.ServiceModel.MessageContractAttribute(WrapperName="reqWeightResponse", WrapperNamespace="http://servicesImpl.webServices.gomba.com/", IsWrapped=true)]
|
||||
public partial class reqWeightResponse {
|
||||
|
||||
[System.ServiceModel.MessageBodyMemberAttribute(Namespace="http://servicesImpl.webServices.gomba.com/", Order=0)]
|
||||
[System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]
|
||||
public EgwProxy.Gomba.GombaServ.gestWeightOut @return;
|
||||
|
||||
public reqWeightResponse() {
|
||||
}
|
||||
|
||||
public reqWeightResponse(EgwProxy.Gomba.GombaServ.gestWeightOut @return) {
|
||||
this.@return = @return;
|
||||
}
|
||||
}
|
||||
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
public interface lwpServiceChannel : EgwProxy.Gomba.GombaServ.lwpService, System.ServiceModel.IClientChannel {
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerStepThroughAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
|
||||
public partial class lwpServiceClient : System.ServiceModel.ClientBase<EgwProxy.Gomba.GombaServ.lwpService>, EgwProxy.Gomba.GombaServ.lwpService {
|
||||
|
||||
public lwpServiceClient() {
|
||||
}
|
||||
|
||||
public lwpServiceClient(string endpointConfigurationName) :
|
||||
base(endpointConfigurationName) {
|
||||
}
|
||||
|
||||
public lwpServiceClient(string endpointConfigurationName, string remoteAddress) :
|
||||
base(endpointConfigurationName, remoteAddress) {
|
||||
}
|
||||
|
||||
public lwpServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
|
||||
base(endpointConfigurationName, remoteAddress) {
|
||||
}
|
||||
|
||||
public lwpServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
|
||||
base(binding, remoteAddress) {
|
||||
}
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
EgwProxy.Gomba.GombaServ.memWeightResponse EgwProxy.Gomba.GombaServ.lwpService.memWeight(EgwProxy.Gomba.GombaServ.memWeightRequest request) {
|
||||
return base.Channel.memWeight(request);
|
||||
}
|
||||
|
||||
public EgwProxy.Gomba.GombaServ.gestWeightOut memWeight(string type, string rm, string cod1, string cod2, string cod3, string cod4, string cod5, string cod6) {
|
||||
EgwProxy.Gomba.GombaServ.memWeightRequest inValue = new EgwProxy.Gomba.GombaServ.memWeightRequest();
|
||||
inValue.type = type;
|
||||
inValue.rm = rm;
|
||||
inValue.cod1 = cod1;
|
||||
inValue.cod2 = cod2;
|
||||
inValue.cod3 = cod3;
|
||||
inValue.cod4 = cod4;
|
||||
inValue.cod5 = cod5;
|
||||
inValue.cod6 = cod6;
|
||||
EgwProxy.Gomba.GombaServ.memWeightResponse retVal = ((EgwProxy.Gomba.GombaServ.lwpService)(this)).memWeight(inValue);
|
||||
return retVal.@return;
|
||||
}
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
System.Threading.Tasks.Task<EgwProxy.Gomba.GombaServ.memWeightResponse> EgwProxy.Gomba.GombaServ.lwpService.memWeightAsync(EgwProxy.Gomba.GombaServ.memWeightRequest request) {
|
||||
return base.Channel.memWeightAsync(request);
|
||||
}
|
||||
|
||||
public System.Threading.Tasks.Task<EgwProxy.Gomba.GombaServ.memWeightResponse> memWeightAsync(string type, string rm, string cod1, string cod2, string cod3, string cod4, string cod5, string cod6) {
|
||||
EgwProxy.Gomba.GombaServ.memWeightRequest inValue = new EgwProxy.Gomba.GombaServ.memWeightRequest();
|
||||
inValue.type = type;
|
||||
inValue.rm = rm;
|
||||
inValue.cod1 = cod1;
|
||||
inValue.cod2 = cod2;
|
||||
inValue.cod3 = cod3;
|
||||
inValue.cod4 = cod4;
|
||||
inValue.cod5 = cod5;
|
||||
inValue.cod6 = cod6;
|
||||
return ((EgwProxy.Gomba.GombaServ.lwpService)(this)).memWeightAsync(inValue);
|
||||
}
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
EgwProxy.Gomba.GombaServ.reqWeightListResponse EgwProxy.Gomba.GombaServ.lwpService.reqWeightList(EgwProxy.Gomba.GombaServ.reqWeightListRequest request) {
|
||||
return base.Channel.reqWeightList(request);
|
||||
}
|
||||
|
||||
public EgwProxy.Gomba.GombaServ.gestWeightOut[] reqWeightList(string type, string dateStart, string dateEnd) {
|
||||
EgwProxy.Gomba.GombaServ.reqWeightListRequest inValue = new EgwProxy.Gomba.GombaServ.reqWeightListRequest();
|
||||
inValue.type = type;
|
||||
inValue.dateStart = dateStart;
|
||||
inValue.dateEnd = dateEnd;
|
||||
EgwProxy.Gomba.GombaServ.reqWeightListResponse retVal = ((EgwProxy.Gomba.GombaServ.lwpService)(this)).reqWeightList(inValue);
|
||||
return retVal.@return;
|
||||
}
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
System.Threading.Tasks.Task<EgwProxy.Gomba.GombaServ.reqWeightListResponse> EgwProxy.Gomba.GombaServ.lwpService.reqWeightListAsync(EgwProxy.Gomba.GombaServ.reqWeightListRequest request) {
|
||||
return base.Channel.reqWeightListAsync(request);
|
||||
}
|
||||
|
||||
public System.Threading.Tasks.Task<EgwProxy.Gomba.GombaServ.reqWeightListResponse> reqWeightListAsync(string type, string dateStart, string dateEnd) {
|
||||
EgwProxy.Gomba.GombaServ.reqWeightListRequest inValue = new EgwProxy.Gomba.GombaServ.reqWeightListRequest();
|
||||
inValue.type = type;
|
||||
inValue.dateStart = dateStart;
|
||||
inValue.dateEnd = dateEnd;
|
||||
return ((EgwProxy.Gomba.GombaServ.lwpService)(this)).reqWeightListAsync(inValue);
|
||||
}
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
EgwProxy.Gomba.GombaServ.reqWeightResponse EgwProxy.Gomba.GombaServ.lwpService.reqWeight(EgwProxy.Gomba.GombaServ.reqWeightRequest request) {
|
||||
return base.Channel.reqWeight(request);
|
||||
}
|
||||
|
||||
public EgwProxy.Gomba.GombaServ.gestWeightOut reqWeight(string rm) {
|
||||
EgwProxy.Gomba.GombaServ.reqWeightRequest inValue = new EgwProxy.Gomba.GombaServ.reqWeightRequest();
|
||||
inValue.rm = rm;
|
||||
EgwProxy.Gomba.GombaServ.reqWeightResponse retVal = ((EgwProxy.Gomba.GombaServ.lwpService)(this)).reqWeight(inValue);
|
||||
return retVal.@return;
|
||||
}
|
||||
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
System.Threading.Tasks.Task<EgwProxy.Gomba.GombaServ.reqWeightResponse> EgwProxy.Gomba.GombaServ.lwpService.reqWeightAsync(EgwProxy.Gomba.GombaServ.reqWeightRequest request) {
|
||||
return base.Channel.reqWeightAsync(request);
|
||||
}
|
||||
|
||||
public System.Threading.Tasks.Task<EgwProxy.Gomba.GombaServ.reqWeightResponse> reqWeightAsync(string rm) {
|
||||
EgwProxy.Gomba.GombaServ.reqWeightRequest inValue = new EgwProxy.Gomba.GombaServ.reqWeightRequest();
|
||||
inValue.rm = rm;
|
||||
return ((EgwProxy.Gomba.GombaServ.lwpService)(this)).reqWeightAsync(inValue);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ReferenceGroup xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ID="79647293-8e4c-48a5-a0d7-4baf3f694853" xmlns="urn:schemas-microsoft-com:xml-wcfservicemap">
|
||||
<ClientOptions>
|
||||
<GenerateAsynchronousMethods>false</GenerateAsynchronousMethods>
|
||||
<GenerateTaskBasedAsynchronousMethod>true</GenerateTaskBasedAsynchronousMethod>
|
||||
<EnableDataBinding>true</EnableDataBinding>
|
||||
<ExcludedTypes />
|
||||
<ImportXmlTypes>false</ImportXmlTypes>
|
||||
<GenerateInternalTypes>false</GenerateInternalTypes>
|
||||
<GenerateMessageContracts>false</GenerateMessageContracts>
|
||||
<NamespaceMappings />
|
||||
<CollectionMappings />
|
||||
<GenerateSerializableTypes>true</GenerateSerializableTypes>
|
||||
<Serializer>Auto</Serializer>
|
||||
<UseSerializerForFaults>true</UseSerializerForFaults>
|
||||
<ReferenceAllAssemblies>true</ReferenceAllAssemblies>
|
||||
<ReferencedAssemblies />
|
||||
<ReferencedDataContractTypes />
|
||||
<ServiceContractMappings />
|
||||
</ClientOptions>
|
||||
<MetadataSources>
|
||||
<MetadataSource Address="https://308gomba:8000/ws?wsdl" Protocol="http" SourceId="1" />
|
||||
</MetadataSources>
|
||||
<Metadata>
|
||||
<MetadataFile FileName="ws.xsd" MetadataType="Schema" ID="b430ce0c-e01d-46be-b5cc-fe061743f059" SourceId="1" SourceUrl="https://308gomba:8000/ws?xsd=1" />
|
||||
<MetadataFile FileName="lwpService.wsdl" MetadataType="Wsdl" ID="975f05ee-1558-4bb6-9861-2455f688e911" SourceId="1" SourceUrl="https://308gomba:8000/ws?wsdl" />
|
||||
</Metadata>
|
||||
<Extensions>
|
||||
<ExtensionFile FileName="configuration91.svcinfo" Name="configuration91.svcinfo" />
|
||||
<ExtensionFile FileName="configuration.svcinfo" Name="configuration.svcinfo" />
|
||||
</Extensions>
|
||||
</ReferenceGroup>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configurationSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:schemas-microsoft-com:xml-wcfconfigurationsnapshot">
|
||||
<behaviors />
|
||||
<bindings>
|
||||
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="lwpServicePortBinding"><security mode="Transport" /></Data>" bindingType="basicHttpBinding" name="lwpServicePortBinding" />
|
||||
<binding digest="System.ServiceModel.Configuration.BasicHttpBindingElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089:<?xml version="1.0" encoding="utf-16"?><Data name="lwpServicePortBinding1" />" bindingType="basicHttpBinding" name="lwpServicePortBinding1" />
|
||||
</bindings>
|
||||
<endpoints>
|
||||
<endpoint normalizedDigest="<?xml version="1.0" encoding="utf-16"?><Data address="https://308gomba:8000/ws" binding="basicHttpBinding" bindingConfiguration="lwpServicePortBinding" contract="GombaServ.lwpService" name="lwpServicePort" />" digest="<?xml version="1.0" encoding="utf-16"?><Data address="https://308gomba:8000/ws" binding="basicHttpBinding" bindingConfiguration="lwpServicePortBinding" contract="GombaServ.lwpService" name="lwpServicePort" />" contractName="GombaServ.lwpService" name="lwpServicePort" />
|
||||
</endpoints>
|
||||
</configurationSnapshot>
|
||||
@@ -0,0 +1,310 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<SavedWcfConfigurationInformation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="9.1" CheckSum="ETLHBUyFwK/hFPj9qQChVPXHjqFMxS4Tjq7vx1WkBI8=">
|
||||
<bindingConfigurations>
|
||||
<bindingConfiguration bindingType="basicHttpBinding" name="lwpServicePortBinding">
|
||||
<properties>
|
||||
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>lwpServicePortBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>StrongWildcard</serializedValue>
|
||||
</property>
|
||||
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>65536</serializedValue>
|
||||
</property>
|
||||
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.Text.UTF8Encoding</serializedValue>
|
||||
</property>
|
||||
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Buffered</serializedValue>
|
||||
</property>
|
||||
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Text</serializedValue>
|
||||
</property>
|
||||
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Transport</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Never</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>TransportSelected</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>(Collection)</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>UserName</serializedValue>
|
||||
</property>
|
||||
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Default</serializedValue>
|
||||
</property>
|
||||
</properties>
|
||||
</bindingConfiguration>
|
||||
<bindingConfiguration bindingType="basicHttpBinding" name="lwpServicePortBinding1">
|
||||
<properties>
|
||||
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>lwpServicePortBinding1</serializedValue>
|
||||
</property>
|
||||
<property path="/closeTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/openTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/receiveTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/sendTimeout" isComplexType="false" isExplicitlyDefined="true" clrType="System.TimeSpan, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/allowCookies" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/bypassProxyOnLocal" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/hostNameComparisonMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HostNameComparisonMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>StrongWildcard</serializedValue>
|
||||
</property>
|
||||
<property path="/maxBufferPoolSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/maxBufferSize" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>65536</serializedValue>
|
||||
</property>
|
||||
<property path="/maxReceivedMessageSize" isComplexType="false" isExplicitlyDefined="true" clrType="System.Int64, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/proxyAddress" isComplexType="false" isExplicitlyDefined="false" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/readerQuotas" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxDepth" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxStringContentLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxArrayLength" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxBytesPerRead" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/readerQuotas/maxNameTableCharCount" isComplexType="false" isExplicitlyDefined="false" clrType="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>0</serializedValue>
|
||||
</property>
|
||||
<property path="/textEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.Text.Encoding, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.Text.UTF8Encoding</serializedValue>
|
||||
</property>
|
||||
<property path="/transferMode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.TransferMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Buffered</serializedValue>
|
||||
</property>
|
||||
<property path="/useDefaultWebProxy" isComplexType="false" isExplicitlyDefined="true" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/messageEncoding" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.WSMessageEncoding, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Text</serializedValue>
|
||||
</property>
|
||||
<property path="/security" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.BasicHttpSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/mode" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpSecurityMode, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.HttpTransportSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.HttpTransportSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpClientCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/proxyCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.HttpProxyCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>None</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/policyEnforcement" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.PolicyEnforcement, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Never</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/protectionScenario" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.ProtectionScenario, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>TransportSelected</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/extendedProtectionPolicy/customServiceNames" isComplexType="true" isExplicitlyDefined="false" clrType="System.Security.Authentication.ExtendedProtection.Configuration.ServiceNameElementCollection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>(Collection)</serializedValue>
|
||||
</property>
|
||||
<property path="/security/transport/realm" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/security/message" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.BasicHttpMessageSecurityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.BasicHttpMessageSecurityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/security/message/clientCredentialType" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.BasicHttpMessageCredentialType, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>UserName</serializedValue>
|
||||
</property>
|
||||
<property path="/security/message/algorithmSuite" isComplexType="false" isExplicitlyDefined="false" clrType="System.ServiceModel.Security.SecurityAlgorithmSuite, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>Default</serializedValue>
|
||||
</property>
|
||||
</properties>
|
||||
</bindingConfiguration>
|
||||
</bindingConfigurations>
|
||||
<endpoints>
|
||||
<endpoint name="lwpServicePort" contract="GombaServ.lwpService" bindingType="basicHttpBinding" address="https://308gomba:8000/ws" bindingConfiguration="lwpServicePortBinding">
|
||||
<properties>
|
||||
<property path="/address" isComplexType="false" isExplicitlyDefined="true" clrType="System.Uri, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>https://308gomba:8000/ws</serializedValue>
|
||||
</property>
|
||||
<property path="/behaviorConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/binding" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>basicHttpBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/bindingConfiguration" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>lwpServicePortBinding</serializedValue>
|
||||
</property>
|
||||
<property path="/contract" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>GombaServ.lwpService</serializedValue>
|
||||
</property>
|
||||
<property path="/headers" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.AddressHeaderCollectionElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.AddressHeaderCollectionElement</serializedValue>
|
||||
</property>
|
||||
<property path="/headers/headers" isComplexType="false" isExplicitlyDefined="true" clrType="System.ServiceModel.Channels.AddressHeaderCollection, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue><Header /></serializedValue>
|
||||
</property>
|
||||
<property path="/identity" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.IdentityElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.IdentityElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/userPrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.UserPrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.UserPrincipalNameElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/userPrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/servicePrincipalName" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.ServicePrincipalNameElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.ServicePrincipalNameElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/servicePrincipalName/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/dns" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.DnsElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.DnsElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/dns/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/rsa" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.RsaElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.RsaElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/rsa/value" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificate" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.CertificateElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificate/encodedValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificateReference" isComplexType="true" isExplicitlyDefined="false" clrType="System.ServiceModel.Configuration.CertificateReferenceElement, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>System.ServiceModel.Configuration.CertificateReferenceElement</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/storeName" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreName, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>My</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/storeLocation" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.StoreLocation, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>LocalMachine</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/x509FindType" isComplexType="false" isExplicitlyDefined="false" clrType="System.Security.Cryptography.X509Certificates.X509FindType, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>FindBySubjectDistinguishedName</serializedValue>
|
||||
</property>
|
||||
<property path="/identity/certificateReference/findValue" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/identity/certificateReference/isChainIncluded" isComplexType="false" isExplicitlyDefined="false" clrType="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>False</serializedValue>
|
||||
</property>
|
||||
<property path="/name" isComplexType="false" isExplicitlyDefined="true" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue>lwpServicePort</serializedValue>
|
||||
</property>
|
||||
<property path="/kind" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
<property path="/endpointConfiguration" isComplexType="false" isExplicitlyDefined="false" clrType="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<serializedValue />
|
||||
</property>
|
||||
</properties>
|
||||
</endpoint>
|
||||
</endpoints>
|
||||
</SavedWcfConfigurationInformation>
|
||||
@@ -0,0 +1,75 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<definitions xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://servicesImpl.webServices.gomba.com/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" name="lwpService" targetNamespace="http://servicesImpl.webServices.gomba.com/" xmlns="http://schemas.xmlsoap.org/wsdl/">
|
||||
<types>
|
||||
<xsd:schema>
|
||||
<xsd:import schemaLocation="https://308gomba:8000/ws?xsd=1" namespace="http://servicesImpl.webServices.gomba.com/" />
|
||||
</xsd:schema>
|
||||
</types>
|
||||
<message name="memWeight">
|
||||
<part name="parameters" element="tns:memWeight" />
|
||||
</message>
|
||||
<message name="memWeightResponse">
|
||||
<part name="parameters" element="tns:memWeightResponse" />
|
||||
</message>
|
||||
<message name="reqWeightList">
|
||||
<part name="parameters" element="tns:reqWeightList" />
|
||||
</message>
|
||||
<message name="reqWeightListResponse">
|
||||
<part name="parameters" element="tns:reqWeightListResponse" />
|
||||
</message>
|
||||
<message name="reqWeight">
|
||||
<part name="parameters" element="tns:reqWeight" />
|
||||
</message>
|
||||
<message name="reqWeightResponse">
|
||||
<part name="parameters" element="tns:reqWeightResponse" />
|
||||
</message>
|
||||
<portType name="lwpService">
|
||||
<operation name="memWeight">
|
||||
<input wsam:Action="http://servicesImpl.webServices.gomba.com/lwpService/memWeightRequest" message="tns:memWeight" />
|
||||
<output wsam:Action="http://servicesImpl.webServices.gomba.com/lwpService/memWeightResponse" message="tns:memWeightResponse" />
|
||||
</operation>
|
||||
<operation name="reqWeightList">
|
||||
<input wsam:Action="http://servicesImpl.webServices.gomba.com/lwpService/reqWeightListRequest" message="tns:reqWeightList" />
|
||||
<output wsam:Action="http://servicesImpl.webServices.gomba.com/lwpService/reqWeightListResponse" message="tns:reqWeightListResponse" />
|
||||
</operation>
|
||||
<operation name="reqWeight">
|
||||
<input wsam:Action="http://servicesImpl.webServices.gomba.com/lwpService/reqWeightRequest" message="tns:reqWeight" />
|
||||
<output wsam:Action="http://servicesImpl.webServices.gomba.com/lwpService/reqWeightResponse" message="tns:reqWeightResponse" />
|
||||
</operation>
|
||||
</portType>
|
||||
<binding name="lwpServicePortBinding" type="tns:lwpService">
|
||||
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" />
|
||||
<operation name="memWeight">
|
||||
<soap:operation soapAction="" />
|
||||
<input>
|
||||
<soap:body use="literal" />
|
||||
</input>
|
||||
<output>
|
||||
<soap:body use="literal" />
|
||||
</output>
|
||||
</operation>
|
||||
<operation name="reqWeightList">
|
||||
<soap:operation soapAction="" />
|
||||
<input>
|
||||
<soap:body use="literal" />
|
||||
</input>
|
||||
<output>
|
||||
<soap:body use="literal" />
|
||||
</output>
|
||||
</operation>
|
||||
<operation name="reqWeight">
|
||||
<soap:operation soapAction="" />
|
||||
<input>
|
||||
<soap:body use="literal" />
|
||||
</input>
|
||||
<output>
|
||||
<soap:body use="literal" />
|
||||
</output>
|
||||
</operation>
|
||||
</binding>
|
||||
<service name="lwpService">
|
||||
<port name="lwpServicePort" binding="tns:lwpServicePortBinding">
|
||||
<soap:address location="https://308gomba:8000/ws" />
|
||||
</port>
|
||||
</service>
|
||||
</definitions>
|
||||
@@ -0,0 +1,70 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema xmlns:tns="http://servicesImpl.webServices.gomba.com/" targetNamespace="http://servicesImpl.webServices.gomba.com/" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:element name="memWeight" type="tns:memWeight" />
|
||||
<xs:element name="memWeightResponse" type="tns:memWeightResponse" />
|
||||
<xs:element name="reqWeight" type="tns:reqWeight" />
|
||||
<xs:element name="reqWeightList" type="tns:reqWeightList" />
|
||||
<xs:element name="reqWeightListResponse" type="tns:reqWeightListResponse" />
|
||||
<xs:element name="reqWeightResponse" type="tns:reqWeightResponse" />
|
||||
<xs:complexType name="memWeight">
|
||||
<xs:sequence>
|
||||
<xs:element name="type" type="xs:string" />
|
||||
<xs:element name="rm" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="cod1" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="cod2" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="cod3" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="cod4" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="cod5" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="cod6" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="memWeightResponse">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="return" type="tns:gestWeightOut" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="gestWeightOut">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="balanceIn" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="balanceOut" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="cod1" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="cod2" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="cod3" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="cod4" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="cod5" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="cod6" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="dateIn" type="xs:dateTime" />
|
||||
<xs:element minOccurs="0" name="dateOut" type="xs:dateTime" />
|
||||
<xs:element minOccurs="0" name="feedback" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="idMemIn" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="idMemOut" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="net" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="notes" type="xs:string" />
|
||||
<xs:element name="rm" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="weightIn" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="weightOut" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="reqWeight">
|
||||
<xs:sequence>
|
||||
<xs:element name="rm" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="reqWeightResponse">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="return" type="tns:gestWeightOut" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="reqWeightList">
|
||||
<xs:sequence>
|
||||
<xs:element name="type" type="xs:string" />
|
||||
<xs:element name="dateStart" type="xs:string" />
|
||||
<xs:element name="dateEnd" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="reqWeightListResponse">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="return" type="tns:gestWeightOut" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:schema>
|
||||
@@ -0,0 +1,116 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{CC377124-1B94-40C1-B552-D6D42EB2BF27}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>EgwProxy.Gomba</RootNamespace>
|
||||
<AssemblyName>EgwProxy.Gomba</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<StartupObject />
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.IdentityModel" />
|
||||
<Reference Include="System.Runtime.Serialization" />
|
||||
<Reference Include="System.Runtime.Serialization.Primitives, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.Serialization.Primitives.4.3.0\lib\net46\System.Runtime.Serialization.Primitives.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.Serialization.Xml, Version=4.1.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.Serialization.Xml.4.3.0\lib\net46\System.Runtime.Serialization.Xml.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.ServiceModel" />
|
||||
<Reference Include="System.ServiceModel.Http, Version=4.6.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.ServiceModel.Http.4.6.0\lib\net461\System.ServiceModel.Http.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.ServiceModel.NetTcp, Version=4.6.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.ServiceModel.NetTcp.4.6.0\lib\net461\System.ServiceModel.NetTcp.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.ServiceModel.Primitives, Version=4.6.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.ServiceModel.Primitives.4.6.0\lib\net461\System.ServiceModel.Primitives.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.ServiceModel.Security, Version=4.6.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.ServiceModel.Security.4.6.0\lib\net461\System.ServiceModel.Security.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Connected Services\GombaServ\Reference.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
<None Include="Connected Services\GombaServ\EgwProxy.Gomba.GombaServ.gestWeightOut.datasource">
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</None>
|
||||
<None Include="Connected Services\GombaServ\EgwProxy.Gomba.GombaServ.memWeightResponse.datasource">
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</None>
|
||||
<None Include="Connected Services\GombaServ\EgwProxy.Gomba.GombaServ.reqWeightListResponse.datasource">
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</None>
|
||||
<None Include="Connected Services\GombaServ\EgwProxy.Gomba.GombaServ.reqWeightResponse.datasource">
|
||||
<DependentUpon>Reference.svcmap</DependentUpon>
|
||||
</None>
|
||||
<None Include="Connected Services\GombaServ\lwpService.wsdl" />
|
||||
<None Include="Connected Services\GombaServ\ws.xsd">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<WCFMetadata Include="Connected Services\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<WCFMetadataStorage Include="Connected Services\GombaServ\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Connected Services\GombaServ\configuration91.svcinfo" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Connected Services\GombaServ\configuration.svcinfo" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Connected Services\GombaServ\Reference.svcmap">
|
||||
<Generator>WCF Proxy Generator</Generator>
|
||||
<LastGenOutput>Reference.cs</LastGenOutput>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
@@ -0,0 +1,76 @@
|
||||
<!-- Published by JAX-WS RI (http://jax-ws.java.net). RI's version is JAX-WS RI 2.2.9-b130926.1035 svn-revision#5f6196f2b90e9460065a4c2f4e30e065b245e51e. -->
|
||||
<!-- Generated by JAX-WS RI (http://jax-ws.java.net). RI's version is JAX-WS RI 2.2.9-b130926.1035 svn-revision#5f6196f2b90e9460065a4c2f4e30e065b245e51e. -->
|
||||
<definitions xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://servicesImpl.webServices.gomba.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://servicesImpl.webServices.gomba.com/" name="lwpService">
|
||||
<types>
|
||||
<xsd:schema>
|
||||
<xsd:import namespace="http://servicesImpl.webServices.gomba.com/" schemaLocation="https://308gomba:8000/ws?xsd=1"/>
|
||||
</xsd:schema>
|
||||
</types>
|
||||
<message name="reqWeightList">
|
||||
<part name="parameters" element="tns:reqWeightList"/>
|
||||
</message>
|
||||
<message name="reqWeightListResponse">
|
||||
<part name="parameters" element="tns:reqWeightListResponse"/>
|
||||
</message>
|
||||
<message name="memWeight">
|
||||
<part name="parameters" element="tns:memWeight"/>
|
||||
</message>
|
||||
<message name="memWeightResponse">
|
||||
<part name="parameters" element="tns:memWeightResponse"/>
|
||||
</message>
|
||||
<message name="reqWeight">
|
||||
<part name="parameters" element="tns:reqWeight"/>
|
||||
</message>
|
||||
<message name="reqWeightResponse">
|
||||
<part name="parameters" element="tns:reqWeightResponse"/>
|
||||
</message>
|
||||
<portType name="lwpService">
|
||||
<operation name="reqWeightList">
|
||||
<input wsam:Action="http://servicesImpl.webServices.gomba.com/lwpService/reqWeightListRequest" message="tns:reqWeightList"/>
|
||||
<output wsam:Action="http://servicesImpl.webServices.gomba.com/lwpService/reqWeightListResponse" message="tns:reqWeightListResponse"/>
|
||||
</operation>
|
||||
<operation name="memWeight">
|
||||
<input wsam:Action="http://servicesImpl.webServices.gomba.com/lwpService/memWeightRequest" message="tns:memWeight"/>
|
||||
<output wsam:Action="http://servicesImpl.webServices.gomba.com/lwpService/memWeightResponse" message="tns:memWeightResponse"/>
|
||||
</operation>
|
||||
<operation name="reqWeight">
|
||||
<input wsam:Action="http://servicesImpl.webServices.gomba.com/lwpService/reqWeightRequest" message="tns:reqWeight"/>
|
||||
<output wsam:Action="http://servicesImpl.webServices.gomba.com/lwpService/reqWeightResponse" message="tns:reqWeightResponse"/>
|
||||
</operation>
|
||||
</portType>
|
||||
<binding name="lwpServicePortBinding" type="tns:lwpService">
|
||||
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
|
||||
<operation name="reqWeightList">
|
||||
<soap:operation soapAction=""/>
|
||||
<input>
|
||||
<soap:body use="literal"/>
|
||||
</input>
|
||||
<output>
|
||||
<soap:body use="literal"/>
|
||||
</output>
|
||||
</operation>
|
||||
<operation name="memWeight">
|
||||
<soap:operation soapAction=""/>
|
||||
<input>
|
||||
<soap:body use="literal"/>
|
||||
</input>
|
||||
<output>
|
||||
<soap:body use="literal"/>
|
||||
</output>
|
||||
</operation>
|
||||
<operation name="reqWeight">
|
||||
<soap:operation soapAction=""/>
|
||||
<input>
|
||||
<soap:body use="literal"/>
|
||||
</input>
|
||||
<output>
|
||||
<soap:body use="literal"/>
|
||||
</output>
|
||||
</operation>
|
||||
</binding>
|
||||
<service name="lwpService">
|
||||
<port name="lwpServicePort" binding="tns:lwpServicePortBinding">
|
||||
<soap:address location="https://308gomba:8000/ws"/>
|
||||
</port>
|
||||
</service>
|
||||
</definitions>
|
||||
@@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("EgwProxy.Gomba")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("EgwProxy.Gomba")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2023")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("cc377124-1b94-40c1-b552-d6d42eb2bf27")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"metadata": [
|
||||
{
|
||||
"src": [
|
||||
{
|
||||
"files": [
|
||||
"*.csproj",
|
||||
"*.vbproj"
|
||||
],
|
||||
"cwd": ".",
|
||||
"exclude": [
|
||||
"**/obj/**",
|
||||
"**/bin/**",
|
||||
"_site/**"
|
||||
]
|
||||
}
|
||||
],
|
||||
"dest": "obj/api"
|
||||
}
|
||||
],
|
||||
"build": {
|
||||
"content": [
|
||||
{
|
||||
"files": [
|
||||
"api/**.yml"
|
||||
],
|
||||
"cwd": "obj"
|
||||
},
|
||||
{
|
||||
"files": [
|
||||
"api/*.md",
|
||||
"articles/**.md",
|
||||
"toc.yml",
|
||||
"*.md"
|
||||
],
|
||||
"exclude": [
|
||||
"obj/**",
|
||||
"_site/**"
|
||||
]
|
||||
}
|
||||
],
|
||||
"resource": [
|
||||
{
|
||||
"files": [
|
||||
"images/**"
|
||||
],
|
||||
"exclude": [
|
||||
"obj/**",
|
||||
"_site/**"
|
||||
]
|
||||
}
|
||||
],
|
||||
"overwrite": [
|
||||
{
|
||||
"files": [
|
||||
"apidoc/**.md"
|
||||
],
|
||||
"exclude": [
|
||||
"obj/**",
|
||||
"_site/**"
|
||||
]
|
||||
}
|
||||
],
|
||||
"dest": "_site",
|
||||
"template": [
|
||||
"default"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
# EgwProxy.Gomba Library
|
||||
|
||||
Documentazione relativa alla libreria di interfaccia via webservice SOAP/XML con le bilance GOMBA (ex IMI Remosa).
|
||||
|
||||
Disponibile in forma di pacchetto nuget sul repo aziendale nexus.steamware.net: i pacchetti sono disponibili all'indirizzo
|
||||
|
||||
https://nexus.steamware.net/#browse/browse:nuget-hosted
|
||||
|
||||
Vedere la sezione Articles per maggiori informazioni sulle definizioni, l'impiego ed esempi.
|
||||
|
||||
## Articles
|
||||
|
||||
Per maggiori dettagli, definizioni e demo funzionamento si rimanda alla sezione Articles
|
||||
|
||||
## Api
|
||||
|
||||
Per ogni dettaglio e riferimento alla libreria si rimanda alla sezione Api Documentation
|
||||
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="System.Runtime.Serialization.Primitives" version="4.3.0" targetFramework="net462" />
|
||||
<package id="System.Runtime.Serialization.Xml" version="4.3.0" targetFramework="net462" />
|
||||
<package id="System.ServiceModel.Http" version="4.6.0" targetFramework="net462" />
|
||||
<package id="System.ServiceModel.NetTcp" version="4.6.0" targetFramework="net462" />
|
||||
<package id="System.ServiceModel.Primitives" version="4.6.0" targetFramework="net462" />
|
||||
<package id="System.ServiceModel.Security" version="4.6.0" targetFramework="net462" />
|
||||
</packages>
|
||||
@@ -0,0 +1,6 @@
|
||||
|
||||
- name: Articles
|
||||
href: articles/
|
||||
- name: API Documentation
|
||||
href: obj/api/
|
||||
homepage: api/index.md
|
||||
@@ -16,31 +16,5 @@
|
||||
<add name="SyncState" connectionString="data source=localhost\sqlexpress;initial catalog=MoonPro_ISF;persist security info=True;user id=egalware;password=egalware2022;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.5.0" newVersion="4.0.5.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Text.Encodings.Web" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.5.1" newVersion="4.0.5.1" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.ValueTuple" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.IO.Compression" publicKeyToken="b77a5c561934e089" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
@@ -34,48 +34,18 @@
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Azure.Core, Version=1.6.0.0, Culture=neutral, PublicKeyToken=92742159e12e44c8, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Azure.Core.1.6.0\lib\net461\Azure.Core.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Azure.Identity, Version=1.3.0.0, Culture=neutral, PublicKeyToken=92742159e12e44c8, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Azure.Identity.1.3.0\lib\netstandard2.0\Azure.Identity.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.SqlServer.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.1.0.0\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Data.SqlClient, Version=4.1.0.0, Culture=neutral, PublicKeyToken=23ec7fc2d6eaa4a5, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Data.SqlClient.4.1.1\lib\net461\Microsoft.Data.SqlClient.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Identity.Client, Version=4.22.0.0, Culture=neutral, PublicKeyToken=0a613f4dd989e8ae, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Identity.Client.4.22.0\lib\net461\Microsoft.Identity.Client.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Identity.Client.Extensions.Msal, Version=2.16.5.0, Culture=neutral, PublicKeyToken=0a613f4dd989e8ae, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Identity.Client.Extensions.Msal.2.16.5\lib\net45\Microsoft.Identity.Client.Extensions.Msal.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.IdentityModel.JsonWebTokens, Version=6.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.IdentityModel.JsonWebTokens.6.8.0\lib\net461\Microsoft.IdentityModel.JsonWebTokens.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.IdentityModel.Logging, Version=6.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.IdentityModel.Logging.6.8.0\lib\net461\Microsoft.IdentityModel.Logging.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.IdentityModel.Protocols, Version=6.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.IdentityModel.Protocols.6.8.0\lib\net461\Microsoft.IdentityModel.Protocols.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect, Version=6.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.IdentityModel.Protocols.OpenIdConnect.6.8.0\lib\net461\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.IdentityModel.Tokens, Version=6.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.IdentityModel.Tokens.6.8.0\lib\net461\Microsoft.IdentityModel.Tokens.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\NLog.4.7.9\lib\net45\NLog.dll</HintPath>
|
||||
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\NLog.5.2.3\lib\net46\NLog.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
@@ -83,43 +53,36 @@
|
||||
</Reference>
|
||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Configuration.ConfigurationManager, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Configuration.ConfigurationManager.5.0.0\lib\net461\System.Configuration.ConfigurationManager.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Data.OracleClient" />
|
||||
<Reference Include="System.Diagnostics.DiagnosticSource, Version=4.0.4.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Diagnostics.DiagnosticSource.4.6.0\lib\net46\System.Diagnostics.DiagnosticSource.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.IdentityModel" />
|
||||
<Reference Include="System.IdentityModel.Tokens.Jwt, Version=6.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.IdentityModel.Tokens.Jwt.6.8.0\lib\net461\System.IdentityModel.Tokens.Jwt.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.IO, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.IO.4.3.0\lib\net462\System.IO.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.IO.Compression, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.IO.Compression.4.1.0\lib\net46\System.IO.Compression.dll</HintPath>
|
||||
<Reference Include="System.IO.Compression, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.IO.Compression.4.3.0\lib\net46\System.IO.Compression.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll</HintPath>
|
||||
<Reference Include="System.Memory, Version=4.0.1.2, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Memory.4.5.5\lib\net461\System.Memory.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Net" />
|
||||
<Reference Include="System.Numerics" />
|
||||
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.5.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.6.0\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
||||
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.InteropServices.RuntimeInformation, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.InteropServices.RuntimeInformation.4.3.0\lib\net45\System.Runtime.InteropServices.RuntimeInformation.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.Serialization" />
|
||||
<Reference Include="System.Security" />
|
||||
<Reference Include="System.Security.AccessControl, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Security.AccessControl.5.0.0\lib\net461\System.Security.AccessControl.dll</HintPath>
|
||||
<Reference Include="System.Security.AccessControl, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Security.AccessControl.6.0.0\lib\net461\System.Security.AccessControl.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Security.Cryptography.Algorithms, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Security.Cryptography.Algorithms.4.3.1\lib\net461\System.Security.Cryptography.Algorithms.dll</HintPath>
|
||||
@@ -127,26 +90,11 @@
|
||||
<Reference Include="System.Security.Cryptography.Primitives, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Security.Cryptography.Primitives.4.3.0\lib\net46\System.Security.Cryptography.Primitives.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Security.Cryptography.ProtectedData, Version=4.0.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Security.Cryptography.ProtectedData.4.5.0\lib\net461\System.Security.Cryptography.ProtectedData.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Security.Permissions, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Security.Permissions.5.0.0\lib\net461\System.Security.Permissions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Security.Principal.Windows, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Security.Principal.Windows.5.0.0\lib\net461\System.Security.Principal.Windows.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.ServiceModel" />
|
||||
<Reference Include="System.ServiceProcess" />
|
||||
<Reference Include="System.Text.Encodings.Web, Version=4.0.5.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Text.Encodings.Web.4.7.2\lib\net461\System.Text.Encodings.Web.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Text.Json, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Text.Json.4.6.0\lib\net461\System.Text.Json.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.2\lib\netstandard2.0\System.Threading.Tasks.Extensions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Transactions" />
|
||||
<Reference Include="System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.ValueTuple.4.5.0\lib\net461\System.ValueTuple.dll</HintPath>
|
||||
@@ -186,7 +134,5 @@
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\EntityFramework.6.4.4\build\EntityFramework.targets'))" />
|
||||
<Error Condition="!Exists('..\packages\Microsoft.Data.SqlClient.SNI.4.0.1\build\net46\Microsoft.Data.SqlClient.SNI.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Data.SqlClient.SNI.4.0.1\build\net46\Microsoft.Data.SqlClient.SNI.targets'))" />
|
||||
</Target>
|
||||
<Import Project="..\packages\Microsoft.Data.SqlClient.SNI.4.0.1\build\net46\Microsoft.Data.SqlClient.SNI.targets" Condition="Exists('..\packages\Microsoft.Data.SqlClient.SNI.4.0.1\build\net46\Microsoft.Data.SqlClient.SNI.targets')" />
|
||||
</Project>
|
||||
@@ -1,37 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Azure.Core" version="1.6.0" targetFramework="net462" />
|
||||
<package id="Azure.Identity" version="1.3.0" targetFramework="net462" />
|
||||
<package id="EntityFramework" version="6.4.4" targetFramework="net462" />
|
||||
<package id="Microsoft.Bcl.AsyncInterfaces" version="1.0.0" targetFramework="net462" />
|
||||
<package id="Microsoft.Data.SqlClient" version="4.1.1" targetFramework="net462" />
|
||||
<package id="Microsoft.Data.SqlClient.SNI" version="4.0.1" targetFramework="net462" />
|
||||
<package id="Microsoft.Identity.Client" version="4.22.0" targetFramework="net462" />
|
||||
<package id="Microsoft.Identity.Client.Extensions.Msal" version="2.16.5" targetFramework="net462" />
|
||||
<package id="Microsoft.IdentityModel.JsonWebTokens" version="6.8.0" targetFramework="net462" />
|
||||
<package id="Microsoft.IdentityModel.Logging" version="6.8.0" targetFramework="net462" />
|
||||
<package id="Microsoft.IdentityModel.Protocols" version="6.8.0" targetFramework="net462" />
|
||||
<package id="Microsoft.IdentityModel.Protocols.OpenIdConnect" version="6.8.0" targetFramework="net462" />
|
||||
<package id="Microsoft.IdentityModel.Tokens" version="6.8.0" targetFramework="net462" />
|
||||
<package id="NLog" version="4.7.9" targetFramework="net462" />
|
||||
<package id="NLog" version="5.2.3" targetFramework="net462" />
|
||||
<package id="System.Buffers" version="4.5.1" targetFramework="net462" />
|
||||
<package id="System.Configuration.ConfigurationManager" version="5.0.0" targetFramework="net462" />
|
||||
<package id="System.Diagnostics.DiagnosticSource" version="4.6.0" targetFramework="net462" />
|
||||
<package id="System.IdentityModel.Tokens.Jwt" version="6.8.0" targetFramework="net462" />
|
||||
<package id="System.IO" version="4.3.0" targetFramework="net462" />
|
||||
<package id="System.IO.Compression" version="4.1.0" targetFramework="net462" />
|
||||
<package id="System.Memory" version="4.5.4" targetFramework="net462" />
|
||||
<package id="System.IO.Compression" version="4.3.0" targetFramework="net462" />
|
||||
<package id="System.Memory" version="4.5.5" targetFramework="net462" />
|
||||
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net462" />
|
||||
<package id="System.Runtime.CompilerServices.Unsafe" version="4.6.0" targetFramework="net462" />
|
||||
<package id="System.Runtime.CompilerServices.Unsafe" version="6.0.0" targetFramework="net462" />
|
||||
<package id="System.Runtime.InteropServices.RuntimeInformation" version="4.3.0" targetFramework="net462" />
|
||||
<package id="System.Security.AccessControl" version="5.0.0" targetFramework="net462" />
|
||||
<package id="System.Security.AccessControl" version="6.0.0" targetFramework="net462" />
|
||||
<package id="System.Security.Cryptography.Algorithms" version="4.3.1" targetFramework="net462" />
|
||||
<package id="System.Security.Cryptography.Primitives" version="4.3.0" targetFramework="net462" />
|
||||
<package id="System.Security.Cryptography.ProtectedData" version="4.5.0" targetFramework="net462" />
|
||||
<package id="System.Security.Permissions" version="5.0.0" targetFramework="net462" />
|
||||
<package id="System.Security.Principal.Windows" version="5.0.0" targetFramework="net462" />
|
||||
<package id="System.Text.Encodings.Web" version="4.7.2" targetFramework="net462" />
|
||||
<package id="System.Text.Json" version="4.6.0" targetFramework="net462" />
|
||||
<package id="System.Threading.Tasks.Extensions" version="4.5.2" targetFramework="net462" />
|
||||
<package id="System.ValueTuple" version="4.5.0" targetFramework="net462" />
|
||||
</packages>
|
||||
@@ -12,7 +12,7 @@
|
||||
<copyright>#copyright#</copyright>
|
||||
<tags>EgwProxy.Icoel EgwProxy Icoel</tags>
|
||||
<dependencies>
|
||||
<dependency id="NLog" version="4.7.9" />
|
||||
<dependency id="NLog" version="5.1.2" />
|
||||
<dependency id="EntityFramework" version="6.4.4" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<copyright>#copyright#</copyright>
|
||||
<tags>EgwProxy.Icoel EgwProxy Icoel</tags>
|
||||
<dependencies>
|
||||
<dependency id="NLog" version="4.7.9" />
|
||||
<dependency id="NLog" version="5.1.2" />
|
||||
<dependency id="EntityFramework" version="6.4.4" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
|
||||
@@ -1,25 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
|
||||
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
||||
</configSections>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
|
||||
</startup>
|
||||
<entityFramework>
|
||||
<providers>
|
||||
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
|
||||
</providers>
|
||||
</entityFramework>
|
||||
<appSettings>
|
||||
<add key="IndirizzoIpSizer" value="192.168.137.50" />
|
||||
<add key="SizerTcpPort" value="8001" />
|
||||
<add key="EntrataFrontiera" value="data source=192.168.137.10\sqlexpress;initial catalog=frontiera;persist security info=True;user id=egalware;password=egalware2022;MultipleActiveResultSets=True;App=IOB-WIN-NEXT" />
|
||||
<add key="ExportIcoel" value="data source=192.168.137.10\sqlexpress;initial catalog=IcoelExport;persist security info=True;user id=egalware;password=egalware2022;MultipleActiveResultSets=True;App=IOB-WIN-NEXT" />
|
||||
<add key="TrackerLotti" value="data source=192.168.250.250\sqlexpress;initial catalog=TrackerLotti3;persist security info=True;user id=egalware;password=egalware2022;MultipleActiveResultSets=True;App=IOB-WIN-NEXT" />
|
||||
<add key="SyncState" value="data source=localhost\sqlexpress;initial catalog=MoonPro_ISF;persist security info=True;user id=egalware;password=egalware2022;MultipleActiveResultSets=True;App=IOB-WIN-NEXT" />
|
||||
</appSettings>
|
||||
<configSections>
|
||||
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
|
||||
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
||||
</configSections>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
|
||||
</startup>
|
||||
<entityFramework>
|
||||
<providers>
|
||||
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
|
||||
</providers>
|
||||
</entityFramework>
|
||||
<appSettings>
|
||||
<add key="IndirizzoIpSizer" value="192.168.137.50" />
|
||||
<add key="SizerTcpPort" value="8001" />
|
||||
<add key="EntrataFrontiera" value="data source=192.168.137.10\sqlexpress;initial catalog=frontiera;persist security info=True;user id=egalware;password=egalware2022;MultipleActiveResultSets=True;App=IOB-WIN-NEXT" />
|
||||
<add key="ExportIcoel" value="data source=192.168.137.10\sqlexpress;initial catalog=IcoelExport;persist security info=True;user id=egalware;password=egalware2022;MultipleActiveResultSets=True;App=IOB-WIN-NEXT" />
|
||||
<add key="TrackerLotti" value="data source=192.168.250.250\sqlexpress;initial catalog=TrackerLotti3;persist security info=True;user id=egalware;password=egalware2022;MultipleActiveResultSets=True;App=IOB-WIN-NEXT" />
|
||||
<add key="SyncState" value="data source=localhost\sqlexpress;initial catalog=MoonPro_ISF;persist security info=True;user id=egalware;password=egalware2022;MultipleActiveResultSets=True;App=IOB-WIN-NEXT" />
|
||||
</appSettings>
|
||||
<system.serviceModel>
|
||||
<bindings>
|
||||
<netNamedPipeBinding>
|
||||
@@ -38,40 +38,14 @@
|
||||
<endpoint address="net.pipe://localhost/Compac/8001/SizerService" binding="netNamedPipeBinding" bindingConfiguration="NetNamedPipeBinding_ISizerService" contract="SizerService.ISizerService" name="NetNamedPipeBinding_ISizerService" />
|
||||
</client>
|
||||
</system.serviceModel>
|
||||
<!--
|
||||
<connectionStrings>
|
||||
<add name="EntrataFrontiera" connectionString="data source=192.168.137.10\sqlexpress;initial catalog=frontiera;persist security info=True;user id=egalware;password=egalware2022;MultipleActiveResultSets=True;App=IOB-WIN-NEXT" providerName="System.Data.SqlClient" />
|
||||
<add name="ExportIcoel" connectionString="data source=192.168.137.10\sqlexpress;initial catalog=IcoelExport;persist security info=True;user id=egalware;password=egalware2022;MultipleActiveResultSets=True;App=IOB-WIN-NEXT" providerName="System.Data.SqlClient" />
|
||||
<add name="TrackerLotti" connectionString="data source=192.168.250.250\sqlexpress;initial catalog=TrackerLotti3;persist security info=True;user id=egalware;password=egalware2022;MultipleActiveResultSets=True;App=IOB-WIN-NEXT" providerName="System.Data.SqlClient" />
|
||||
<add name="SyncState" connectionString="data source=localhost\sqlexpress;initial catalog=MoonPro_ISF;persist security info=True;user id=egalware;password=egalware2022;MultipleActiveResultSets=True;App=IOB-WIN-NEXT" providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
-->
|
||||
<!--
|
||||
<connectionStrings>
|
||||
<add name="EntrataFrontiera" connectionString="data source=192.168.137.10\sqlexpress;initial catalog=frontiera;persist security info=True;user id=egalware;password=egalware2022;MultipleActiveResultSets=True;App=IOB-WIN-NEXT" providerName="System.Data.SqlClient" />
|
||||
<add name="ExportIcoel" connectionString="data source=192.168.137.10\sqlexpress;initial catalog=IcoelExport;persist security info=True;user id=egalware;password=egalware2022;MultipleActiveResultSets=True;App=IOB-WIN-NEXT" providerName="System.Data.SqlClient" />
|
||||
<add name="TrackerLotti" connectionString="data source=192.168.250.250\sqlexpress;initial catalog=TrackerLotti3;persist security info=True;user id=egalware;password=egalware2022;MultipleActiveResultSets=True;App=IOB-WIN-NEXT" providerName="System.Data.SqlClient" />
|
||||
<add name="SyncState" connectionString="data source=localhost\sqlexpress;initial catalog=MoonPro_ISF;persist security info=True;user id=egalware;password=egalware2022;MultipleActiveResultSets=True;App=IOB-WIN-NEXT" providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
-->
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.5.0" newVersion="4.0.5.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Text.Encodings.Web" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.5.1" newVersion="4.0.5.1" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.ValueTuple" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.IO.Compression" publicKeyToken="b77a5c561934e089" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
|
||||
@@ -36,8 +36,8 @@
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.IO.Compression, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.IO.Compression.4.1.0\lib\net46\System.IO.Compression.dll</HintPath>
|
||||
<Reference Include="System.IO.Compression, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.IO.Compression.4.3.0\lib\net46\System.IO.Compression.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="System.IO.Compression" version="4.1.0" targetFramework="net462" />
|
||||
<package id="System.IO.Compression" version="4.3.0" targetFramework="net462" />
|
||||
</packages>
|
||||
@@ -33,31 +33,5 @@
|
||||
<add name="EntrataFrontiera" connectionString="data source=192.168.137.10\sqlexpress;initial catalog=frontiera;persist security info=True;user id=egalware;password=egalware2022;MultipleActiveResultSets=True;App=EntityFramework" providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.5.0" newVersion="4.0.5.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Text.Encodings.Web" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.5.1" newVersion="4.0.5.1" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.ValueTuple" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.IO.Compression" publicKeyToken="b77a5c561934e089" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.1.0.0" newVersion="4.1.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
@@ -39,15 +39,16 @@
|
||||
<StartupObject />
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="NLog, Version=4.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\NLog.4.7.9\lib\net45\NLog.dll</HintPath>
|
||||
<Reference Include="NLog, Version=5.0.0.0, Culture=neutral, PublicKeyToken=5120e14c03d0593c, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\NLog.5.2.3\lib\net46\NLog.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.IO.Compression, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.IO.Compression.4.1.0\lib\net46\System.IO.Compression.dll</HintPath>
|
||||
<Reference Include="System.IO.Compression, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.IO.Compression.4.3.0\lib\net46\System.IO.Compression.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.Serialization" />
|
||||
<Reference Include="System.ServiceModel" />
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="NLog" version="4.7.9" targetFramework="net462" />
|
||||
<package id="System.IO.Compression" version="4.1.0" targetFramework="net462" />
|
||||
<package id="NLog" version="5.2.3" targetFramework="net462" />
|
||||
<package id="System.IO.Compression" version="4.3.0" targetFramework="net462" />
|
||||
</packages>
|
||||
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package >
|
||||
<metadata>
|
||||
<id>EgwProxy.SqlDb</id>
|
||||
<version>#version#</version>
|
||||
<title>EgwProxy.SqlDb</title>
|
||||
<authors>Samuele E. Locatelli, EgalWare</authors>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<license type="expression">MIT</license>
|
||||
<description>Libreria per comunicazione con generico DB SqlDb di frontiera x scambio dati (IOB-WIN-NEXT) - beta/unstable</description>
|
||||
<releaseNotes>#releaseNotes#</releaseNotes>
|
||||
<copyright>#copyright#</copyright>
|
||||
<tags>EgwProxy.SqlDb EgwProxy SqlDb</tags>
|
||||
<dependencies>
|
||||
<dependency id="NLog" version="5.1.2" />
|
||||
<dependency id="EntityFramework" version="6.4.4" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="EgwProxy.SqlDb\bin\Debug\EgwProxy*.dll" target="lib" />
|
||||
<file src="EgwProxy.SqlDb\bin\Debug\EgwProxy*.config" target="lib" />
|
||||
<file src="EgwProxy.SqlDb\bin\Debug\EgwProxy*.pdb" target="lib" />
|
||||
</files>
|
||||
</package>
|
||||
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package >
|
||||
<metadata>
|
||||
<id>EgwProxy.SqlDb</id>
|
||||
<version>#version#</version>
|
||||
<title>EgwProxy.SqlDb</title>
|
||||
<authors>Samuele E. Locatelli, EgalWare</authors>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<license type="expression">MIT</license>
|
||||
<description>Libreria per comunicazione con generico DB SqlDb di frontiera x scambio dati (IOB-WIN-NEXT)</description>
|
||||
<releaseNotes>#releaseNotes#</releaseNotes>
|
||||
<copyright>#copyright#</copyright>
|
||||
<tags>EgwProxy.SqlDb EgwProxy SqlDb</tags>
|
||||
<dependencies>
|
||||
<dependency id="NLog" version="5.1.2" />
|
||||
<dependency id="EntityFramework" version="6.4.4" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="EgwProxy.SqlDb\bin\Release\EgwProxy*.dll" target="lib" />
|
||||
<file src="EgwProxy.SqlDb\bin\Release\EgwProxy*.config" target="lib" />
|
||||
</files>
|
||||
</package>
|
||||
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
|
||||
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
|
||||
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
||||
</configSections>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
|
||||
</startup>
|
||||
<entityFramework>
|
||||
<providers>
|
||||
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
|
||||
</providers>
|
||||
</entityFramework>
|
||||
<appSettings>
|
||||
<add key="testFile" value="conf/testSetup.json" />
|
||||
<add key="server" value="SQL2016DEV" />
|
||||
<add key="userName" value="sa" />
|
||||
<add key="passwd" value="keyhammer16" />
|
||||
<add key="ClientSettingsProvider.ServiceUri" value="" />
|
||||
</appSettings>
|
||||
<runtime>
|
||||
</runtime>
|
||||
</configuration>
|
||||
@@ -0,0 +1,105 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\packages\EntityFramework.6.4.4\build\EntityFramework.props" Condition="Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.props')" />
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{A11CA446-AE97-413D-A567-45A081F003DB}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>EgwProxy.SqlDb.Test</RootNamespace>
|
||||
<AssemblyName>EgwProxy.SqlDb.Test</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<Deterministic>true</Deterministic>
|
||||
<NuGetPackageImportStamp>
|
||||
</NuGetPackageImportStamp>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Remote_DEBUG|AnyCPU'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\Remote_DEBUG\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<LangVersion>7.3</LangVersion>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\EntityFramework.6.4.4\lib\net45\EntityFramework.SqlServer.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="TestSetup.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
<None Include="conf\.placeholder" />
|
||||
<None Include="conf\testSetup.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="packages.config" />
|
||||
<None Include="postBuildTgt.bat" />
|
||||
<None Include="setupTgt.bat" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\EgwProxy.SqlDb\EgwProxy.SqlDb.csproj">
|
||||
<Project>{a5f9e2c8-b866-4470-923c-11ba35270963}</Project>
|
||||
<Name>EgwProxy.SqlDb</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\EntityFramework.6.4.4\build\EntityFramework.props'))" />
|
||||
<Error Condition="!Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\EntityFramework.6.4.4\build\EntityFramework.targets'))" />
|
||||
</Target>
|
||||
<Import Project="..\packages\EntityFramework.6.4.4\build\EntityFramework.targets" Condition="Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.targets')" />
|
||||
<PropertyGroup>
|
||||
<PreBuildEvent>"$(ProjectDir)setupTgt.bat" "$(ConfigurationName)" "$(ProjectDir)"</PreBuildEvent>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>"$(ProjectDir)postBuildTgt.bat" "$(ConfigurationName)" "$(TargetDir)"</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -0,0 +1,296 @@
|
||||
using EgwProxy.SqlDb.Controllers;
|
||||
using EgwProxy.SqlDb.DbModels;
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using static System.Net.Mime.MediaTypeNames;
|
||||
|
||||
namespace EgwProxy.SqlDb.Test
|
||||
{
|
||||
internal class Program
|
||||
{
|
||||
#region Protected Methods
|
||||
|
||||
/// <summary>
|
||||
/// legge conf in formato stringa
|
||||
/// </summary>
|
||||
/// <param name="key"></param>
|
||||
/// <returns></returns>
|
||||
protected static string ReadSetting(string key)
|
||||
{
|
||||
string answ = "";
|
||||
try
|
||||
{
|
||||
answ = $"{ConfigurationManager.AppSettings[key]}" ?? "";
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
Console.Write("Eccezione in ReadSettings");
|
||||
Console.Write(exc.Message);
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
|
||||
#region Private Fields
|
||||
|
||||
/// <summary>
|
||||
/// Helper separatore dash
|
||||
/// </summary>
|
||||
private const string separator = "------------------------";
|
||||
|
||||
#endregion Private Fields
|
||||
|
||||
#region Private Methods
|
||||
|
||||
/// <summary>
|
||||
/// Programma principale
|
||||
/// </summary>
|
||||
/// <param name="args"></param>
|
||||
private static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine(separator);
|
||||
Console.WriteLine("Test DB Client");
|
||||
Console.WriteLine(separator);
|
||||
Console.WriteLine();
|
||||
string exePath = System.Reflection.Assembly.GetExecutingAssembly().Location;
|
||||
string BaseDirectory = Path.GetDirectoryName(exePath);
|
||||
string testFile = Path.Combine(BaseDirectory, ReadSetting("testFile"));
|
||||
string connStr = "";
|
||||
DbController dbClient = new DbController(connStr);
|
||||
if (!string.IsNullOrEmpty(testFile))
|
||||
{
|
||||
Console.WriteLine(separator);
|
||||
Console.WriteLine($"Mode json ({testFile})");
|
||||
Console.WriteLine(separator);
|
||||
Console.WriteLine();
|
||||
if (File.Exists(testFile))
|
||||
{
|
||||
var rawData = File.ReadAllText(testFile);
|
||||
if (!string.IsNullOrEmpty(rawData))
|
||||
{
|
||||
TestSetup testConf = new TestSetup();
|
||||
try
|
||||
{
|
||||
testConf = JsonConvert.DeserializeObject<TestSetup>(rawData);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
// setup server
|
||||
connStr = $"data source={testConf.server};initial catalog={testConf.dbName};persist security info=True;user id={testConf.user};password={testConf.password};MultipleActiveResultSets=True;App={testConf.app}";
|
||||
dbClient = new DbController(connStr);
|
||||
serverTest(dbClient);
|
||||
|
||||
// eseguo per ogni step
|
||||
foreach (var item in testConf.steps)
|
||||
{
|
||||
Console.WriteLine($"------ Step {item.id} | {item.description} ------");
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.AppendLine(separator);
|
||||
switch (item.action)
|
||||
{
|
||||
case stepType.GetSyncState:
|
||||
var currTab = dbClient.SyncStateGetAll();
|
||||
if (currTab != null && currTab.Count > 0)
|
||||
{
|
||||
foreach (var syncRec in currTab)
|
||||
{
|
||||
sb.AppendLine($"{syncRec.TableName} | {syncRec.LastIdx} | {syncRec.Note} | {syncRec.LastUpdate}");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
sb.AppendLine("Error: Table empty/missing!");
|
||||
}
|
||||
sb.AppendLine(separator);
|
||||
|
||||
break;
|
||||
|
||||
|
||||
case stepType.ResetPodl:
|
||||
sb.AppendLine("Inizio reset PODL");
|
||||
|
||||
var dbRes = dbClient.ResetPODLMes();
|
||||
if (dbRes.Count == 0)
|
||||
{
|
||||
sb.AppendLine("Pulizia eseguita!");
|
||||
}
|
||||
else
|
||||
{
|
||||
sb.AppendLine("Problemi con svuotamento tab PODL");
|
||||
}
|
||||
|
||||
sb.AppendLine(separator);
|
||||
|
||||
break;
|
||||
case stepType.SetNewPodl:
|
||||
sb.AppendLine($"Inizio inserimento {item.paramList.Count} rec");
|
||||
// creo una lista di PODL da processare...
|
||||
List<MesPODLReqModel> CurrPodlReq = new List<MesPODLReqModel>();
|
||||
foreach (var podl in item.paramList)
|
||||
{
|
||||
int idxPodl = 0;
|
||||
int.TryParse(podl, out idxPodl);
|
||||
MesPODLReqModel newRec = new MesPODLReqModel()
|
||||
{
|
||||
Attivabile = true,
|
||||
CodArticolo = "ART000000",
|
||||
IdxMacchina = "SIMUL_01",
|
||||
IdxODL = 0,
|
||||
IdxPromessa = idxPodl,
|
||||
NumPezzi = 1
|
||||
};
|
||||
CurrPodlReq.Add(newRec);
|
||||
sb.AppendLine($"Aggiunto PODL{podl:0000000}");
|
||||
}
|
||||
// chiamo procedura insert PODL
|
||||
bool fatto = dbClient.MesPodlWriteReq(CurrPodlReq);
|
||||
sb.AppendLine($"Records Aggiunti!");
|
||||
sb.AppendLine(separator);
|
||||
break;
|
||||
case stepType.DbMigrateAndSync:
|
||||
try
|
||||
{
|
||||
var esitoMigrate = dbClient.DbForceMigrate();
|
||||
sb.Append($"Migration: {esitoMigrate}");
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
sb.AppendLine($"eccezione in migrate:{Environment.NewLine}{exc}");
|
||||
}
|
||||
break;
|
||||
|
||||
case stepType.ExecExportAll:
|
||||
try
|
||||
{
|
||||
var esitoExport = dbClient.SyncStateDoExportAll();
|
||||
sb.Append($"ExportAll: {esitoExport}");
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
sb.AppendLine($"eccezione in ExportAll:{Environment.NewLine}{exc}");
|
||||
}
|
||||
break;
|
||||
case stepType.ExecImportAll:
|
||||
try
|
||||
{
|
||||
var esitoImport = dbClient.SyncStateDoImportAll();
|
||||
sb.Append($"ImportAll: {esitoImport}");
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
sb.AppendLine($"eccezione in ImportAll:{Environment.NewLine}{exc}");
|
||||
}
|
||||
break;
|
||||
case stepType.GetMachFluxLog:
|
||||
try
|
||||
{
|
||||
var currFL = dbClient.MachFluxLogGetNew(0);
|
||||
// mostro le righe
|
||||
foreach (var fluxRow in currFL)
|
||||
{
|
||||
// aggiungo riga in out
|
||||
sb.Append($"{fluxRow.Id:000} | {fluxRow.DtEvento} | {fluxRow.CodFlux} | {fluxRow.Valore}");
|
||||
}
|
||||
// aggiorno syncstate...
|
||||
int lastIdx = currFL.Max(x => x.Id);
|
||||
SyncStateModel currSync = new SyncStateModel()
|
||||
{
|
||||
LastIdx = lastIdx,
|
||||
LastUpdate = DateTime.Now,
|
||||
Note = "Test update",
|
||||
TableName = "FluxLog"
|
||||
};
|
||||
dbClient.SyncStateUpsert(currSync);
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
sb.AppendLine($"eccezione in GetMachFluxLog:{Environment.NewLine}{exc}");
|
||||
}
|
||||
break;
|
||||
case stepType.GetMachProdData:
|
||||
try
|
||||
{
|
||||
var currFL = dbClient.MachProdDataGetNew(0);
|
||||
// mostro le righe
|
||||
foreach (var fluxRow in currFL)
|
||||
{
|
||||
// aggiungo riga in out
|
||||
sb.Append($"{fluxRow.Id:000} | {fluxRow.DtEve} | {fluxRow.CodComm} | {fluxRow.Action}");
|
||||
}
|
||||
// aggiorno syncstate...
|
||||
int lastIdx = currFL.Max(x => x.Id);
|
||||
SyncStateModel currSync = new SyncStateModel()
|
||||
{
|
||||
LastIdx = lastIdx,
|
||||
LastUpdate = DateTime.Now,
|
||||
Note = "Test update",
|
||||
TableName = "ProdData"
|
||||
};
|
||||
dbClient.SyncStateUpsert(currSync);
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
sb.AppendLine($"eccezione in GetMachProdData:{Environment.NewLine}{exc}");
|
||||
}
|
||||
break;
|
||||
case stepType.GetMachSignLog:
|
||||
try
|
||||
{
|
||||
var currFL = dbClient.MachSigLogGetNew(0);
|
||||
// mostro le righe
|
||||
foreach (var fluxRow in currFL)
|
||||
{
|
||||
// aggiungo riga in out
|
||||
sb.Append($"{fluxRow.Id:000} | {fluxRow.DtEve} | {fluxRow.ValInt} | {fluxRow.Valore}");
|
||||
}
|
||||
// aggiorno syncstate...
|
||||
int lastIdx = currFL.Max(x => x.Id);
|
||||
SyncStateModel currSync = new SyncStateModel()
|
||||
{
|
||||
LastIdx = lastIdx,
|
||||
LastUpdate = DateTime.Now,
|
||||
Note = "Test update",
|
||||
TableName = "SignLog"
|
||||
};
|
||||
dbClient.SyncStateUpsert(currSync);
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
sb.AppendLine($"eccezione in GetMachSignLog:{Environment.NewLine}{exc}");
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
string esitoStep = sb.ToString();
|
||||
|
||||
Console.WriteLine(esitoStep);
|
||||
Console.WriteLine($"------ Done Step {item.id} ------");
|
||||
Console.WriteLine();
|
||||
Console.WriteLine("Press a key to continue...");
|
||||
Console.ReadKey();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static void serverTest(DbController dbClient)
|
||||
{
|
||||
Console.WriteLine(separator);
|
||||
string testServer = dbClient.ServerOk();
|
||||
Console.WriteLine($"Test connessione: esito {testServer}");
|
||||
Console.WriteLine(separator);
|
||||
Console.WriteLine();
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("EgwProxy.SqlDb.Test")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("EgwProxy.SqlDb.Test")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2023")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("a11ca446-ae97-413d-a567-45a081f003db")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,107 @@
|
||||
ALTER PROCEDURE [dbo].[GetMachineFluxLog]
|
||||
AS
|
||||
BEGIN
|
||||
|
||||
-- SET NOCOUNT ON added to prevent extra result sets from
|
||||
-- interfering with SELECT statements.
|
||||
SET NOCOUNT ON;
|
||||
|
||||
BEGIN tran
|
||||
|
||||
-- dichiarazioni variabili x recupero dati
|
||||
DECLARE @LastIdx INT = 0
|
||||
DECLARE @NewIdx INT = 0
|
||||
|
||||
-- recupero valore ultima riga stato processata...
|
||||
SELECT @LastIdx = ISNULL(LastIdx,0)
|
||||
FROM SyncState
|
||||
WHERE TableName = 'ToMachineFluxLog'
|
||||
|
||||
-- recupero nuovo MAX idx
|
||||
SELECT @NewIdx = ISNULL(MAX(ID),0)
|
||||
FROM syn_M2ERP_MACHINE_STATE
|
||||
|
||||
-- eseguo SOLO SE ho dati aggiuntivi...
|
||||
IF(@NewIdx > @LastIdx)
|
||||
BEGIN
|
||||
/* --------------------------------------------------
|
||||
* Invierò solo VARIAZIONI dei valori
|
||||
* - CurrentPP (Part Program)
|
||||
* - ActiveProdOrder (Ordine in esecuzione)
|
||||
*
|
||||
* andando ad incrociare ogni record col precedente...
|
||||
* -------------------------------------------------- */
|
||||
|
||||
-- processo dati ORDINI
|
||||
;WITH cteCurrOrd AS
|
||||
(
|
||||
SELECT ID
|
||||
,ActiveProdOrder
|
||||
,Targa as IdxMacchina
|
||||
,[DateTime] AS DtEvento
|
||||
FROM syn_M2ERP_MACHINE_STATE
|
||||
WHERE ID > @LastIdx AND ID <= @NewIdx
|
||||
)
|
||||
, ctePrevOrd AS
|
||||
(
|
||||
SELECT ID
|
||||
,ActiveProdOrder
|
||||
,Targa as IdxMacchina
|
||||
,[DateTime] AS DtEvento
|
||||
FROM syn_M2ERP_MACHINE_STATE
|
||||
WHERE ID >= @LastIdx AND ID < @NewIdx
|
||||
)
|
||||
|
||||
-- lego i valori col precedente x calcolare se siano variati x insert valori
|
||||
INSERT INTO MachineFluxLog(DtEvento, IdxMacchina, CodFlux, Valore, Cnt)
|
||||
SELECT curr.DtEvento, curr.IdxMacchina, 'ProdOrd' AS CodFlux, curr.ActiveProdOrder as Valore, 0 as Cnt
|
||||
FROM cteCurrOrd curr
|
||||
INNER JOIN ctePrevOrd prev
|
||||
ON curr.ID = prev.ID+1
|
||||
WHERE curr.ActiveProdOrder <> prev.ActiveProdOrder
|
||||
|
||||
-- processo dati Part Program
|
||||
;WITH cteCurrPP AS
|
||||
(
|
||||
SELECT ID
|
||||
,CurrentPP
|
||||
,Targa as IdxMacchina
|
||||
,[DateTime] AS DtEvento
|
||||
FROM syn_M2ERP_MACHINE_STATE
|
||||
WHERE ID > @LastIdx AND ID <= @NewIdx
|
||||
)
|
||||
, ctePrevPP AS
|
||||
(
|
||||
SELECT ID
|
||||
,CurrentPP
|
||||
,Targa as IdxMacchina
|
||||
,[DateTime] AS DtEvento
|
||||
FROM syn_M2ERP_MACHINE_STATE
|
||||
WHERE ID >= @LastIdx AND ID < @NewIdx
|
||||
)
|
||||
|
||||
-- lego i valori col precedente x calcolare se siano variati x insert valori
|
||||
INSERT INTO MachineFluxLog(DtEvento, IdxMacchina, CodFlux, Valore, Cnt)
|
||||
SELECT curr.DtEvento, curr.IdxMacchina, 'PartProg' as CodFlux, curr.CurrentPP as Valore, 0 as Cnt
|
||||
FROM cteCurrPP curr
|
||||
INNER JOIN ctePrevPP prev
|
||||
ON curr.ID = prev.ID+1
|
||||
WHERE curr.CurrentPP <> prev.CurrentPP
|
||||
|
||||
|
||||
-- aggiorno valore indice processato
|
||||
MERGE SyncState AS tgt
|
||||
USING (SELECT @NewIdx as LastIdx, 'ToMachineFluxLog' AS TableName) as src (LastIdx, TableName)
|
||||
ON (tgt.TableName = src.TableName)
|
||||
WHEN MATCHED THEN
|
||||
UPDATE SET LastIdx = src.LastIdx
|
||||
,Note = 'UPDATED from ' + CAST(@LastIdx AS NVARCHAR(50))
|
||||
,LastUpdate = GETDATE()
|
||||
WHEN NOT MATCHED THEN
|
||||
INSERT (LastIdx, TableName, Note, LastUpdate)
|
||||
VALUES (src.LastIdx, src.TableName, 'CREATED', GETDATE());
|
||||
|
||||
END
|
||||
|
||||
COMMIT tran
|
||||
END
|
||||
@@ -0,0 +1,166 @@
|
||||
ALTER PROCEDURE [dbo].[stp_GetMachineProdData]
|
||||
AS
|
||||
BEGIN
|
||||
-- SET NOCOUNT ON added to prevent extra result sets from
|
||||
-- interfering with SELECT statements.
|
||||
SET NOCOUNT ON;
|
||||
|
||||
BEGIN tran
|
||||
|
||||
-- dichiarazioni variabili x recupero dati
|
||||
DECLARE @LastIdx INT = 0
|
||||
DECLARE @NewIdx INT = 0
|
||||
|
||||
-- recupero valore ultima riga stato processata...
|
||||
SELECT @LastIdx = ISNULL(LastIdx,0)
|
||||
FROM SyncState
|
||||
WHERE TableName = 'ToMachineProdData'
|
||||
|
||||
-- recupero nuovo MAX idx
|
||||
SELECT @NewIdx = ISNULL(MAX(ID),0)
|
||||
FROM syn_M2ERP_PRODORDERS
|
||||
|
||||
-- eseguo SOLO SE ho dati aggiuntivi...
|
||||
IF(@NewIdx > @LastIdx)
|
||||
BEGIN
|
||||
/* --------------------------------------------------
|
||||
* Invierò solo VARIAZIONI dei valori
|
||||
* - CurrentProdOrder (iniziato/concluso)
|
||||
* - Quantità Produzione
|
||||
* - dati FluxLog x ordini/quantità/tempi di produzione
|
||||
*
|
||||
* andando ad incrociare ogni record col precedente...
|
||||
* -------------------------------------------------- */
|
||||
|
||||
-- processo dati ORDINI
|
||||
;WITH cteCurrOrd AS
|
||||
(
|
||||
SELECT ID
|
||||
,ProdOrder
|
||||
,Targa as IdxMacchina
|
||||
,[DateTime] AS DtEvento
|
||||
,ProdOrderState
|
||||
,ProdQty
|
||||
FROM syn_M2ERP_PRODORDERS
|
||||
WHERE ID > @LastIdx AND ID <= @NewIdx
|
||||
)
|
||||
, ctePrevOrd AS
|
||||
(
|
||||
SELECT ID
|
||||
,ProdOrder
|
||||
,Targa as IdxMacchina
|
||||
,[DateTime] AS DtEvento
|
||||
,ProdOrderState
|
||||
,ProdQty
|
||||
FROM syn_M2ERP_PRODORDERS
|
||||
WHERE ID >= @LastIdx AND ID < @NewIdx
|
||||
)
|
||||
, cteActDec AS
|
||||
(
|
||||
SELECT curr.DtEvento as DtEve
|
||||
,curr.IdxMacchina
|
||||
,CASE
|
||||
WHEN curr.ProdOrderState = 1 THEN 'StartOrd'
|
||||
--WHEN curr.ProdOrderState = 2 THEN 'PauseOrd'
|
||||
WHEN curr.ProdOrderState = 3 THEN 'EndOrd'
|
||||
--WHEN curr.ProdOrderState = 6 THEN 'InsOrd'
|
||||
ELSE 'NONE'
|
||||
END AS OrdAction
|
||||
,CASE
|
||||
WHEN LEFT(curr.ProdOrder, 4) = 'PODL' THEN REPLACE(curr.ProdOrder,'PODL','')
|
||||
ELSE 0 END AS IdxPodl
|
||||
,CASE
|
||||
WHEN LEFT(curr.ProdOrder, 3) = 'ODL' THEN REPLACE(curr.ProdOrder,'ODL','')
|
||||
ELSE 0 END AS IdxOdl
|
||||
,curr.ProdOrder as CodComm
|
||||
,curr.ProdQty as PzCount
|
||||
FROM cteCurrOrd curr
|
||||
INNER JOIN ctePrevOrd prev
|
||||
ON curr.ID = prev.ID+1
|
||||
WHERE (curr.ProdOrder <> prev.ProdOrder)
|
||||
OR (curr.ProdOrderState <> prev.ProdOrderState)
|
||||
OR (curr.ProdQty <> prev.ProdQty)
|
||||
)
|
||||
-- lego i valori col precedente x calcolare se siano variati x insert valori
|
||||
INSERT INTO MachineProdData(DtEve, IdxMacchina, Action, IdxPodl, IdxOdl, CodComm, PzCount)
|
||||
SELECT DtEve, IdxMacchina, OrdAction, IdxPodl, IdxOdl, CodComm, PzCount
|
||||
FROM cteActDec
|
||||
WHERE OrdAction <> 'NONE'
|
||||
|
||||
-- ora processo ANCHE come fluxLog i record dei degli ordini (cod ordine, tempi...)
|
||||
;WITH cteCurrOrd AS
|
||||
(
|
||||
SELECT ID
|
||||
,ProdOrder
|
||||
,Targa as IdxMacchina
|
||||
,[DateTime] AS DtEvento
|
||||
,ProdOrderState
|
||||
,ProdQty
|
||||
,ElapsedTime
|
||||
FROM syn_M2ERP_PRODORDERS
|
||||
WHERE ID > @LastIdx AND ID <= @NewIdx
|
||||
)
|
||||
, ctePrevOrd AS
|
||||
(
|
||||
SELECT ID
|
||||
,ProdOrder
|
||||
,Targa as IdxMacchina
|
||||
,[DateTime] AS DtEvento
|
||||
,ProdOrderState
|
||||
,ProdQty
|
||||
,ElapsedTime
|
||||
FROM syn_M2ERP_PRODORDERS
|
||||
WHERE ID >= @LastIdx AND ID < @NewIdx
|
||||
)
|
||||
, cteActDec AS
|
||||
(
|
||||
SELECT curr.DtEvento as DtEve
|
||||
,curr.IdxMacchina
|
||||
,CASE
|
||||
WHEN curr.ProdOrderState = 1 THEN 'StartOrd'
|
||||
--WHEN curr.ProdOrderState = 2 THEN 'PauseOrd'
|
||||
WHEN curr.ProdOrderState = 3 THEN 'EndOrd'
|
||||
--WHEN curr.ProdOrderState = 6 THEN 'InsOrd'
|
||||
ELSE 'NONE'
|
||||
END AS OrdAction
|
||||
,CAST(CASE
|
||||
WHEN LEFT(curr.ProdOrder, 4) = 'PODL' THEN REPLACE(curr.ProdOrder,'PODL','')
|
||||
ELSE '0' END AS NVARCHAR(50)) AS IdxPodl
|
||||
,CAST(CASE
|
||||
WHEN LEFT(curr.ProdOrder, 3) = 'ODL' THEN REPLACE(curr.ProdOrder,'ODL','')
|
||||
ELSE '0' END AS NVARCHAR(50)) AS IdxOdl
|
||||
,CAST(curr.ProdOrder AS NVARCHAR(50)) as CodComm
|
||||
,curr.ProdQty as PzCount
|
||||
,CAST(curr.ElapsedTime AS NVARCHAR(50)) AS ElapsedTime
|
||||
FROM cteCurrOrd curr
|
||||
INNER JOIN ctePrevOrd prev
|
||||
ON curr.ID = prev.ID+1
|
||||
WHERE (curr.ProdOrder <> prev.ProdOrder)
|
||||
OR (curr.ProdOrderState <> prev.ProdOrderState)
|
||||
OR (curr.ProdQty <> prev.ProdQty)
|
||||
)
|
||||
-- lego i valori col precedente x calcolare se siano variati x insert valori
|
||||
--INSERT INTO MachineFluxLog(DtEvento, IdxMacchina, CodFlux, Valore, Cnt)
|
||||
SELECT DtEve as DtEvento, IdxMacchina, CodFlux, Valore,0 as Cnt
|
||||
FROM cteActDec
|
||||
UNPIVOT (Valore FOR CodFlux IN (CodComm, ElapsedTime, IdxOdl, IdxPOdl)) AS Unpvt
|
||||
WHERE OrdAction <> 'NONE'
|
||||
AND Valore <> '0'
|
||||
|
||||
-- aggiorno valore indice processato
|
||||
MERGE SyncState AS tgt
|
||||
USING (SELECT @NewIdx as LastIdx, 'ToMachineProdData' AS TableName) as src (LastIdx, TableName)
|
||||
ON (tgt.TableName = src.TableName)
|
||||
WHEN MATCHED THEN
|
||||
UPDATE SET LastIdx = src.LastIdx
|
||||
,Note = 'UPDATED from ' + CAST(@LastIdx AS NVARCHAR(50))
|
||||
,LastUpdate = GETDATE()
|
||||
WHEN NOT MATCHED THEN
|
||||
INSERT (LastIdx, TableName, Note, LastUpdate)
|
||||
VALUES (src.LastIdx, src.TableName, 'CREATED', GETDATE());
|
||||
|
||||
END
|
||||
|
||||
COMMIT tran
|
||||
|
||||
END
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,36 @@
|
||||
/****** MoonPro_IOB-ISF_PAMA Script Date: 13/03/2023 19:03:53 ******/
|
||||
|
||||
-- creazione sinonimi
|
||||
CREATE SYNONYM [dbo].[syn_ERP2M] FOR [P_HUB_PLD392].[dbo].[ERP2M]
|
||||
CREATE SYNONYM [dbo].[syn_M2ERP_MACHINE_STATE] FOR [P_HUB_PLD392].[dbo].[M2ERP_MACHINE_STATE]
|
||||
CREATE SYNONYM [dbo].[syn_M2ERP_PRODORDERS] FOR [P_HUB_PLD392].[dbo].[M2ERP_PRODORDERS]
|
||||
|
||||
GO
|
||||
|
||||
-- fix funzione
|
||||
/***************************************
|
||||
* FUNCTION f_padLeft
|
||||
*
|
||||
* fornisce una stringa della lunghezza desiderata aggiungendo a sx il carattere richiesto alla @string originale
|
||||
*
|
||||
* Steamware, S.E.L.
|
||||
* mod: 2010.03.19
|
||||
*
|
||||
****************************************/
|
||||
create FUNCTION [dbo].[f_padLeft] (@string VARCHAR(255), @desired_length INTEGER, @pad_character CHAR(1))
|
||||
RETURNS VARCHAR(255) AS
|
||||
BEGIN
|
||||
|
||||
-- Prefix the required number of spaces to bulk up the string and then replace the spaces with the desired character
|
||||
RETURN CASE
|
||||
WHEN LEN(@string) < @desired_length
|
||||
THEN REPLACE(SPACE(@desired_length - LEN(@string)), ' ', @pad_character) + @string
|
||||
ELSE @string
|
||||
END
|
||||
|
||||
END
|
||||
GO
|
||||
|
||||
|
||||
|
||||
-- fix stored specifiche
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,98 @@
|
||||
select * from ActType
|
||||
select * from ActList
|
||||
select * from SyncState
|
||||
select * from MesPODL_last
|
||||
select * from MesPODL_req
|
||||
|
||||
select * from MachineFluxLog
|
||||
select * from MachineProdData
|
||||
select * from MachineSignalLog
|
||||
|
||||
|
||||
-- test scrittura PODL: OK!
|
||||
exec dbo.SyncPodlToMachine
|
||||
|
||||
exec dbo.GetMachineSigLog
|
||||
select * from SyncState
|
||||
select * from MachineSignalLog
|
||||
|
||||
/*
|
||||
truncate table MachineFluxLog
|
||||
update SyncState
|
||||
set lastidx=0
|
||||
where TableName='ToMachineFluxLog'
|
||||
*/
|
||||
|
||||
select top 2 * from MachineFluxLog order by 1 desc
|
||||
select top 2 * from MachineProdData order by 1 desc
|
||||
select top 10 * from MachineSignalLog order by 1 desc
|
||||
select * from SyncState
|
||||
|
||||
exec dbo.GetMachineFluxLog
|
||||
select * from MachineFluxLog
|
||||
|
||||
select * from syn_ERP2M
|
||||
select * from syn_M2ERP_MACHINE_STATE
|
||||
select * from syn_M2ERP_PRODORDERS
|
||||
|
||||
|
||||
select top 10 * from syn_M2ERP_PRODORDERS
|
||||
where ProdOrder LIKE 'PODL000%'
|
||||
|
||||
|
||||
select top 10 * from syn_M2ERP_PRODORDERS
|
||||
where ProdOrder LIKE '%ODL%'
|
||||
order by 1 desc
|
||||
|
||||
EXEC GetMachineProdData
|
||||
SELECT * FROM SyncState
|
||||
SELECT * FROM MachineFluxLog
|
||||
SELECT * FROM MachineProdData
|
||||
SELECT * FROM MachineSignalLog
|
||||
|
||||
|
||||
/*
|
||||
truncate table MachineProdData
|
||||
update SyncState
|
||||
set lastidx=0
|
||||
where TableName='ToMachineProdData'
|
||||
*/
|
||||
|
||||
select * from ActType
|
||||
|
||||
|
||||
|
||||
/*
|
||||
|
||||
drop table __MigrationHistory
|
||||
drop table ActList
|
||||
drop table ActType
|
||||
drop table MachineEventList
|
||||
drop table MachineFluxLog
|
||||
drop table MachinePODL
|
||||
drop table MesPODL_last
|
||||
drop table MesPODL_req
|
||||
drop table SyncState
|
||||
|
||||
drop PROCEDURE dbo.BackupDb
|
||||
drop PROCEDURE dbo.ExportAll
|
||||
drop PROCEDURE dbo.GetMachineEvList
|
||||
drop PROCEDURE dbo.GetMachineFluxLog
|
||||
drop PROCEDURE dbo.ImportAll
|
||||
drop PROCEDURE dbo.ResetPodlMes
|
||||
drop PROCEDURE dbo.SyncPodlToMachine
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
select * from ERP2M
|
||||
|
||||
select * from M2ERP_MACHINE_STATE where ActiveProdOrder = 'ODL0003743'
|
||||
select * from M2ERP_PRODORDERS
|
||||
|
||||
select * from M2ERP_PRODORDERS where ProdOrder = 'ODL0003743'
|
||||
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
-- =============================================
|
||||
-- Author: S.E.L.
|
||||
-- Create date: 2023.03.17
|
||||
-- Description: Verifica ordini aperti - EXT schema/special
|
||||
-- =============================================
|
||||
CREATE PROCEDURE ext.stp_OrdState
|
||||
(
|
||||
@onlyOpen INT = 0 -- 1 = solo ordini rimasti aperti/validi
|
||||
)
|
||||
AS
|
||||
BEGIN
|
||||
-- SET NOCOUNT ON added to prevent extra result sets from
|
||||
-- interfering with SELECT statements.
|
||||
SET NOCOUNT ON;
|
||||
|
||||
|
||||
|
||||
IF (@onlyOpen = 0)
|
||||
BEGIN
|
||||
;WITH cteOrd AS
|
||||
(
|
||||
SELECT ProdOrder, MAX(id) as lastID
|
||||
FROM syn_M2ERP_PRODORDERS
|
||||
GROUP BY ProdOrder
|
||||
)
|
||||
SELECT m2erp.*
|
||||
FROM syn_M2ERP_PRODORDERS m2erp
|
||||
INNER JOIN cteord cte ON m2erp.ID=cte.lastID
|
||||
ORDER BY 1 DESC
|
||||
END
|
||||
ELSE
|
||||
BEGIN
|
||||
;WITH cteOrd AS
|
||||
(
|
||||
SELECT ProdOrder, MAX(id) as lastID
|
||||
FROM syn_M2ERP_PRODORDERS
|
||||
GROUP BY ProdOrder
|
||||
)
|
||||
SELECT m2erp.*
|
||||
FROM syn_M2ERP_PRODORDERS m2erp
|
||||
INNER JOIN cteord cte ON m2erp.ID=cte.lastID
|
||||
WHERE m2erp.ProdOrderState NOT IN (3,4)
|
||||
ORDER BY 1 DESC
|
||||
END
|
||||
|
||||
|
||||
|
||||
END
|
||||
GO
|
||||
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace EgwProxy.SqlDb.Test
|
||||
{
|
||||
public class TestSetup
|
||||
{
|
||||
public string app { get; set; } = "testApp";
|
||||
public string server { get; set; } = "";
|
||||
public string user { get; set; } = "";
|
||||
public string password { get; set; } = "";
|
||||
public string dbName { get; set; } = "MoonPro_IOB_ISF_PAMA";
|
||||
public List<singleStep> steps { get; set; }
|
||||
}
|
||||
|
||||
public class singleStep
|
||||
{
|
||||
public string id { get; set; } = "00";
|
||||
public string description { get; set; } = "00";
|
||||
public stepType action { get; set; } = stepType.None;
|
||||
|
||||
public List<string> paramList { get; set; } = new List<string>();
|
||||
}
|
||||
|
||||
public enum stepType
|
||||
{
|
||||
None,
|
||||
DbMigrateAndSync,
|
||||
ExecExportAll,
|
||||
ExecImportAll,
|
||||
GetMachSignLog,
|
||||
GetMachProdData,
|
||||
GetMachFluxLog,
|
||||
GetSyncState,
|
||||
ResetPodl,
|
||||
SetNewPodl,
|
||||
//procPodl
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
|
||||
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"server": "308SERVER60\\LANTEK",
|
||||
"user": "steamware",
|
||||
"password": "viadante16",
|
||||
"steps": [
|
||||
{
|
||||
"id": "00",
|
||||
"description": "Db Migrate + SYNC",
|
||||
"action": "DbMigrateAndSync",
|
||||
"paramList": []
|
||||
},
|
||||
{
|
||||
"id": "01",
|
||||
"description": "Test SYNC",
|
||||
"action": "GetSyncState",
|
||||
"paramList": []
|
||||
},
|
||||
{
|
||||
"id": "02",
|
||||
"description": "Reset PODL MES",
|
||||
"action": "ResetPodl",
|
||||
"paramList": []
|
||||
},
|
||||
//{
|
||||
// "id": "03",
|
||||
// "description": "upload Test PODL",
|
||||
// "action": "SetNewPodl",
|
||||
// "paramList": [
|
||||
// "1001",
|
||||
// "1002",
|
||||
// "1003"
|
||||
// ]
|
||||
//}
|
||||
{
|
||||
"id": "03",
|
||||
"description": "Export All",
|
||||
"action": "ExecExportAll",
|
||||
"paramList": []
|
||||
},
|
||||
{
|
||||
"id": "04",
|
||||
"description": "Import All",
|
||||
"action": "ExecImportAll",
|
||||
"paramList": []
|
||||
},
|
||||
{
|
||||
"id": "05",
|
||||
"description": "Get SignLog",
|
||||
"action": "GetMachSignLog",
|
||||
"paramList": []
|
||||
},
|
||||
{
|
||||
"id": "06",
|
||||
"description": "Get ProdData",
|
||||
"action": "GetMachProdData",
|
||||
"paramList": []
|
||||
},
|
||||
{
|
||||
"id": "07",
|
||||
"description": "Get FluxLog",
|
||||
"action": "GetMachFluxLog",
|
||||
"paramList": []
|
||||
},
|
||||
{
|
||||
"id": "08",
|
||||
"description": "Test SYNC",
|
||||
"action": "GetSyncState",
|
||||
"paramList": []
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="EntityFramework" version="6.4.4" targetFramework="net462" />
|
||||
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net462" />
|
||||
<package id="System.Configuration.ConfigurationManager" version="7.0.0" targetFramework="net462" />
|
||||
<package id="System.Security.AccessControl" version="6.0.0" targetFramework="net462" />
|
||||
<package id="System.Security.Permissions" version="7.0.0" targetFramework="net462" />
|
||||
<package id="System.Security.Principal.Windows" version="5.0.0" targetFramework="net462" />
|
||||
</packages>
|
||||
@@ -0,0 +1,74 @@
|
||||
@echo off
|
||||
echo Effettua pulizia post build: configurazione %1. directory %2
|
||||
|
||||
RD /S /Q %2"\lib\da"
|
||||
RD /S /Q %2"\lib\de"
|
||||
RD /S /Q %2"\lib\es"
|
||||
RD /S /Q %2"\lib\fr"
|
||||
RD /S /Q %2"\lib\it"
|
||||
RD /S /Q %2"\lib\ja-JP"
|
||||
RD /S /Q %2"\lib\ko"
|
||||
RD /S /Q %2"\lib\nl"
|
||||
RD /S /Q %2"\lib\pl"
|
||||
RD /S /Q %2"\lib\pt"
|
||||
RD /S /Q %2"\lib\ru"
|
||||
RD /S /Q %2"\lib\sv"
|
||||
RD /S /Q %2"\lib\tr"
|
||||
RD /S /Q %2"\lib\zh"
|
||||
|
||||
MOVE /Y %2"da" %2"lib\"
|
||||
MOVE /Y %2"de" %2"lib\"
|
||||
MOVE /Y %2"es" %2"lib\"
|
||||
MOVE /Y %2"fr" %2"lib\"
|
||||
MOVE /Y %2"it" %2"lib\"
|
||||
MOVE /Y %2"ja-JP" %2"lib\"
|
||||
MOVE /Y %2"ko" %2"lib\"
|
||||
MOVE /Y %2"nl" %2"lib\"
|
||||
MOVE /Y %2"pl" %2"lib\"
|
||||
MOVE /Y %2"pt" %2"lib\"
|
||||
MOVE /Y %2"ru" %2"lib\"
|
||||
MOVE /Y %2"sv" %2"lib\"
|
||||
MOVE /Y %2"tr" %2"lib\"
|
||||
MOVE /Y %2"zh" %2"lib\"
|
||||
|
||||
|
||||
if %1 == "Release" goto Release
|
||||
if %1 == "Debug" goto Debug
|
||||
if %1 == "Remote_DEBUG" goto RemoteDebug
|
||||
|
||||
:Release
|
||||
REM INIZIO eliminando i files pdb
|
||||
del /S %2"*.pdb""
|
||||
del /S %2"lib/*.pdb""
|
||||
echo Release: eliminato pdb!!!
|
||||
goto END
|
||||
|
||||
:Debug
|
||||
echo Debug: nulla da eliminare
|
||||
|
||||
REM copia script verso server remoto
|
||||
REM ROBOCOPY . \\10.150.0.1\Steamware\SqlDbTest-DEB /MIR
|
||||
|
||||
goto END
|
||||
|
||||
|
||||
:RemoteDebug
|
||||
REM copia script verso server remoto
|
||||
REM echo Debug remoto: effettuo robocopy sync (verificare remote per cliente)
|
||||
|
||||
REM FINASSI
|
||||
REM ROBOCOPY . \\10.150.0.1\Steamware\SqlDbTest-DEB /MIR
|
||||
REM Baglietto
|
||||
REM ROBOCOPY . \\192.168.60.15\Steamware\SqlDbTest-DEB /MIR
|
||||
REM GIACOVELLI LOCOROTONDO
|
||||
REM ROBOCOPY . \\192.168.1.93\Steamware\SqlDbTest-DEB /MIR
|
||||
REM IMI Remosa
|
||||
ROBOCOPY . \\192.168.0.12\Steamware\SqlDbTest-DEB /MIR
|
||||
|
||||
REM IOB-WIN-SIM
|
||||
REM ROBOCOPY . \\IOB-WIN-SIMULA\Steamware\SqlDbTest-DEB /MIR
|
||||
|
||||
goto END
|
||||
|
||||
:END
|
||||
echo Fatto!
|
||||
@@ -0,0 +1,25 @@
|
||||
@echo off
|
||||
echo Effettua setup dei file specifici per i vari ambienti pre build installer: verifica da nome configurazione %1
|
||||
|
||||
|
||||
if %1 == "Release" goto Release
|
||||
if %1 == "Debug" goto Debug
|
||||
if %1 == "Remote_DEBUG" goto RemoteDebug
|
||||
|
||||
:Release
|
||||
echo Release: nulla da copiare
|
||||
goto END
|
||||
|
||||
:Debug
|
||||
echo Debug: copia file ini x simulazione Debug
|
||||
REM del %2"DATA\CONF\EsaKvara.ini"
|
||||
REM copy %2"Resources\SCM\EsaKvara_SIM.ini" %2"DATA\CONF\EsaKvara.ini"
|
||||
goto END
|
||||
|
||||
|
||||
:RemoteDebug
|
||||
echo RemoteDebug: nulla da copiare
|
||||
goto END
|
||||
|
||||
:END
|
||||
echo Fatto!
|
||||
@@ -0,0 +1,36 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.5.33424.131
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EgwProxy.SqlDb", "EgwProxy.SqlDb\EgwProxy.SqlDb.csproj", "{A5F9E2C8-B866-4470-923C-11BA35270963}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EgwProxy.SqlDb.Test", "EgwProxy.SqlDb.Test\EgwProxy.SqlDb.Test.csproj", "{A11CA446-AE97-413D-A567-45A081F003DB}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
Remote_DEBUG|Any CPU = Remote_DEBUG|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{A5F9E2C8-B866-4470-923C-11BA35270963}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{A5F9E2C8-B866-4470-923C-11BA35270963}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{A5F9E2C8-B866-4470-923C-11BA35270963}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{A5F9E2C8-B866-4470-923C-11BA35270963}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{A5F9E2C8-B866-4470-923C-11BA35270963}.Remote_DEBUG|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{A5F9E2C8-B866-4470-923C-11BA35270963}.Remote_DEBUG|Any CPU.Build.0 = Debug|Any CPU
|
||||
{A11CA446-AE97-413D-A567-45A081F003DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{A11CA446-AE97-413D-A567-45A081F003DB}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{A11CA446-AE97-413D-A567-45A081F003DB}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{A11CA446-AE97-413D-A567-45A081F003DB}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{A11CA446-AE97-413D-A567-45A081F003DB}.Remote_DEBUG|Any CPU.ActiveCfg = Remote_DEBUG|Any CPU
|
||||
{A11CA446-AE97-413D-A567-45A081F003DB}.Remote_DEBUG|Any CPU.Build.0 = Remote_DEBUG|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {E2472E21-58D3-4EAD-BC4A-BC3915B18BEF}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
|
||||
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
||||
</configSections>
|
||||
<connectionStrings>
|
||||
<add name="SyncState" connectionString="data source=SQL2016DEV;initial catalog=MoonPro_IOB_ISF;persist security info=True;user id=sa;password=keyhammer16;MultipleActiveResultSets=True;App=EgwProxy.SqlDb" providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
<entityFramework>
|
||||
<providers>
|
||||
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
|
||||
</providers>
|
||||
</entityFramework>
|
||||
</configuration>
|
||||
@@ -0,0 +1,316 @@
|
||||
using EgwProxy.SqlDb.DbModels;
|
||||
using NLog;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace EgwProxy.SqlDb.Controllers
|
||||
{
|
||||
/// <summary>
|
||||
/// Controller accesso dati DB IOB_ISF
|
||||
/// </summary>
|
||||
public class DbController : IDisposable
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
/// <summary>
|
||||
/// Avvio dell'oggetto gestione DB con stringa di connessione specifica
|
||||
/// </summary>
|
||||
/// <param name="connSyncState">Connessione DB locale di SYNC</param>
|
||||
public DbController(string connSyncState)
|
||||
{
|
||||
connString = connSyncState;
|
||||
Log.Info("Avviata classe DbController");
|
||||
}
|
||||
|
||||
#endregion Public Constructors
|
||||
|
||||
#region Public Methods
|
||||
|
||||
/// <summary>
|
||||
/// Recupera la tab di ActList corrente
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public List<ActListModel> ActListGetAll()
|
||||
{
|
||||
List<ActListModel> dbResult = new List<ActListModel>();
|
||||
using (var dbSyncStateCtx = new SyncStateDbContext(connString))
|
||||
{
|
||||
dbResult = dbSyncStateCtx
|
||||
.DbSetActions
|
||||
.ToList();
|
||||
}
|
||||
|
||||
return dbResult;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recupera la tab di ActType corrente
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public List<ActTypeModel> ActTypeGetAll()
|
||||
{
|
||||
List<ActTypeModel> dbResult = new List<ActTypeModel>();
|
||||
using (var dbSyncStateCtx = new SyncStateDbContext(connString))
|
||||
{
|
||||
dbResult = dbSyncStateCtx
|
||||
.DbSetActListType
|
||||
.ToList();
|
||||
}
|
||||
return dbResult;
|
||||
}
|
||||
|
||||
public bool DbForceMigrate()
|
||||
{
|
||||
bool fatto = false;
|
||||
using (var dbSyncStateCtx = new SyncStateDbContext(connString))
|
||||
{
|
||||
dbSyncStateCtx.DbForceMigrate();
|
||||
fatto = true;
|
||||
}
|
||||
return fatto;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Dispose classe
|
||||
/// </summary>
|
||||
public void Dispose()
|
||||
{
|
||||
// Clear database context
|
||||
connString = "";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recupera la tab FluxLog x i record successivi all'ID già processato
|
||||
/// </summary>
|
||||
/// <param name="lastIdx"></param>
|
||||
/// <returns></returns>
|
||||
public List<MachFluxLogModel> MachFluxLogGetNew(long lastIdx)
|
||||
{
|
||||
List<MachFluxLogModel> dbResult = new List<MachFluxLogModel>();
|
||||
using (var dbSyncStateCtx = new SyncStateDbContext(connString))
|
||||
{
|
||||
dbResult = dbSyncStateCtx
|
||||
.DbSetMachFluxLog
|
||||
.Where(x => x.Id > lastIdx)
|
||||
.OrderBy(x => x.Id)
|
||||
.ToList();
|
||||
}
|
||||
return dbResult;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recupera la tab PODL Macchina x i record successivi all'ID già processato
|
||||
/// </summary>
|
||||
/// <param name="lastIdx"></param>
|
||||
/// <returns></returns>
|
||||
public List<MachPODLModel> MachPOdlGetNew(long lastIdx)
|
||||
{
|
||||
List<MachPODLModel> dbResult = new List<MachPODLModel>();
|
||||
using (var dbSyncStateCtx = new SyncStateDbContext(connString))
|
||||
{
|
||||
dbResult = dbSyncStateCtx
|
||||
.DbSetMachPODL
|
||||
.Where(x => x.IdxPromessa > lastIdx)
|
||||
.OrderBy(x => x.IdxPromessa)
|
||||
.ToList();
|
||||
}
|
||||
return dbResult;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recupera la tab ProdData x i record successivi all'ID già processato
|
||||
/// </summary>
|
||||
/// <param name="lastIdx"></param>
|
||||
/// <returns></returns>
|
||||
public List<MachProdDataModel> MachProdDataGetNew(long lastIdx)
|
||||
{
|
||||
List<MachProdDataModel> dbResult = new List<MachProdDataModel>();
|
||||
using (var dbSyncStateCtx = new SyncStateDbContext(connString))
|
||||
{
|
||||
dbResult = dbSyncStateCtx
|
||||
.DbSetMachProdData
|
||||
.Where(x => x.Id > lastIdx)
|
||||
.OrderBy(x => x.Id)
|
||||
.ToList();
|
||||
}
|
||||
return dbResult;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recupera la tab EvList x i record successivi all'ID già processato
|
||||
/// </summary>
|
||||
/// <param name="lastIdx"></param>
|
||||
/// <returns></returns>
|
||||
public List<MachSigLogModel> MachSigLogGetNew(long lastIdx)
|
||||
{
|
||||
List<MachSigLogModel> dbResult = new List<MachSigLogModel>();
|
||||
using (var dbSyncStateCtx = new SyncStateDbContext(connString))
|
||||
{
|
||||
dbResult = dbSyncStateCtx
|
||||
.DbSetMachEvList
|
||||
.Where(x => x.Id > lastIdx)
|
||||
.OrderBy(x => x.Id)
|
||||
.ToList();
|
||||
}
|
||||
return dbResult;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Scrive elenco PODL attivi al momento x processing successivo
|
||||
/// </summary>
|
||||
/// <param name="CurrPodlReq"></param>
|
||||
/// <returns></returns>
|
||||
public bool MesPodlWriteReq(List<MesPODLReqModel> CurrPodlReq)
|
||||
{
|
||||
bool fatto = false;
|
||||
using (var dbSyncStateCtx = new SyncStateDbContext(connString))
|
||||
{
|
||||
try
|
||||
{
|
||||
// in primis verifica SE sia vuota la tab req...
|
||||
var oldData = dbSyncStateCtx
|
||||
.DbSetMesPodlReq
|
||||
.ToList();
|
||||
// se vuota scrive i record e salva
|
||||
if (oldData.Count == 0)
|
||||
{
|
||||
// aggiungo i nuovi record
|
||||
var dbResult = dbSyncStateCtx
|
||||
.DbSetMesPodlReq
|
||||
.AddRange(CurrPodlReq);
|
||||
// salvo
|
||||
dbSyncStateCtx.SaveChanges();
|
||||
fatto = true;
|
||||
}
|
||||
}
|
||||
catch //(Exception exc)
|
||||
{ }
|
||||
}
|
||||
return fatto;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Esegue reset tabelle PODL MEs e restituisce elenco finale (vuoto)
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public List<MesPODLReqModel> ResetPODLMes()
|
||||
{
|
||||
List<MesPODLReqModel> dbResult = new List<MesPODLReqModel>();
|
||||
using (var dbSyncStateCtx = new SyncStateDbContext(connString))
|
||||
{
|
||||
dbResult = dbSyncStateCtx
|
||||
.Database
|
||||
.SqlQuery<MesPODLReqModel>("EXEC dbo.stp_ResetPodlMes")
|
||||
.ToList();
|
||||
}
|
||||
return dbResult;
|
||||
}
|
||||
|
||||
public string ServerOk()
|
||||
{
|
||||
return SyncStateGetAll().Count() > 0 ? "OK" : "NA";
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Esegue una volta la stored di ImportAll (x recupero dati da DB esterni) e poi
|
||||
/// restitusice in output la tab di SyncState x verificare lo stato
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public List<SyncStateModel> SyncStateDoExportAll()
|
||||
{
|
||||
List<SyncStateModel> dbResult = new List<SyncStateModel>();
|
||||
using (var dbSyncStateCtx = new SyncStateDbContext(connString))
|
||||
{
|
||||
dbResult = dbSyncStateCtx
|
||||
.Database
|
||||
.SqlQuery<SyncStateModel>("EXEC dbo.stp_ExportAll")
|
||||
.ToList();
|
||||
}
|
||||
return dbResult;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Esegue una volta la stored di ImportAll (x recupero dati da DB esterni) e poi
|
||||
/// restitusice in output la tab di SyncState x verificare lo stato
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public List<SyncStateModel> SyncStateDoImportAll()
|
||||
{
|
||||
List<SyncStateModel> dbResult = new List<SyncStateModel>();
|
||||
using (var dbSyncStateCtx = new SyncStateDbContext(connString))
|
||||
{
|
||||
dbResult = dbSyncStateCtx
|
||||
.Database
|
||||
.SqlQuery<SyncStateModel>("EXEC dbo.stp_ImportAll")
|
||||
.ToList();
|
||||
}
|
||||
return dbResult;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// recupera la tab di SyncState corrente
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public List<SyncStateModel> SyncStateGetAll()
|
||||
{
|
||||
List<SyncStateModel> dbResult = new List<SyncStateModel>();
|
||||
using (var dbSyncStateCtx = new SyncStateDbContext(connString))
|
||||
{
|
||||
dbResult = dbSyncStateCtx
|
||||
.DbSetSyncState
|
||||
.ToList();
|
||||
}
|
||||
return dbResult;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Aggiorna record SyncState corrente
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public bool SyncStateUpsert(SyncStateModel newVal)
|
||||
{
|
||||
bool fatto = false;
|
||||
using (var dbSyncStateCtx = new SyncStateDbContext(connString))
|
||||
{
|
||||
// cerco record
|
||||
var dbResult = dbSyncStateCtx
|
||||
.DbSetSyncState
|
||||
.Where(x => x.TableName == newVal.TableName)
|
||||
.FirstOrDefault();
|
||||
// se trovato aggiorno
|
||||
if (dbResult != null)
|
||||
{
|
||||
dbResult.LastIdx = newVal.LastIdx;
|
||||
dbResult.Note = newVal.Note;
|
||||
dbResult.LastUpdate = newVal.LastUpdate;
|
||||
//dbSyncStateCtx.Entry(dbResult).State = System.Data.Entity.EntityState.Modified;
|
||||
}
|
||||
// altrimenti aggiungo
|
||||
else
|
||||
{
|
||||
dbSyncStateCtx.DbSetSyncState.Add(newVal);
|
||||
}
|
||||
|
||||
// salvo
|
||||
dbSyncStateCtx.SaveChanges();
|
||||
fatto = true;
|
||||
}
|
||||
return fatto;
|
||||
}
|
||||
|
||||
#endregion Public Methods
|
||||
|
||||
#region Protected Fields
|
||||
|
||||
protected static string connString = "";
|
||||
|
||||
#endregion Protected Fields
|
||||
|
||||
#region Private Fields
|
||||
|
||||
private static NLog.Logger Log = LogManager.GetCurrentClassLogger();
|
||||
|
||||
#endregion Private Fields
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace EgwProxy.SqlDb.DbModels
|
||||
{
|
||||
// <Auto-Generated>
|
||||
// This is here so CodeMaid doesn't reorganize this document
|
||||
// </Auto-Generated>
|
||||
[Table("ActList")]
|
||||
public partial class ActListModel
|
||||
{
|
||||
[Key, Column("IdxAct"), DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public int Id { get; set; } = 0;
|
||||
|
||||
public DateTime DtRif { get; set; } = DateTime.Today;
|
||||
|
||||
[StringLength(50)]
|
||||
public string Source { get; set; } = "IN";
|
||||
|
||||
[StringLength(50)]
|
||||
public string Dest { get; set; } = "OUT";
|
||||
|
||||
[StringLength(250)]
|
||||
public string Action { get; set; } = "";
|
||||
|
||||
[StringLength(2500)]
|
||||
public string Value { get; set; } = "";
|
||||
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user