Compare commits
1496 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| eaa8eea7fe | |||
| 80c7ba087a | |||
| 7003144c92 | |||
| 5317b54df3 | |||
| bd0fa1c0ff | |||
| c0250914ec | |||
| aecaa637a6 | |||
| f64fc85708 | |||
| 8a2917bf0c | |||
| 7f7e1ce083 | |||
| ccac421f20 | |||
| f109bff088 | |||
| 9e5f9be476 | |||
| 7785d43929 | |||
| eac85e6355 | |||
| da6f2ce91b | |||
| 1c9d6e3bbc | |||
| 16f4bc5938 | |||
| 0e59c88c93 | |||
| 754d3bf75d | |||
| 60a847330f | |||
| cf55d6e788 | |||
| d58ae4a608 | |||
| c2aeb4f483 | |||
| 69d6eaf3c4 | |||
| 846f154c30 | |||
| 2ccaa04ce1 | |||
| 682c0506cd | |||
| 4b7e10a963 | |||
| ca7b7a949f | |||
| 9f22e152e7 | |||
| 19dd15c78f | |||
| df5bd1c1a8 | |||
| 369d49acb8 | |||
| 57c2fcb2f7 | |||
| 1592d9407a | |||
| a32b4ce5f2 | |||
| f054b432d8 | |||
| b1ff51f774 | |||
| 36821fa0ab | |||
| 0e1147c3b8 | |||
| 300b974f18 | |||
| 3fe847f4a3 | |||
| 36bf4ec421 | |||
| da6f6cf61e | |||
| 748cd9c95a | |||
| 6670a14473 | |||
| 38e7170703 | |||
| fe35238184 | |||
| 8f4f663ee4 | |||
| 094620ede9 | |||
| 0b43849d74 | |||
| e429f8afeb | |||
| 75ff78e731 | |||
| ea449c5c22 | |||
| 10ac4fc5fe | |||
| 36b13d2892 | |||
| c641020dba | |||
| fc75084a55 | |||
| d675415514 | |||
| f8cb5e29fd | |||
| 6aee1eea1d | |||
| e1172caee7 | |||
| 201333c94d | |||
| b25b6760db | |||
| 84d4c02f66 | |||
| 355ea5634d | |||
| 1a43c31b32 | |||
| f27e381d0c | |||
| c4d3ad16e8 | |||
| 3361804c12 | |||
| 3c29068438 | |||
| 4a317d4c25 | |||
| 0e87574b41 | |||
| 5031280711 | |||
| 6ab5ccc764 | |||
| 935f73dab7 | |||
| 14efd37c22 | |||
| 539d65f1a5 | |||
| 8c831ab4b1 | |||
| 06c380c473 | |||
| dac55c089b | |||
| 0fd00ae7a9 | |||
| cab4131808 | |||
| a272e9112c | |||
| e4aa4bf9f7 | |||
| 1b36765ae3 | |||
| 538015d73a | |||
| 508c2b4063 | |||
| 4a62142e30 | |||
| ede5b1ba8f | |||
| 81bc37fb08 | |||
| 65f7910132 | |||
| 20c40a98db | |||
| 4252fcd3f7 | |||
| aca5f24020 | |||
| 52ba033606 | |||
| 13701a01e3 | |||
| d149c7408f | |||
| 13a70c1f65 | |||
| 237b3fa94c | |||
| dcaafbf10e | |||
| 5ccd312d14 | |||
| f9be434a08 | |||
| 68ffe0385e | |||
| b08675a8b8 | |||
| eee31d838b | |||
| ddacd42257 | |||
| bbac436116 | |||
| aa668353f0 | |||
| 02c1c16e7d | |||
| 4ce2096f7e | |||
| c604fa9e26 | |||
| 9a33d69dbf | |||
| 8e87b3a369 | |||
| 3add36554e | |||
| 251b71cae1 | |||
| b04134cccb | |||
| f108e013b1 | |||
| 1dc8f30085 | |||
| a4f042e01d | |||
| 26bd653c42 | |||
| 69dcf957ae | |||
| f00db4fa73 | |||
| 863d0ec4eb | |||
| ab6823c1d3 | |||
| c2bbf911e3 | |||
| 18e526f8b3 | |||
| 6c3807b496 | |||
| cc4dbeb79c | |||
| 591fae86ee | |||
| e05157d618 | |||
| a99db87cee | |||
| 9690c7a336 | |||
| c155bda631 | |||
| 7d2449ad96 | |||
| b0d33f5f5c | |||
| 86e3691e13 | |||
| 4309ad2010 | |||
| 779bd8fe22 | |||
| 96c95b605e | |||
| 4a6214d5a4 | |||
| 5cbb317aad | |||
| fb9ce05fc2 | |||
| d0f2136946 | |||
| 97fce340ac | |||
| e0063974e0 | |||
| 3c1ebe4136 | |||
| 196c70d933 | |||
| d70bbc9e44 | |||
| 1646ae7c89 | |||
| f3c17e24cc | |||
| 2f4c52c9ee | |||
| fa976dd2bb | |||
| 02bdc71a22 | |||
| e3d63908ea | |||
| b67a7aab60 | |||
| 7b7d54fe1c | |||
| d61d6c02f8 | |||
| 49b8be6616 | |||
| 812e13a1b3 | |||
| 2db4304909 | |||
| f07a6e7cb8 | |||
| 0fe998a908 | |||
| 85b51a47fe | |||
| 4859e1fa8b | |||
| f54304f1ed | |||
| 2ea44f9506 | |||
| 54c7bb8b85 | |||
| 68aa47dfef | |||
| 1861a41dde | |||
| c980ddc7de | |||
| c245575f6e | |||
| 12ca3c676f | |||
| 1da100129e | |||
| 4612632280 | |||
| eca8834b15 | |||
| dcd9491539 | |||
| 1f57b99c3c | |||
| 6aab429007 | |||
| 15a6ed10b2 | |||
| d8a5b2b57a | |||
| 124ffd070f | |||
| 14c30f3a5e | |||
| 1a4bc960e2 | |||
| 69e392bdaf | |||
| b80631f2ee | |||
| ab38bdcf35 | |||
| 625e4a452e | |||
| 23a9f51008 | |||
| 21c09481ff | |||
| b71a2f6f85 | |||
| 514b079000 | |||
| c82d64974e | |||
| 29eb2ad114 | |||
| c0e5fa79cd | |||
| 2b7ed3b75a | |||
| 7ab75a91aa | |||
| dda3a0e958 | |||
| 500d5b121e | |||
| 4d8d351684 | |||
| 48086246b6 | |||
| fdbf277965 | |||
| 80754d39be | |||
| f31e4307dc | |||
| 171aa36dfa | |||
| 6f753a0c5e | |||
| e0a6db2e8c | |||
| 769c1eb192 | |||
| 08f5b70323 | |||
| 2fad171ab3 | |||
| 3b960eaa3b | |||
| b589a6fc19 | |||
| e8dd6313ff | |||
| 22d15c4b09 | |||
| 2f611f4f50 | |||
| 0ac47dd042 | |||
| b6275e10bd | |||
| 7e37b514d2 | |||
| cb63a787c1 | |||
| 26240e779a | |||
| 264d4ea686 | |||
| 8b8c0b8f23 | |||
| 70fda0cc57 | |||
| 05eb1dfa71 | |||
| e5dbe7e016 | |||
| 370dddb5ff | |||
| 3d23eaedd2 | |||
| a006a13de7 | |||
| 56a95f22dd | |||
| 2a6e9fbe0f | |||
| 6953d5d181 | |||
| 9ef8d1ddcc | |||
| bdd876dad4 | |||
| a3c4d856bc | |||
| 38c1982bef | |||
| d3273a978b | |||
| 734523688b | |||
| 34ee920135 | |||
| f7e5ae6044 | |||
| 420ced11bf | |||
| 2ae85cc67a | |||
| 8acff494aa | |||
| 98d53959aa | |||
| 54d79284de | |||
| f40ff39629 | |||
| 85f7ec992d | |||
| 1444098b06 | |||
| 8c2af25d79 | |||
| 3b4c30ea47 | |||
| d5986bc184 | |||
| 60f35c755b | |||
| d8f3349195 | |||
| a2a861e591 | |||
| 1813258836 | |||
| 3e8feb9d3f | |||
| f3d680d5f9 | |||
| 557f495da3 | |||
| a6a09a3ae3 | |||
| 5d48137cca | |||
| fa0145d559 | |||
| 9337e4631c | |||
| d158c9c282 | |||
| 2b6f5587f8 | |||
| bdc750da95 | |||
| ffa6f9e969 | |||
| 8bcff89d78 | |||
| cd20e83b8f | |||
| c85f68580d | |||
| 1d36cab4da | |||
| 1a7cde2cba | |||
| 88898329eb | |||
| c9cc8f2d3e | |||
| be664a88b3 | |||
| 62ad656792 | |||
| 0e61098c2e | |||
| 322371b60e | |||
| cfde434c36 | |||
| d95bfa6e1e | |||
| ee6401a1a4 | |||
| 1f9f628c6c | |||
| 02b9983523 | |||
| 0ee70f9276 | |||
| 01ca6c804e | |||
| 72e2fb8150 | |||
| 4752746214 | |||
| 92bf688cb2 | |||
| aa578dbe26 | |||
| 4e3a75b14e | |||
| a4e58015a7 | |||
| 0979e80c92 | |||
| 2fbaa8b811 | |||
| 1cbdafc520 | |||
| be53fc09b9 | |||
| 74b3d0d640 | |||
| 2057810a27 | |||
| 96878f9ef9 | |||
| 905003e71b | |||
| 120d26d703 | |||
| 150958c9e6 | |||
| cd45117fa3 | |||
| 82e665049a | |||
| 4bccaa6ff3 | |||
| 790f9c914f | |||
| 97b5ebe5f0 | |||
| 453dff55ca | |||
| 696c36ccea | |||
| 9fbd701a53 | |||
| acf26b9d9e | |||
| 1767bfce8d | |||
| 1e78581c01 | |||
| 0d9101063c | |||
| 1b2dd4411a | |||
| 4c4255aaf2 | |||
| 09963e0b8f | |||
| 8c0135f7b7 | |||
| c52c6dc924 | |||
| 0e3824198a | |||
| dd3fe5e7e2 | |||
| a23053886a | |||
| 37a4b86d26 | |||
| ae8a5315f0 | |||
| 4a9538aa19 | |||
| 2202b86987 | |||
| a37f83662e | |||
| 87c0017883 | |||
| 67900a7bb8 | |||
| 766da8c57b | |||
| 2724ada0c0 | |||
| 17e3e0c171 | |||
| 0cab3b5972 | |||
| 820c118257 | |||
| 38b9c44eb4 | |||
| 860801eff6 | |||
| b0a1c742af | |||
| f805e58ac8 | |||
| 29eeb25e79 | |||
| 899bb85b19 | |||
| 4d3312c285 | |||
| 6afce7fadf | |||
| ce260f5dcb | |||
| bfe208a40e | |||
| de19bb843d | |||
| 4e33185086 | |||
| 36f9aa7c66 | |||
| b78b98cff5 | |||
| 8de74c2fe7 | |||
| 2d955b1e96 | |||
| d1d37d60da | |||
| c89695eb60 | |||
| 6409b8ca82 | |||
| ab72db03c5 | |||
| 6372ca8dd4 | |||
| c828544515 | |||
| 746d2f2647 | |||
| 161eabe996 | |||
| d2f1e457f1 | |||
| 7c6ecfce32 | |||
| 684f9ba9e9 | |||
| 5b18707c5e | |||
| f5a5392037 | |||
| 8c5a9f56a2 | |||
| acd6864416 | |||
| 11c1759ff5 | |||
| b97fb4cc4d | |||
| 48a6261691 | |||
| 579a2658c8 | |||
| 8b3c3d16cb | |||
| c9bd7f3719 | |||
| 8adc234314 | |||
| 96c8d7dd3c | |||
| 75e932fb58 | |||
| 9622e0058b | |||
| b7674732ea | |||
| 2cfe2bcf99 | |||
| 02735abbc7 | |||
| 6301a6ee97 | |||
| bb4809b4dd | |||
| a69046753c | |||
| 579fc987ac | |||
| 4dc89adce6 | |||
| cf0789c813 | |||
| 89c0ee9ddd | |||
| 2a7f7a17dc | |||
| 75ab1c8dc5 | |||
| 9596b5184f | |||
| fd3fd2a1a1 | |||
| 81ea809fae | |||
| f3aa0eac40 | |||
| bdaa28d06e | |||
| 247aa1ccb7 | |||
| 44ffc45f92 | |||
| ad26e819bd | |||
| 4b150e54f7 | |||
| 6f62ccb3d3 | |||
| 4b81673e21 | |||
| c6d7176711 | |||
| 2582808c44 | |||
| a0bf60378c | |||
| a83d6f2e3b | |||
| d0ef69fa21 | |||
| 6c5718f1dd | |||
| 94c77712b9 | |||
| f3a5a95c9b | |||
| 658bfb63f8 | |||
| 6d2173d9dd | |||
| d17115b67e | |||
| 1ad63cb8bd | |||
| 9d3896c320 | |||
| 304c32e175 | |||
| de9e329ae4 | |||
| 95f2b208c9 | |||
| def34dce68 | |||
| 9a1280f796 | |||
| f217341b1f | |||
| 32ff559e38 | |||
| 9bc7bc65fe | |||
| 1948077b59 | |||
| 9fb753ba62 | |||
| b47b099e72 | |||
| 53a8f88aca | |||
| 321b3d5129 | |||
| 1dcf1ef130 | |||
| 7c6c26b8ec | |||
| 700487f8d3 | |||
| d24711eb63 | |||
| 735341d980 | |||
| dfd828e93f | |||
| 941de069cf | |||
| ad702ba1fc | |||
| 955bc6ea6d | |||
| 4ce1862d0d | |||
| 13ed5fb2ec | |||
| 42cadfcef7 | |||
| e5fbac246b | |||
| 3909d1046e | |||
| e0a8d706b7 | |||
| 683a718c2c | |||
| fef1bf2dee | |||
| 612766920c | |||
| 0151bed110 | |||
| b9af08c467 | |||
| bbf02de499 | |||
| e213a04fa2 | |||
| ada1d1495f | |||
| 29514ad7d2 | |||
| 3f7dd6ce4c | |||
| 57049a13c3 | |||
| a47a2ff92b | |||
| 54024bf440 | |||
| 68f7ef0e3a | |||
| 18328a97b9 | |||
| 66d526005b | |||
| 6762260581 | |||
| 509e11f59e | |||
| b303b87568 | |||
| ae2e8c0e42 | |||
| d42a44b74f | |||
| 195046c10e | |||
| d9780f11b4 | |||
| 071f01cad2 | |||
| daf9ca1288 | |||
| ae8ec36850 | |||
| aabeecef95 | |||
| a3955c217b | |||
| 87a653a868 | |||
| 20aa13d45f | |||
| a0fbf8e26f | |||
| a2b2160b54 | |||
| 986241c73d | |||
| c476c9fd9d | |||
| a982658414 | |||
| 75db3fd40d | |||
| e9a2694ba0 | |||
| 04a44333e8 | |||
| 7da72e08c4 | |||
| b7b7c9507b | |||
| 30a9e032f0 | |||
| 5c9b01757b | |||
| 0e926096a4 | |||
| 2d9405e4e2 | |||
| 6abe5748d5 | |||
| 1b266791c1 | |||
| c5d1927be1 | |||
| 9e032b2daf | |||
| 6266be6b5d | |||
| 6e59cc145e | |||
| 335ce8e2a5 | |||
| c9da9023b7 | |||
| d0f4a08c0b | |||
| 929d3721b5 | |||
| 0de6ca9e34 | |||
| 28de37d8b7 | |||
| 28769ad521 | |||
| d2d09277e8 | |||
| 26455358fc | |||
| 691dd228f3 | |||
| df0a3bad57 | |||
| 449f1d4316 | |||
| f02cd79e79 | |||
| 6bae8c5cea | |||
| f5f25d003b | |||
| 0a49efbbdb | |||
| e4974f2c93 | |||
| 8da9e7efe6 | |||
| f9110bc91b | |||
| 5e15ddeec1 | |||
| 280bcecfd8 | |||
| cc750cecbf | |||
| 4fd661dc68 | |||
| 94517311b7 | |||
| d7adcbe181 | |||
| 868ea2bce4 | |||
| 5fcb7893a1 | |||
| f6e34616c8 | |||
| 2f1ec7e12a | |||
| 046201a606 | |||
| f404c85a81 | |||
| c290a58166 | |||
| 82b0dc0538 | |||
| 73ee51e85f | |||
| 5e3b84c812 | |||
| 99d11ffba5 | |||
| c434b14944 | |||
| e4d7d93007 | |||
| 0bcce53ed3 | |||
| 77320ff6ca | |||
| f9631080cf | |||
| f42a8ff3f9 | |||
| 475f91fdd6 | |||
| e86e276a5b | |||
| ba4b2811a3 | |||
| 6ebcaa3d79 | |||
| b9eb3e35ad | |||
| 5e47afb4ee | |||
| 8406433087 | |||
| b41001d062 | |||
| 6b5c52f897 | |||
| f8f16a3e46 | |||
| 8c006a48e1 | |||
| 66e7943e07 | |||
| 0f0ae0b52f | |||
| 9db7613062 | |||
| 4f5e3c1cd5 | |||
| 9c8ea23e9d | |||
| 9d9da9dc05 | |||
| e09d313495 | |||
| 65df2b195d | |||
| 68839f180a | |||
| 2151782936 | |||
| 2c3a5e857a | |||
| cb73c46719 | |||
| c19e7bcb3d | |||
| 9a6aae5dbf | |||
| 16b5cfb0ff | |||
| c6e869beae | |||
| bc13eb985a | |||
| 5a4d8586f2 | |||
| 61c25839b9 | |||
| 6159099450 | |||
| 779f7f61ea | |||
| 58cb92a1b5 | |||
| af2526b808 | |||
| d4da72ea0f | |||
| 1c4bf0f86f | |||
| 69bb3ace9a | |||
| d0403357fa | |||
| d1c1e01192 | |||
| 023995198d | |||
| 97ebf5cd3e | |||
| 8dfcd9b3f9 | |||
| a7dfaf423e | |||
| 08745f7fd2 | |||
| 01b6cd91e4 | |||
| 72ae404f6a | |||
| 3358ef9f79 | |||
| b17837551c | |||
| 80c00a5a36 | |||
| 6f5a29b97c | |||
| 8942b3483e | |||
| 1fab52b234 | |||
| 0330ff38c7 | |||
| 4bb61d1aa3 | |||
| a57433293a | |||
| 2e96d1c772 | |||
| da23ce1537 | |||
| ec3be8ba1f | |||
| afa49c5165 | |||
| 007c989358 | |||
| 5aa14b40d0 | |||
| a5934bfde1 | |||
| 9ea7fd5e43 | |||
| 5d6fd02e19 | |||
| 28f13fd16e | |||
| 75b2443748 | |||
| 7b58d848ea | |||
| f8254faf23 | |||
| 4bf08a9dc5 | |||
| 70fc11826d | |||
| 11f9cb76dc | |||
| ab22708ce7 | |||
| f53af05615 | |||
| 582e2a680b | |||
| 84e995754c | |||
| 7451762f86 | |||
| 2ca3424be8 | |||
| eab21d250c | |||
| 75ce5169d2 | |||
| 11d62f1a06 | |||
| 9c50b75955 | |||
| 370be33818 | |||
| 2b4477766e | |||
| 1dd4712410 | |||
| 6949a8847a | |||
| 95842397cf | |||
| 65167d2138 | |||
| 3ee3905cfb | |||
| a23229605e | |||
| fd66535249 | |||
| b10583f410 | |||
| 5634ba2bbd | |||
| 7dd61cd82c | |||
| 06756cc50e | |||
| ceb851dead | |||
| d415daa907 | |||
| 62fa2d00b3 | |||
| 58b42a49ad | |||
| 37cd7c07de | |||
| 93a53f7ba5 | |||
| 99a3d59b9b | |||
| d353a3eba0 | |||
| 0ec93e2215 | |||
| 7e9a51e3c8 | |||
| 38baf71728 | |||
| 443b9a4754 | |||
| 90a8b6cb05 | |||
| 3657ea2ce6 | |||
| 5e93805088 | |||
| 12da0f1f45 | |||
| d431adc398 | |||
| a0afad9d42 | |||
| 741527ec05 | |||
| 121aa5221c | |||
| 71f9f77fe4 | |||
| c2e55e6c17 | |||
| 7429f864b1 | |||
| 2e5e0d7f81 | |||
| 0c3908a54b | |||
| 1acfa67631 | |||
| 2166ed6455 | |||
| 29ec831280 | |||
| 34837e3af0 | |||
| 5f8e68fd11 | |||
| dd738384da | |||
| 8953588a57 | |||
| 84e4566714 | |||
| 82de91919f | |||
| df6bcb1817 | |||
| f13c25bdc6 | |||
| d76014885c | |||
| eaf5095e24 | |||
| d109766c65 | |||
| a7d2c95276 | |||
| 381051757f | |||
| 2196d3600a | |||
| 88a56ab42c | |||
| 5db0c5f33f | |||
| 33039cbf97 | |||
| e326900201 | |||
| 04bafdcb6a | |||
| edba4683d0 | |||
| 8299395261 | |||
| 938561dc35 | |||
| 32273d8854 | |||
| a586f735b4 | |||
| a24f9c46c6 | |||
| 3ef6dea1d5 | |||
| 37c0a5fe01 | |||
| b1338d78d0 | |||
| 6eab03e60f | |||
| 9717ece853 | |||
| 441f526aa0 | |||
| abd9ea146e | |||
| 68b2384f57 | |||
| 33c9a99a97 | |||
| 5736c1149f | |||
| a8aaeac6f4 | |||
| 5ac24d98bc | |||
| 5ae3d43af2 | |||
| f7f616a9e2 | |||
| c2659cd250 | |||
| 639258e46d | |||
| 4eacd1186e | |||
| 4f262518e9 | |||
| 54dcbc3387 | |||
| 882cdc0ba9 | |||
| fb1c694932 | |||
| 53bbd446b5 | |||
| a4d439d1c4 | |||
| 723bfeb22c | |||
| 8a59bc17ac | |||
| 71aea6c4fd | |||
| 6c093e339f | |||
| e9e1ebe08f | |||
| d4734bc16a | |||
| 4a7b800891 | |||
| 1ffd8dd66c | |||
| 36794ec477 | |||
| e6e72c3b19 | |||
| da41eef6f6 | |||
| ad98afbacd | |||
| 11e28de8ba | |||
| 69dc5f490b | |||
| 13737918b3 | |||
| 7921349394 | |||
| 077c9986f6 | |||
| c09800e761 | |||
| 9feb0ed2d8 | |||
| 06582178f7 | |||
| eebb55da5b | |||
| d9bd096e3b | |||
| 1b42219956 | |||
| 67b3415b90 | |||
| 61540a7234 | |||
| aff3045ef4 | |||
| 68ae1d69f0 | |||
| 7e094f7151 | |||
| ef4166dd43 | |||
| 880fdd4b73 | |||
| fb382d6e5f | |||
| 9f94548de9 | |||
| 228bb3bb5f | |||
| b111ec457e | |||
| dc0385a7d7 | |||
| 1fc32fe29e | |||
| 7454a7d2d0 | |||
| fd7cf0bab8 | |||
| 28f8d4877e | |||
| 18ed2c231c | |||
| c9f28c872d | |||
| 0c6140655b | |||
| c9bf1c3952 | |||
| f59f61268e | |||
| 2a7f91a151 | |||
| e4af89b556 | |||
| d535bcf13a | |||
| 54305b3ecc | |||
| 9ab3cbe6c9 | |||
| 3c93c6a85a | |||
| 12b19a20fa | |||
| fc015aefaf | |||
| 730eacc2aa | |||
| 570d7a0557 | |||
| 9e8f55c38b | |||
| 9e170fb457 | |||
| 64cad94cd1 | |||
| 4598314f63 | |||
| 9401553b91 | |||
| da921169ca | |||
| a59abf4dad | |||
| eff8cbe590 | |||
| 42c9aa1d50 | |||
| 64667c9113 | |||
| 5e514d0c96 | |||
| a8e41aa13c | |||
| 6e61809d2c | |||
| f3c84e3d58 | |||
| fff0036e5e | |||
| 64a89c82f5 | |||
| 9c46ba3214 | |||
| 6e81669904 | |||
| c2836f3d5f | |||
| bdd2b7a247 | |||
| f30108d2bc | |||
| 9bbd49211b | |||
| c82cf6ab26 | |||
| bccd9ffd39 | |||
| dcdc71bc73 | |||
| c6260289db | |||
| 009e725cfe | |||
| 13dfe253a2 | |||
| 08cc3abede | |||
| cf943f4690 | |||
| d1f3b13796 | |||
| 048f1e3775 | |||
| c7cfffde8f | |||
| 8482dc7fc6 | |||
| 71f7052386 | |||
| 8ecfe196ed | |||
| 75f5f28bc1 | |||
| 8cddfa6942 | |||
| 2f2fda69eb | |||
| 76cbf0cad4 | |||
| 63a83cb676 | |||
| 47bb8ae3f6 | |||
| 07716ee570 | |||
| 4c0ea2178d | |||
| 51e76e2842 | |||
| 3fcd40cedf | |||
| 18187c2008 | |||
| 7ee815ce63 | |||
| 47aacc0cea | |||
| cc2ac36c33 | |||
| dfb528ff2b | |||
| 07411336e1 | |||
| 3de6ed41e9 | |||
| 2a5fe80e39 | |||
| 9b17e116ab | |||
| 25fee7f117 | |||
| bcf893b731 | |||
| 802561f148 | |||
| 57a384f9f5 | |||
| c53441484a | |||
| b04e8880a5 | |||
| 8733cf49e3 | |||
| 41c3c6c22d | |||
| 37143c677f | |||
| 2d6c5cdd97 | |||
| cf125616a4 | |||
| b9b453d366 | |||
| f5e3215975 | |||
| a780d69193 | |||
| 5c85eab730 | |||
| 7ca1134b71 | |||
| f622e17b4e | |||
| 93814da9ef | |||
| a50ef9712d | |||
| 162cb6b3ec | |||
| f8611ed1ba | |||
| 4fe78fd759 | |||
| 0a1a4fc041 | |||
| 90505eb66e | |||
| 374a494816 | |||
| e5196cd756 | |||
| e74dd51032 | |||
| ffa54a268a | |||
| 5a137d825e | |||
| 4cf304ef7f | |||
| 54b8857c67 | |||
| 36548516aa | |||
| 3485739219 | |||
| 4ffcc4976a | |||
| 33f39ab4c8 | |||
| dafa5e6888 | |||
| 98d4a555ec | |||
| c71a40d9c9 | |||
| d4fdaf81df | |||
| 9cdf662390 | |||
| 17ab71f456 | |||
| 2a875f3161 | |||
| d730a6dec6 | |||
| faca458b57 | |||
| 4cd3c9642a | |||
| 6a35b636b1 | |||
| bf0fae0adb | |||
| 0deb9ecc61 | |||
| e1d261851a | |||
| c2ab488c13 | |||
| b552b02a53 | |||
| b6b5fe843c | |||
| 849c21320d | |||
| be713fcfd0 | |||
| 8aeaf1151a | |||
| 73e8e42376 | |||
| 6b85cbad0e | |||
| 470dd9116f | |||
| 79e567207d | |||
| 94ce746748 | |||
| df5134ea71 | |||
| c9a3acd1d8 | |||
| 4121083e20 | |||
| f6bcb98515 | |||
| fcf4d7af8a | |||
| a85db9d26d | |||
| 91b25aebbc | |||
| ebe290901b | |||
| 3c875e61f6 | |||
| 1396055745 | |||
| c89daaab99 | |||
| 4da8eb6a7a | |||
| 170856d262 | |||
| dfc599e3f5 | |||
| 631ef8adc9 | |||
| 7aaa3ac76a | |||
| 6a461dce96 | |||
| 992a30e7c8 | |||
| bb8486de59 | |||
| 346d85395a | |||
| 28dd831390 | |||
| d371aa2195 | |||
| bcf8a5d714 | |||
| e1b05a35ec | |||
| 771a56432c | |||
| 6890a5c3f0 | |||
| ac189fed41 | |||
| 07fe5b23d7 | |||
| 9aa6f65e84 | |||
| fe905109e5 | |||
| 2ef1e26bea | |||
| 2133aa187a | |||
| a9bb13b763 | |||
| 6a04133db8 | |||
| be74ed1700 | |||
| aa3165d9ee | |||
| c32ef20b50 | |||
| 5fb047d0f1 | |||
| 80529d7a8b | |||
| c33745e74c | |||
| 53b6692749 | |||
| 94d68e6f49 | |||
| 27e0af24ac | |||
| c865d49eef | |||
| e4678b5a95 | |||
| e4ffe6111e | |||
| 1fe8472dec | |||
| c0cd18ad3c | |||
| 5044b84440 | |||
| eb8801a574 | |||
| 405afad16d | |||
| f7aabf00ad | |||
| 0697e37e7f | |||
| 7c4a5a344d | |||
| f25996b959 | |||
| 307997e576 | |||
| 73de819bf6 | |||
| c59956b25f | |||
| 4b2fda9adb | |||
| cb13f99b3f | |||
| f50b96cf0c | |||
| 4d0ffd50b6 | |||
| c2e0fe7bcd | |||
| aac07cb946 | |||
| 7535591c8b | |||
| a499cbb643 | |||
| 9c500157c1 | |||
| a243a0cbdd | |||
| 31729c9c71 | |||
| 25a0875d20 | |||
| 2bf7b30897 | |||
| 8af5e689df | |||
| cffd4bd5b4 | |||
| a5ae453861 | |||
| a440ee8146 | |||
| b1d774d00f | |||
| c938db51a8 | |||
| 23946f4576 | |||
| 97a4ffa6dc | |||
| 47a20d4966 | |||
| 1177a5942a | |||
| 343617f672 | |||
| e0cefe817d | |||
| baca794e92 | |||
| 7b7f9f5fef | |||
| 783ff1c0c2 | |||
| 807f35de82 | |||
| 7f54e7a81d | |||
| 382d76f4c1 | |||
| 2d9bc06988 | |||
| b8b0e5d1c9 | |||
| 76ac8b4af2 | |||
| 35916ff80c | |||
| 16c58cfbf9 | |||
| e20d5f389a | |||
| 3ed3c774b5 | |||
| 0d3bdb738c | |||
| 75f4035885 | |||
| 2dfdf94ce4 | |||
| c7c61755d3 | |||
| b276dfc887 | |||
| 698e12f050 | |||
| 28543369b4 | |||
| d18c41a066 | |||
| af24fd60f4 | |||
| 2c5b982cbd | |||
| 1682f05a2d | |||
| 8ec0ce50ac | |||
| e2db3d1d2d | |||
| 7943bb7df5 | |||
| f4569d36b2 | |||
| 9b180dd6cb | |||
| 71d842d8ba | |||
| 4bd60adbb8 | |||
| ec8f0ca84f | |||
| 4250572d13 | |||
| 7a2e925b92 | |||
| 933eefd79f | |||
| 6fcfb7ebcd | |||
| 34cc51b9f8 | |||
| 23c39387ee | |||
| 0679b41740 | |||
| 92564601cc | |||
| 2a67c67397 | |||
| ef0065e3cd | |||
| e61b2603f2 | |||
| 41ddf3f64c | |||
| 1bb2dee37c | |||
| c3fda12ae1 | |||
| 8d33bfea6c | |||
| cadfcf4541 | |||
| d1a47236fc | |||
| 6d770aba38 | |||
| 950199211a | |||
| 7146ded65f | |||
| 5cd4fc6ba1 | |||
| 0c29715508 | |||
| 00a4c2aa95 | |||
| fafffe5c4d | |||
| 684c531e9d | |||
| b85971008b | |||
| 74d6f38f59 | |||
| 5c993eaf91 | |||
| b1c2d28223 | |||
| 39c9a0372c | |||
| 7968cefa5c | |||
| c7d25bf020 | |||
| dc1937383c | |||
| d8c6e99ff0 | |||
| 5c751bd5ce | |||
| 063bf2c93b | |||
| ed90c8fb31 | |||
| 346571091e | |||
| c612c86e23 | |||
| 22fb98b70a | |||
| b3e8807e9e | |||
| b746c32526 | |||
| 138e856b32 | |||
| c4317a9644 | |||
| 58c49101b6 | |||
| 92171c4197 | |||
| 200f94f66f | |||
| a50745e91d | |||
| 861cf138ab | |||
| b6917c173f | |||
| dc2c0e1063 | |||
| 4fb1914c11 | |||
| d0241faac3 | |||
| a5ca0fb47b | |||
| 1c276e19b2 | |||
| 90e2dbf863 | |||
| ac4712f758 | |||
| 925685bf67 | |||
| 9ed5b5242b | |||
| cc6f5e3047 | |||
| 75ae8c78a9 | |||
| f14c08ee5d | |||
| 95054e1099 | |||
| 8b49b8cc7d | |||
| a036126be3 | |||
| 4ae78c3c6b | |||
| 2da2dcc68d | |||
| fd08fcfc6c | |||
| 889ad6fe64 | |||
| 94d31b00e4 | |||
| 1306658ffc | |||
| cdc683eae2 | |||
| 7683b5233b | |||
| d1e182cb2a | |||
| 693ad6ceee | |||
| dd984074a1 | |||
| 6496d42a57 | |||
| 3361e2f6a0 | |||
| b2649182a5 | |||
| c52cea3eb8 | |||
| 637f7183bb | |||
| ecc6185002 | |||
| 27e35d1a89 | |||
| 16f27e0c72 | |||
| a5d126280e | |||
| 703d2feff7 | |||
| 685a25516b | |||
| e6db5203c3 | |||
| ae88ba51d5 | |||
| 5465b1bc57 | |||
| 47bef9cb4c | |||
| 855b2a6a5c | |||
| 7a6918ef60 | |||
| bca2397e0e | |||
| 9ebbb0c957 | |||
| 5e4297e9c7 | |||
| b7c595581b | |||
| fd833c366a | |||
| a472cd84dc | |||
| b018cf7720 | |||
| b6435ff8c9 | |||
| f340f0f273 | |||
| 1874634384 | |||
| bd237525c7 | |||
| 7ea1af3214 | |||
| 22ddf4a3d1 | |||
| e34c1b76f5 | |||
| 41deedb73c | |||
| 541caa5d45 | |||
| ede4940eb3 | |||
| 90888d7d7a | |||
| 4683f16054 | |||
| 22002dfad9 | |||
| a6d08d3f86 | |||
| 88d2221d0c | |||
| e790dc1651 | |||
| fe80269f15 | |||
| ef9a13a3d5 | |||
| d5cffb3269 | |||
| 900717cfbd | |||
| 32d0b13d15 | |||
| b7fc9d2ac4 | |||
| f1685d2bc0 | |||
| feded29ca1 | |||
| 7b47eafcdc | |||
| 4e589513f0 | |||
| 3f44a43b35 | |||
| 3f7b3a86ed | |||
| 2a12e90ae8 | |||
| 9c9e9392aa | |||
| 5b60ccac7a | |||
| ff8fbb2088 | |||
| 3d5b9e75fe | |||
| 899ae1e639 | |||
| 993945a86e | |||
| 338276705d | |||
| a2841e35e9 | |||
| 7044f1048d | |||
| f8a2aefd69 | |||
| e7aff660e9 | |||
| 55d60220fb | |||
| 9f1377bfcf | |||
| 74344f7f6f | |||
| 4afafecc14 | |||
| b849dd2576 | |||
| 1439b0616d | |||
| d0d2c29d72 | |||
| c097d9d342 | |||
| 980340275b | |||
| 3ab6153cde | |||
| d05ac7f0fb | |||
| 40e15dd0d0 | |||
| 6e25c937a4 | |||
| 45ac51ef30 | |||
| d648f83a8b | |||
| 00eb064a4b | |||
| 569b28af95 | |||
| 4a0f4baa42 | |||
| 56130a34a9 | |||
| c84cd1ba3c | |||
| 1e2d4c61fe | |||
| d4e4c53b50 | |||
| 22e99c6d15 | |||
| bba9439ee5 | |||
| 1e60afb2dd | |||
| e71fd88300 | |||
| 8bb0f158b5 | |||
| 11bb5b742e | |||
| 98e0009b64 | |||
| eb79e0eca7 | |||
| a56fe101cd | |||
| e9fc8b417c | |||
| 71fc001713 | |||
| 7a2c8e41a1 | |||
| 3f87a4460b | |||
| 63f70b6fe7 | |||
| 3ac9a8c31d | |||
| 384f199c70 | |||
| 4fd3187feb | |||
| 37e7c74eb5 | |||
| ff65c254fe | |||
| 1b3eb5b7ae | |||
| a2f61d013a | |||
| 3c5fd00404 | |||
| 6380ff8b00 | |||
| 9ad9a0c51f | |||
| 67d8967cf0 | |||
| a2371241e9 | |||
| 61781996df | |||
| 1fa111910d | |||
| 83fed48c14 | |||
| 759414283c | |||
| 54e5b9da83 | |||
| 1da6beecf6 | |||
| b20d9870ad | |||
| 2f0d3bafe0 | |||
| 337592bf70 | |||
| 793662d860 | |||
| 5883a6933e | |||
| fe7f602b88 | |||
| 0fceaae675 | |||
| 43441906cc | |||
| 3d457a42d3 | |||
| 7056d73c97 | |||
| c2db7e2608 | |||
| 9053aecddb | |||
| 9e837ebe3a | |||
| 1132327fbe | |||
| 70a2ed972b | |||
| 4da8c45a1f | |||
| 8f057d39d1 | |||
| db9d023644 | |||
| 40b0e22b0e | |||
| 452dc67b50 | |||
| 5585df4a36 | |||
| e713e90f4f | |||
| 3f1cbe81fb | |||
| 1de4aeb1d1 | |||
| 091053dba1 | |||
| 409699e76c | |||
| 1021f77d15 | |||
| bd3715987d | |||
| c607b1a325 | |||
| 61659791b1 | |||
| db75c5e03a | |||
| 455d707701 | |||
| 63674a9caa | |||
| 68a149694c | |||
| e00ab75ad5 | |||
| b2e1c1311d | |||
| 420e5d5c72 | |||
| b5cf081c80 | |||
| 99b961e2e7 | |||
| 0a90e00c5f | |||
| d2c73366b1 | |||
| 64fa9fdc10 | |||
| a14f5c0696 | |||
| 4c06a593b1 | |||
| 499b2d692d | |||
| 3de515a364 | |||
| 96301608cc | |||
| cdaa88c96c | |||
| 89dd8a25ed | |||
| a513dcfc76 | |||
| 28bf703e7f | |||
| 7dbb3b581b | |||
| 26a78a5c4d | |||
| 3c4cccf96b | |||
| 4caba5a2e8 | |||
| 4fad599ed1 | |||
| b8978db6c2 | |||
| 6a043e8f34 | |||
| 7a04e3ea52 | |||
| c1566cee01 | |||
| 570b6716ee | |||
| b6108e4669 | |||
| 6799ae8c12 | |||
| a0bb63acae | |||
| f4e056e5ac | |||
| 57ca52d8bf | |||
| 721e39dba4 | |||
| 73ff94e0d0 | |||
| 836b0ad128 | |||
| 19e6db301b | |||
| 2a10bb4b03 | |||
| 5662a0847f | |||
| dbc5ab78e8 | |||
| 2c27d28096 | |||
| a4c40d9ce6 | |||
| 679959e06b | |||
| 470d31a034 | |||
| af4304c114 | |||
| d2e1f967f7 | |||
| da340ee047 | |||
| 650091918d | |||
| c8fae836f1 | |||
| c3e1e00981 | |||
| ebde9b8cb6 | |||
| 785a5a7841 | |||
| e872163b88 | |||
| d035dfe3fa | |||
| 2da9ea8218 | |||
| c38a02beeb | |||
| 47e9ba742d | |||
| dc1b91c0a4 | |||
| c45072eeb8 | |||
| c572b19959 | |||
| e3e021955c | |||
| 70bbe650d8 | |||
| e49aae6c15 | |||
| 83e691ea5d | |||
| b34d736d52 | |||
| fdbf1c4fa4 | |||
| 0e04a7089e | |||
| 8a1d437774 | |||
| dfa6d1f289 | |||
| 6f11d39dab | |||
| d69c1857a9 | |||
| a2a4414cef | |||
| c121db4be7 | |||
| 4fcf581f04 | |||
| ca51e80ddb | |||
| ea92ae6828 | |||
| 61089a7f26 | |||
| b23e3ea38c | |||
| 55f901beb6 | |||
| 1c9f926576 | |||
| 730241cd3a | |||
| 77c5a66984 | |||
| 3845c22f5d | |||
| d4eae2a33b | |||
| 4aa2978bff | |||
| eb77a2f3e2 | |||
| 9ff0e8aae9 | |||
| 79f0ac91cc | |||
| 1d2604fa7b | |||
| 3a59eb87b1 | |||
| 2d855e0018 | |||
| 07d20dc026 | |||
| 186c0a5ecc | |||
| 6cddb8de85 | |||
| 23bc1da199 | |||
| 7a7bc5ef7c | |||
| a6e749b0ec | |||
| 6dceacf23f | |||
| 010643164b | |||
| 290e4ff46f | |||
| 98f16f43c2 | |||
| 7ffa13212b | |||
| e90c290f74 | |||
| c18c392bcd | |||
| ac1b018ad9 | |||
| 382ceb6f01 | |||
| b4dc683ffc | |||
| 9acc99f916 | |||
| 13c34df8b5 | |||
| 9a9124cf62 | |||
| 7bb6df7e87 | |||
| 788c3df824 | |||
| 739eb8b7ba | |||
| e6005835bf | |||
| 6302be826a | |||
| 95fa55adc5 | |||
| 2e83f68639 | |||
| 4551ff5d33 | |||
| f8d4610060 | |||
| 8fc7d0a942 | |||
| 6dec154b44 | |||
| 0ccecfbaa3 | |||
| e52c25f6aa | |||
| 65e7f2b212 | |||
| 530fa4790f | |||
| 89243e9fc1 | |||
| 1fbbc095d9 | |||
| ef128fbccd | |||
| 7584430106 | |||
| 7db2e84378 | |||
| 22fd0e85aa | |||
| cf710d1ad3 | |||
| 30d82ec5ad | |||
| 3ad354103b | |||
| 15a19a7b4f | |||
| aad0aee74f | |||
| 307f1097ee | |||
| 7bbc934ee5 | |||
| 61bece0345 | |||
| ef24c6af7d | |||
| f5e18dfd8f | |||
| 0a03b5b16d | |||
| c7717ca5da | |||
| c64945bfa4 | |||
| f3f03f2ffe | |||
| 7423e919ee | |||
| 0ffdb45a28 | |||
| c3a01fc4ab | |||
| 8ddb5b297c | |||
| 0ba63c17c9 | |||
| 36e563b427 | |||
| cf84c6e18f | |||
| 5b01164cb5 | |||
| 25cc648579 | |||
| 6b4763888d | |||
| 1268f5a588 | |||
| 7fa9619d26 | |||
| 46da243a7f | |||
| 9d35362673 | |||
| 54b14e744e | |||
| e039188ed4 | |||
| 0be12f6666 | |||
| 05dfa5ba21 | |||
| 046c4950e4 | |||
| dd24f28bcd | |||
| 9a0f3864ba | |||
| c2c3c4eaae | |||
| 831e857dd5 | |||
| bd4dacbc21 | |||
| 1e4b5137e8 | |||
| 58c4bee8e2 | |||
| ffa80e8494 | |||
| 304aea03cb | |||
| 5eb3aa8658 | |||
| 370948e5f7 | |||
| 5548bf7837 | |||
| 2b3d4ded8a | |||
| 29a853397b | |||
| c9b7fa4ccf | |||
| 4548b12ca9 | |||
| ba19bc9499 | |||
| 149ac9594a | |||
| 40f8d60104 | |||
| e40fef028a | |||
| 3c4b8e735a | |||
| cc6e2fa021 | |||
| dd28068a8e | |||
| 1c193a23bd | |||
| 62569de15f | |||
| f00b3068a5 | |||
| d016f07937 | |||
| 8963b9e561 | |||
| 1b4bf4fd2b | |||
| 7683d122bb | |||
| 03a3acfbba | |||
| 374f7d5d38 | |||
| e727f695ae | |||
| b74465fff7 | |||
| e353d6f273 | |||
| 6770ab73d0 | |||
| 3cb7040609 | |||
| 57faa3704b | |||
| 33d4909aef | |||
| bbd5e74e68 | |||
| 38e73a98d5 | |||
| 4cc04041a9 | |||
| e1579347fa | |||
| 69ac4553ab | |||
| f998bcb825 | |||
| 8e1de8482e | |||
| 78d22c5f4e | |||
| 8c0b26f07a | |||
| cd2f7e36bc | |||
| f963a181b2 | |||
| 60b63bd1e2 | |||
| 636e807dec | |||
| bbec9537fa | |||
| bed0757f9c | |||
| b806c1e98f | |||
| 3435b216f9 | |||
| 6d5b61dca0 | |||
| e2eef9f9c0 | |||
| 8fad9df809 | |||
| 5d518c07fd | |||
| d32e03110c | |||
| d5af7375ab | |||
| a325f17c82 | |||
| 3ea332ca33 | |||
| 88d4f87aa7 | |||
| 606b12a354 | |||
| 2fdd5b448a | |||
| e1c6aac96f | |||
| b4c9b57676 | |||
| a76873040e | |||
| c4de1ec8a8 | |||
| 8956802b5d | |||
| edffa12f4c | |||
| bbc26d0fe0 | |||
| 9e3028b4e2 | |||
| 265c836316 | |||
| e6e339ca56 | |||
| 0f5e8e65c1 | |||
| c6c5294ff6 | |||
| 47b5613beb | |||
| c02e246c0d | |||
| ae6dacac55 | |||
| 0ef4f927d2 | |||
| 3a7955e237 | |||
| 93762f4b71 | |||
| e114b5dbe9 | |||
| 3f45dd6aff | |||
| 321adb85e4 | |||
| 0ff8b3c61a | |||
| 3e5ac80775 | |||
| e8981dd2f5 | |||
| 7c0d1a3855 | |||
| 961be593a6 | |||
| 9543852e68 | |||
| 58ab4da52d | |||
| 9016e6a3c8 | |||
| bd04eee0c3 | |||
| b6fd855440 | |||
| 2f8d45b5dd | |||
| 8f072a6ac7 | |||
| 3d9dc76ebf | |||
| 9223b38920 | |||
| 91569eedf0 | |||
| a6865469fe | |||
| e976ddf0c6 | |||
| 14305fd85b | |||
| 173c2d0652 | |||
| 7b7a34eea7 | |||
| e453a6ddc6 | |||
| f7d482c571 | |||
| 27a4e0dbbb | |||
| 77f292fdcc | |||
| 5153cae2e7 | |||
| 8189ee8c07 | |||
| ac237629b8 | |||
| bb4c1ea5b1 | |||
| ac17b85880 | |||
| f096dfd745 | |||
| a47a43a010 | |||
| 75534603b5 | |||
| 1e9b311891 | |||
| 74690d9b1e |
+979
-532
File diff suppressed because it is too large
Load Diff
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"dotnet.preferCSharpExtension": true,
|
||||
"dotnet.defaultSolution": "IOB-WIN-NEXT.sln"
|
||||
}
|
||||
Binary file not shown.
@@ -33,7 +33,12 @@
|
||||
public int IdxODL { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// Parametri per processing file string --> int
|
||||
/// DataType in output del file da processare (default Record Giacenze Giacovelli)
|
||||
/// </summary>
|
||||
public OutDataType ReturnDataType { get; set; } = OutDataType.RegGiacenze;
|
||||
|
||||
/// <summary>
|
||||
/// Parametri per processing file: indica in quale NUMERO colonna (INT) ci sia un valore
|
||||
/// </summary>
|
||||
public Dictionary<string, int> ProcessParamInt { get; set; } = new Dictionary<string, int>();
|
||||
|
||||
@@ -52,6 +57,21 @@
|
||||
/// </summary>
|
||||
public string RedisOut { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// Porta Redis salvataggio
|
||||
/// </summary>
|
||||
public int RedisPort { get; set; } = 6379;
|
||||
|
||||
/// <summary>
|
||||
/// Indirizzo Redis server
|
||||
/// </summary>
|
||||
public string RedisServer { get; set; } = "localhost";
|
||||
|
||||
/// <summary>
|
||||
/// Valore TTL chiavi salvate in Redis (secondi)) - 0 = non scade
|
||||
/// </summary>
|
||||
public int RedisTTL { get; set; } = 0;
|
||||
|
||||
/// <summary>
|
||||
/// Modalità ritorno risutlati
|
||||
/// </summary>
|
||||
|
||||
@@ -20,6 +20,14 @@ namespace EgwCApp.Core
|
||||
ND,
|
||||
IcoelBatch,
|
||||
IcoelVarInfo,
|
||||
RegGiacenze,
|
||||
TaglioUstd
|
||||
}
|
||||
|
||||
[JsonConverter(typeof(StringEnumConverter))]
|
||||
public enum OutDataType
|
||||
{
|
||||
ParamTaglioUstd,
|
||||
RegGiacenze
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using StackExchange.Redis;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@@ -8,25 +9,147 @@ namespace EgwCApp.Core
|
||||
{
|
||||
public class RedisMan
|
||||
{
|
||||
protected string connString = "";
|
||||
protected string servAddr = "";
|
||||
protected int servPort = 0;
|
||||
protected int redisDb = 0;
|
||||
#region Public Constructors
|
||||
|
||||
public RedisMan(string server, int port, int db)
|
||||
{
|
||||
servAddr = server;
|
||||
servPort = port;
|
||||
redisDb = db;
|
||||
connString = $"{servAddr}:{servPort},db={redisDb},abortConnect=false,ssl=false";
|
||||
connString = $"{servAddr}:{servPort},abortConnect=false,ssl=false";
|
||||
connRedis = ConnectionMultiplexer.Connect(connString);
|
||||
}
|
||||
|
||||
public bool writeData(string redKey, string rawData)
|
||||
#endregion Public Constructors
|
||||
|
||||
#region Public Properties
|
||||
|
||||
/// <summary>
|
||||
/// Oggetto DB REDIS corrente
|
||||
/// </summary>
|
||||
public IDatabase cache
|
||||
{
|
||||
return false;
|
||||
get
|
||||
{
|
||||
IDatabase answ;
|
||||
// se già valorizzato uso oggetto private...
|
||||
if (_currDB != null)
|
||||
{
|
||||
answ = _currDB;
|
||||
}
|
||||
else
|
||||
{
|
||||
// init DB
|
||||
answ = connRedis.GetDatabase(redisDb);
|
||||
_currDB = answ;
|
||||
}
|
||||
// restituisco oggetto DB
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
public string getRSV(string redKey)
|
||||
|
||||
/// <summary>
|
||||
/// Oggetto statico connessione redis
|
||||
/// </summary>
|
||||
public ConnectionMultiplexer connRedis { get; set; }
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Public Methods
|
||||
|
||||
/// <summary>
|
||||
/// Restituisce una chiave salvata in RedisCache
|
||||
/// </summary>
|
||||
/// <param name="chiave"></param>
|
||||
/// <returns></returns>
|
||||
public string getRSV(string chiave)
|
||||
{
|
||||
return "";
|
||||
string answ = "";
|
||||
try
|
||||
{
|
||||
answ = cache.StringGet(chiave);
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
#if false
|
||||
Logging.Instance.Info($"getRSV {exc}");
|
||||
#endif
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Salva una chiave in RedisCache
|
||||
/// </summary>
|
||||
/// <param name="chiave"></param>
|
||||
/// <param name="valore"></param>
|
||||
/// <returns></returns>
|
||||
public bool setRSV(string chiave, string valore)
|
||||
{
|
||||
bool answ = false;
|
||||
try
|
||||
{
|
||||
cache.StringSet(chiave, valore);
|
||||
answ = true;
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
#if false
|
||||
Logging.Instance.Error($"setRSV {exc}");
|
||||
#endif
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Salva una chiave in RedisCache
|
||||
/// </summary>
|
||||
/// <param name="chiave"></param>
|
||||
/// <param name="valore"></param>
|
||||
/// <param name="TTL_sec">in secondi</param>
|
||||
/// <returns></returns>
|
||||
public bool setRSV(string chiave, string valore, int TTL_sec)
|
||||
{
|
||||
bool answ = false;
|
||||
try
|
||||
{
|
||||
TimeSpan expT = new TimeSpan(0, 0, TTL_sec);
|
||||
// salvo con expyry...
|
||||
cache.StringSet(chiave, valore, expT);
|
||||
answ = true;
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
#if false
|
||||
Logging.Instance.Error($"setRSV {exc}");
|
||||
#endif
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
#endregion Public Methods
|
||||
|
||||
#region Protected Fields
|
||||
|
||||
protected int redisDb = 0;
|
||||
protected string servAddr = "";
|
||||
protected int servPort = 0;
|
||||
|
||||
#endregion Protected Fields
|
||||
|
||||
#region Private Fields
|
||||
|
||||
private string connString = "";
|
||||
|
||||
#endregion Private Fields
|
||||
|
||||
#region Private Properties
|
||||
|
||||
/// <summary>
|
||||
/// Oggetto currentDb REDIS locale
|
||||
/// </summary>
|
||||
private IDatabase _currDB { get; set; }
|
||||
|
||||
#endregion Private Properties
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
namespace EgwCApp.Core
|
||||
{
|
||||
public class UstdData
|
||||
{
|
||||
#region Public Classes
|
||||
|
||||
public class CutterParam
|
||||
{
|
||||
#region Public Properties
|
||||
/// <summary>
|
||||
/// Codice articolo
|
||||
/// </summary>
|
||||
public string Codice { get; set; } = "ND";
|
||||
|
||||
/// <summary>
|
||||
/// Serie Articolo
|
||||
/// </summary>
|
||||
public string Serie { get; set; } = "NA";
|
||||
/// <summary>
|
||||
/// Lunghezza pezzo da realizzare
|
||||
/// </summary>
|
||||
public double LungPezzo { get; set; } = 0;
|
||||
/// <summary>
|
||||
/// Quota uscita alama
|
||||
/// </summary>
|
||||
public double QuotaUscita { get; set; } = 0;
|
||||
/// <summary>
|
||||
/// Lunghezza della barra di partenza
|
||||
/// </summary>
|
||||
public double LungBarra { get; set; } = 0;
|
||||
/// <summary>
|
||||
/// Altezza pezzo
|
||||
/// </summary>
|
||||
public double Altezza { get; set; } = 0;
|
||||
|
||||
#endregion Public Properties
|
||||
}
|
||||
|
||||
#endregion Public Classes
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
using EgwCApp.Core;
|
||||
using Newtonsoft.Json;
|
||||
using static EgwCApp.Core.UstdData;
|
||||
using static EgwCApp.Core.WharehouseData;
|
||||
|
||||
namespace EgwCApp.ExcImport
|
||||
@@ -82,7 +83,7 @@ namespace EgwCApp.ExcImport
|
||||
break;
|
||||
|
||||
case ImportType.Excel:
|
||||
fileReturnData = processExcelImport(taskConfig.FileInPath);
|
||||
fileReturnData = processExcelImport(taskConfig.FileInPath, taskConfig.ReturnDataType);
|
||||
answ = true;
|
||||
break;
|
||||
|
||||
@@ -113,6 +114,18 @@ namespace EgwCApp.ExcImport
|
||||
break;
|
||||
|
||||
case ReturnMode.Redis:
|
||||
// salvo in Redis!
|
||||
string rKey = taskConfig.RedisOut;
|
||||
RedisMan redMan = new RedisMan(taskConfig.RedisServer, taskConfig.RedisPort, taskConfig.RedisDB);
|
||||
// salvo!
|
||||
if (taskConfig.RedisTTL > 0)
|
||||
{
|
||||
redMan.setRSV(rKey, fileReturnData, taskConfig.RedisTTL);
|
||||
}
|
||||
else
|
||||
{
|
||||
redMan.setRSV(rKey, fileReturnData);
|
||||
}
|
||||
break;
|
||||
|
||||
case ReturnMode.File:
|
||||
@@ -141,14 +154,16 @@ namespace EgwCApp.ExcImport
|
||||
{
|
||||
if (!string.IsNullOrEmpty(taskConfig.ArchiveDir))
|
||||
{
|
||||
// folder archivio con dataora...
|
||||
string folderArch = Path.Combine(taskConfig.ArchiveDir, $"{DateTime.Now:yyyyMMdd_HHmmss}");
|
||||
// verifico cartella archivio
|
||||
if (!Directory.Exists(taskConfig.ArchiveDir))
|
||||
if (!Directory.Exists(folderArch))
|
||||
{
|
||||
Directory.CreateDirectory(taskConfig.ArchiveDir);
|
||||
Directory.CreateDirectory(folderArch);
|
||||
}
|
||||
// sposto file
|
||||
string fName = Path.GetFileName(taskConfig.FileInPath);
|
||||
File.Move(taskConfig.FileInPath, Path.Combine(taskConfig.ArchiveDir, fName), true);
|
||||
File.Move(taskConfig.FileInPath, Path.Combine(folderArch, fName), true);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -218,11 +233,33 @@ namespace EgwCApp.ExcImport
|
||||
/// </summary>
|
||||
/// <param name="fileItem"></param>
|
||||
/// <returns></returns>
|
||||
private string processExcelImport(string fileItem)
|
||||
private string processExcelImport(string fileItem, OutDataType outReq = OutDataType.RegGiacenze)
|
||||
{
|
||||
string outVal = "";
|
||||
switch (outReq)
|
||||
{
|
||||
case OutDataType.ParamTaglioUstd:
|
||||
outVal = getParTaglioUstdJson(fileItem, true);
|
||||
break;
|
||||
case OutDataType.RegGiacenze:
|
||||
default:
|
||||
outVal = getRegGiacJson(fileItem);
|
||||
break;
|
||||
}
|
||||
return outVal;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Processa e restituisce un oggetto lista giacenze serializzato
|
||||
/// </summary>
|
||||
/// <param name="fileItem">Nome file excel</param>
|
||||
/// <param name="doIndent">Output indentato</param>
|
||||
/// <returns></returns>
|
||||
private string getRegGiacJson(string fileItem, bool doIndent = false)
|
||||
{
|
||||
int numErr = 0;
|
||||
// test procedura di import files excel x Giacovelli...
|
||||
string outVal = "";
|
||||
// test procedura di import files excel (default Giacovelli...)
|
||||
var currExcel = new ExcelMan(fileItem);
|
||||
// creo lista dati in formato RegGiacenze...
|
||||
Dictionary<string, BatchRec> listaGiac = new Dictionary<string, BatchRec>();
|
||||
@@ -287,7 +324,7 @@ namespace EgwCApp.ExcImport
|
||||
}
|
||||
else if (checkEmptyDdt || checkEmptyDate)
|
||||
{
|
||||
//lgTrace($"SKIP linea vuota | i: {i} | ddt: {ddt} | date: {sDate} | prod: {prod}");
|
||||
//lgTrace($"SKIP linea vuota | i: {i} | codice: {codice} | date: {serie} | prod: {prod}");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -359,7 +396,8 @@ namespace EgwCApp.ExcImport
|
||||
rCounter++;
|
||||
}
|
||||
// serializzo e restituisco file JSON...
|
||||
var serVal = JsonConvert.SerializeObject(list2Send);
|
||||
Formatting fMode = doIndent ? Formatting.Indented : Formatting.None;
|
||||
var serVal = JsonConvert.SerializeObject(list2Send, fMode);
|
||||
if (serVal != null && !string.IsNullOrEmpty(serVal))
|
||||
{
|
||||
outVal = serVal;
|
||||
@@ -368,6 +406,166 @@ namespace EgwCApp.ExcImport
|
||||
return outVal;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Processa e restituisce un oggetto parametri taglio serializzato
|
||||
/// </summary>
|
||||
/// <param name="fileItem">Nome file excel</param>
|
||||
/// <param name="doIndent">Output indentato</param>
|
||||
/// <returns>Restituisce un serializzato formato Dictionary<string, CutterParam></returns>
|
||||
private string getParTaglioUstdJson(string fileItem, bool doIndent = false)
|
||||
{
|
||||
int numErr = 0;
|
||||
string outVal = "";
|
||||
// test procedura di import files excel (default Giacovelli...)
|
||||
var currExcel = new ExcelMan(fileItem);
|
||||
// creo lista dati in formato ParametriTaglioUSTD...
|
||||
Dictionary<string, CutterParam> listaParams = new Dictionary<string, CutterParam>();
|
||||
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++)
|
||||
{
|
||||
// voglio che ci sia setup x params
|
||||
if (taskConfig != null && taskConfig.ProcessParamInt != null && taskConfig.ProcessParamInt.Count > 5)
|
||||
{
|
||||
// procedo se errori < 20%...
|
||||
if (numErr < numRighe / 5)
|
||||
{
|
||||
try
|
||||
{
|
||||
double lungPezzo = 0;
|
||||
double quotaUscita = 0;
|
||||
double lungBarra = 0;
|
||||
double altezza = 0;
|
||||
var riga = tabella.Rows[i];
|
||||
if (riga != null)
|
||||
{
|
||||
string codice = getCellVal(riga, taskConfig.ProcessParamInt["Codice"]);
|
||||
string serie = getCellVal(riga, taskConfig.ProcessParamInt["Serie"]);
|
||||
string sLungPezzo = getCellVal(riga, taskConfig.ProcessParamInt["LungPezzo"]);
|
||||
string sQuotaUscita = getCellVal(riga, taskConfig.ProcessParamInt["QuotaUscita"]);
|
||||
string sLungBarra = getCellVal(riga, taskConfig.ProcessParamInt["LungBarra"]);
|
||||
string sAltezza = getCellVal(riga, taskConfig.ProcessParamInt["Altezza"]);
|
||||
|
||||
// verifiche x import: header avrà codice e serie con nome "codice" e "serie" --> SKIP!
|
||||
bool chkHeaderKo = (codice.ToLower() == "codice" || serie.ToLower() == "serie");
|
||||
bool chkEmptyLP = (string.IsNullOrEmpty(sLungPezzo) || sLungPezzo.Length < 2);
|
||||
bool chkEmptyQU = (string.IsNullOrEmpty(sQuotaUscita) || sQuotaUscita.Length < 2);
|
||||
bool chkEmptyLB = (string.IsNullOrEmpty(sLungBarra) || sLungBarra.Length < 2);
|
||||
bool chkEmptyA = (string.IsNullOrEmpty(sAltezza) || sAltezza.Length < 2);
|
||||
if (chkHeaderKo)
|
||||
{
|
||||
//lgTrace($"SKIP header");
|
||||
}
|
||||
else if (chkEmptyLP || chkEmptyQU || chkEmptyLB || chkEmptyA)
|
||||
{
|
||||
//lgTrace($"SKIP linea vuota | i: {i} | codice: {codice} | date: {serie} | prod: {prod}");
|
||||
}
|
||||
else
|
||||
{
|
||||
// conversione valori double
|
||||
bool bLP = double.TryParse(sLungPezzo, out lungPezzo);
|
||||
bool bQU = double.TryParse(sQuotaUscita, out quotaUscita);
|
||||
bool bLB = double.TryParse(sLungBarra, out lungBarra);
|
||||
bool bA = double.TryParse(sAltezza, out altezza);
|
||||
|
||||
// verifico di avere dati per proseguire...
|
||||
bool chkConvert = bLP && bQU && bLB && bA;
|
||||
if (chkConvert)
|
||||
{
|
||||
CutterParam newRow = new CutterParam()
|
||||
{
|
||||
Codice = codice,
|
||||
Serie = serie,
|
||||
LungPezzo = lungPezzo,
|
||||
QuotaUscita = quotaUscita,
|
||||
LungBarra = lungBarra,
|
||||
Altezza = altezza
|
||||
};
|
||||
// verifico: se manca aggiungo
|
||||
if (!listaParams.ContainsKey(codice))
|
||||
{
|
||||
listaParams.Add(codice, newRow);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
//lgError($"Errore verifica identità riga | prod: {prod} | variety: {variety} | suppl: {suppl}");
|
||||
numErr++;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
numErr++;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// serializzo direttamente la listaParams x velocizzare poi ricerca da dictionary
|
||||
if (listaParams.Count > 0)
|
||||
{
|
||||
#if false
|
||||
// converto in una nuova lista...
|
||||
int rCounter = 1;
|
||||
Dictionary<int, CutterParam> list2Send = new Dictionary<int, CutterParam>();
|
||||
foreach (var item in listaParams)
|
||||
{
|
||||
list2Send.Add(rCounter, item.Value);
|
||||
rCounter++;
|
||||
}
|
||||
// serializzo e restituisco file JSON...
|
||||
Formatting fMode = doIndent ? Formatting.Indented : Formatting.None;
|
||||
var serVal = JsonConvert.SerializeObject(list2Send, fMode);
|
||||
if (serVal != null && !string.IsNullOrEmpty(serVal))
|
||||
{
|
||||
outVal = serVal;
|
||||
}
|
||||
#endif
|
||||
// serializzo e restituisco file JSON...
|
||||
Formatting fMode = doIndent ? Formatting.Indented : Formatting.None;
|
||||
var serVal = JsonConvert.SerializeObject(listaParams, fMode);
|
||||
if (serVal != null && !string.IsNullOrEmpty(serVal))
|
||||
{
|
||||
outVal = serVal;
|
||||
}
|
||||
}
|
||||
return outVal;
|
||||
}
|
||||
|
||||
|
||||
#endregion Private Methods
|
||||
}
|
||||
}
|
||||
@@ -5,10 +5,10 @@
|
||||
// $0: Path ConfigFile file per esecuzione
|
||||
|
||||
using EgwCApp.ExcImport;
|
||||
using System.Diagnostics;
|
||||
|
||||
string separator = "--------------------------------------";
|
||||
string fileName = "";
|
||||
|
||||
// controllo args, se mancassero o incompleti mostro help
|
||||
if (args.Length < 1)
|
||||
{
|
||||
@@ -17,18 +17,22 @@ if (args.Length < 1)
|
||||
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";
|
||||
Console.WriteLine("Mancano parametri per esecuzione:");
|
||||
Console.WriteLine("$0: ConfigFile da impiegare");
|
||||
Console.WriteLine("");
|
||||
Console.WriteLine($"verrà usato {fileName}");
|
||||
}
|
||||
else
|
||||
{
|
||||
fileName = args[0];
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
Stopwatch sw = new Stopwatch();
|
||||
sw.Start();
|
||||
#endif
|
||||
// ora processo se ho filename valido...
|
||||
if (!string.IsNullOrEmpty(fileName))
|
||||
{
|
||||
@@ -58,4 +62,8 @@ if (!string.IsNullOrEmpty(fileName))
|
||||
{
|
||||
Console.WriteLine("Errore file non trovato!");
|
||||
}
|
||||
}
|
||||
}
|
||||
#if DEBUG
|
||||
sw.Stop();
|
||||
Console.WriteLine($"Proc time: {sw.ElapsedMilliseconds}ms");
|
||||
#endif
|
||||
@@ -1,25 +1,23 @@
|
||||
{
|
||||
"ArchiveDir": "C:\\temp\\import\\archive",
|
||||
"ConvertDir": "C:\\temp\\import\\convert",
|
||||
"FileInPath": "C:\\temp\\import\\01.12.xlsx",
|
||||
"FileOutPath": "01.12.json",
|
||||
"IdxODL": 987654321,
|
||||
"ArchiveDir": "",
|
||||
"ConvertDir": "C:\\temp\\Taglierina\\convert",
|
||||
"FileInPath": "C:\\temp\\Taglierina\\FileTaglierina.xlsx",
|
||||
"FileOutPath": "FileTaglierina.json",
|
||||
"IdxODL": 0,
|
||||
"ProcessParamInt": {
|
||||
"Product": 3,
|
||||
"Variety": 9,
|
||||
"Supplier": 8,
|
||||
"ExtDoc": 2,
|
||||
"DateRif": 14,
|
||||
"QtyTot": 22,
|
||||
"NumPack": 21,
|
||||
"NumPed": 17,
|
||||
"PackPed": 18,
|
||||
"PesoPack": 20
|
||||
"Codice": 0,
|
||||
"Serie": 1,
|
||||
"LungPezzo": 4,
|
||||
"QuotaUscita": 5,
|
||||
"LungBarra": 6,
|
||||
"Altezza": 7
|
||||
},
|
||||
"ProcessParamStr": {},
|
||||
"RedisDB": 0,
|
||||
"RedisOut": "",
|
||||
"Return": "File",
|
||||
"TargetName": "DB Loco",
|
||||
"RedisDB": 10,
|
||||
"RedisOut": "IOB-WIN:Conf:ParamsUSTD",
|
||||
"RedisTTL": 36000,
|
||||
"Return": "Redis",
|
||||
"ReturnDataType": "ParamTaglioUstd",
|
||||
"TargetName": "Ricette",
|
||||
"Type": "Excel"
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"ArchiveDir": "",
|
||||
"ConvertDir": "C:\\temp\\Taglierina\\convert",
|
||||
"FileInPath": "C:\\temp\\Taglierina\\FileTaglierina.xlsx",
|
||||
"FileOutPath": "FileTaglierina.json",
|
||||
"IdxODL": 0,
|
||||
"ProcessParamInt": {
|
||||
"Codice": 0,
|
||||
"Serie": 1,
|
||||
"LungPezzo": 4,
|
||||
"QuotaUscita": 5,
|
||||
"LungBarra": 6,
|
||||
"Altezza": 7
|
||||
},
|
||||
"ProcessParamStr": {},
|
||||
"RedisDB": 0,
|
||||
"RedisOut": "",
|
||||
"Return": "Console",
|
||||
"ReturnDataType": "ParamTaglioUstd",
|
||||
"TargetName": "Ricette",
|
||||
"Type": "Excel"
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"ArchiveDir": "C:\\temp\\Taglierina\\archive",
|
||||
"ConvertDir": "C:\\temp\\Taglierina\\convert",
|
||||
"FileInPath": "C:\\temp\\Taglierina\\FileTaglierina.xlsx",
|
||||
"FileOutPath": "FileTaglierina.json",
|
||||
"IdxODL": 0,
|
||||
"ProcessParamInt": {
|
||||
"Codice": 0,
|
||||
"Serie": 1,
|
||||
"LungPezzo": 4,
|
||||
"QuotaUscita": 5,
|
||||
"LungBarra": 6,
|
||||
"Altezza": 7
|
||||
},
|
||||
"ProcessParamStr": {},
|
||||
"RedisDB": 0,
|
||||
"RedisOut": "",
|
||||
"Return": "File",
|
||||
"ReturnDataType": "ParamTaglioUstd",
|
||||
"TargetName": "Ricette",
|
||||
"Type": "Excel"
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"ArchiveDir": "",
|
||||
"ConvertDir": "C:\\temp\\Taglierina\\convert",
|
||||
"FileInPath": "C:\\temp\\Taglierina\\FileTaglierina.xlsx",
|
||||
"FileOutPath": "FileTaglierina.json",
|
||||
"IdxODL": 0,
|
||||
"ProcessParamInt": {
|
||||
"Codice": 0,
|
||||
"Serie": 1,
|
||||
"LungPezzo": 4,
|
||||
"QuotaUscita": 5,
|
||||
"LungBarra": 6,
|
||||
"Altezza": 7
|
||||
},
|
||||
"ProcessParamStr": {},
|
||||
"RedisDB": 10,
|
||||
"RedisOut": "IOB-WIN:Conf:ParamsUSTD",
|
||||
"RedisTTL": 36000,
|
||||
"Return": "Redis",
|
||||
"ReturnDataType": "ParamTaglioUstd",
|
||||
"TargetName": "Ricette",
|
||||
"Type": "Excel"
|
||||
}
|
||||
@@ -13,7 +13,7 @@ namespace EgwCApp.Testing
|
||||
this.confFileName = "conf.json";
|
||||
this.baseDir = toolDir;
|
||||
this.exeName = exeFileName;
|
||||
appPath = $"./{baseDir}/{exeName}";
|
||||
appPath = Path.Combine(baseDir, exeName);
|
||||
}
|
||||
|
||||
#endregion Public Constructors
|
||||
|
||||
@@ -29,7 +29,7 @@ string rawData = "";
|
||||
|
||||
|
||||
// svuoto eventuali conf vecchi
|
||||
var listaConf = Directory.GetFiles(Directory.GetCurrentDirectory(), "*.json");
|
||||
var listaConf = Directory.GetFiles(Directory.GetCurrentDirectory(), "conf_*.json");
|
||||
if (listaConf != null && listaConf.Count() > 0)
|
||||
{
|
||||
foreach (var file2del in listaConf)
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"ArchiveDir": "",
|
||||
"ConvertDir": "C:\\temp\\Taglierina\\convert",
|
||||
"FileInPath": "C:\\temp\\Taglierina\\FileTaglierina.xlsx",
|
||||
"FileOutPath": "FileTaglierina.json",
|
||||
"IdxODL": 0,
|
||||
"ProcessParamInt": {
|
||||
"Codice": 0,
|
||||
"Serie": 1,
|
||||
"LungPezzo": 4,
|
||||
"QuotaUscita": 5,
|
||||
"LungBarra": 6,
|
||||
"Altezza": 7
|
||||
},
|
||||
"ProcessParamStr": {},
|
||||
"RedisDB": 10,
|
||||
"RedisOut": "IOB-WIN:Conf:ParamsUSTD",
|
||||
"RedisTTL": 36000,
|
||||
"Return": "Redis",
|
||||
"ReturnDataType": "ParamTaglioUstd",
|
||||
"TargetName": "Ricette",
|
||||
"Type": "Excel"
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.32901.82
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EgwProxy.Ftp.Test", "EgwProxy.Ftp.Test\EgwProxy.Ftp.Test.csproj", "{A655A6AC-5997-46F9-9752-8C621B80516C}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EgwProxy.Ftp", "EgwProxy.Ftp\EgwProxy.Ftp.csproj", "{35D95ED8-E48A-434D-A305-A83E48C8FC6F}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{A655A6AC-5997-46F9-9752-8C621B80516C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{A655A6AC-5997-46F9-9752-8C621B80516C}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{A655A6AC-5997-46F9-9752-8C621B80516C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{A655A6AC-5997-46F9-9752-8C621B80516C}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{35D95ED8-E48A-434D-A305-A83E48C8FC6F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{35D95ED8-E48A-434D-A305-A83E48C8FC6F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{35D95ED8-E48A-434D-A305-A83E48C8FC6F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{35D95ED8-E48A-434D-A305-A83E48C8FC6F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {E2472E21-58D3-4EAD-BC4A-BC3915B18BEF}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -1,26 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>EgwProxy.Ftp</id>
|
||||
<version>#version#</version>
|
||||
<title>EgwProxy.Ftp</title>
|
||||
<authors>Samuele E. Locatelli, EgalWare</authors>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<license type="expression">MIT</license>
|
||||
<description>Libreria per comunicazione con server Ftp (IOB-WIN-NEXT) - beta/unstable</description>
|
||||
<releaseNotes>#releaseNotes#</releaseNotes>
|
||||
<copyright>#copyright#</copyright>
|
||||
<tags>EgwProxy.Ftp EgwProxy Ftp</tags>
|
||||
<dependencies>
|
||||
<group>
|
||||
<dependency id="FluentFTP" version="41.0.0" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Abstractions" version="2.1.0" />
|
||||
</group>
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="EgwProxy.Ftp\bin\Debug\EgwProxy*.dll" target="lib" />
|
||||
<file src="EgwProxy.Ftp\bin\Debug\EgwProxy*.config" target="lib" />
|
||||
<file src="EgwProxy.Ftp\bin\Debug\EgwProxy*.pdb" target="lib" />
|
||||
</files>
|
||||
</package>
|
||||
@@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>EgwProxy.Ftp</id>
|
||||
<version>#version#</version>
|
||||
<title>EgwProxy.Ftp</title>
|
||||
<authors>Samuele E. Locatelli, EgalWare</authors>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<license type="expression">MIT</license>
|
||||
<description>Libreria per comunicazione con server Ftp (IOB-WIN-NEXT)</description>
|
||||
<releaseNotes>#releaseNotes#</releaseNotes>
|
||||
<copyright>#copyright#</copyright>
|
||||
<tags>EgwProxy.Ftp EgwProxy Ftp</tags>
|
||||
<dependencies>
|
||||
<dependency id="FluentFTP" version="41.0.0" />
|
||||
<dependency id="Microsoft.Extensions.Logging.Abstractions" version="2.1.0" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="EgwProxy.Ftp\bin\Release\EgwProxy*.dll" target="lib" />
|
||||
<file src="EgwProxy.Ftp\bin\Release\EgwProxy*.config" target="lib" />
|
||||
</files>
|
||||
</package>
|
||||
@@ -1,55 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
|
||||
</startup>
|
||||
<appSettings>
|
||||
<add key="testFile" value="conf/testSetup.json" />
|
||||
<add key="server" value="ftp.steamware.net" />
|
||||
<add key="userName" value="testftpuser" />
|
||||
<add key="passwd" value="we4reFromB3rghem!" />
|
||||
<add key="rawCert" value="" />
|
||||
<add key="skipCert" value="true" />
|
||||
<add key="ClientSettingsProvider.ServiceUri" value="" />
|
||||
</appSettings>
|
||||
<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="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>
|
||||
<membership defaultProvider="ClientAuthenticationMembershipProvider">
|
||||
<providers>
|
||||
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
|
||||
</providers>
|
||||
</membership>
|
||||
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
|
||||
<providers>
|
||||
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
|
||||
</providers>
|
||||
</roleManager>
|
||||
</system.web>
|
||||
</configuration>
|
||||
@@ -1,90 +0,0 @@
|
||||
<?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>{A655A6AC-5997-46F9-9752-8C621B80516C}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>EgwProxy.Ftp.Test</RootNamespace>
|
||||
<AssemblyName>EgwProxy.Ftp.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="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=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>
|
||||
</Reference>
|
||||
<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" />
|
||||
<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\testSetup-ftp.steamware.net.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="conf\testSetup.json">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="conf\.placeholder" />
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="test\FileProva.txt">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="temp\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\EgwProxy.Ftp\EgwProxy.Ftp.csproj">
|
||||
<Project>{35d95ed8-e48a-434d-a305-a83e48c8fc6f}</Project>
|
||||
<Name>EgwProxy.Ftp</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
@@ -1,513 +0,0 @@
|
||||
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
|
||||
{
|
||||
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 = "------------------------";
|
||||
|
||||
private static Stopwatch sw = new Stopwatch();
|
||||
|
||||
#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 FTP Client");
|
||||
Console.WriteLine(separator);
|
||||
Console.WriteLine();
|
||||
string exePath = System.Reflection.Assembly.GetExecutingAssembly().Location;
|
||||
string BaseDirectory = System.IO.Path.GetDirectoryName(exePath);
|
||||
string testFile = Path.Combine(BaseDirectory, ReadSetting("testFile"));
|
||||
Manager ftpClient = new Manager("", "", "", "", false);
|
||||
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
|
||||
ftpClient = new Manager(testConf.server, testConf.user, testConf.password, testConf.rawCert, testConf.skipCert);
|
||||
serverTest(ftpClient);
|
||||
|
||||
bool doRepeat = true;
|
||||
while (doRepeat)
|
||||
{
|
||||
// eseguo per ogni step
|
||||
foreach (var item in testConf.steps)
|
||||
{
|
||||
Console.WriteLine($"------ Step {item.id} | {item.description} ------");
|
||||
string esitoStep = "";
|
||||
switch (item.action)
|
||||
{
|
||||
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)
|
||||
{
|
||||
esitoStep = "Error: Folder already exists!";
|
||||
}
|
||||
else
|
||||
{
|
||||
var dirCreate = ftpClient.CreateDir(dir2check);
|
||||
esitoStep = dirCreate ? $"Directory {dir2check} created!" : $"Error: {dir2check} NOT created!";
|
||||
}
|
||||
}
|
||||
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;
|
||||
|
||||
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();
|
||||
Console.WriteLine("Do you want to repeat from the beginnning? esc to close");
|
||||
ConsoleKeyInfo answ = Console.ReadKey();
|
||||
doRepeat = answ.Key != ConsoleKey.Escape;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
// test base su server steamware
|
||||
else
|
||||
{
|
||||
Console.WriteLine(separator);
|
||||
Console.WriteLine("Mode: base");
|
||||
Console.WriteLine(separator);
|
||||
Console.WriteLine();
|
||||
|
||||
string sSkipCert = ReadSetting("skipCert");
|
||||
bool skipCert = false;
|
||||
bool.TryParse(sSkipCert, out skipCert);
|
||||
ftpClient = new Manager(ReadSetting("server"), ReadSetting("userName"), ReadSetting("passwd"), ReadSetting("rawCert"), skipCert);
|
||||
serverTest(ftpClient);
|
||||
|
||||
Console.WriteLine("--- Folder ---");
|
||||
var testExists = ftpClient.DirExists($"data/test_folder");
|
||||
if (testExists)
|
||||
{
|
||||
Console.WriteLine("Folder already exists!");
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("--- Create folder ---");
|
||||
var testCreate = ftpClient.CreateDir($"data/test_folder");
|
||||
Console.WriteLine();
|
||||
}
|
||||
|
||||
Console.WriteLine("Contenuto folder remota: ");
|
||||
var folderContent = ftpClient.ListDir("data/", true);
|
||||
foreach (var item in folderContent)
|
||||
{
|
||||
Console.WriteLine(item);
|
||||
}
|
||||
Console.WriteLine();
|
||||
Console.WriteLine("Premere un tasto x continuare...");
|
||||
Console.ReadKey();
|
||||
|
||||
Console.WriteLine("--- Upload file ---");
|
||||
ftpClient.SendFile("test/FileProva.txt", "data/test_folder/FileProva.txt");
|
||||
Console.WriteLine("Contenuto folder remota: ");
|
||||
folderContent = ftpClient.ListDir("data/", true);
|
||||
foreach (var item in folderContent)
|
||||
{
|
||||
Console.WriteLine(item);
|
||||
}
|
||||
|
||||
Console.WriteLine();
|
||||
Console.WriteLine("Premere un tasto x continuare...");
|
||||
Console.ReadKey();
|
||||
|
||||
Console.WriteLine("--- Download File ---");
|
||||
|
||||
ftpClient.GetFile("test/FileProva_02.txt", "data/test_folder/FileProva.txt");
|
||||
Console.WriteLine("Contenuto folder remota: ");
|
||||
folderContent = ftpClient.ListDir("data/", true);
|
||||
foreach (var item in folderContent)
|
||||
{
|
||||
Console.WriteLine(item);
|
||||
}
|
||||
|
||||
Console.WriteLine();
|
||||
Console.WriteLine("Premere un tasto x continuare...");
|
||||
Console.ReadKey();
|
||||
}
|
||||
}
|
||||
|
||||
private static void serverTest(Manager ftpClient)
|
||||
{
|
||||
Console.WriteLine(separator);
|
||||
var testServer = ftpClient.ServerOk();
|
||||
Console.WriteLine($"Test connessione: esito {testServer}");
|
||||
var srvType = ftpClient.ServerType();
|
||||
Console.WriteLine($"Server: {srvType}");
|
||||
Console.WriteLine(separator);
|
||||
Console.WriteLine();
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
}
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
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.Ftp.Test")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("EgwProxy.Ftp.Test")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2022")]
|
||||
[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("a655a6ac-5997-46f9-9752-8c621b80516c")]
|
||||
|
||||
// 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")]
|
||||
@@ -1,46 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace EgwProxy.Ftp.Test
|
||||
{
|
||||
public class TestSetup
|
||||
{
|
||||
public string server { get; set; } = "";
|
||||
public string user { get; set; } = "";
|
||||
public string password { get; set; } = "";
|
||||
public string rawCert { get; set; } = "";
|
||||
public bool skipCert { get; set; } = false;
|
||||
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.checkDir;
|
||||
|
||||
public List<string> paramList { get; set; } = new List<string>();
|
||||
}
|
||||
|
||||
public enum stepType
|
||||
{
|
||||
checkDir,
|
||||
checkFile,
|
||||
createDir,
|
||||
delDir,
|
||||
delFile,
|
||||
delFileList,
|
||||
downloadDir,
|
||||
downloadFile,
|
||||
genRandomDir,
|
||||
listContent,
|
||||
mirrorDirL2R,
|
||||
mirrorDirR2L,
|
||||
uploadDir,
|
||||
uploadFile
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,76 +0,0 @@
|
||||
{
|
||||
"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,44 +0,0 @@
|
||||
{
|
||||
"server": "egw-tscale-04",
|
||||
"user": "testftpuser",
|
||||
"password": "we4reFromB3rghem!",
|
||||
"rawCert": "",
|
||||
"skipCert": true,
|
||||
"steps": [
|
||||
{
|
||||
"id": "01",
|
||||
"description": "Generate Local Folder Data",
|
||||
"action": "delFileList",
|
||||
"paramList": [
|
||||
"ftpdata/syncfolder/",
|
||||
"File_000.txt"
|
||||
]
|
||||
},
|
||||
//{
|
||||
// "id": "02",
|
||||
// "description": "Mirror Local 2 Remote Directory",
|
||||
// "action": "mirrorDirL2R",
|
||||
// "paramList": [
|
||||
// "temp\\localsource",
|
||||
// "ftpdata/syncfolder"
|
||||
// ]
|
||||
//},
|
||||
{
|
||||
"id": "03",
|
||||
"description": "Mirror Remote 2 Local Directory",
|
||||
"action": "mirrorDirR2L",
|
||||
"paramList": [
|
||||
"ftpdata/syncfolder",
|
||||
"temp\\localdest"
|
||||
]
|
||||
},
|
||||
//{
|
||||
// "id": "04",
|
||||
// "description": "Delete Remote Directory",
|
||||
// "action": "delDir",
|
||||
// "paramList": [
|
||||
// "ftpdata/syncfolder"
|
||||
// ]
|
||||
//}
|
||||
]
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<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>
|
||||
@@ -1 +0,0 @@
|
||||
File di prova
|
||||
@@ -1,66 +0,0 @@
|
||||
<?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>{35D95ED8-E48A-434D-A305-A83E48C8FC6F}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>EgwProxy.Ftp</RootNamespace>
|
||||
<AssemblyName>EgwProxy.Ftp</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<Deterministic>true</Deterministic>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<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' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<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=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" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Manager.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.config" />
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
@@ -1,531 +0,0 @@
|
||||
using FluentFTP;
|
||||
using NLog;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Net.Security;
|
||||
|
||||
namespace EgwProxy.Ftp
|
||||
{
|
||||
/// <summary>
|
||||
/// 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
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
/// <summary>
|
||||
/// Inizializzazione di oggetto per comunicazione FTP
|
||||
/// </summary>
|
||||
/// <param name="server"></param>
|
||||
/// <param name="userName"></param>
|
||||
/// <param name="passwd"></param>
|
||||
/// <param name="rawCert"></param>
|
||||
/// <param name="skipCert"></param>
|
||||
public Manager(string server, string userName, string passwd, string rawCert, bool skipCert)
|
||||
{
|
||||
_server = server;
|
||||
_userName = userName;
|
||||
_passwd = passwd;
|
||||
_skipCert = skipCert;
|
||||
_rawCert = rawCert;
|
||||
if (!string.IsNullOrEmpty(server))
|
||||
{
|
||||
// se ho user/pwd è autenticato...
|
||||
if (!string.IsNullOrEmpty(userName) && !string.IsNullOrEmpty(passwd))
|
||||
{
|
||||
client = new FtpClient(server, userName, passwd);
|
||||
}
|
||||
//.. altrimenti anonimo...
|
||||
else
|
||||
{
|
||||
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)
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Eliminazionedirectory remota
|
||||
/// </summary>
|
||||
/// <param name="remoteDir">Nome directory remota da eliminare</param>
|
||||
public bool DeleteDir(string remoteDir)
|
||||
{
|
||||
bool answ = false;
|
||||
try
|
||||
{
|
||||
tryConnect();
|
||||
// Elimina folder
|
||||
client.DeleteDirectory(remoteDir);
|
||||
answ = true;
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
Log.Error($"Eccezione in DeleteDir{Environment.NewLine}{exc}");
|
||||
}
|
||||
// chiudo!
|
||||
client.Disconnect();
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Eliminazione file remoto
|
||||
/// </summary>
|
||||
/// <param name="remoteFile">Nome file remoto da eliminare</param>
|
||||
public bool DeleteFile(string remoteFile)
|
||||
{
|
||||
bool answ = false;
|
||||
tryConnect();
|
||||
try
|
||||
{
|
||||
// Elimina folder
|
||||
client.DeleteFile(remoteFile);
|
||||
answ = true;
|
||||
}
|
||||
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)
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Verifica esistenza file su server FTP remoto
|
||||
/// </summary>
|
||||
/// <param name="remotePath">Percorso remoto da testare (ad es "/htdocs/big2.txt")</param>
|
||||
/// <returns></returns>
|
||||
public bool FileExists(string 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;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Scaricamento 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 GetDir(string localDir, string remoteDir, FtpFolderSyncMode syncMode = FtpFolderSyncMode.Mirror)
|
||||
{
|
||||
bool answ = false;
|
||||
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(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}");
|
||||
}
|
||||
// chiudo!
|
||||
client.Disconnect();
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Download singolo file
|
||||
/// </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)
|
||||
{
|
||||
bool answ = false;
|
||||
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;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Mostra contenuto directory remota
|
||||
/// </summary>
|
||||
/// <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<FtpListItem> GetRemoteList(string remoteDir, bool recurse)
|
||||
{
|
||||
List<FtpListItem> answ = new List<FtpListItem>();
|
||||
try
|
||||
{
|
||||
tryConnect();
|
||||
// recupero listing remoto directory
|
||||
FtpListItem[] dirContent;
|
||||
if (recurse)
|
||||
{
|
||||
dirContent = client.GetListing(remoteDir, FtpListOption.Recursive);
|
||||
}
|
||||
else
|
||||
{
|
||||
dirContent = client.GetListing(remoteDir);
|
||||
}
|
||||
answ = dirContent.ToList();
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
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();
|
||||
// chiudo!
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <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 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;
|
||||
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;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Caricamento singolo file
|
||||
/// </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)
|
||||
{
|
||||
bool answ = false;
|
||||
try
|
||||
{
|
||||
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();
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Verifica connessione con server FTP remoto
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public bool ServerOk()
|
||||
{
|
||||
bool answ = false;
|
||||
try
|
||||
{
|
||||
tryConnect();
|
||||
answ = client.IsConnected;
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
Log.Error($"Eccezione in ServerOk{Environment.NewLine}{exc}");
|
||||
}
|
||||
// chiudo!
|
||||
client.Disconnect();
|
||||
return answ;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Restituisce tipo server remoto
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public string 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 answ;
|
||||
}
|
||||
|
||||
#endregion Public Methods
|
||||
|
||||
#region Protected Fields
|
||||
|
||||
protected bool _skipCert = false;
|
||||
|
||||
#endregion Protected Fields
|
||||
|
||||
#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; } = new FtpClient();
|
||||
|
||||
#endregion Private Properties
|
||||
|
||||
#region Private Methods
|
||||
|
||||
private void Client_ValidateCertificate(FluentFTP.Client.BaseClient.BaseFtpClient control, FtpSslValidationEventArgs e)
|
||||
{
|
||||
if (e.PolicyErrors == SslPolicyErrors.None || _skipCert || e.Certificate.GetRawCertDataString() == _rawCert)
|
||||
{
|
||||
e.Accept = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
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()}");
|
||||
}
|
||||
}
|
||||
|
||||
private void tryConnect()
|
||||
{
|
||||
// connect to the server and automatically detect working FTP settings
|
||||
if (!client.IsConnected)
|
||||
{
|
||||
var profiles = client.AutoDetect(true, true);
|
||||
#if false
|
||||
// if any profiles are found, print the code to the console
|
||||
if (profiles.Count > 0)
|
||||
{
|
||||
var code = profiles[0].ToCode();
|
||||
Console.WriteLine(code);
|
||||
}
|
||||
#endif
|
||||
client.ValidateCertificate += Client_ValidateCertificate;
|
||||
client.AutoConnect();
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Private Methods
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
<?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,17 +0,0 @@
|
||||
# EgwProxy.Ftp Library
|
||||
|
||||
Documentazione relativa alla libreria di interfaccia via FTP con server generici.
|
||||
|
||||
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
|
||||
@@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<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>
|
||||
@@ -1,28 +0,0 @@
|
||||
<?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>
|
||||
@@ -1,27 +0,0 @@
|
||||
<?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>
|
||||
@@ -1,20 +0,0 @@
|
||||
<?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>
|
||||
@@ -1,60 +0,0 @@
|
||||
<?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>
|
||||
@@ -1,107 +0,0 @@
|
||||
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}");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
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")]
|
||||
@@ -1,31 +0,0 @@
|
||||
|
||||
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
|
||||
@@ -1,29 +0,0 @@
|
||||
<?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
@@ -1,10 +0,0 @@
|
||||
<?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
@@ -1,10 +0,0 @@
|
||||
<?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
@@ -1,10 +0,0 @@
|
||||
<?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
@@ -1,10 +0,0 @@
|
||||
<?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>
|
||||
@@ -1,611 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <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);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
<?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>
|
||||
@@ -1,11 +0,0 @@
|
||||
<?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>
|
||||
@@ -1,310 +0,0 @@
|
||||
<?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>
|
||||
@@ -1,75 +0,0 @@
|
||||
<?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>
|
||||
@@ -1,70 +0,0 @@
|
||||
<?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>
|
||||
@@ -1,116 +0,0 @@
|
||||
<?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>
|
||||
@@ -1,76 +0,0 @@
|
||||
<!-- 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>
|
||||
@@ -1,17 +0,0 @@
|
||||
# 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.
@@ -1,9 +0,0 @@
|
||||
<?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>
|
||||
@@ -1,20 +0,0 @@
|
||||
<?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>
|
||||
<entityFramework>
|
||||
<providers>
|
||||
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
|
||||
</providers>
|
||||
</entityFramework>
|
||||
<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=EntityFramework" 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=EntityFramework" 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=EntityFramework" 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=EntityFramework" providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
<runtime>
|
||||
</runtime>
|
||||
</configuration>
|
||||
@@ -1,132 +0,0 @@
|
||||
using NLog;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
/*------------------------------------------------
|
||||
* Aggiunto fix come da link seguente:
|
||||
*
|
||||
* https://stackoverflow.com/questions/14033193/entity-framework-provider-type-could-not-be-loaded
|
||||
*
|
||||
* I solved this by adding an using stament on top of my DBContext class, like so:
|
||||
* using SqlProviderServices= System.Data.Entity.SqlServer.SqlProviderServices;
|
||||
*
|
||||
*/
|
||||
|
||||
namespace EgwProxy.Icoel.DataLayer.Controllers
|
||||
{
|
||||
/// <summary>
|
||||
/// Controller accesso dati DB vari x ICOEL
|
||||
/// </summary>
|
||||
public class DbController : IDisposable
|
||||
{
|
||||
#if false
|
||||
private static EntrataDbContext dbEntrataCtx;
|
||||
private static ExportDbContext dbExportCtx;
|
||||
private static TrackerDbContext dbTrackerCtx;
|
||||
#endif
|
||||
|
||||
#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)
|
||||
{
|
||||
dbSyncStateCtx = new SyncStateDbContext(connSyncState);
|
||||
Log.Info("Avviata classe dbSyncStateCtx");
|
||||
}
|
||||
|
||||
#endregion Public Constructors
|
||||
|
||||
#region Public Methods
|
||||
|
||||
/// <summary>
|
||||
/// Recupera la tab di CurrData corrente
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public List<DatabaseModels.CurrDataModel> CurrDataGetAll()
|
||||
{
|
||||
List<DatabaseModels.CurrDataModel> dbResult = new List<DatabaseModels.CurrDataModel>();
|
||||
|
||||
dbResult = dbSyncStateCtx
|
||||
.DbSetCurrData
|
||||
.ToList();
|
||||
|
||||
return dbResult;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Dispose classe
|
||||
/// </summary>
|
||||
public void Dispose()
|
||||
{
|
||||
// Clear database context
|
||||
#if false
|
||||
dbEntrataCtx.Dispose();
|
||||
dbExportCtx.Dispose();
|
||||
dbTrackerCtx.Dispose();
|
||||
#endif
|
||||
dbSyncStateCtx.Dispose();
|
||||
}
|
||||
|
||||
/// <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<DatabaseModels.SyncStateModel> SyncStateDoExportAll()
|
||||
{
|
||||
List<DatabaseModels.SyncStateModel> dbResult = new List<DatabaseModels.SyncStateModel>();
|
||||
|
||||
dbResult = dbSyncStateCtx
|
||||
.Database
|
||||
.SqlQuery<DatabaseModels.SyncStateModel>("EXEC 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<DatabaseModels.SyncStateModel> SyncStateDoImportAll()
|
||||
{
|
||||
List<DatabaseModels.SyncStateModel> dbResult = new List<DatabaseModels.SyncStateModel>();
|
||||
|
||||
dbResult = dbSyncStateCtx
|
||||
.Database
|
||||
.SqlQuery<DatabaseModels.SyncStateModel>("EXEC stp_ImportAll")
|
||||
.ToList();
|
||||
|
||||
return dbResult;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// recupera la tab di SyncState corrente
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public List<DatabaseModels.SyncStateModel> SyncStateGetAll()
|
||||
{
|
||||
List<DatabaseModels.SyncStateModel> dbResult = new List<DatabaseModels.SyncStateModel>();
|
||||
|
||||
dbResult = dbSyncStateCtx
|
||||
.DbSetSyncState
|
||||
.ToList();
|
||||
|
||||
return dbResult;
|
||||
}
|
||||
|
||||
#endregion Public Methods
|
||||
|
||||
#region Private Fields
|
||||
|
||||
private static SyncStateDbContext dbSyncStateCtx;
|
||||
private static NLog.Logger Log = LogManager.GetCurrentClassLogger();
|
||||
|
||||
#endregion Private Fields
|
||||
}
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
namespace EgwProxy.Icoel.DataLayer.DatabaseModels
|
||||
{
|
||||
|
||||
[Table("CurrData")]
|
||||
public partial class CurrDataModel
|
||||
{
|
||||
[Key]
|
||||
[StringLength(50)]
|
||||
public string Topic { get; set; }
|
||||
|
||||
public decimal CurrVal { get; set; } = 0;
|
||||
}
|
||||
}
|
||||
@@ -1,55 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
namespace EgwProxy.Icoel.DataLayer.DatabaseModels
|
||||
{
|
||||
|
||||
[Table("DettagliConferimentoMES")]
|
||||
public partial class DettConferimentoModel
|
||||
{
|
||||
[Key]
|
||||
[Column(Order = 0)]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public long PackId { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 1)]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public long FillingId { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 2)]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int FilligRow { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 3)]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public long ScaricoId { get; set; }
|
||||
|
||||
public string CODBARRE { get; set; }
|
||||
|
||||
public string CODICE_FORNITORE { get; set; }
|
||||
|
||||
public string NOME_FORNITORE { get; set; }
|
||||
|
||||
public string CODICE_PRODOTTO { get; set; }
|
||||
|
||||
public string DESCRIZIONE_PRODOTTO { get; set; }
|
||||
|
||||
public string CODICE_PRODOTTO_GREZZO { get; set; }
|
||||
|
||||
public string DESCRIZIONE_PRODOTTO_GREZZO { get; set; }
|
||||
|
||||
public string SIGLA_LOTTO { get; set; }
|
||||
|
||||
public string NUMERO_LOTTO { get; set; }
|
||||
|
||||
public string DATA_ENTRATA { get; set; }
|
||||
|
||||
public string QUANTITA_ENTRATA { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,69 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
namespace EgwProxy.Icoel.DataLayer.DatabaseModels
|
||||
{
|
||||
|
||||
[Table("DettagliConfezioniMES")]
|
||||
public partial class DettConfezioniModel
|
||||
{
|
||||
[Key]
|
||||
[Column("Pack Id", Order = 0)]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public long Pack_Id { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string EAN { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column("Batch Id", Order = 1)]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public long Batch_Id { get; set; }
|
||||
|
||||
public string BatchName { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 2)]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int Lane1SizerBatchId { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 3)]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int Lane2SizerBatchId { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column("End Time", Order = 4, TypeName = "datetime2")]
|
||||
public DateTime End_Time { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 5)]
|
||||
public Guid SizerProductGUID { get; set; }
|
||||
|
||||
[Column("Product Name")]
|
||||
public string Product_Name { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 6)]
|
||||
public Guid SizerPackGUID { get; set; }
|
||||
|
||||
[Column("Pack Name")]
|
||||
[StringLength(50)]
|
||||
public string Pack_Name { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 7)]
|
||||
public decimal PesoDecigram { get; set; }
|
||||
|
||||
[StringLength(10)]
|
||||
public string FillingMode { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 8)]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int Quantity { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,66 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
namespace EgwProxy.Icoel.DataLayer.DatabaseModels
|
||||
{
|
||||
|
||||
[Table("ENTRATACILIEGIE")]
|
||||
public partial class EntrataModel
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public long ID_CHIAVE { get; set; }
|
||||
|
||||
[StringLength(20)]
|
||||
public string CODBARRE { get; set; }
|
||||
|
||||
public double? CODICE_FORNITORE { get; set; }
|
||||
|
||||
[StringLength(5)]
|
||||
public string CODICE_LUOGO_PRODUZIONE { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string NOME_FORNITORE { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string INDIRIZZO_FORNITORE { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string COMUNE_FORNITORE { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string NOME_LUOGO_PRODUZIONE { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string INDIRIZZO_LUOGO_PRODUZIONE { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string COMUNE_LUOGO_PRODUZIONE { get; set; }
|
||||
|
||||
[StringLength(10)]
|
||||
public string CODICE_PRODOTTO { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string DESCRIZIONE_PRODOTTO { get; set; }
|
||||
|
||||
[StringLength(10)]
|
||||
public string CODICE_PRODOTTO_GREZZO { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string DESCRIZIONE_PRODOTTO_GREZZO { get; set; }
|
||||
|
||||
[StringLength(50)]
|
||||
public string SIGLA_LOTTO { get; set; }
|
||||
|
||||
[StringLength(10)]
|
||||
public string NUMERO_LOTTO { get; set; }
|
||||
|
||||
[Column(TypeName = "datetime2")]
|
||||
public DateTime? DATA_ENTRATA { get; set; }
|
||||
|
||||
public double? QUANTITA_ENTRATA { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,35 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
namespace EgwProxy.Icoel.DataLayer.DatabaseModels
|
||||
{
|
||||
|
||||
[Table("ProductsTotals")]
|
||||
public partial class ProductsTotalsModel
|
||||
{
|
||||
[Key]
|
||||
[Column(Order = 0)]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int SizerBatchId { get; set; }
|
||||
|
||||
[Key]
|
||||
[Column(Order = 1)]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.None)]
|
||||
public int Index { get; set; }
|
||||
|
||||
public string Nome { get; set; }
|
||||
|
||||
public string Qualities { get; set; }
|
||||
|
||||
public string Grado { get; set; }
|
||||
|
||||
public string Calibro { get; set; }
|
||||
|
||||
public int NumeroFrutti { get; set; }
|
||||
|
||||
public string Decigrammi { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity.Spatial;
|
||||
|
||||
namespace EgwProxy.Icoel.DataLayer.DatabaseModels
|
||||
{
|
||||
|
||||
[Table("SyncState")]
|
||||
public partial class SyncStateModel
|
||||
{
|
||||
[Key]
|
||||
[StringLength(50)]
|
||||
public string TableName { get; set; }
|
||||
|
||||
public long LastIdx { get; set; }
|
||||
|
||||
public long LastIdxIn { get; set; }
|
||||
|
||||
public long LastIdxOut { get; set; }
|
||||
|
||||
public long NumRec { get; set; }
|
||||
|
||||
public long NumRecIn { get; set; }
|
||||
|
||||
public long NumRecOut { get; set; }
|
||||
|
||||
public DateTime LastUpdate { get; set; } = DateTime.Today;
|
||||
}
|
||||
}
|
||||
@@ -1,71 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace EgwProxy.Icoel.DataLayer
|
||||
{
|
||||
public static class DbConfig
|
||||
{
|
||||
#region Public Fields
|
||||
|
||||
public static string DATABASE_NAME = "EgtBwDb";
|
||||
|
||||
public static int DATABASE_PROCESS_TIMEOUT = 5;
|
||||
public static string DATABASE_PWD = "viacremasca";
|
||||
|
||||
// Database config
|
||||
public static string DATABASE_SERV = "127.0.0.1";
|
||||
|
||||
public static string DATABASE_USER = "EgtUser";
|
||||
|
||||
#endregion Public Fields
|
||||
|
||||
#region Public Properties
|
||||
|
||||
/// <summary>
|
||||
/// DB Connection string per azioni amministrative
|
||||
/// </summary>
|
||||
public static string ADMIN_CONNECTION_STRING { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// DB Connection string
|
||||
/// </summary>
|
||||
public static string CONNECTION_STRING { get; set; } = "";
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Public Methods
|
||||
|
||||
/// <summary>
|
||||
/// Metodo di init standard per DB in rete con Master_Key
|
||||
/// </summary>
|
||||
/// <param name="server">Indirizzo del server (tipicamente indirizzo di rete)</param>
|
||||
/// <param name="nKey">Numero chiave</param>
|
||||
/// <param name="sKey">Codice/pwd associato a chaive</param>
|
||||
/// <param name="masterKey">Numero di chiave master con cui è creato il DB</param>
|
||||
public static void InitDb(string server, string nKey, string sKey, string masterKey = "")
|
||||
{
|
||||
// se nulla metto amster come nKey...
|
||||
masterKey = string.IsNullOrEmpty(masterKey) ? nKey : masterKey;
|
||||
DATABASE_SERV = server;
|
||||
DATABASE_NAME = $"EgtBwDb_{masterKey}";
|
||||
DATABASE_USER = $"user_{nKey}";
|
||||
DATABASE_PWD = $"pwd_{sKey}";
|
||||
CONNECTION_STRING = $"server={DATABASE_SERV};port=3306;database={DATABASE_NAME};uid={DATABASE_USER};pwd={DATABASE_PWD};sslmode=None";
|
||||
// stringa admin con utente root egalware...
|
||||
ADMIN_CONNECTION_STRING = $"server={DATABASE_SERV};port=3306;database=mysql;uid=root;pwd=Egalware_24068!;sslmode=None;CHARSET=utf8";
|
||||
}
|
||||
|
||||
#if false
|
||||
public static bool CheckUser(string nKey, string sKey, bool isNetwork)
|
||||
{
|
||||
// esecuzione script di install locale
|
||||
return Controllers.DbController.man.checkCreateUser(DATABASE_USER, DATABASE_PWD, isNetwork);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endregion Public Methods
|
||||
}
|
||||
}
|
||||
@@ -1,138 +0,0 @@
|
||||
<?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>{E36544CB-D699-48D8-9F81-C2758E7C7D19}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>EgwProxy.Icoel.DataLayer</RootNamespace>
|
||||
<AssemblyName>EgwProxy.Icoel.DataLayer</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<Deterministic>true</Deterministic>
|
||||
<TargetFrameworkProfile />
|
||||
<NuGetPackageImportStamp>
|
||||
</NuGetPackageImportStamp>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<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' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
</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="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">
|
||||
<HintPath>..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||
<Reference Include="System.Configuration" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Data.OracleClient" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.IdentityModel" />
|
||||
<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.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.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=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=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>
|
||||
</Reference>
|
||||
<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.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.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>
|
||||
</Reference>
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<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" />
|
||||
<Reference Include="WindowsBase" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Controllers\DbController.cs" />
|
||||
<Compile Include="DatabaseModels\EntrataModel.cs" />
|
||||
<Compile Include="DatabaseModels\DettConferimentoModel.cs" />
|
||||
<Compile Include="DatabaseModels\DettConfezioniModel.cs" />
|
||||
<Compile Include="DatabaseModels\CurrDataModel.cs" />
|
||||
<Compile Include="EntrataDbContext.cs" />
|
||||
<Compile Include="ExportDbContext.cs" />
|
||||
<Compile Include="DatabaseModels\ProductsTotalsModel.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="DatabaseModels\SyncStateModel.cs" />
|
||||
<Compile Include="SyncStateDbContext.cs" />
|
||||
<Compile Include="TrackerDbContext.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\packages\EntityFramework.6.4.4\build\EntityFramework.targets" Condition="Exists('..\packages\EntityFramework.6.4.4\build\EntityFramework.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.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\EntityFramework.6.4.4\build\EntityFramework.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
||||
@@ -1,46 +0,0 @@
|
||||
using EgwProxy.Icoel.DataLayer.DatabaseModels;
|
||||
using NLog;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity;
|
||||
using System.Linq;
|
||||
using SqlProviderServices = System.Data.Entity.SqlServer.SqlProviderServices;
|
||||
|
||||
namespace EgwProxy.Icoel.DataLayer
|
||||
{
|
||||
/// <summary>
|
||||
/// Classe per accesso dati accettazione merce Agrimatica (via ICOEL)
|
||||
/// </summary>
|
||||
public partial class EntrataDbContext : DbContext
|
||||
{
|
||||
private static NLog.Logger Log = LogManager.GetCurrentClassLogger();
|
||||
|
||||
/// <summary>
|
||||
/// Costruttore implicito
|
||||
/// </summary>
|
||||
public EntrataDbContext() : base("name=EntrataFrontiera")
|
||||
{
|
||||
Log.Info("Init 01 EntrataDbContext - DONE");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Costruttore da connectionString
|
||||
/// </summary>
|
||||
/// <param name="connectionString"></param>
|
||||
public EntrataDbContext(string connectionString) : base(connectionString)
|
||||
{
|
||||
Log.Info("Init 02 EntrataDbContext - DONE");
|
||||
}
|
||||
/// <summary>
|
||||
/// DbSet record entrata merce
|
||||
/// </summary>
|
||||
public virtual DbSet<EntrataModel> DbSetEntrataMerce { get; set; }
|
||||
|
||||
protected override void OnModelCreating(DbModelBuilder modelBuilder)
|
||||
{
|
||||
modelBuilder.Entity<EntrataModel>()
|
||||
.Property(e => e.DATA_ENTRATA)
|
||||
.HasPrecision(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
using EgwProxy.Icoel.DataLayer.DatabaseModels;
|
||||
using NLog;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity;
|
||||
using System.Linq;
|
||||
using SqlProviderServices = System.Data.Entity.SqlServer.SqlProviderServices;
|
||||
|
||||
namespace EgwProxy.Icoel.DataLayer
|
||||
{
|
||||
/// <summary>
|
||||
/// Classe per accesso dati Tacker ICOEL
|
||||
/// </summary>
|
||||
public partial class ExportDbContext : DbContext
|
||||
{
|
||||
private static NLog.Logger Log = LogManager.GetCurrentClassLogger();
|
||||
|
||||
/// <summary>
|
||||
/// Costruttore implicito
|
||||
/// </summary>
|
||||
public ExportDbContext() : base("name=ExportIcoel")
|
||||
{
|
||||
Log.Info("Init 01 ExportDbContext - DONE");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Costruttore da connectionString
|
||||
/// </summary>
|
||||
/// <param name="connectionString"></param>
|
||||
public ExportDbContext(string connectionString) : base(connectionString)
|
||||
{
|
||||
Log.Info("Init 02 ExportDbContext - DONE");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// DbSet dati prodotti
|
||||
/// </summary>
|
||||
public virtual DbSet<ProductsTotalsModel> DbSetProductsTotals { get; set; }
|
||||
|
||||
protected override void OnModelCreating(DbModelBuilder modelBuilder)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,87 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace EgwProxy.Icoel.DataLayer
|
||||
{
|
||||
public class MainDbContext : DbContext
|
||||
{
|
||||
#region Private Fields
|
||||
|
||||
private static NLog.Logger Log = LogManager.GetCurrentClassLogger();
|
||||
|
||||
#endregion Private Fields
|
||||
|
||||
#region Public Constructors
|
||||
|
||||
// Il contesto è stato configurato per utilizzare una stringa di connessione 'BBMModel' dal file di configurazione
|
||||
// dell'applicazione (App.config o Web.config). Per impostazione predefinita, la stringa di connessione è destinata al
|
||||
// database 'BBMModel' nell'istanza di LocalDb.
|
||||
//
|
||||
// Per destinarla a un database o un provider di database differente, modificare la stringa di connessione 'BBMModel'
|
||||
// nel file di configurazione dell'applicazione.
|
||||
[Obsolete("This constructor should never be used directly, and is only needed to generate entityframework stuff. Connection string can be adapted as pleased.")]
|
||||
//public DatabaseContext() : base("BBMModel")
|
||||
public MainDbContext() : base("Data Source=SQLSTEAM;Initial Catalog=SHERPA.BBM;User ID=sa;Password=keyhammer;integrated security=False;MultipleActiveResultSets=True;App=EntityFramework")
|
||||
{
|
||||
}
|
||||
|
||||
public MainDbContext(string connectionString) : base(connectionString)
|
||||
{
|
||||
Log.Info($"init MainDbContext - start");
|
||||
|
||||
try
|
||||
{
|
||||
Database.CreateIfNotExists();
|
||||
Log.Error("CreateIfNotExists - DONE");
|
||||
|
||||
//Database.SetInitializer(new MigrateDatabaseToLatestVersion<StratonLocalizerDatabase, Migrations.Configuration>());
|
||||
Database.SetInitializer<MainDbContext>(null);
|
||||
Database.Initialize(false);
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
Log.Error($"Eccezione in fase init MainDbContext, connectionString: {connectionString}{Environment.NewLine}{exc}");
|
||||
}
|
||||
Log.Error("init MainDbContext - DONE");
|
||||
}
|
||||
|
||||
#endregion Public Constructors
|
||||
|
||||
// Aggiungere DbSet per ogni tipo di entità che si desidera includere nel modello. Per ulteriori informazioni
|
||||
// sulla configurazione e sull'utilizzo di un modello Code, vedere http://go.microsoft.com/fwlink/?LinkId=390109.
|
||||
|
||||
#region Public Properties
|
||||
|
||||
public virtual DbSet<DatabaseModels.BasketsModel> DbSetBaskets { get; set; }
|
||||
public virtual DbSet<DatabaseModels.CompanyModel> DbSetCompanies { get; set; }
|
||||
public virtual DbSet<DatabaseModels.FluxCountersModel> DbSetCounters { get; set; }
|
||||
public virtual DbSet<DatabaseModels.CustomersModel> DbSetCustomers { get; set; }
|
||||
public virtual DbSet<DatabaseModels.DocsModel> DbSetDocs { get; set; }
|
||||
|
||||
public virtual DbSet<DatabaseModels.Fatt2DocModel> DbSetFatt2Doc { get; set; }
|
||||
|
||||
public virtual DbSet<DatabaseModels.ItemsModel> DbSetItems { get; set; }
|
||||
|
||||
public virtual DbSet<DatabaseModels.NegotiationsModel> DbSetNegotiations { get; set; }
|
||||
|
||||
public virtual DbSet<DatabaseModels.ResourcesModel> DbSetResources { get; set; }
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Protected Methods
|
||||
|
||||
protected override void OnModelCreating(DbModelBuilder modelBuilder)
|
||||
{
|
||||
base.OnModelCreating(modelBuilder);
|
||||
|
||||
// Precision attribute for decimals
|
||||
Precision.ConfigureModelBuilder(modelBuilder);
|
||||
}
|
||||
|
||||
#endregion Protected Methods
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// Le informazioni generali relative a un assembly sono controllate dal seguente
|
||||
// set di attributi. Modificare i valori di questi attributi per modificare le informazioni
|
||||
// associate a un assembly.
|
||||
[assembly: AssemblyTitle("EgwProxy.Icoel.DataLayer")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("EgwProxy.Icoel.DataLayer")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2022")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Se si imposta ComVisible su false, i tipi in questo assembly non saranno visibili
|
||||
// ai componenti COM. Se è necessario accedere a un tipo in questo assembly da
|
||||
// COM, impostare su true l'attributo ComVisible per tale tipo.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// Se il progetto viene esposto a COM, il GUID seguente verrà utilizzato come ID della libreria dei tipi
|
||||
[assembly: Guid("e36544cb-d699-48d8-9f81-c2758e7c7d19")]
|
||||
|
||||
// Le informazioni sulla versione di un assembly sono costituite dai seguenti quattro valori:
|
||||
//
|
||||
// Versione principale
|
||||
// Versione secondaria
|
||||
// Numero di build
|
||||
// Revisione
|
||||
//
|
||||
// È possibile specificare tutti i valori oppure impostare valori predefiniti per i numeri relativi alla revisione e alla build
|
||||
// usando l'asterisco '*' come illustrato di seguito:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
@@ -1,48 +0,0 @@
|
||||
using EgwProxy.Icoel.DataLayer.DatabaseModels;
|
||||
using NLog;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity;
|
||||
using System.Linq;
|
||||
|
||||
namespace EgwProxy.Icoel.DataLayer
|
||||
{
|
||||
/// <summary>
|
||||
/// Classe per accesso dati SyncState del DB
|
||||
/// </summary>
|
||||
public partial class SyncStateDbContext : DbContext
|
||||
{
|
||||
private static NLog.Logger Log = LogManager.GetCurrentClassLogger();
|
||||
|
||||
/// <summary>
|
||||
/// Costruttore implicito
|
||||
/// </summary>
|
||||
public SyncStateDbContext() : base("name=SyncState")
|
||||
{
|
||||
Log.Info("Init 01 SyncStateDbContext - DONE");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Costruttore da connectionString
|
||||
/// </summary>
|
||||
/// <param name="connectionString"></param>
|
||||
public SyncStateDbContext(string connectionString) : base(connectionString)
|
||||
{
|
||||
Log.Info("Init 02 SyncStateDbContext - DONE");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// DbSet dei dati stato sync DB esterni <--> locale
|
||||
/// </summary>
|
||||
public virtual DbSet<SyncStateModel> DbSetSyncState { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// DbSet CurrData
|
||||
/// </summary>
|
||||
public virtual DbSet<CurrDataModel> DbSetCurrData { get; set; }
|
||||
|
||||
protected override void OnModelCreating(DbModelBuilder modelBuilder)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,49 +0,0 @@
|
||||
using EgwProxy.Icoel.DataLayer.DatabaseModels;
|
||||
using NLog;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Data.Entity;
|
||||
using System.Linq;
|
||||
using SqlProviderServices = System.Data.Entity.SqlServer.SqlProviderServices;
|
||||
|
||||
namespace EgwProxy.Icoel.DataLayer
|
||||
{
|
||||
/// <summary>
|
||||
/// Classe per accesso dati Tacker ICOEL
|
||||
/// </summary>
|
||||
public partial class TrackerDbContext : DbContext
|
||||
{
|
||||
private static NLog.Logger Log = LogManager.GetCurrentClassLogger();
|
||||
|
||||
/// <summary>
|
||||
/// Costruttore implicito
|
||||
/// </summary>
|
||||
public TrackerDbContext() : base("name=TrackerLotti")
|
||||
{
|
||||
Log.Info("Init 01 TrackerDbContext - DONE");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Costruttore da connectionString
|
||||
/// </summary>
|
||||
/// <param name="connectionString"></param>
|
||||
public TrackerDbContext(string connectionString) : base(connectionString)
|
||||
{
|
||||
Log.Info("Init 02 TrackerDbContext - DONE");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// DbSet dai dati conferimento <--> pack di uscita
|
||||
/// </summary>
|
||||
public virtual DbSet<DettConferimentoModel> DbSetConferimento { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// DbSet dai dati conferimento <--> confezioni
|
||||
/// </summary>
|
||||
public virtual DbSet<DettConfezioniModel> DbSetConfezioni { get; set; }
|
||||
|
||||
protected override void OnModelCreating(DbModelBuilder modelBuilder)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="EntityFramework" version="6.4.4" targetFramework="net462" />
|
||||
<package id="NLog" version="5.2.3" targetFramework="net462" />
|
||||
<package id="System.Buffers" version="4.5.1" targetFramework="net462" />
|
||||
<package id="System.IO" version="4.3.0" 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="6.0.0" targetFramework="net462" />
|
||||
<package id="System.Runtime.InteropServices.RuntimeInformation" version="4.3.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.Principal.Windows" version="5.0.0" targetFramework="net462" />
|
||||
<package id="System.ValueTuple" version="4.5.0" targetFramework="net462" />
|
||||
</packages>
|
||||
@@ -1,24 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package >
|
||||
<metadata>
|
||||
<id>EgwProxy.Icoel</id>
|
||||
<version>#version#</version>
|
||||
<title>EgwProxy.Icoel</title>
|
||||
<authors>Samuele E. Locatelli, EgalWare</authors>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<license type="expression">MIT</license>
|
||||
<description>Libreria per comunicazione con SOAP API del sizer di Icoel (IOB-WIN-NEXT) - beta/unstable</description>
|
||||
<releaseNotes>#releaseNotes#</releaseNotes>
|
||||
<copyright>#copyright#</copyright>
|
||||
<tags>EgwProxy.Icoel EgwProxy Icoel</tags>
|
||||
<dependencies>
|
||||
<dependency id="NLog" version="5.1.2" />
|
||||
<dependency id="EntityFramework" version="6.4.4" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="EgwProxy.Icoel\bin\Debug\EgwProxy*.dll" target="lib" />
|
||||
<file src="EgwProxy.Icoel\bin\Debug\EgwProxy*.config" target="lib" />
|
||||
<file src="EgwProxy.Icoel\bin\Debug\EgwProxy*.pdb" target="lib" />
|
||||
</files>
|
||||
</package>
|
||||
@@ -1,23 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package >
|
||||
<metadata>
|
||||
<id>EgwProxy.Icoel</id>
|
||||
<version>#version#</version>
|
||||
<title>EgwProxy.Icoel</title>
|
||||
<authors>Samuele E. Locatelli, EgalWare</authors>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<license type="expression">MIT</license>
|
||||
<description>Libreria per comunicazione con SOAP API del sizer di Icoel (IOB-WIN-NEXT)</description>
|
||||
<releaseNotes>#releaseNotes#</releaseNotes>
|
||||
<copyright>#copyright#</copyright>
|
||||
<tags>EgwProxy.Icoel EgwProxy Icoel</tags>
|
||||
<dependencies>
|
||||
<dependency id="NLog" version="5.1.2" />
|
||||
<dependency id="EntityFramework" version="6.4.4" />
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="EgwProxy.Icoel\bin\Release\EgwProxy*.dll" target="lib" />
|
||||
<file src="EgwProxy.Icoel\bin\Release\EgwProxy*.config" target="lib" />
|
||||
</files>
|
||||
</package>
|
||||
@@ -1,51 +0,0 @@
|
||||
<?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>
|
||||
<system.serviceModel>
|
||||
<bindings>
|
||||
<netNamedPipeBinding>
|
||||
<binding name="NetNamedPipeBinding_ISizerService">
|
||||
<security mode="None" />
|
||||
</binding>
|
||||
</netNamedPipeBinding>
|
||||
<wsHttpBinding>
|
||||
<binding name="WSHttpBinding_ISizerService" maxReceivedMessageSize="2147483647">
|
||||
<security mode="None" />
|
||||
</binding>
|
||||
</wsHttpBinding>
|
||||
</bindings>
|
||||
<client>
|
||||
<endpoint address="http://localhost:8001/SizerService/" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_ISizerService" contract="SizerService.ISizerService" name="WSHttpBinding_ISizerService" />
|
||||
<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>
|
||||
-->
|
||||
<runtime>
|
||||
</runtime>
|
||||
</configuration>
|
||||
@@ -1,77 +0,0 @@
|
||||
<?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>{A655A6AC-5997-46F9-9752-8C621B80516C}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<RootNamespace>EgwProxy.Icoel.Test</RootNamespace>
|
||||
<AssemblyName>EgwProxy.Icoel.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.Configuration" />
|
||||
<Reference Include="System.Core" />
|
||||
<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" />
|
||||
<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" />
|
||||
<None Include="batch.ini">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="conf.ini">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="INI\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\EgwProxy.Icoel.DataLayer\EgwProxy.Icoel.DataLayer.csproj">
|
||||
<Project>{e36544cb-d699-48d8-9f81-c2758e7c7d19}</Project>
|
||||
<Name>EgwProxy.Icoel.DataLayer</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\EgwProxy.Icoel\EgwProxy.Icoel.csproj">
|
||||
<Project>{c45f5e6e-866b-4a34-a598-29aab2d178ad}</Project>
|
||||
<Name>EgwProxy.Icoel</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
@@ -1,62 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace EgwProxy.Icoel.INI
|
||||
{
|
||||
class BatchDetails
|
||||
{
|
||||
private const string NameFile = "batch.ini";
|
||||
private readonly IniFile _sett;
|
||||
|
||||
|
||||
public BatchDetails()
|
||||
{
|
||||
_sett = new IniFile();
|
||||
}
|
||||
public string GrowerCode
|
||||
{
|
||||
get { return _sett.GetKeyValue("Batch", "GrowerCode"); }
|
||||
set { _sett.SetKeyValue("Batch", "GrowerCode", value); }
|
||||
}
|
||||
|
||||
public string GrowerName
|
||||
{
|
||||
get { return _sett.GetKeyValue("Batch", "GrowerName"); }
|
||||
set { _sett.SetKeyValue("Batch", "GrowerName", value); }
|
||||
}
|
||||
public string Comment1
|
||||
{
|
||||
get { return _sett.GetKeyValue("Batch", "Comment1"); }
|
||||
set { _sett.SetKeyValue("Batch", "Comment1", value); }
|
||||
}
|
||||
public string Comment2
|
||||
{
|
||||
get { return _sett.GetKeyValue("Batch", "Comment2"); }
|
||||
set { _sett.SetKeyValue("Batch", "Comment2", value); }
|
||||
}
|
||||
public string Comment3
|
||||
{
|
||||
get { return _sett.GetKeyValue("Batch", "Comment3"); }
|
||||
set { _sett.SetKeyValue("Batch", "Comment3", value); }
|
||||
}
|
||||
|
||||
public void Load()
|
||||
{
|
||||
if (!File.Exists(NameFile))
|
||||
{
|
||||
var fs = File.Create(NameFile);
|
||||
fs.Close();
|
||||
}
|
||||
_sett.Load(NameFile, false);
|
||||
}
|
||||
|
||||
public void Save()
|
||||
{
|
||||
_sett.Save(NameFile);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,479 +0,0 @@
|
||||
/*
|
||||
Date: 08\23\2010 - Ludvik Jerabek - Initial Release
|
||||
Version: 1.0
|
||||
Comment: Allow INI manipulation in .NET
|
||||
License: CPOL
|
||||
|
||||
Revisions:
|
||||
|
||||
08\23\2010 - Ludvik Jerabek - Initial Release
|
||||
11\12\2010 - Ludvik Jerabek - Fixed section regex matching on key values with brackets
|
||||
06\20\2015 - Ludvik Jerabek - Fixed key parsing regex to account for keys with spaces in names
|
||||
|
||||
|
||||
**DISCLAIMER**
|
||||
THIS MATERIAL IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
|
||||
EITHER EXPRESS OR IMPLIED, INCLUDING, BUT Not LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
PURPOSE, OR NON-INFRINGEMENT. SOME JURISDICTIONS DO NOT ALLOW THE
|
||||
EXCLUSION OF IMPLIED WARRANTIES, SO THE ABOVE EXCLUSION MAY NOT
|
||||
APPLY TO YOU. IN NO EVENT WILL I BE LIABLE TO ANY PARTY FOR ANY
|
||||
DIRECT, INDIRECT, SPECIAL OR OTHER CONSEQUENTIAL DAMAGES FOR ANY
|
||||
USE OF THIS MATERIAL INCLUDING, WITHOUT LIMITATION, ANY LOST
|
||||
PROFITS, BUSINESS INTERRUPTION, LOSS OF PROGRAMS OR OTHER DATA ON
|
||||
YOUR INFORMATION HANDLING SYSTEM OR OTHERWISE, EVEN If WE ARE
|
||||
EXPRESSLY ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||
*/
|
||||
|
||||
using System.IO;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Collections;
|
||||
using System.Diagnostics;
|
||||
using System;
|
||||
|
||||
// IniFile class used to read and write ini files by loading the file into memory
|
||||
public class IniFile
|
||||
{
|
||||
// List of IniSection objects keeps track of all the sections in the INI file
|
||||
private Hashtable m_sections;
|
||||
|
||||
// Public constructor
|
||||
public IniFile()
|
||||
{
|
||||
m_sections = new Hashtable(StringComparer.InvariantCultureIgnoreCase);
|
||||
}
|
||||
|
||||
// Loads the Reads the data in the ini file into the IniFile object
|
||||
public void Load(string sFileName )
|
||||
{
|
||||
Load(sFileName, false);
|
||||
}
|
||||
|
||||
// Loads the Reads the data in the ini file into the IniFile object
|
||||
public void Load(string sFileName, bool bMerge )
|
||||
{
|
||||
if (!bMerge)
|
||||
{
|
||||
RemoveAllSections();
|
||||
}
|
||||
// Clear the object...
|
||||
IniSection tempsection = null;
|
||||
StreamReader oReader = new StreamReader(sFileName);
|
||||
Regex regexcomment = new Regex("^([\\s]*#.*)", (RegexOptions.Singleline | RegexOptions.IgnoreCase));
|
||||
Regex regexsection = new Regex("^[\\s]*\\[[\\s]*([^\\[\\s].*[^\\s\\]])[\\s]*\\][\\s]*$", (RegexOptions.Singleline | RegexOptions.IgnoreCase));
|
||||
Regex regexkey = new Regex("^\\s*([^=]*[^\\s=])\\s*=(.*)", (RegexOptions.Singleline | RegexOptions.IgnoreCase));
|
||||
|
||||
while (!oReader.EndOfStream)
|
||||
{
|
||||
string line = oReader.ReadLine();
|
||||
if (line != string.Empty)
|
||||
{
|
||||
Match m = null;
|
||||
if (regexcomment.Match(line).Success)
|
||||
{
|
||||
m = regexcomment.Match(line);
|
||||
Trace.WriteLine(string.Format("Skipping Comment: {0}", m.Groups[0].Value));
|
||||
}
|
||||
else if (regexsection.Match(line).Success)
|
||||
{
|
||||
m = regexsection.Match(line);
|
||||
Trace.WriteLine(string.Format("Adding section [{0}]", m.Groups[1].Value));
|
||||
tempsection = AddSection(m.Groups[1].Value);
|
||||
}
|
||||
else if ( regexkey.Match(line).Success && tempsection != null)
|
||||
{
|
||||
m = regexkey.Match(line);
|
||||
Trace.WriteLine(string.Format("Adding Key [{0}]=[{1}]", m.Groups[1].Value, m.Groups[2].Value));
|
||||
tempsection.AddKey(m.Groups[1].Value).Value = m.Groups[2].Value;
|
||||
}
|
||||
else if ( tempsection != null )
|
||||
{
|
||||
// Handle Key without Value
|
||||
Trace.WriteLine(string.Format("Adding Key [{0}]", line));
|
||||
tempsection.AddKey(line);
|
||||
}
|
||||
else
|
||||
{
|
||||
// This should not occur unless the tempsection is not created yet...
|
||||
Trace.WriteLine(string.Format("Skipping unknown type of data: {0}", line));
|
||||
}
|
||||
}
|
||||
}
|
||||
oReader.Close();
|
||||
}
|
||||
|
||||
// Used to save the data back to the file or your choice
|
||||
public void Save(string sFileName)
|
||||
{
|
||||
StreamWriter oWriter = new StreamWriter(sFileName, false);
|
||||
foreach (IniSection s in Sections)
|
||||
{
|
||||
Trace.WriteLine(string.Format("Writing Section: [{0}]", s.Name));
|
||||
oWriter.WriteLine(string.Format("[{0}]", s.Name));
|
||||
foreach (IniSection.IniKey k in s.Keys)
|
||||
{
|
||||
if (k.Value != string.Empty)
|
||||
{
|
||||
Trace.WriteLine(string.Format("Writing Key: {0}={1}", k.Name, k.Value));
|
||||
oWriter.WriteLine(string.Format("{0}={1}", k.Name, k.Value));
|
||||
}
|
||||
else
|
||||
{
|
||||
Trace.WriteLine(string.Format("Writing Key: {0}", k.Name));
|
||||
oWriter.WriteLine(string.Format("{0}", k.Name));
|
||||
}
|
||||
}
|
||||
}
|
||||
oWriter.Close();
|
||||
}
|
||||
|
||||
// Gets all the sections names
|
||||
public System.Collections.ICollection Sections
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_sections.Values;
|
||||
}
|
||||
}
|
||||
|
||||
// Adds a section to the IniFile object, returns a IniSection object to the new or existing object
|
||||
public IniSection AddSection(string sSection )
|
||||
{
|
||||
IniSection s = null;
|
||||
sSection = sSection.Trim();
|
||||
// Trim spaces
|
||||
if (m_sections.ContainsKey(sSection))
|
||||
{
|
||||
s = (IniSection)m_sections[sSection];
|
||||
}
|
||||
else
|
||||
{
|
||||
s = new IniSection(this, sSection);
|
||||
m_sections[sSection] = s;
|
||||
}
|
||||
return s;
|
||||
}
|
||||
|
||||
// Removes a section by its name sSection, returns trus on success
|
||||
public bool RemoveSection(string sSection)
|
||||
{
|
||||
sSection = sSection.Trim();
|
||||
return RemoveSection(GetSection(sSection));
|
||||
}
|
||||
|
||||
// Removes section by object, returns trus on success
|
||||
public bool RemoveSection(IniSection Section)
|
||||
{
|
||||
if (Section != null)
|
||||
{
|
||||
try
|
||||
{
|
||||
m_sections.Remove(Section.Name);
|
||||
return true;
|
||||
}
|
||||
catch( Exception ex )
|
||||
{
|
||||
Trace.WriteLine(ex.Message);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// Removes all existing sections, returns trus on success
|
||||
public bool RemoveAllSections()
|
||||
{
|
||||
m_sections.Clear();
|
||||
return (m_sections.Count == 0);
|
||||
}
|
||||
|
||||
// Returns an IniSection to the section by name, NULL if it was not found
|
||||
public IniSection GetSection(string sSection)
|
||||
{
|
||||
sSection = sSection.Trim();
|
||||
// Trim spaces
|
||||
if (m_sections.ContainsKey(sSection))
|
||||
{
|
||||
return (IniSection)m_sections[sSection];
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
// Returns a KeyValue in a certain section
|
||||
public string GetKeyValue(string sSection, string sKey)
|
||||
{
|
||||
IniSection s = GetSection(sSection);
|
||||
if (s != null)
|
||||
{
|
||||
IniSection.IniKey k = s.GetKey(sKey);
|
||||
if (k != null)
|
||||
{
|
||||
return k.Value;
|
||||
}
|
||||
}
|
||||
return string.Empty;
|
||||
}
|
||||
|
||||
// Sets a KeyValuePair in a certain section
|
||||
public bool SetKeyValue(string sSection, string sKey, string sValue)
|
||||
{
|
||||
IniSection s = AddSection(sSection);
|
||||
if (s != null)
|
||||
{
|
||||
IniSection.IniKey k = s.AddKey(sKey);
|
||||
if (k != null)
|
||||
{
|
||||
k.Value = sValue;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// Renames an existing section returns true on success, false if the section didn't exist or there was another section with the same sNewSection
|
||||
public bool RenameSection(string sSection, string sNewSection)
|
||||
{
|
||||
// Note string trims are done in lower calls.
|
||||
bool bRval = false;
|
||||
IniSection s = GetSection(sSection);
|
||||
if (s != null)
|
||||
{
|
||||
bRval = s.SetName(sNewSection);
|
||||
}
|
||||
return bRval;
|
||||
}
|
||||
|
||||
// Renames an existing key returns true on success, false if the key didn't exist or there was another section with the same sNewKey
|
||||
public bool RenameKey(string sSection, string sKey, string sNewKey)
|
||||
{
|
||||
// Note string trims are done in lower calls.
|
||||
IniSection s = GetSection(sSection);
|
||||
if (s != null)
|
||||
{
|
||||
IniSection.IniKey k = s.GetKey(sKey);
|
||||
if (k != null)
|
||||
{
|
||||
return k.SetName(sNewKey);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// IniSection class
|
||||
public class IniSection
|
||||
{
|
||||
// IniFile IniFile object instance
|
||||
private IniFile m_pIniFile;
|
||||
// Name of the section
|
||||
private string m_sSection;
|
||||
// List of IniKeys in the section
|
||||
private Hashtable m_keys;
|
||||
|
||||
// Constuctor so objects are internally managed
|
||||
protected internal IniSection(IniFile parent, string sSection)
|
||||
{
|
||||
m_pIniFile = parent;
|
||||
m_sSection = sSection;
|
||||
m_keys = new Hashtable(StringComparer.InvariantCultureIgnoreCase);
|
||||
}
|
||||
|
||||
// Returns and hashtable of keys associated with the section
|
||||
public System.Collections.ICollection Keys
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_keys.Values;
|
||||
}
|
||||
}
|
||||
|
||||
// Returns the section name
|
||||
public string Name
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_sSection;
|
||||
}
|
||||
}
|
||||
|
||||
// Adds a key to the IniSection object, returns a IniKey object to the new or existing object
|
||||
public IniKey AddKey(string sKey)
|
||||
{
|
||||
sKey = sKey.Trim();
|
||||
IniSection.IniKey k = null;
|
||||
if (sKey.Length != 0)
|
||||
{
|
||||
if (m_keys.ContainsKey(sKey))
|
||||
{
|
||||
k = (IniKey)m_keys[sKey];
|
||||
}
|
||||
else
|
||||
{
|
||||
k = new IniSection.IniKey(this, sKey);
|
||||
m_keys[sKey] = k;
|
||||
}
|
||||
}
|
||||
return k;
|
||||
}
|
||||
|
||||
// Removes a single key by string
|
||||
public bool RemoveKey(string sKey)
|
||||
{
|
||||
return RemoveKey(GetKey(sKey));
|
||||
}
|
||||
|
||||
// Removes a single key by IniKey object
|
||||
public bool RemoveKey(IniKey Key)
|
||||
{
|
||||
if (Key != null)
|
||||
{
|
||||
try
|
||||
{
|
||||
m_keys.Remove(Key.Name);
|
||||
return true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Trace.WriteLine(ex.Message);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// Removes all the keys in the section
|
||||
public bool RemoveAllKeys()
|
||||
{
|
||||
m_keys.Clear();
|
||||
return (m_keys.Count == 0);
|
||||
}
|
||||
|
||||
// Returns a IniKey object to the key by name, NULL if it was not found
|
||||
public IniKey GetKey(string sKey)
|
||||
{
|
||||
sKey = sKey.Trim();
|
||||
if (m_keys.ContainsKey(sKey))
|
||||
{
|
||||
return (IniKey)m_keys[sKey];
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
// Sets the section name, returns true on success, fails if the section
|
||||
// name sSection already exists
|
||||
public bool SetName(string sSection)
|
||||
{
|
||||
sSection = sSection.Trim();
|
||||
if (sSection.Length != 0)
|
||||
{
|
||||
// Get existing section if it even exists...
|
||||
IniSection s = m_pIniFile.GetSection(sSection);
|
||||
if (s != this && s != null) return false;
|
||||
try
|
||||
{
|
||||
// Remove the current section
|
||||
m_pIniFile.m_sections.Remove(m_sSection);
|
||||
// Set the new section name to this object
|
||||
m_pIniFile.m_sections[sSection] = this;
|
||||
// Set the new section name
|
||||
m_sSection = sSection;
|
||||
return true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Trace.WriteLine(ex.Message);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// Returns the section name
|
||||
public string GetName()
|
||||
{
|
||||
return m_sSection;
|
||||
}
|
||||
|
||||
// IniKey class
|
||||
public class IniKey
|
||||
{
|
||||
// Name of the Key
|
||||
private string m_sKey;
|
||||
// Value associated
|
||||
private string m_sValue;
|
||||
// Pointer to the parent CIniSection
|
||||
private IniSection m_section;
|
||||
|
||||
// Constuctor so objects are internally managed
|
||||
protected internal IniKey(IniSection parent, string sKey)
|
||||
{
|
||||
m_section = parent;
|
||||
m_sKey = sKey;
|
||||
}
|
||||
|
||||
// Returns the name of the Key
|
||||
public string Name
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_sKey;
|
||||
}
|
||||
}
|
||||
|
||||
// Sets or Gets the Value of the key
|
||||
public string Value
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_sValue;
|
||||
}
|
||||
set
|
||||
{
|
||||
m_sValue = value;
|
||||
}
|
||||
}
|
||||
|
||||
// Sets the Value of the key
|
||||
public void SetValue(string sValue)
|
||||
{
|
||||
m_sValue = sValue;
|
||||
}
|
||||
// Returns the Value of the Key
|
||||
public string GetValue()
|
||||
{
|
||||
return m_sValue;
|
||||
}
|
||||
|
||||
// Sets the key name
|
||||
// Returns true on success, fails if the section name sKey already exists
|
||||
public bool SetName(string sKey)
|
||||
{
|
||||
sKey = sKey.Trim();
|
||||
if (sKey.Length != 0)
|
||||
{
|
||||
IniKey k = m_section.GetKey(sKey);
|
||||
if (k != this && k != null) return false;
|
||||
try
|
||||
{
|
||||
// Remove the current key
|
||||
m_section.m_keys.Remove(m_sKey);
|
||||
// Set the new key name to this object
|
||||
m_section.m_keys[sKey] = this;
|
||||
// Set the new key name
|
||||
m_sKey = sKey;
|
||||
return true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Trace.WriteLine(ex.Message);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
// Returns the name of the Key
|
||||
public string GetName()
|
||||
{
|
||||
return m_sKey;
|
||||
}
|
||||
} // End of IniKey class
|
||||
} // End of IniSection class
|
||||
} // End of IniFile class
|
||||
|
||||
|
||||
@@ -1,70 +0,0 @@
|
||||
using System.IO;
|
||||
|
||||
namespace EgwProxy.Icoel.Test.INI
|
||||
{
|
||||
public class Settaggi
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
public Settaggi()
|
||||
{
|
||||
_sett = new IniFile();
|
||||
}
|
||||
|
||||
#endregion Public Constructors
|
||||
|
||||
#region Public Properties
|
||||
|
||||
public string IndirizzoIpSizer
|
||||
{
|
||||
get { return _sett.GetKeyValue("Sizer", "IndirizzoIp"); }
|
||||
set { _sett.SetKeyValue("Sizer", "IndirizzoIp", value); }
|
||||
}
|
||||
|
||||
public string IndirizzoIpSizerClient
|
||||
{
|
||||
get { return _sett.GetKeyValue("Sizer", "IndirizzoIpTracciabilità"); }
|
||||
set { _sett.SetKeyValue("Sizer", "IndirizzoIpTracciabilità", value); }
|
||||
}
|
||||
|
||||
public string SizerTcpPort
|
||||
{
|
||||
get { return _sett.GetKeyValue("Sizer", "TcpPort"); }
|
||||
set { _sett.SetKeyValue("Sizer", "TcpPort", value); }
|
||||
}
|
||||
|
||||
public string TcpPortSizerClient
|
||||
{
|
||||
get { return _sett.GetKeyValue("Sizer", "TcpPortTracciabilità"); }
|
||||
set { _sett.SetKeyValue("Sizer", "TcpPortTracciabilità", value); }
|
||||
}
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Public Methods
|
||||
|
||||
public void Load()
|
||||
{
|
||||
if (!File.Exists(NameFile))
|
||||
{
|
||||
var fs = File.Create(NameFile);
|
||||
fs.Close();
|
||||
}
|
||||
_sett.Load(NameFile, false);
|
||||
}
|
||||
|
||||
public void Save()
|
||||
{
|
||||
_sett.Save(NameFile);
|
||||
}
|
||||
|
||||
#endregion Public Methods
|
||||
|
||||
#region Private Fields
|
||||
|
||||
private const string NameFile = "conf.ini";
|
||||
private readonly IniFile _sett;
|
||||
|
||||
#endregion Private Fields
|
||||
}
|
||||
}
|
||||
@@ -1,385 +0,0 @@
|
||||
using EgwProxy.Icoel.DataLayer.DatabaseModels;
|
||||
using EgwProxy.Icoel.SizerService;
|
||||
//using EgwProxy.Icoel.Test.INI;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.Diagnostics;
|
||||
|
||||
namespace EgwProxy.Icoel.Test
|
||||
{
|
||||
internal class Program
|
||||
{
|
||||
#region Internal Methods
|
||||
|
||||
/// <summary>
|
||||
/// Mostra tutte le metriche di performance ricevute
|
||||
/// </summary>
|
||||
/// <param name="perfMeter"></param>
|
||||
internal static void DisplayPerfMeter(Dictionary<string, double> perfMeter)
|
||||
{
|
||||
// mostra tutti i parametri rilevati...
|
||||
foreach (var item in perfMeter)
|
||||
{
|
||||
Console.WriteLine($"{item.Key} | {item.Value:N2}");
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Mostra tutte le metriche di performance ricevute
|
||||
/// </summary>
|
||||
/// <param name="currData"></param>
|
||||
internal static void DisplayCurrBatch(Dictionary<string, string> currData)
|
||||
{
|
||||
// mostra tutti i parametri rilevati...
|
||||
foreach (var item in currData)
|
||||
{
|
||||
Console.WriteLine($"{item.Key} | {item.Value}");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Generazione di una list di info sui dati variety
|
||||
/// </summary>
|
||||
/// <param name="varietiesList"></param>
|
||||
/// <returns></returns>
|
||||
internal static void DisplayVariety(Variety[] varietyData)
|
||||
{
|
||||
foreach (var item in varietyData)
|
||||
{
|
||||
Console.WriteLine("--------------------------");
|
||||
Console.WriteLine($"Variety Id: {item.Id} | Variety Name: {item.Name}");
|
||||
Console.WriteLine(" - Qualities");
|
||||
foreach (var quality in item.Qualities)
|
||||
{
|
||||
Console.WriteLine($" Name: {quality.Name}");
|
||||
}
|
||||
Console.WriteLine(" - Grades");
|
||||
foreach (var grade in item.Grades)
|
||||
{
|
||||
Console.WriteLine($" Name: {grade.Name}");
|
||||
}
|
||||
Console.WriteLine(" - Sizes");
|
||||
foreach (var size in item.SizingMaps)
|
||||
{
|
||||
Console.WriteLine($" Name: {size.Name}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Generazione di una list di info sui dati variety
|
||||
/// </summary>
|
||||
/// <param name="varietiesList"></param>
|
||||
/// <returns></returns>
|
||||
internal static void DisplayVarietyLayout(Dictionary<Variety, Layout[]> varietyData)
|
||||
{
|
||||
foreach (var item in varietyData)
|
||||
{
|
||||
Console.WriteLine("--------------------------");
|
||||
Console.WriteLine($"Variety Id: {item.Key.Id} | Variety Name: {item.Key.Name}");
|
||||
Console.WriteLine(" - Qualities");
|
||||
foreach (var quality in item.Key.Qualities)
|
||||
{
|
||||
Console.WriteLine($" Name: {quality.Name}");
|
||||
}
|
||||
Console.WriteLine(" - Grades");
|
||||
foreach (var grade in item.Key.Grades)
|
||||
{
|
||||
Console.WriteLine($" Name: {grade.Name}");
|
||||
}
|
||||
Console.WriteLine(" - Sizes");
|
||||
foreach (var size in item.Key.SizingMaps)
|
||||
{
|
||||
Console.WriteLine($" Name: {size.Name}");
|
||||
}
|
||||
Console.WriteLine(" - LAYOUTS");
|
||||
foreach (var layout in item.Value)
|
||||
{
|
||||
Console.WriteLine($" Id: {layout.Id} | Name: {layout.Name}");
|
||||
Console.WriteLine(" - Products");
|
||||
foreach (var product in layout.Products)
|
||||
{
|
||||
Console.WriteLine($" Id: {product.Id} | Name: {product.Name} | DisplayName: {product.DisplayName} | Pack: {product.Pack}");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Mostra elenco variety e quanod utente seleziona restituisce varGuid
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
internal static Guid selLayout(Connector IcoelSizer, Guid varGuid)
|
||||
{
|
||||
int idxLay = -1;
|
||||
Guid layGuid = Guid.NewGuid();
|
||||
|
||||
// recupero layout della varietà
|
||||
var layoutList = IcoelSizer.GetLayoutForVariety(varGuid);
|
||||
|
||||
Console.WriteLine("--------------------");
|
||||
Console.WriteLine("Layout disponibili:");
|
||||
Console.WriteLine("--------------------");
|
||||
DisplayLayout(layoutList);
|
||||
// recupero layout x varietà
|
||||
while (idxLay <= 0)
|
||||
{
|
||||
Console.WriteLine("");
|
||||
Console.WriteLine("indicare layout");
|
||||
var rawData = Console.ReadLine();
|
||||
if (!string.IsNullOrEmpty(rawData))
|
||||
{
|
||||
int.TryParse(rawData, out idxLay);
|
||||
// verifico sia valida..
|
||||
if (layoutList.Length >= idxLay && idxLay > 0)
|
||||
{
|
||||
layGuid = layoutList[idxLay - 1].Id;
|
||||
}
|
||||
else
|
||||
{
|
||||
idxLay = -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
return layGuid;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Mostra elenco variety e quanod utente seleziona restituisce varGuid
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
internal static Guid selVariety(Connector IcoelSizer)
|
||||
{
|
||||
int idxVar = -1;
|
||||
Guid varGuid = Guid.NewGuid();
|
||||
var varList = IcoelSizer.GetVarietyList(true);
|
||||
|
||||
Console.WriteLine("--------------------");
|
||||
Console.WriteLine("Varietà disponibili:");
|
||||
Console.WriteLine("--------------------");
|
||||
DisplayVariety(varList);
|
||||
// chiedo di selezionare
|
||||
while (idxVar <= 0)
|
||||
{
|
||||
Console.WriteLine("");
|
||||
Console.WriteLine("indicare varietà richiesta (#)");
|
||||
var rawData = Console.ReadLine();
|
||||
if (!string.IsNullOrEmpty(rawData))
|
||||
{
|
||||
int.TryParse(rawData, out idxVar);
|
||||
// verifico sia valida..
|
||||
if (varList.Length >= idxVar && idxVar > 0)
|
||||
{
|
||||
varGuid = varList[idxVar - 1].Id;
|
||||
}
|
||||
else
|
||||
{
|
||||
idxVar = -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
return varGuid;
|
||||
}
|
||||
|
||||
#endregion Internal Methods
|
||||
|
||||
#region Private Methods
|
||||
|
||||
/// <summary>
|
||||
/// Generazione di una list di layout dato elenco
|
||||
/// </summary>
|
||||
/// <param name="layoutList"></param>
|
||||
/// <exception cref="NotImplementedException"></exception>
|
||||
internal static void DisplayLayout(Layout[] layoutList)
|
||||
{
|
||||
foreach (var layout in layoutList)
|
||||
{
|
||||
Console.WriteLine($" Id: {layout.Id} | Name: {layout.Name}");
|
||||
Console.WriteLine(" - Products");
|
||||
foreach (var product in layout.Products)
|
||||
{
|
||||
Console.WriteLine($" Id: {product.Id} | Name: {product.Name} | DisplayName: {product.DisplayName} | Pack: {product.Pack}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <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;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Programma principale
|
||||
/// </summary>
|
||||
/// <param name="args"></param>
|
||||
private static void Main(string[] args)
|
||||
{
|
||||
// leggo conf da file ini (ip/port)
|
||||
Console.WriteLine("Loading Files...");
|
||||
string userInput = "";
|
||||
|
||||
Console.WriteLine("------------ Test DB ------------");
|
||||
EgwProxy.Icoel.DbProxy dbProxy = new DbProxy(ReadSetting("SyncState"));
|
||||
Console.WriteLine();
|
||||
Console.WriteLine("--- SyncState ---");
|
||||
bool needRedo = true;
|
||||
int numTry = 1;
|
||||
//int numTry = 3;
|
||||
var elencoSyncState = dbProxy.DataController.SyncStateGetAll();
|
||||
while (needRedo && numTry >= 0)
|
||||
{
|
||||
Console.WriteLine(" --- PRE --- ");
|
||||
if (elencoSyncState != null)
|
||||
{
|
||||
foreach (var item in elencoSyncState)
|
||||
{
|
||||
Console.WriteLine($"TAB: {item.TableName} | IdxIN / IdxLocal {item.LastIdxIn} / {item.LastIdx} | NumIn / NumLocal {item.NumRecIn} / {item.NumRec}");
|
||||
// verifico se serva redo..
|
||||
}
|
||||
}
|
||||
Console.WriteLine();
|
||||
Console.WriteLine("Premere un tasto x continuare...");
|
||||
Console.ReadKey();
|
||||
Stopwatch sw = new Stopwatch();
|
||||
sw.Start();
|
||||
elencoSyncState = dbProxy.DataController.SyncStateDoImportAll();
|
||||
sw.Stop();
|
||||
Console.WriteLine($" process time: {sw.ElapsedMilliseconds} ms ");
|
||||
Console.WriteLine(" --- POST --- ");
|
||||
if (elencoSyncState != null)
|
||||
{
|
||||
foreach (var item in elencoSyncState)
|
||||
{
|
||||
Console.WriteLine($"TAB: {item.TableName} | IdxIN / IdxLocal {item.LastIdxIn} / {item.LastIdx} | NumIn / NumLocal {item.NumRecIn} / {item.NumRec}");
|
||||
// verifico se serva redo..
|
||||
}
|
||||
}
|
||||
// processo
|
||||
needRedo = testNeedRedo(elencoSyncState);
|
||||
numTry--;
|
||||
}
|
||||
Console.WriteLine();
|
||||
Console.WriteLine("Premere un tasto x continuare...");
|
||||
Console.ReadKey();
|
||||
|
||||
// oggetto x connessione al sizer icoel
|
||||
Connector IcoelSizer = new Connector(ReadSetting("IndirizzoIpSizer"), ReadSetting("SizerTcpPort"));
|
||||
//Connector IcoelSizer = new Connector(setup.IndirizzoIpSizer, setup.SizerTcpPort);
|
||||
|
||||
Console.WriteLine("------------ Parametri CurrBatch rilevati ------------");
|
||||
var cBatch = IcoelSizer.GetCurrBatchData();
|
||||
if (cBatch != null)
|
||||
{
|
||||
DisplayCurrBatch(cBatch);
|
||||
}
|
||||
|
||||
// ora effettua un pò di letture/scritture
|
||||
try
|
||||
{
|
||||
|
||||
Console.WriteLine("------------ TUTTE variety ------------");
|
||||
var varList = IcoelSizer.GetVarietyList(false);
|
||||
var varietyData = IcoelSizer.GetLayoutForVarietyList(varList);
|
||||
if (varietyData != null)
|
||||
{
|
||||
DisplayVarietyLayout(varietyData);
|
||||
}
|
||||
Console.WriteLine();
|
||||
Console.WriteLine("Premere un tasto x continuare...");
|
||||
userInput = Console.ReadLine();
|
||||
|
||||
|
||||
Console.WriteLine("------------ Parametri velocità rilevati ------------");
|
||||
var perfMeter = IcoelSizer.GetPerfMeters();
|
||||
if (perfMeter != null)
|
||||
{
|
||||
DisplayPerfMeter(perfMeter);
|
||||
}
|
||||
Console.WriteLine();
|
||||
Console.WriteLine("Premere un tasto x continuare...");
|
||||
userInput = Console.ReadLine();
|
||||
|
||||
// solo attive
|
||||
Console.WriteLine("------------ solo attive ------------");
|
||||
varList = IcoelSizer.GetVarietyList();
|
||||
varietyData = IcoelSizer.GetLayoutForVarietyList(varList);
|
||||
if (varietyData != null)
|
||||
{
|
||||
DisplayVarietyLayout(varietyData);
|
||||
}
|
||||
Console.WriteLine();
|
||||
Console.WriteLine("Premere un tasto x continuare...");
|
||||
userInput = Console.ReadLine();
|
||||
|
||||
Console.WriteLine("------------ BATCH correnti ------------");
|
||||
var currBatch = IcoelSizer.GetCurrentBatch();
|
||||
foreach (var item in currBatch)
|
||||
{
|
||||
string lato = item.Key == 1 ? "SX" : "DX";
|
||||
Console.WriteLine($"[{item.Key}-{lato}] Grower code: {item.Value.GrowerCode} | Layout Name: {item.Value.LayoutName} | Totalling: [{item.Value.TotallingVarietyCode}] {item.Value.TotallingVariety} | Sizing: {item.Value.SizingProfileName} | Start {item.Value.StartTime} | End {item.Value.EndTime}");
|
||||
}
|
||||
Console.WriteLine();
|
||||
Console.WriteLine("Premere un tasto x continuare...");
|
||||
userInput = Console.ReadLine();
|
||||
|
||||
Console.WriteLine("------------ Prova invio BATCH ------------");
|
||||
// recupero GUID x variety e layout
|
||||
var varGuid = selVariety(IcoelSizer);
|
||||
var layGuid = selLayout(IcoelSizer, varGuid);
|
||||
|
||||
GrowerInfo GrowerData = new GrowerInfo();
|
||||
IcoelSizer.EnqueueBatch(GrowerData, varGuid, layGuid);
|
||||
|
||||
currBatch = IcoelSizer.GetCurrentBatch();
|
||||
foreach (var item in currBatch)
|
||||
{
|
||||
string lato = item.Key == 1 ? "SX" : "DX";
|
||||
Console.WriteLine($"[{item.Key}-{lato}] Grower code: {item.Value.GrowerCode} | Layout Name: {item.Value.LayoutName} | Totalling: [{item.Value.TotallingVarietyCode}] {item.Value.TotallingVariety} | Sizing: {item.Value.SizingProfileName} | Start {item.Value.StartTime} | End {item.Value.EndTime}");
|
||||
}
|
||||
Console.WriteLine("Test completato");
|
||||
Console.WriteLine("Premere un tasto x chiudere");
|
||||
Console.ReadKey();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console.WriteLine("ECCEZIONE" + ex.Message + ex.StackTrace);
|
||||
Console.ReadKey();
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// Verifico necessità di rifare sync
|
||||
/// </summary>
|
||||
/// <param name="elencoSyncState"></param>
|
||||
/// <returns></returns>
|
||||
/// <exception cref="NotImplementedException"></exception>
|
||||
private static bool testNeedRedo(List<SyncStateModel> elencoSyncState)
|
||||
{
|
||||
bool answ = false;
|
||||
foreach (var item in elencoSyncState)
|
||||
{
|
||||
answ = answ || (item.NumRecIn > item.NumRec || item.LastIdxIn > item.LastIdx);
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
|
||||
|
||||
#endregion Private Methods
|
||||
}
|
||||
}
|
||||
@@ -1,36 +0,0 @@
|
||||
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.Icoel.Test")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("EgwProxy.Icoel.Test")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2022")]
|
||||
[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("a655a6ac-5997-46f9-9752-8c621b80516c")]
|
||||
|
||||
// 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")]
|
||||
@@ -1,6 +0,0 @@
|
||||
[Batch]
|
||||
GrowerCode=02
|
||||
GrowerName=Egalware
|
||||
Comment1=Prova Invio
|
||||
Comment2=Console app
|
||||
Comment3=Selezionato Variety e layout
|
||||
@@ -1,3 +0,0 @@
|
||||
[Sizer]
|
||||
IndirizzoIp=192.168.137.50
|
||||
TcpPort=8001
|
||||
@@ -1,4 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="System.IO.Compression" version="4.3.0" targetFramework="net462" />
|
||||
</packages>
|
||||
@@ -1,37 +0,0 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.1.32421.90
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EgwProxy.Icoel", "EgwProxy.Icoel\EgwProxy.Icoel.csproj", "{C45F5E6E-866B-4A34-A598-29AAB2D178AD}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EgwProxy.Icoel.Test", "EgwProxy.Icoel.Test\EgwProxy.Icoel.Test.csproj", "{A655A6AC-5997-46F9-9752-8C621B80516C}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EgwProxy.Icoel.DataLayer", "EgwProxy.Icoel.DataLayer\EgwProxy.Icoel.DataLayer.csproj", "{E36544CB-D699-48D8-9F81-C2758E7C7D19}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{C45F5E6E-866B-4A34-A598-29AAB2D178AD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{C45F5E6E-866B-4A34-A598-29AAB2D178AD}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{C45F5E6E-866B-4A34-A598-29AAB2D178AD}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{C45F5E6E-866B-4A34-A598-29AAB2D178AD}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{A655A6AC-5997-46F9-9752-8C621B80516C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{A655A6AC-5997-46F9-9752-8C621B80516C}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{A655A6AC-5997-46F9-9752-8C621B80516C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{A655A6AC-5997-46F9-9752-8C621B80516C}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{E36544CB-D699-48D8-9F81-C2758E7C7D19}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{E36544CB-D699-48D8-9F81-C2758E7C7D19}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{E36544CB-D699-48D8-9F81-C2758E7C7D19}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E36544CB-D699-48D8-9F81-C2758E7C7D19}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {E2472E21-58D3-4EAD-BC4A-BC3915B18BEF}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -1,37 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
<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>
|
||||
<system.serviceModel>
|
||||
<bindings>
|
||||
<netNamedPipeBinding>
|
||||
<binding name="NetNamedPipeBinding_ISizerService">
|
||||
<security mode="None" />
|
||||
</binding>
|
||||
</netNamedPipeBinding>
|
||||
<wsHttpBinding>
|
||||
<binding name="WSHttpBinding_ISizerService" maxReceivedMessageSize="2147483647">
|
||||
<security mode="None" />
|
||||
</binding>
|
||||
</wsHttpBinding>
|
||||
</bindings>
|
||||
<client>
|
||||
<endpoint address="http://localhost:8001/SizerService/" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_ISizerService" contract="SizerService.ISizerService" name="WSHttpBinding_ISizerService" />
|
||||
<endpoint address="net.pipe://localhost/Compac/8001/SizerService" binding="netNamedPipeBinding" bindingConfiguration="NetNamedPipeBinding_ISizerService" contract="SizerService.ISizerService" name="NetNamedPipeBinding_ISizerService" />
|
||||
</client>
|
||||
</system.serviceModel>
|
||||
<entityFramework>
|
||||
<providers>
|
||||
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
|
||||
</providers>
|
||||
</entityFramework>
|
||||
<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=EntityFramework" providerName="System.Data.SqlClient" />
|
||||
</connectionStrings>
|
||||
<runtime>
|
||||
</runtime>
|
||||
</configuration>
|
||||
@@ -1,107 +0,0 @@
|
||||
# Appunti impiego connesisoni ICOEL
|
||||
|
||||
## Icoel SOAP
|
||||
|
||||
Oltre ai metodi legati al batch, ci sono questi metodi x recuperare informazioni specifiche di produttività
|
||||
|
||||
| Metodo | Descrizione |
|
||||
| ---------- | ---------- |
|
||||
| GetMachineTonnesPH() | valore tonnellate/ora di velocità impianto |
|
||||
| GetMachineTotalFPM() | valore frutti per minuto |
|
||||
| GetMachineRodsPM() | velocità catena (carrellini / minuto) |
|
||||
| GetMachineCupfill() | percentuale riempimento carrellini (100% = 1 frutto x ogni carrellino) |
|
||||
|
||||
|
||||
## Icoel DB
|
||||
|
||||
Appunti sulla gestione tabelle di frontiera
|
||||
|
||||
### Products total
|
||||
|
||||
/****** Script for SelectTopNRows command from SSMS ******/
|
||||
SELECT TOP (1000) [SizerBatchId]
|
||||
,[Index]
|
||||
,[Nome]
|
||||
,[Qualities]
|
||||
,[Grado]
|
||||
,[Calibro]
|
||||
,[NumeroFrutti]
|
||||
,[Decigrammi]
|
||||
FROM [IcoelExport].[dbo].[ProductsTotals]
|
||||
|
||||
|
||||
### Entrata Ciliegie
|
||||
|
||||
SELECT *
|
||||
FROM [frontiera].[dbo].[ENTRATACILIEGIE]
|
||||
|
||||
|
||||
-- utilizzare codice e descrizione prodotto...
|
||||
|
||||
### Fine lavorazione
|
||||
select top 100 *
|
||||
from ProductsTotals
|
||||
|
||||
/*
|
||||
SizerBatch id = id del batch da WS SOAP
|
||||
Index = indice di prodotto FINITO, di cui ho il NOME
|
||||
- prodotti da matrice: colonne = gradi, righe = taglie(sizes)
|
||||
- grado a colore rosso
|
||||
- do il nome prodotto rosse 26- (che sono da 22 a 26 in grado A)
|
||||
- colonna qualities = è la "somma dei qualities" ovvero le colonne che passano nelcontrollo prodotto
|
||||
- codice in 3 parametri, che sono a,b,c
|
||||
- a = qualità interna (SEMPRE NULL x le ciliegie)
|
||||
- b grado = qualità esterna del frutto, es rosse, nere, con stelo... ricircolo = scarto per cattiva disposizione
|
||||
- c : calibri che mi definiscono la dimensione, tipicamente 22..32
|
||||
|
||||
|
||||
si scrive tutto quando è chiuso il lotto
|
||||
inizialmente 1 solo lotto x entrambe le linee
|
||||
*/
|
||||
|
||||
### Conferimento MES
|
||||
|
||||
<code>
|
||||
SELECT *
|
||||
FROM DettagliConferimentoMES
|
||||
where FillingId = 31729
|
||||
order by PackId
|
||||
</code>
|
||||
|
||||
/*
|
||||
Numero lotto = sigla giorno
|
||||
sigla lotto: incrementale giornaliero
|
||||
|
||||
in particoalre x il prodotto grosso --> seleziono da + fornitori (es fornitori grossi)
|
||||
|
||||
PackId = id univoco scatoletta
|
||||
FillingId / FillingRow NON USATI: li posso ignorare, si applicano al caso "travaso" da bins ingresso / bins uscita "tipizzati" --> serve x precalibrare
|
||||
scaricoId = operazione di scannerizzazione ( è il barcode letto)
|
||||
codice a barre è letto x ogni etichetta di conferimento
|
||||
codice e nome fornitore = grower
|
||||
codice e descrizione prodotto : sono il GREZZO specifico
|
||||
cdice prodotto grezzo è il "ceppo" / famiglia
|
||||
sigla e numero lotto: colonna di entrata ciliegie (frontiera)
|
||||
idem x data e qta entrata
|
||||
|
||||
|
||||
*/
|
||||
|
||||
### Confezioni Mes
|
||||
|
||||
<code>
|
||||
SELECT *
|
||||
FROM DettagliConfezioniMES
|
||||
</code>
|
||||
|
||||
pack id = singola cassetta/scatoal/cartone
|
||||
ean = barcode in uscita
|
||||
batch id / batch name = dati tracciabilità, legato ai lotti in entrata sul sizer
|
||||
lane [1/2]sizerBatchId = lotti del sizer
|
||||
pesoDecigram = peso netto confezionato (tolleranza +/-10g...20gr)
|
||||
|
||||
tabella scritta dal momento in cui arriva il cartone/cassetta per iniziare riempimento
|
||||
|
||||
dati live li vediamo dal sizer
|
||||
|
||||
*/
|
||||
@@ -1,253 +0,0 @@
|
||||
using EgwProxy.Icoel.SizerService;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.Serialization;
|
||||
using System.ServiceModel;
|
||||
|
||||
namespace EgwProxy.Icoel.Compac
|
||||
{
|
||||
/// <summary>
|
||||
/// Classe di comunicazione x
|
||||
/// </summary>
|
||||
public class ComClient : IDisposable
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
/// <summary>
|
||||
/// Oggetto client comunicazione con sizer ICOEL per invio/recupero informazioni di
|
||||
/// produzione (batch)
|
||||
/// </summary>
|
||||
/// <param name="sizerIp">Indirizzo IP del server SIZER</param>
|
||||
/// <param name="port">Porta di connessione del sizer (def: 8001)</param>
|
||||
public ComClient(string sizerIp, string port)
|
||||
{
|
||||
// Salvo IP e porta
|
||||
ipAddress = sizerIp;
|
||||
tcpPort = port;
|
||||
|
||||
// inizializzazione servizio comunicazione
|
||||
var url = "http://" + sizerIp + ":" + port + "/SizerService/";
|
||||
EndpointAddress epa = new EndpointAddress(new Uri(url));
|
||||
SSClient = new SizerServiceClient("WSHttpBinding_ISizerService", epa);
|
||||
}
|
||||
|
||||
#endregion Public Constructors
|
||||
|
||||
#region Public Properties
|
||||
|
||||
/// <summary>
|
||||
/// Status di connessione del client
|
||||
/// </summary>
|
||||
public bool connected
|
||||
{
|
||||
get
|
||||
{
|
||||
bool answ = false;
|
||||
if (SSClient != null)
|
||||
{
|
||||
answ = SSClient.State == CommunicationState.Opened;
|
||||
}
|
||||
return answ;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Public Properties
|
||||
|
||||
#region Public Methods
|
||||
|
||||
/// <summary>
|
||||
/// Dispose dell'oggetto
|
||||
/// </summary>
|
||||
public void Dispose()
|
||||
{
|
||||
Close();
|
||||
}
|
||||
|
||||
#endregion Public Methods
|
||||
|
||||
#region Internal Properties
|
||||
|
||||
/// <summary>
|
||||
/// Inidirizzo IP
|
||||
/// </summary>
|
||||
internal string ipAddress { get; set; } = "127.0.0.1";
|
||||
|
||||
/// <summary>
|
||||
/// Porta del webservice (SOAP)
|
||||
/// </summary>
|
||||
internal string tcpPort { get; set; } = "8001";
|
||||
|
||||
#endregion Internal Properties
|
||||
|
||||
#region Internal Methods
|
||||
|
||||
/// <summary>
|
||||
/// Verifica del grower da codice/nome con eventuale creazione se mancante
|
||||
/// </summary>
|
||||
/// <param name="growerCode">Codice del produttore</param>
|
||||
/// <param name="growerName">Denominazione del produttore</param>
|
||||
internal void CheckGrower(string growerCode, string growerName)
|
||||
{
|
||||
var grower = SSClient.GetGrower(growerCode);
|
||||
|
||||
if (grower == null)
|
||||
{
|
||||
var nuovo = new Grower() { Code = growerCode, Name = growerName };
|
||||
|
||||
SSClient.AddGrower(nuovo);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Effettua chiusura del proxy di comunicazione
|
||||
/// </summary>
|
||||
internal void Close()
|
||||
{
|
||||
if (SSClient.State != CommunicationState.Closed)
|
||||
{
|
||||
SSClient.Close();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Elenco dei layout attivi della varietà
|
||||
/// </summary>
|
||||
/// <param name="VarietyId">Guid della varietà</param>
|
||||
/// <returns>Oggetto Lyout attivo</returns>
|
||||
internal Layout GetActiveLayout(Guid VarietyId)
|
||||
{
|
||||
return SSClient.GetActiveLayout(VarietyId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Elenco varietà attive
|
||||
/// </summary>
|
||||
/// <returns>Array Variety attive</returns>
|
||||
internal Variety[] GetActiveVarieties()
|
||||
{
|
||||
return SSClient.GetActiveVarieties();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Elenco varietà (tutte)
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
internal Variety[] GetAllVarieties()
|
||||
{
|
||||
return SSClient.GetAllVarieties();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recupera il batch corrente (se monolinea)
|
||||
/// </summary>
|
||||
/// <returns>Batch corrente (singolo)</returns>
|
||||
internal Batch GetCurrentBatch()
|
||||
{
|
||||
return SSClient.GetCurrentBatch();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recupera il batch corrente data la linea
|
||||
/// </summary>
|
||||
/// <param name="lineNum">Numero della linea 1=sx/2=dx</param>
|
||||
/// <returns>Batch della linea selezionata</returns>
|
||||
internal Batch GetCurrentBatchByLane(int lineNum)
|
||||
{
|
||||
return SSClient.GetCurrentBatchByLane(lineNum);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Elenco dei layout della varietà
|
||||
/// </summary>
|
||||
/// <param name="VarietyId">Guid della varietà</param>
|
||||
/// <returns>Layout della Variety</returns>
|
||||
internal Layout[] GetLayouts(Guid VarietyId)
|
||||
{
|
||||
return SSClient.GetLayouts(VarietyId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Effettua chiamata per mettere in coda il lotto richiesto
|
||||
/// </summary>
|
||||
/// <param name="batch">Oggetto Batch completamente popolato da accodare in richiesta</param>
|
||||
internal void MettiLottoInCoda(Batch batch)
|
||||
{
|
||||
SSClient.AddBatch(batch);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Recupera elenco parametri performance impianto
|
||||
/// </summary>
|
||||
/// <returns>Dizionario delle variabili di performance dell'impianto in formato Dictionary<string,double></returns>
|
||||
internal Dictionary<string, double> GetPerfMeters()
|
||||
{
|
||||
Dictionary<string, double> answ = new Dictionary<string, double>();
|
||||
// velocità processo indicata in tonnellate /oOra
|
||||
double velTonnOra = SSClient.GetMachineTonnesPH();
|
||||
// velocità espressa in frutti/minuto
|
||||
double velFruttiMinuto = SSClient.GetMachineTotalFPM();
|
||||
// percentuale riempimento carrellini
|
||||
double percRiemp = SSClient.GetMachineCupfill();
|
||||
// Numero confezioni/ora
|
||||
double numPackOra = SSClient.GetMachinePacksPH();
|
||||
|
||||
// accodo i valori ricavati
|
||||
answ.Add("NumPacksOra", numPackOra);
|
||||
answ.Add("PercRiemp", percRiemp);
|
||||
answ.Add("VelFruttiMinuto", velFruttiMinuto);
|
||||
answ.Add("VelTonnOra", velTonnOra);
|
||||
return answ;
|
||||
}
|
||||
|
||||
|
||||
#endregion Internal Methods
|
||||
|
||||
#region Private Properties
|
||||
|
||||
/// <summary>
|
||||
/// Client che inoltra le richieste al Sizer
|
||||
/// </summary>
|
||||
private SizerServiceClient SSClient { get; set; }
|
||||
|
||||
#endregion Private Properties
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
internal class IcoelSizerException : Exception
|
||||
{
|
||||
#region Public Constructors
|
||||
|
||||
public IcoelSizerException()
|
||||
{
|
||||
}
|
||||
|
||||
public IcoelSizerException(Exception ex)
|
||||
{
|
||||
this.ex = ex;
|
||||
}
|
||||
|
||||
public IcoelSizerException(string message) : base(message)
|
||||
{
|
||||
}
|
||||
|
||||
public IcoelSizerException(string message, Exception innerException) : base(message, innerException)
|
||||
{
|
||||
}
|
||||
|
||||
#endregion Public Constructors
|
||||
|
||||
#region Protected Constructors
|
||||
|
||||
protected IcoelSizerException(SerializationInfo info, StreamingContext context) : base(info, context)
|
||||
{
|
||||
}
|
||||
|
||||
#endregion Protected Constructors
|
||||
|
||||
#region Private Fields
|
||||
|
||||
private Exception ex;
|
||||
|
||||
#endregion Private Fields
|
||||
}
|
||||
}
|
||||
@@ -1,107 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:import namespace="uri:Compac.Services.Sizer.Service" />
|
||||
<xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
|
||||
<xs:complexType name="ArrayOfint">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="int" type="xs:int" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ArrayOfint" nillable="true" type="tns:ArrayOfint" />
|
||||
<xs:complexType name="ArrayOfdouble">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="double" type="xs:double" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ArrayOfdouble" nillable="true" type="tns:ArrayOfdouble" />
|
||||
<xs:complexType name="ArrayOfstring">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ArrayOfstring" nillable="true" type="tns:ArrayOfstring" />
|
||||
<xs:complexType name="ArrayOfKeyValueOfstringint">
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<IsDictionary xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsDictionary>
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="KeyValueOfstringint">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Key" nillable="true" type="xs:string" />
|
||||
<xs:element name="Value" type="xs:int" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ArrayOfKeyValueOfstringint" nillable="true" type="tns:ArrayOfKeyValueOfstringint" />
|
||||
<xs:complexType name="ArrayOfArrayOfKeyValueOfstringint">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="ArrayOfKeyValueOfstringint" nillable="true" type="tns:ArrayOfKeyValueOfstringint" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ArrayOfArrayOfKeyValueOfstringint" nillable="true" type="tns:ArrayOfArrayOfKeyValueOfstringint" />
|
||||
<xs:complexType name="ArrayOfKeyValueOfOutletProductZE8EwetR">
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<IsDictionary xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsDictionary>
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="KeyValueOfOutletProductZE8EwetR">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element xmlns:q1="uri:Compac.Services.Sizer.Service" name="Key" nillable="true" type="q1:Outlet" />
|
||||
<xs:element xmlns:q2="uri:Compac.Services.Sizer.Service" name="Value" nillable="true" type="q2:Product" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ArrayOfKeyValueOfOutletProductZE8EwetR" nillable="true" type="tns:ArrayOfKeyValueOfOutletProductZE8EwetR" />
|
||||
<xs:complexType name="ArrayOfKeyValueOfstringstring">
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<IsDictionary xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsDictionary>
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="KeyValueOfstringstring">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Key" nillable="true" type="xs:string" />
|
||||
<xs:element name="Value" nillable="true" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ArrayOfKeyValueOfstringstring" nillable="true" type="tns:ArrayOfKeyValueOfstringstring" />
|
||||
<xs:complexType name="ArrayOfguid">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="guid" type="ser:guid" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ArrayOfguid" nillable="true" type="tns:ArrayOfguid" />
|
||||
<xs:complexType name="ArrayOfKeyValueOfintint">
|
||||
<xs:annotation>
|
||||
<xs:appinfo>
|
||||
<IsDictionary xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</IsDictionary>
|
||||
</xs:appinfo>
|
||||
</xs:annotation>
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="KeyValueOfintint">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element name="Key" type="xs:int" />
|
||||
<xs:element name="Value" type="xs:int" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ArrayOfKeyValueOfintint" nillable="true" type="tns:ArrayOfKeyValueOfintint" />
|
||||
</xs:schema>
|
||||
@@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema xmlns:tns="urn:clr:Compac.Services.Core" elementFormDefault="qualified" targetNamespace="urn:clr:Compac.Services.Core" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:import namespace="http://schemas.datacontract.org/2004/07/Compac.Services.Core" />
|
||||
<xs:element name="GetVersion">
|
||||
<xs:complexType>
|
||||
<xs:sequence />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="GetVersionResponse">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/Compac.Services.Core" minOccurs="0" name="GetVersionResult" nillable="true" type="q1:ServiceVersion" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:schema>
|
||||
@@ -1,22 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Compac.Services.Core" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Compac.Services.Core" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:import namespace="http://schemas.datacontract.org/2004/07/System" />
|
||||
<xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
|
||||
<xs:complexType name="ServiceVersion">
|
||||
<xs:sequence>
|
||||
<xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/System" minOccurs="0" name="InterfaceVersion" nillable="true" type="q1:Version" />
|
||||
<xs:element minOccurs="0" name="ProviderName" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="ProviderVersion" nillable="true" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ServiceVersion" nillable="true" type="tns:ServiceVersion" />
|
||||
<xs:complexType name="ServiceEvent">
|
||||
<xs:sequence>
|
||||
<xs:element xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="EventArgs" nillable="true" type="q2:ArrayOfKeyValueOfstringstring" />
|
||||
<xs:element minOccurs="0" name="EventName" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="EventTime" type="xs:dateTime" />
|
||||
<xs:element minOccurs="0" name="Id" type="xs:int" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ServiceEvent" nillable="true" type="tns:ServiceEvent" />
|
||||
</xs:schema>
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema xmlns:tns="http://Compac.Services.Core" elementFormDefault="qualified" targetNamespace="http://Compac.Services.Core" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:complexType name="ArgumentFault">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Value" nillable="true" type="xs:anyType" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ArgumentFault" nillable="true" type="tns:ArgumentFault" />
|
||||
</xs:schema>
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,373 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xs:schema xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:tns="uri:Compac.Services.Sizer.Service" elementFormDefault="qualified" targetNamespace="uri:Compac.Services.Sizer.Service" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||
<xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
|
||||
<xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
|
||||
<xs:complexType name="ArrayOfBatch">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="Batch" nillable="true" type="tns:Batch" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ArrayOfBatch" nillable="true" type="tns:ArrayOfBatch" />
|
||||
<xs:complexType name="Batch">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="AvoidLayoutChange" type="xs:boolean" />
|
||||
<xs:element minOccurs="0" name="AvoidSavingOldLayouts" type="xs:boolean" />
|
||||
<xs:element xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="Comments" nillable="true" type="q1:ArrayOfstring" />
|
||||
<xs:element minOccurs="0" name="EndTime" type="xs:dateTime" />
|
||||
<xs:element minOccurs="0" name="GrowerCode" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Id" type="xs:int" />
|
||||
<xs:element minOccurs="0" name="IsFinalized" type="xs:boolean" />
|
||||
<xs:element minOccurs="0" name="LaneGroups" nillable="true" type="tns:ArrayOfLaneGroup" />
|
||||
<xs:element minOccurs="0" name="LayoutId" type="ser:guid" />
|
||||
<xs:element minOccurs="0" name="LayoutName" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="OverrideLayoutConflicts" type="xs:boolean" />
|
||||
<xs:element minOccurs="0" name="SampleName" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="SizingProfileName" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="StartTime" type="xs:dateTime" />
|
||||
<xs:element minOccurs="0" name="TotallingVariety" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="TotallingVarietyCode" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="VarietyId" type="ser:guid" />
|
||||
<xs:element minOccurs="0" name="VarietyName" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="VisionMap" type="xs:int" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="Batch" nillable="true" type="tns:Batch" />
|
||||
<xs:complexType name="ArrayOfLaneGroup">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="LaneGroup" nillable="true" type="tns:LaneGroup" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ArrayOfLaneGroup" nillable="true" type="tns:ArrayOfLaneGroup" />
|
||||
<xs:complexType name="LaneGroup">
|
||||
<xs:sequence>
|
||||
<xs:element xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="Lanes" nillable="true" type="q2:ArrayOfint" />
|
||||
<xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="LaneGroup" nillable="true" type="tns:LaneGroup" />
|
||||
<xs:complexType name="ArrayOfLayout">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="Layout" nillable="true" type="tns:Layout" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ArrayOfLayout" nillable="true" type="tns:ArrayOfLayout" />
|
||||
<xs:complexType name="Layout">
|
||||
<xs:sequence>
|
||||
<xs:element xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="Assignments" nillable="true" type="q3:ArrayOfKeyValueOfOutletProductZE8EwetR" />
|
||||
<xs:element minOccurs="0" name="Id" type="ser:guid" />
|
||||
<xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Products" nillable="true" type="tns:ArrayOfProduct" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="Layout" nillable="true" type="tns:Layout" />
|
||||
<xs:complexType name="Outlet">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="CurrentProductId" type="ser:guid" />
|
||||
<xs:element minOccurs="0" name="DeliveredFruitPerMinute" type="xs:double" />
|
||||
<xs:element minOccurs="0" name="Id" type="xs:int" />
|
||||
<xs:element minOccurs="0" name="LastDeliveredBatchId" type="xs:int" />
|
||||
<xs:element minOccurs="0" name="MaxRateSquareCMPerMinute" type="xs:int" />
|
||||
<xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="PendingProductId" nillable="true" type="ser:guid" />
|
||||
<xs:element minOccurs="0" name="Status" nillable="true" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="Outlet" nillable="true" type="tns:Outlet" />
|
||||
<xs:complexType name="Product">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="DisplayName" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Elements" nillable="true" type="tns:ArrayOfElement" />
|
||||
<xs:element minOccurs="0" name="Id" type="ser:guid" />
|
||||
<xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Pack" nillable="true" type="tns:Pack" />
|
||||
<xs:element minOccurs="0" name="SpecialInstructions" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="TargetFill" nillable="true" type="tns:PackTargetFill" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="Product" nillable="true" type="tns:Product" />
|
||||
<xs:complexType name="ArrayOfElement">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="Element" nillable="true" type="tns:Element" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ArrayOfElement" nillable="true" type="tns:ArrayOfElement" />
|
||||
<xs:complexType name="Element">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="Grade" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Label" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Quality" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Size" nillable="true" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="Element" nillable="true" type="tns:Element" />
|
||||
<xs:complexType name="Pack">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="BoxType" nillable="true" type="tns:PackBoxType" />
|
||||
<xs:element minOccurs="0" name="Id" type="ser:guid" />
|
||||
<xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="PackControl" nillable="true" type="tns:PackControl" />
|
||||
<xs:element minOccurs="0" name="Style" nillable="true" type="tns:PackingStyle" />
|
||||
<xs:element minOccurs="0" name="TargetFill" nillable="true" type="tns:PackTargetFill" />
|
||||
<xs:element minOccurs="0" name="UserCode" type="xs:int" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="Pack" nillable="true" type="tns:Pack" />
|
||||
<xs:complexType name="PackBoxType">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="DisplayName" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Type" nillable="true" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="PackBoxType" nillable="true" type="tns:PackBoxType" />
|
||||
<xs:complexType name="PackControl">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="NumberOfSteps" type="xs:int" />
|
||||
<xs:element minOccurs="0" name="PackChangeTime" type="xs:int" />
|
||||
<xs:element minOccurs="0" name="PackLength" type="xs:int" />
|
||||
<xs:element minOccurs="0" name="StepDelay" type="xs:int" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="PackControl" nillable="true" type="tns:PackControl" />
|
||||
<xs:complexType name="PackingStyle">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="DisplayName" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="PackingStyle" nillable="true" type="tns:PackingStyle" />
|
||||
<xs:complexType name="PackTargetFill">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="FillMode" type="tns:PackFillMode" />
|
||||
<xs:element minOccurs="0" name="Quantity" type="xs:int" />
|
||||
<xs:element minOccurs="0" name="WeightDecigram" type="xs:decimal" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="PackTargetFill" nillable="true" type="tns:PackTargetFill" />
|
||||
<xs:simpleType name="PackFillMode">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="Weight" />
|
||||
<xs:enumeration value="Quantity" />
|
||||
<xs:enumeration value="WeightAndQuantity" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:element name="PackFillMode" nillable="true" type="tns:PackFillMode" />
|
||||
<xs:complexType name="ArrayOfProduct">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="Product" nillable="true" type="tns:Product" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ArrayOfProduct" nillable="true" type="tns:ArrayOfProduct" />
|
||||
<xs:complexType name="Variety">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="Grades" nillable="true" type="tns:ArrayOfGrade" />
|
||||
<xs:element minOccurs="0" name="Id" type="ser:guid" />
|
||||
<xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Qualities" nillable="true" type="tns:ArrayOfQuality" />
|
||||
<xs:element minOccurs="0" name="SizingMaps" nillable="true" type="tns:ArrayOfSizingMap" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="Variety" nillable="true" type="tns:Variety" />
|
||||
<xs:complexType name="ArrayOfGrade">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="Grade" nillable="true" type="tns:Grade" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ArrayOfGrade" nillable="true" type="tns:ArrayOfGrade" />
|
||||
<xs:complexType name="Grade">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="Grade" nillable="true" type="tns:Grade" />
|
||||
<xs:complexType name="ArrayOfQuality">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="Quality" nillable="true" type="tns:Quality" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ArrayOfQuality" nillable="true" type="tns:ArrayOfQuality" />
|
||||
<xs:complexType name="Quality">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="Quality" nillable="true" type="tns:Quality" />
|
||||
<xs:complexType name="ArrayOfSizingMap">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="SizingMap" nillable="true" type="tns:SizingMap" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ArrayOfSizingMap" nillable="true" type="tns:ArrayOfSizingMap" />
|
||||
<xs:complexType name="SizingMap">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="CoveredQualityGrades" nillable="true" type="tns:ArrayOfQualityGradePair" />
|
||||
<xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Sizes" nillable="true" type="tns:ArrayOfSize" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="SizingMap" nillable="true" type="tns:SizingMap" />
|
||||
<xs:complexType name="ArrayOfQualityGradePair">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="QualityGradePair" nillable="true" type="tns:QualityGradePair" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ArrayOfQualityGradePair" nillable="true" type="tns:ArrayOfQualityGradePair" />
|
||||
<xs:complexType name="QualityGradePair">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="Grade" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Quality" nillable="true" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="QualityGradePair" nillable="true" type="tns:QualityGradePair" />
|
||||
<xs:complexType name="ArrayOfSize">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="Size" nillable="true" type="tns:Size" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ArrayOfSize" nillable="true" type="tns:ArrayOfSize" />
|
||||
<xs:complexType name="Size">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
|
||||
<xs:element xmlns:q4="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="Settings" nillable="true" type="q4:ArrayOfKeyValueOfstringstring" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="Size" nillable="true" type="tns:Size" />
|
||||
<xs:complexType name="ArrayOfVariety">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="Variety" nillable="true" type="tns:Variety" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ArrayOfVariety" nillable="true" type="tns:ArrayOfVariety" />
|
||||
<xs:complexType name="ArrayOfPack">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="Pack" nillable="true" type="tns:Pack" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ArrayOfPack" nillable="true" type="tns:ArrayOfPack" />
|
||||
<xs:complexType name="ArrayOfLabel">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="Label" nillable="true" type="tns:Label" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ArrayOfLabel" nillable="true" type="tns:ArrayOfLabel" />
|
||||
<xs:complexType name="Label">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="DisplayName" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="Label" nillable="true" type="tns:Label" />
|
||||
<xs:complexType name="ArrayOfOutlet">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="Outlet" nillable="true" type="tns:Outlet" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ArrayOfOutlet" nillable="true" type="tns:ArrayOfOutlet" />
|
||||
<xs:simpleType name="AlarmPriority">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="Low" />
|
||||
<xs:enumeration value="Medium" />
|
||||
<xs:enumeration value="High" />
|
||||
<xs:enumeration value="Critical" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:element name="AlarmPriority" nillable="true" type="tns:AlarmPriority" />
|
||||
<xs:complexType name="Grower">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="Address1" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Address2" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Code" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="ContactName" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Country" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="EmailAddress" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Fax" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Mobile" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="Phone" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="State" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="TownCity" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="TraceabilityId" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="ZipCode" nillable="true" type="xs:string" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="Grower" nillable="true" type="tns:Grower" />
|
||||
<xs:complexType name="ArrayOfGrower">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="Grower" nillable="true" type="tns:Grower" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ArrayOfGrower" nillable="true" type="tns:ArrayOfGrower" />
|
||||
<xs:complexType name="AbstractSamplingConfiguration">
|
||||
<xs:sequence />
|
||||
</xs:complexType>
|
||||
<xs:element name="AbstractSamplingConfiguration" nillable="true" type="tns:AbstractSamplingConfiguration" />
|
||||
<xs:complexType name="ElementSamplingConfiguration">
|
||||
<xs:complexContent mixed="false">
|
||||
<xs:extension base="tns:AbstractSamplingConfiguration">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="BatchId" type="xs:int" />
|
||||
<xs:element minOccurs="0" name="Elements" nillable="true" type="tns:ArrayOfElement" />
|
||||
<xs:element minOccurs="0" name="Limit" nillable="true" type="xs:decimal" />
|
||||
<xs:element minOccurs="0" name="LimitUnit" type="tns:SamplingMeasurementUnit" />
|
||||
<xs:element minOccurs="0" name="Ratio" nillable="true" type="tns:Ratio" />
|
||||
<xs:element minOccurs="0" name="RatioRightUnit" type="tns:RatioMeasurementUnit" />
|
||||
<xs:element xmlns:q5="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="LaneNumbers" nillable="true" type="q5:ArrayOfint" />
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:element name="ElementSamplingConfiguration" nillable="true" type="tns:ElementSamplingConfiguration" />
|
||||
<xs:simpleType name="SamplingMeasurementUnit">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="Pieces" />
|
||||
<xs:enumeration value="Decigrams" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:element name="SamplingMeasurementUnit" nillable="true" type="tns:SamplingMeasurementUnit" />
|
||||
<xs:complexType name="Ratio">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="Numerator" type="xs:int" />
|
||||
<xs:element minOccurs="0" name="Denominator" type="xs:int" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="Ratio" nillable="true" type="tns:Ratio" />
|
||||
<xs:simpleType name="RatioMeasurementUnit">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="Pieces" />
|
||||
<xs:enumeration value="CartonEquivalents" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<xs:element name="RatioMeasurementUnit" nillable="true" type="tns:RatioMeasurementUnit" />
|
||||
<xs:complexType name="ProductSamplingConfiguration">
|
||||
<xs:complexContent mixed="false">
|
||||
<xs:extension base="tns:AbstractSamplingConfiguration">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="BatchId" type="xs:int" />
|
||||
<xs:element xmlns:q6="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="LaneNumbers" nillable="true" type="q6:ArrayOfint" />
|
||||
<xs:element minOccurs="0" name="Limit" nillable="true" type="xs:decimal" />
|
||||
<xs:element minOccurs="0" name="LimitUnit" type="tns:SamplingMeasurementUnit" />
|
||||
<xs:element minOccurs="0" name="ProductId" type="ser:guid" />
|
||||
<xs:element minOccurs="0" name="Ratio" nillable="true" type="tns:Ratio" />
|
||||
<xs:element minOccurs="0" name="RatioRightUnit" type="tns:RatioMeasurementUnit" />
|
||||
</xs:sequence>
|
||||
</xs:extension>
|
||||
</xs:complexContent>
|
||||
</xs:complexType>
|
||||
<xs:element name="ProductSamplingConfiguration" nillable="true" type="tns:ProductSamplingConfiguration" />
|
||||
<xs:complexType name="ArrayOfSamplingProgress">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" maxOccurs="unbounded" name="SamplingProgress" nillable="true" type="tns:SamplingProgress" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="ArrayOfSamplingProgress" nillable="true" type="tns:ArrayOfSamplingProgress" />
|
||||
<xs:complexType name="SamplingProgress">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="CurrentCount" type="xs:decimal" />
|
||||
<xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
|
||||
<xs:element minOccurs="0" name="TargetCount" nillable="true" type="xs:decimal" />
|
||||
<xs:element minOccurs="0" name="Unit" type="tns:SamplingMeasurementUnit" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:element name="SamplingProgress" nillable="true" type="tns:SamplingProgress" />
|
||||
</xs:schema>
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
<?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="AbstractSamplingConfiguration" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TypeInfo>EgwProxy.Icoel.SizerService.AbstractSamplingConfiguration, Connected Services.SizerService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
|
||||
</GenericObjectDataSource>
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
<?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="Batch" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TypeInfo>EgwProxy.Icoel.SizerService.Batch, Connected Services.SizerService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
|
||||
</GenericObjectDataSource>
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
<?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="GetVersionResponse" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
|
||||
<TypeInfo>EgwProxy.Icoel.SizerService.GetVersionResponse, Connected Services.SizerService.Reference.cs.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null</TypeInfo>
|
||||
</GenericObjectDataSource>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user