Compare commits
	
		
			165 Commits
		
	
	
		
			10.11.56.0
			...
			1.5.0
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					773bdfc1e2 | ||
| 
						 | 
					f449666628 | ||
| 
						 | 
					3f282de0ab | ||
| 
						 | 
					440dd8d22f | ||
| 
						 | 
					dcff9de2f7 | ||
| 
						 | 
					a192866543 | ||
| 
						 | 
					10081416de | ||
| 
						 | 
					e2bed618f9 | ||
| 
						 | 
					03ab1f3823 | ||
| 
						 | 
					ac8aeb63d9 | ||
| 
						 | 
					2e16d822fa | ||
| 
						 | 
					e407d873fa | ||
| 
						 | 
					fd712a1dbe | ||
| 
						 | 
					e9028b40ce | ||
| 
						 | 
					c9da3dee7c | ||
| 
						 | 
					c8c224e202 | ||
| 
						 | 
					f34559daaf | ||
| 
						 | 
					9fefbf4c27 | ||
| 
						 | 
					1af9fd73ea | ||
| 
						 | 
					75ef394eff | ||
| 
						 | 
					ec6cc2c63e | ||
| 
						 | 
					06bc2e192b | ||
| 
						 | 
					78701ec7c1 | ||
| 
						 | 
					c925fab7e4 | ||
| 
						 | 
					42fd72c164 | ||
| 
						 | 
					7fd160e1a2 | ||
| 
						 | 
					97a0d940eb | ||
| 
						 | 
					efaa099d81 | ||
| 
						 | 
					47864a804b | ||
| 
						 | 
					91136c0e43 | ||
| 
						 | 
					28c3b1bd61 | ||
| 
						 | 
					551352bc40 | ||
| 
						 | 
					e73c24c925 | ||
| 
						 | 
					7ec4c286cc | ||
| 
						 | 
					6705e2ec4b | ||
| 
						 | 
					6f0373063b | ||
| 
						 | 
					f64eef60b5 | ||
| 
						 | 
					89546bf86b | ||
| 
						 | 
					793678feca | ||
| 
						 | 
					923cc3019a | ||
| 
						 | 
					10eb98a5f6 | ||
| 
						 | 
					bd9e89d8dd | ||
| 
						 | 
					1926b4ce73 | ||
| 
						 | 
					4ef3062d74 | ||
| 
						 | 
					abb6e0f60f | ||
| 
						 | 
					f204d8d84e | ||
| 
						 | 
					fa301656f1 | ||
| 
						 | 
					7e1221028f | ||
| 
						 | 
					41308cb2dd | ||
| 
						 | 
					130600521c | ||
| 
						 | 
					cd57548a48 | ||
| 
						 | 
					efacc99f76 | ||
| 
						 | 
					f0d236e172 | ||
| 
						 | 
					a8118bd8c6 | ||
| 
						 | 
					0e58f2ef53 | ||
| 
						 | 
					f4b22b3a0c | ||
| 
						 | 
					df5bd281c7 | ||
| 
						 | 
					a3f23837ce | ||
| 
						 | 
					612d989b97 | ||
| 
						 | 
					42c01ee9a2 | ||
| 
						 | 
					14074db591 | ||
| 
						 | 
					43dfdd7942 | ||
| 
						 | 
					f397b97ccf | ||
| 
						 | 
					95f8716144 | ||
| 
						 | 
					17ba472b2e | ||
| 
						 | 
					42d82571ab | ||
| 
						 | 
					9119a28141 | ||
| 
						 | 
					a32263d838 | ||
| 
						 | 
					208ae2bb88 | ||
| 
						 | 
					4d85462a85 | ||
| 
						 | 
					f601aa9ca0 | ||
| 
						 | 
					8aee3ad455 | ||
| 
						 | 
					6a2a1e9561 | ||
| 
						 | 
					5f8786c9dc | ||
| 
						 | 
					73f1d3eead | ||
| 
						 | 
					2bf21bb3c3 | ||
| 
						 | 
					f80f0dbb11 | ||
| 
						 | 
					37518c70c4 | ||
| 
						 | 
					e5951b5bef | ||
| 
						 | 
					ab320bd90b | ||
| 
						 | 
					7bd36b5371 | ||
| 
						 | 
					b882b0f2bc | ||
| 
						 | 
					38d7ae73cc | ||
| 
						 | 
					4527c6ee5d | ||
| 
						 | 
					85829e70c1 | ||
| 
						 | 
					256c08d82a | ||
| 
						 | 
					c2ce03c047 | ||
| 
						 | 
					f2af19e198 | ||
| 
						 | 
					930b7c092d | ||
| 
						 | 
					00757c69c6 | ||
| 
						 | 
					55f267d0fc | ||
| 
						 | 
					6b96aff6e8 | ||
| 
						 | 
					32b773a8fa | ||
| 
						 | 
					03089adad6 | ||
| 
						 | 
					4a1fe746ab | ||
| 
						 | 
					aa52c05d2c | ||
| 
						 | 
					26407a43e7 | ||
| 
						 | 
					a02934bf19 | ||
| 
						 | 
					09c65fba09 | ||
| 
						 | 
					4305c727d0 | ||
| 
						 | 
					188339897f | ||
| 
						 | 
					4ecff9a707 | ||
| 
						 | 
					355aed49c6 | ||
| 
						 | 
					4717b6b0f0 | ||
| 
						 | 
					45ebe9048d | ||
| 
						 | 
					b2170c49a3 | ||
| 
						 | 
					dc2f4d6115 | ||
| 
						 | 
					1eb132440f | ||
| 
						 | 
					a464bbc37a | ||
| 
						 | 
					ed995697c2 | ||
| 
						 | 
					163cd84c7b | ||
| 
						 | 
					293d7cc292 | ||
| 
						 | 
					5de1b4e74c | ||
| 
						 | 
					7b474975da | ||
| 
						 | 
					beab51516b | ||
| 
						 | 
					fe8685a50c | ||
| 
						 | 
					f9af5d0885 | ||
| 
						 | 
					e8136a9720 | ||
| 
						 | 
					531e5d4556 | ||
| 
						 | 
					e66255963a | ||
| 
						 | 
					246aac8ee4 | ||
| 
						 | 
					23cfeff685 | ||
| 
						 | 
					a5e7e0d126 | ||
| 
						 | 
					5bebc30ba0 | ||
| 
						 | 
					0e7057f5b9 | ||
| 
						 | 
					7c6c365ba4 | ||
| 
						 | 
					424c9bb0c5 | ||
| 
						 | 
					9d0f26594c | ||
| 
						 | 
					99c17de079 | ||
| 
						 | 
					b1e3dd0af6 | ||
| 
						 | 
					261cb89530 | ||
| 
						 | 
					ff6773ba37 | ||
| 
						 | 
					bdfbbfcbbd | ||
| 
						 | 
					0c4cd56758 | ||
| 
						 | 
					4a36658321 | ||
| 
						 | 
					7aae938685 | ||
| 
						 | 
					3723401e7a | ||
| 
						 | 
					70631366a9 | ||
| 
						 | 
					0e40bbda3e | ||
| 
						 | 
					e9aa475398 | ||
| 
						 | 
					8d2a811184 | ||
| 
						 | 
					dd7f5b6700 | ||
| 
						 | 
					a4f6277737 | ||
| 
						 | 
					c2bfaacbb7 | ||
| 
						 | 
					a17cbfa2d4 | ||
| 
						 | 
					fb9a101555 | ||
| 
						 | 
					e319cf0200 | ||
| 
						 | 
					0a8395ef6a | ||
| 
						 | 
					38df5e01be | ||
| 
						 | 
					ebd891a868 | ||
| 
						 | 
					4ab2395cbe | ||
| 
						 | 
					5f1f989fc9 | ||
| 
						 | 
					44b709eee3 | ||
| 
						 | 
					d0d7726597 | ||
| 
						 | 
					054c342aeb | ||
| 
						 | 
					c79c33baf7 | ||
| 
						 | 
					23b00e35b2 | ||
| 
						 | 
					fe51079266 | ||
| 
						 | 
					0791b0bbee | ||
| 
						 | 
					dbf04c8eeb | ||
| 
						 | 
					6204256df8 | ||
| 
						 | 
					93cc8c2327 | ||
| 
						 | 
					68a2e5bbbc | ||
| 
						 | 
					72792153f2 | ||
| 
						 | 
					88b6ef1897 | 
							
								
								
									
										8
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						@@ -362,7 +362,9 @@ MigrationBackup/
 | 
			
		||||
# Fody - auto-generated XML schema
 | 
			
		||||
FodyWeavers.xsd
 | 
			
		||||
 | 
			
		||||
/src/*Pro*/
 | 
			
		||||
/src/Plugins/Other
 | 
			
		||||
/src/ThingsGateway.Web.Server/*.db
 | 
			
		||||
/src/PluginPro*/
 | 
			
		||||
/src/*Pro*
 | 
			
		||||
/src/ThingsGateway.Server/Configuration/GiteeOAuthSettings.json
 | 
			
		||||
/src/.idea/
 | 
			
		||||
/src/TestResults*/
 | 
			
		||||
/src/ThingsGateway.Web.Server/ThingsGateway.db
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								Image/1.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 135 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								Image/2.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 125 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								Image/3.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 217 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								Image/4.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 119 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								Image/5.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 189 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								Image/6.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 151 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								Image/7.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 187 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								Image/8.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 164 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								Image/9.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 149 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								Image/gitLogo.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 14 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								Image/pay.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 326 KiB  | 
							
								
								
									
										202
									
								
								LICENSE
									
									
									
									
									
								
							
							
						
						@@ -1,202 +0,0 @@
 | 
			
		||||
 | 
			
		||||
                                 Apache License
 | 
			
		||||
                           Version 2.0, January 2004
 | 
			
		||||
                        http://www.apache.org/licenses/
 | 
			
		||||
 | 
			
		||||
   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
 | 
			
		||||
 | 
			
		||||
   1. Definitions.
 | 
			
		||||
 | 
			
		||||
      "License" shall mean the terms and conditions for use, reproduction,
 | 
			
		||||
      and distribution as defined by Sections 1 through 9 of this document.
 | 
			
		||||
 | 
			
		||||
      "Licensor" shall mean the copyright owner or entity authorized by
 | 
			
		||||
      the copyright owner that is granting the License.
 | 
			
		||||
 | 
			
		||||
      "Legal Entity" shall mean the union of the acting entity and all
 | 
			
		||||
      other entities that control, are controlled by, or are under common
 | 
			
		||||
      control with that entity. For the purposes of this definition,
 | 
			
		||||
      "control" means (i) the power, direct or indirect, to cause the
 | 
			
		||||
      direction or management of such entity, whether by contract or
 | 
			
		||||
      otherwise, or (ii) ownership of fifty percent (50%) or more of the
 | 
			
		||||
      outstanding shares, or (iii) beneficial ownership of such entity.
 | 
			
		||||
 | 
			
		||||
      "You" (or "Your") shall mean an individual or Legal Entity
 | 
			
		||||
      exercising permissions granted by this License.
 | 
			
		||||
 | 
			
		||||
      "Source" form shall mean the preferred form for making modifications,
 | 
			
		||||
      including but not limited to software source code, documentation
 | 
			
		||||
      source, and configuration files.
 | 
			
		||||
 | 
			
		||||
      "Object" form shall mean any form resulting from mechanical
 | 
			
		||||
      transformation or translation of a Source form, including but
 | 
			
		||||
      not limited to compiled object code, generated documentation,
 | 
			
		||||
      and conversions to other media types.
 | 
			
		||||
 | 
			
		||||
      "Work" shall mean the work of authorship, whether in Source or
 | 
			
		||||
      Object form, made available under the License, as indicated by a
 | 
			
		||||
      copyright notice that is included in or attached to the work
 | 
			
		||||
      (an example is provided in the Appendix below).
 | 
			
		||||
 | 
			
		||||
      "Derivative Works" shall mean any work, whether in Source or Object
 | 
			
		||||
      form, that is based on (or derived from) the Work and for which the
 | 
			
		||||
      editorial revisions, annotations, elaborations, or other modifications
 | 
			
		||||
      represent, as a whole, an original work of authorship. For the purposes
 | 
			
		||||
      of this License, Derivative Works shall not include works that remain
 | 
			
		||||
      separable from, or merely link (or bind by name) to the interfaces of,
 | 
			
		||||
      the Work and Derivative Works thereof.
 | 
			
		||||
 | 
			
		||||
      "Contribution" shall mean any work of authorship, including
 | 
			
		||||
      the original version of the Work and any modifications or additions
 | 
			
		||||
      to that Work or Derivative Works thereof, that is intentionally
 | 
			
		||||
      submitted to Licensor for inclusion in the Work by the copyright owner
 | 
			
		||||
      or by an individual or Legal Entity authorized to submit on behalf of
 | 
			
		||||
      the copyright owner. For the purposes of this definition, "submitted"
 | 
			
		||||
      means any form of electronic, verbal, or written communication sent
 | 
			
		||||
      to the Licensor or its representatives, including but not limited to
 | 
			
		||||
      communication on electronic mailing lists, source code control systems,
 | 
			
		||||
      and issue tracking systems that are managed by, or on behalf of, the
 | 
			
		||||
      Licensor for the purpose of discussing and improving the Work, but
 | 
			
		||||
      excluding communication that is conspicuously marked or otherwise
 | 
			
		||||
      designated in writing by the copyright owner as "Not a Contribution."
 | 
			
		||||
 | 
			
		||||
      "Contributor" shall mean Licensor and any individual or Legal Entity
 | 
			
		||||
      on behalf of whom a Contribution has been received by Licensor and
 | 
			
		||||
      subsequently incorporated within the Work.
 | 
			
		||||
 | 
			
		||||
   2. Grant of Copyright License. Subject to the terms and conditions of
 | 
			
		||||
      this License, each Contributor hereby grants to You a perpetual,
 | 
			
		||||
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
 | 
			
		||||
      copyright license to reproduce, prepare Derivative Works of,
 | 
			
		||||
      publicly display, publicly perform, sublicense, and distribute the
 | 
			
		||||
      Work and such Derivative Works in Source or Object form.
 | 
			
		||||
 | 
			
		||||
   3. Grant of Patent License. Subject to the terms and conditions of
 | 
			
		||||
      this License, each Contributor hereby grants to You a perpetual,
 | 
			
		||||
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
 | 
			
		||||
      (except as stated in this section) patent license to make, have made,
 | 
			
		||||
      use, offer to sell, sell, import, and otherwise transfer the Work,
 | 
			
		||||
      where such license applies only to those patent claims licensable
 | 
			
		||||
      by such Contributor that are necessarily infringed by their
 | 
			
		||||
      Contribution(s) alone or by combination of their Contribution(s)
 | 
			
		||||
      with the Work to which such Contribution(s) was submitted. If You
 | 
			
		||||
      institute patent litigation against any entity (including a
 | 
			
		||||
      cross-claim or counterclaim in a lawsuit) alleging that the Work
 | 
			
		||||
      or a Contribution incorporated within the Work constitutes direct
 | 
			
		||||
      or contributory patent infringement, then any patent licenses
 | 
			
		||||
      granted to You under this License for that Work shall terminate
 | 
			
		||||
      as of the date such litigation is field.
 | 
			
		||||
 | 
			
		||||
   4. Cachetribution. You may reproduce and distribute copies of the
 | 
			
		||||
      Work or Derivative Works thereof in any medium, with or without
 | 
			
		||||
      modifications, and in Source or Object form, provided that You
 | 
			
		||||
      meet the following conditions:
 | 
			
		||||
 | 
			
		||||
      (a) You must give any other recipients of the Work or
 | 
			
		||||
          Derivative Works a copy of this License; and
 | 
			
		||||
 | 
			
		||||
      (b) You must cause any modified files to carry prominent notices
 | 
			
		||||
          stating that You changed the files; and
 | 
			
		||||
 | 
			
		||||
      (c) You must retain, in the Source form of any Derivative Works
 | 
			
		||||
          that You distribute, all copyright, patent, trademark, and
 | 
			
		||||
          attribution notices from the Source form of the Work,
 | 
			
		||||
          excluding those notices that do not pertain to any part of
 | 
			
		||||
          the Derivative Works; and
 | 
			
		||||
 | 
			
		||||
      (d) If the Work includes a "NOTICE" text file as part of its
 | 
			
		||||
          distribution, then any Derivative Works that You distribute must
 | 
			
		||||
          include a readable copy of the attribution notices contained
 | 
			
		||||
          within such NOTICE file, excluding those notices that do not
 | 
			
		||||
          pertain to any part of the Derivative Works, in at least one
 | 
			
		||||
          of the following places: within a NOTICE text file distributed
 | 
			
		||||
          as part of the Derivative Works; within the Source form or
 | 
			
		||||
          documentation, if provided along with the Derivative Works; or,
 | 
			
		||||
          within a display generated by the Derivative Works, if and
 | 
			
		||||
          wherever such third-party notices normally appear. The contents
 | 
			
		||||
          of the NOTICE file are for informational purposes only and
 | 
			
		||||
          do not modify the License. You may add Your own attribution
 | 
			
		||||
          notices within Derivative Works that You distribute, alongside
 | 
			
		||||
          or as an addendum to the NOTICE text from the Work, provided
 | 
			
		||||
          that such additional attribution notices cannot be construed
 | 
			
		||||
          as modifying the License.
 | 
			
		||||
 | 
			
		||||
      You may add Your own copyright statement to Your modifications and
 | 
			
		||||
      may provide additional or different license terms and conditions
 | 
			
		||||
      for use, reproduction, or distribution of Your modifications, or
 | 
			
		||||
      for any such Derivative Works as a whole, provided Your use,
 | 
			
		||||
      reproduction, and distribution of the Work otherwise complies with
 | 
			
		||||
      the conditions stated in this License.
 | 
			
		||||
 | 
			
		||||
   5. Submission of Contributions. Unless You explicitly state otherwise,
 | 
			
		||||
      any Contribution intentionally submitted for inclusion in the Work
 | 
			
		||||
      by You to the Licensor shall be under the terms and conditions of
 | 
			
		||||
      this License, without any additional terms or conditions.
 | 
			
		||||
      Notwithstanding the above, nothing herein shall supersede or modify
 | 
			
		||||
      the terms of any separate license agreement you may have executed
 | 
			
		||||
      with Licensor regarding such Contributions.
 | 
			
		||||
 | 
			
		||||
   6. Trademarks. This License does not grant permission to use the trade
 | 
			
		||||
      names, trademarks, service marks, or product names of the Licensor,
 | 
			
		||||
      except as required for reasonable and customary use in describing the
 | 
			
		||||
      origin of the Work and reproducing the content of the NOTICE file.
 | 
			
		||||
 | 
			
		||||
   7. Disclaimer of Warranty. Unless required by applicable law or
 | 
			
		||||
      agreed to in writing, Licensor provides the Work (and each
 | 
			
		||||
      Contributor provides its Contributions) on an "AS IS" BASIS,
 | 
			
		||||
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
 | 
			
		||||
      implied, including, without limitation, any warranties or conditions
 | 
			
		||||
      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
 | 
			
		||||
      PARTICULAR PURPOSE. You are solely responsible for determining the
 | 
			
		||||
      appropriateness of using or redistributing the Work and assume any
 | 
			
		||||
      risks associated with Your exercise of permissions under this License.
 | 
			
		||||
 | 
			
		||||
   8. Limitation of Liability. In no event and under no legal theory,
 | 
			
		||||
      whether in tort (including negligence), contract, or otherwise,
 | 
			
		||||
      unless required by applicable law (such as deliberate and grossly
 | 
			
		||||
      negligent acts) or agreed to in writing, shall any Contributor be
 | 
			
		||||
      liable to You for damages, including any direct, indirect, special,
 | 
			
		||||
      incidental, or consequential damages of any character arising as a
 | 
			
		||||
      result of this License or out of the use or inability to use the
 | 
			
		||||
      Work (including but not limited to damages for loss of goodwill,
 | 
			
		||||
      work stoppage, computer failure or malfunction, or any and all
 | 
			
		||||
      other commercial damages or losses), even if such Contributor
 | 
			
		||||
      has been advised of the possibility of such damages.
 | 
			
		||||
 | 
			
		||||
   9. Accepting Warranty or Additional Liability. While redistributing
 | 
			
		||||
      the Work or Derivative Works thereof, You may choose to offer,
 | 
			
		||||
      and charge a fee for, acceptance of support, warranty, indemnity,
 | 
			
		||||
      or other liability obligations and/or rights consistent with this
 | 
			
		||||
      License. However, in accepting such obligations, You may act only
 | 
			
		||||
      on Your own behalf and on Your sole responsibility, not on behalf
 | 
			
		||||
      of any other Contributor, and only if You agree to indemnify,
 | 
			
		||||
      defend, and hold each Contributor harmless for any liability
 | 
			
		||||
      incurred by, or claims asserted against, such Contributor by reason
 | 
			
		||||
      of your accepting any such warranty or additional liability.
 | 
			
		||||
 | 
			
		||||
   END OF TERMS AND CONDITIONS
 | 
			
		||||
 | 
			
		||||
   APPENDIX: How to apply the Apache License to your work.
 | 
			
		||||
 | 
			
		||||
      To apply the Apache License to your work, attach the following
 | 
			
		||||
      boilerplate notice, with the fields enclosed by brackets "[]"
 | 
			
		||||
      replaced with your own identifying information. (Don't include
 | 
			
		||||
      the brackets!)  The text should be enclosed in the appropriate
 | 
			
		||||
      comment syntax for the file format. We also recommend that a
 | 
			
		||||
      file or class name and description of purpose be included on the
 | 
			
		||||
      same "printed page" as the copyright notice for easier
 | 
			
		||||
      identification within third-party archives.
 | 
			
		||||
 | 
			
		||||
   Copyright 2023-present Diego
 | 
			
		||||
 | 
			
		||||
Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
you may not use this file except in compliance with the License.
 | 
			
		||||
You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
    http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
See the License for the specific language governing permissions and
 | 
			
		||||
limitations under the License.
 | 
			
		||||
							
								
								
									
										201
									
								
								LICENSE.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						@@ -0,0 +1,201 @@
 | 
			
		||||
                                 Apache License
 | 
			
		||||
                           Version 2.0, January 2004
 | 
			
		||||
                        http://www.apache.org/licenses/
 | 
			
		||||
 | 
			
		||||
   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
 | 
			
		||||
 | 
			
		||||
   1. Definitions.
 | 
			
		||||
 | 
			
		||||
      "License" shall mean the terms and conditions for use, reproduction,
 | 
			
		||||
      and distribution as defined by Sections 1 through 9 of this document.
 | 
			
		||||
 | 
			
		||||
      "Licensor" shall mean the copyright owner or entity authorized by
 | 
			
		||||
      the copyright owner that is granting the License.
 | 
			
		||||
 | 
			
		||||
      "Legal Entity" shall mean the union of the acting entity and all
 | 
			
		||||
      other entities that control, are controlled by, or are under common
 | 
			
		||||
      control with that entity. For the purposes of this definition,
 | 
			
		||||
      "control" means (i) the power, direct or indirect, to cause the
 | 
			
		||||
      direction or management of such entity, whether by contract or
 | 
			
		||||
      otherwise, or (ii) ownership of fifty percent (50%) or more of the
 | 
			
		||||
      outstanding shares, or (iii) beneficial ownership of such entity.
 | 
			
		||||
 | 
			
		||||
      "You" (or "Your") shall mean an individual or Legal Entity
 | 
			
		||||
      exercising permissions granted by this License.
 | 
			
		||||
 | 
			
		||||
      "Source" form shall mean the preferred form for making modifications,
 | 
			
		||||
      including but not limited to software source code, documentation
 | 
			
		||||
      source, and configuration files.
 | 
			
		||||
 | 
			
		||||
      "Object" form shall mean any form resulting from mechanical
 | 
			
		||||
      transformation or translation of a Source form, including but
 | 
			
		||||
      not limited to compiled object code, generated documentation,
 | 
			
		||||
      and conversions to other media types.
 | 
			
		||||
 | 
			
		||||
      "Work" shall mean the work of authorship, whether in Source or
 | 
			
		||||
      Object form, made available under the License, as indicated by a
 | 
			
		||||
      copyright notice that is included in or attached to the work
 | 
			
		||||
      (an example is provided in the Appendix below).
 | 
			
		||||
 | 
			
		||||
      "Derivative Works" shall mean any work, whether in Source or Object
 | 
			
		||||
      form, that is based on (or derived from) the Work and for which the
 | 
			
		||||
      editorial revisions, annotations, elaborations, or other modifications
 | 
			
		||||
      represent, as a whole, an original work of authorship. For the purposes
 | 
			
		||||
      of this License, Derivative Works shall not include works that remain
 | 
			
		||||
      separable from, or merely link (or bind by name) to the interfaces of,
 | 
			
		||||
      the Work and Derivative Works thereof.
 | 
			
		||||
 | 
			
		||||
      "Contribution" shall mean any work of authorship, including
 | 
			
		||||
      the original version of the Work and any modifications or additions
 | 
			
		||||
      to that Work or Derivative Works thereof, that is intentionally
 | 
			
		||||
      submitted to Licensor for inclusion in the Work by the copyright owner
 | 
			
		||||
      or by an individual or Legal Entity authorized to submit on behalf of
 | 
			
		||||
      the copyright owner. For the purposes of this definition, "submitted"
 | 
			
		||||
      means any form of electronic, verbal, or written communication sent
 | 
			
		||||
      to the Licensor or its representatives, including but not limited to
 | 
			
		||||
      communication on electronic mailing lists, source code control systems,
 | 
			
		||||
      and issue tracking systems that are managed by, or on behalf of, the
 | 
			
		||||
      Licensor for the purpose of discussing and improving the Work, but
 | 
			
		||||
      excluding communication that is conspicuously marked or otherwise
 | 
			
		||||
      designated in writing by the copyright owner as "Not a Contribution."
 | 
			
		||||
 | 
			
		||||
      "Contributor" shall mean Licensor and any individual or Legal Entity
 | 
			
		||||
      on behalf of whom a Contribution has been received by Licensor and
 | 
			
		||||
      subsequently incorporated within the Work.
 | 
			
		||||
 | 
			
		||||
   2. Grant of Copyright License. Subject to the terms and conditions of
 | 
			
		||||
      this License, each Contributor hereby grants to You a perpetual,
 | 
			
		||||
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
 | 
			
		||||
      copyright license to reproduce, prepare Derivative Works of,
 | 
			
		||||
      publicly display, publicly perform, sublicense, and distribute the
 | 
			
		||||
      Work and such Derivative Works in Source or Object form.
 | 
			
		||||
 | 
			
		||||
   3. Grant of Patent License. Subject to the terms and conditions of
 | 
			
		||||
      this License, each Contributor hereby grants to You a perpetual,
 | 
			
		||||
      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
 | 
			
		||||
      (except as stated in this section) patent license to make, have made,
 | 
			
		||||
      use, offer to sell, sell, import, and otherwise transfer the Work,
 | 
			
		||||
      where such license applies only to those patent claims licensable
 | 
			
		||||
      by such Contributor that are necessarily infringed by their
 | 
			
		||||
      Contribution(s) alone or by combination of their Contribution(s)
 | 
			
		||||
      with the Work to which such Contribution(s) was submitted. If You
 | 
			
		||||
      institute patent litigation against any entity (including a
 | 
			
		||||
      cross-claim or counterclaim in a lawsuit) alleging that the Work
 | 
			
		||||
      or a Contribution incorporated within the Work constitutes direct
 | 
			
		||||
      or contributory patent infringement, then any patent licenses
 | 
			
		||||
      granted to You under this License for that Work shall terminate
 | 
			
		||||
      as of the date such litigation is filed.
 | 
			
		||||
 | 
			
		||||
   4. Redistribution. You may reproduce and distribute copies of the
 | 
			
		||||
      Work or Derivative Works thereof in any medium, with or without
 | 
			
		||||
      modifications, and in Source or Object form, provided that You
 | 
			
		||||
      meet the following conditions:
 | 
			
		||||
 | 
			
		||||
      (a) You must give any other recipients of the Work or
 | 
			
		||||
          Derivative Works a copy of this License; and
 | 
			
		||||
 | 
			
		||||
      (b) You must cause any modified files to carry prominent notices
 | 
			
		||||
          stating that You changed the files; and
 | 
			
		||||
 | 
			
		||||
      (c) You must retain, in the Source form of any Derivative Works
 | 
			
		||||
          that You distribute, all copyright, patent, trademark, and
 | 
			
		||||
          attribution notices from the Source form of the Work,
 | 
			
		||||
          excluding those notices that do not pertain to any part of
 | 
			
		||||
          the Derivative Works; and
 | 
			
		||||
 | 
			
		||||
      (d) If the Work includes a "NOTICE" text file as part of its
 | 
			
		||||
          distribution, then any Derivative Works that You distribute must
 | 
			
		||||
          include a readable copy of the attribution notices contained
 | 
			
		||||
          within such NOTICE file, excluding those notices that do not
 | 
			
		||||
          pertain to any part of the Derivative Works, in at least one
 | 
			
		||||
          of the following places: within a NOTICE text file distributed
 | 
			
		||||
          as part of the Derivative Works; within the Source form or
 | 
			
		||||
          documentation, if provided along with the Derivative Works; or,
 | 
			
		||||
          within a display generated by the Derivative Works, if and
 | 
			
		||||
          wherever such third-party notices normally appear. The contents
 | 
			
		||||
          of the NOTICE file are for informational purposes only and
 | 
			
		||||
          do not modify the License. You may add Your own attribution
 | 
			
		||||
          notices within Derivative Works that You distribute, alongside
 | 
			
		||||
          or as an addendum to the NOTICE text from the Work, provided
 | 
			
		||||
          that such additional attribution notices cannot be construed
 | 
			
		||||
          as modifying the License.
 | 
			
		||||
 | 
			
		||||
      You may add Your own copyright statement to Your modifications and
 | 
			
		||||
      may provide additional or different license terms and conditions
 | 
			
		||||
      for use, reproduction, or distribution of Your modifications, or
 | 
			
		||||
      for any such Derivative Works as a whole, provided Your use,
 | 
			
		||||
      reproduction, and distribution of the Work otherwise complies with
 | 
			
		||||
      the conditions stated in this License.
 | 
			
		||||
 | 
			
		||||
   5. Submission of Contributions. Unless You explicitly state otherwise,
 | 
			
		||||
      any Contribution intentionally submitted for inclusion in the Work
 | 
			
		||||
      by You to the Licensor shall be under the terms and conditions of
 | 
			
		||||
      this License, without any additional terms or conditions.
 | 
			
		||||
      Notwithstanding the above, nothing herein shall supersede or modify
 | 
			
		||||
      the terms of any separate license agreement you may have executed
 | 
			
		||||
      with Licensor regarding such Contributions.
 | 
			
		||||
 | 
			
		||||
   6. Trademarks. This License does not grant permission to use the trade
 | 
			
		||||
      names, trademarks, service marks, or product names of the Licensor,
 | 
			
		||||
      except as required for reasonable and customary use in describing the
 | 
			
		||||
      origin of the Work and reproducing the content of the NOTICE file.
 | 
			
		||||
 | 
			
		||||
   7. Disclaimer of Warranty. Unless required by applicable law or
 | 
			
		||||
      agreed to in writing, Licensor provides the Work (and each
 | 
			
		||||
      Contributor provides its Contributions) on an "AS IS" BASIS,
 | 
			
		||||
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
 | 
			
		||||
      implied, including, without limitation, any warranties or conditions
 | 
			
		||||
      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
 | 
			
		||||
      PARTICULAR PURPOSE. You are solely responsible for determining the
 | 
			
		||||
      appropriateness of using or redistributing the Work and assume any
 | 
			
		||||
      risks associated with Your exercise of permissions under this License.
 | 
			
		||||
 | 
			
		||||
   8. Limitation of Liability. In no event and under no legal theory,
 | 
			
		||||
      whether in tort (including negligence), contract, or otherwise,
 | 
			
		||||
      unless required by applicable law (such as deliberate and grossly
 | 
			
		||||
      negligent acts) or agreed to in writing, shall any Contributor be
 | 
			
		||||
      liable to You for damages, including any direct, indirect, special,
 | 
			
		||||
      incidental, or consequential damages of any character arising as a
 | 
			
		||||
      result of this License or out of the use or inability to use the
 | 
			
		||||
      Work (including but not limited to damages for loss of goodwill,
 | 
			
		||||
      work stoppage, computer failure or malfunction, or any and all
 | 
			
		||||
      other commercial damages or losses), even if such Contributor
 | 
			
		||||
      has been advised of the possibility of such damages.
 | 
			
		||||
 | 
			
		||||
   9. Accepting Warranty or Additional Liability. While redistributing
 | 
			
		||||
      the Work or Derivative Works thereof, You may choose to offer,
 | 
			
		||||
      and charge a fee for, acceptance of support, warranty, indemnity,
 | 
			
		||||
      or other liability obligations and/or rights consistent with this
 | 
			
		||||
      License. However, in accepting such obligations, You may act only
 | 
			
		||||
      on Your own behalf and on Your sole responsibility, not on behalf
 | 
			
		||||
      of any other Contributor, and only if You agree to indemnify,
 | 
			
		||||
      defend, and hold each Contributor harmless for any liability
 | 
			
		||||
      incurred by, or claims asserted against, such Contributor by reason
 | 
			
		||||
      of your accepting any such warranty or additional liability.
 | 
			
		||||
 | 
			
		||||
   END OF TERMS AND CONDITIONS
 | 
			
		||||
 | 
			
		||||
   APPENDIX: How to apply the Apache License to your work.
 | 
			
		||||
 | 
			
		||||
      To apply the Apache License to your work, attach the following
 | 
			
		||||
      boilerplate notice, with the fields enclosed by brackets "[]"
 | 
			
		||||
      replaced with your own identifying information. (Don't include
 | 
			
		||||
      the brackets!)  The text should be enclosed in the appropriate
 | 
			
		||||
      comment syntax for the file format. We also recommend that a
 | 
			
		||||
      file or class name and description of purpose be included on the
 | 
			
		||||
      same "printed page" as the copyright notice for easier
 | 
			
		||||
      identification within third-party archives.
 | 
			
		||||
 | 
			
		||||
   Copyright [yyyy] [name of copyright owner]
 | 
			
		||||
 | 
			
		||||
   Licensed under the Apache License, Version 2.0 (the "License");
 | 
			
		||||
   you may not use this file except in compliance with the License.
 | 
			
		||||
   You may obtain a copy of the License at
 | 
			
		||||
 | 
			
		||||
       http://www.apache.org/licenses/LICENSE-2.0
 | 
			
		||||
 | 
			
		||||
   Unless required by applicable law or agreed to in writing, software
 | 
			
		||||
   distributed under the License is distributed on an "AS IS" BASIS,
 | 
			
		||||
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 | 
			
		||||
   See the License for the specific language governing permissions and
 | 
			
		||||
   limitations under the License.
 | 
			
		||||
							
								
								
									
										171
									
								
								README.md
									
									
									
									
									
								
							
							
						
						@@ -1,101 +1,122 @@
 | 
			
		||||
# ThingsGateway
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
<div align='center'>
 | 
			
		||||
<img src="https://gitee.com/diego2098/ThingsGateway/raw/master/Image/gitLogo.png" height=100 />
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
## Introduction
 | 
			
		||||
#### 介绍
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
A cross-platform, high-performance edge data collection gateway based on net9.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## Documentation
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
[Documentation](https://thingsgateway.cn/).
 | 
			
		||||
 | 
			
		||||
[NuGet](https://www.nuget.org/packages?q=Tags%3A%22ThingsGateway%22)
 | 
			
		||||
 | 
			
		||||
基于Net6/7+Blazor Server的跨平台边缘采集网关,支持南北端插件式开发,
 | 
			
		||||
并拥有较完善的北端Rpc权限管理。
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## Demo
 | 
			
		||||
####  功能亮点
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
[Demo](https://demo.thingsgateway.cn/)
 | 
			
		||||
- Blazor Server架构,开发部署更简单
 | 
			
		||||
- 采集/上传配置完全支持Excel导入导出
 | 
			
		||||
- 插件式驱动,方便驱动二次开发
 | 
			
		||||
- 时序数据库存储
 | 
			
		||||
- 实时/历史报警(Sql转储),支持布尔/高低限值
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Account: **SuperAdmin**
 | 
			
		||||
#### 演示
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
Password: **111111**
 | 
			
		||||
http://120.24.62.140:5000/
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
**In the upper-right corner, switch to the IoT Gateway module in the personal popup box**
 | 
			
		||||
默认账户密码:superAdmin 111111
 | 
			
		||||
 | 
			
		||||
## Docker
 | 
			
		||||
 | 
			
		||||
```shell
 | 
			
		||||
#### 社区版采集插件
 | 
			
		||||
> 支持分包解析/订阅
 | 
			
		||||
- Modbus(Rtu/Tcp/Udp)
 | 
			
		||||
- OPCDAClient(支持导入节点)
 | 
			
		||||
- OPCUAClient(支持导入节点)
 | 
			
		||||
- 西门子S7协议
 | 
			
		||||
 | 
			
		||||
docker pull registry.cn-shenzhen.aliyuncs.com/thingsgateway/thingsgateway
 | 
			
		||||
#### 社区版上传插件
 | 
			
		||||
> 支持Rpc写入
 | 
			
		||||
- Modbus Server
 | 
			
		||||
- OPCUA Server (支持历史查询)
 | 
			
		||||
- Mqtt Server (支持自定义json)
 | 
			
		||||
- Mqtt Client (支持自定义json)
 | 
			
		||||
- IotSharp Client (IotSharp网关插件,Rpc待测试)
 | 
			
		||||
 | 
			
		||||
docker pull registry.cn-shenzhen.aliyuncs.com/thingsgateway/thingsgateway_arm64
 | 
			
		||||
> 不支持Rpc
 | 
			
		||||
- RabbitMQ (支持自定义json)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#### nuget
 | 
			
		||||
 | 
			
		||||
- Modbus库,支持ModbusTcp、ModbusRtu、ModbusRtuOverTcp、ModbusUdp、ModbusServer等
 | 
			
		||||
``` powershell
 | 
			
		||||
 dotnet add package ThingsGateway.Foundation.Adapter.Modbus
 | 
			
		||||
```
 | 
			
		||||
- OPCDA客户端库,支持X64,支持NetCore,支持检测重连
 | 
			
		||||
``` powershell
 | 
			
		||||
 dotnet add package ThingsGateway.Foundation.Adapter.OPCDA
 | 
			
		||||
```
 | 
			
		||||
- OPCUA客户端库
 | 
			
		||||
``` powershell
 | 
			
		||||
 dotnet add package ThingsGateway.Foundation.Adapter.OPCUA
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
- S7库
 | 
			
		||||
``` powershell
 | 
			
		||||
 dotnet add package ThingsGateway.Foundation.Adapter.Siemens
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
####  效果图
 | 
			
		||||
 <table>
 | 
			
		||||
    <tr>
 | 
			
		||||
        <td><img src="https://gitee.com/diego2098/ThingsGateway/raw/master/Image/1.png"/></td>
 | 
			
		||||
        <td><img src="https://gitee.com/diego2098/ThingsGateway/raw/master/Image/2.png"/></td>
 | 
			
		||||
        <td><img src="https://gitee.com/diego2098/ThingsGateway/raw/master/Image/3.png"/></td>
 | 
			
		||||
    </tr>
 | 
			
		||||
    <tr>
 | 
			
		||||
        <td><img src="https://gitee.com/diego2098/ThingsGateway/raw/master/Image/4.png"/></td>
 | 
			
		||||
        <td><img src="https://gitee.com/diego2098/ThingsGateway/raw/master/Image/5.png"/></td>
 | 
			
		||||
        <td><img src="https://gitee.com/diego2098/ThingsGateway/raw/master/Image/6.png"/></td>
 | 
			
		||||
    </tr>
 | 
			
		||||
        <tr>
 | 
			
		||||
        <td><img src="https://gitee.com/diego2098/ThingsGateway/raw/master/Image/7.png"/></td>
 | 
			
		||||
        <td><img src="https://gitee.com/diego2098/ThingsGateway/raw/master/Image/8.png"/></td>
 | 
			
		||||
        <td><img src="https://gitee.com/diego2098/ThingsGateway/raw/master/Image/9.png"/></td>
 | 
			
		||||
    </tr>
 | 
			
		||||
 </table>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
### Plugin List
 | 
			
		||||
 ####  文档
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 使用前请查看Gitee Pages [文档站点](https://diego2098.gitee.io/thingsgateway/)
 | 
			
		||||
 | 
			
		||||
#### Data Collection Plugins
 | 
			
		||||
 #### 特别鸣谢
 | 
			
		||||
-  Furion:[https://dotnetchina.gitee.io/furion](https://dotnetchina.gitee.io/furion)
 | 
			
		||||
-  SqlSugar:[https://gitee.com/dotnetchina/SqlSugar](https://gitee.com/dotnetchina/SqlSugar)
 | 
			
		||||
-  Simple.Admin:[https://gitee.com/zxzyjs/SimpleAdmin](https://gitee.com/zxzyjs/SimpleAdmin)
 | 
			
		||||
-  Masa.Blazor:[https://www.masastack.com/blazor](https://www.masastack.com/blazor)
 | 
			
		||||
-  MiniExcel:[https://gitee.com/dotnetchina/MiniExcel](https://gitee.com/dotnetchina/MiniExcel)
 | 
			
		||||
-  TouchSocket:[https://gitee.com/rrqm_home/touchsocket](https://gitee.com/rrqm_home/touchsocket)
 | 
			
		||||
-  IdGenerator:[https://github.com/yitter/idgenerator](https://github.com/yitter/idgenerator)
 | 
			
		||||
-  CodingSeb.ExpressionEvaluator:[https://github.com/codingseb/ExpressionEvaluator](https://github.com/codingseb/ExpressionEvaluator)
 | 
			
		||||
-  Hardware.Info:[https://github.com/Jinjinov/Hardware.Info](https://github.com/Jinjinov/Hardware.Info)
 | 
			
		||||
-  UAParser:[https://github.com/ua-parser/uap-csharp](https://github.com/ua-parser/uap-csharp)
 | 
			
		||||
 | 
			
		||||
#### 补充说明
 | 
			
		||||
* 使用OPC相关插件时请遵循OPC基金会的授权规则
 | 
			
		||||
* 使用OPCDA插件时,需安装OPC核心库,[文件地址](https://gitee.com/diego2098/ThingsGateway/attach_files)
 | 
			
		||||
 | 
			
		||||
#### 开源协议
 | 
			
		||||
 | 
			
		||||
请仔细阅读 [授权协议](https://diego2098.gitee.io/thingsgateway/docs/)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| Plugin Name | Remarks                                                       |
 | 
			
		||||
| ----------- | ------------------------------------------------------------- |
 | 
			
		||||
| Modbus      | Supports Rtu/Tcp message formats, with Serial/Tcp/Udp links   |
 | 
			
		||||
| SiemensS7   | Siemens PLC S7 series                                         |
 | 
			
		||||
| Dlt6452007  | Supports Serial/Tcp/Udp links                                 |
 | 
			
		||||
| OpcDaMaster | Compiled for 64-bit                                           |
 | 
			
		||||
| OpcUaMaster | Supports certificate login, object extension, Json read/write |
 | 
			
		||||
| Webhook          | Webhook                                             |
 | 
			
		||||
 | 
			
		||||
#### Business Plugins
 | 
			
		||||
####  支持作者
 | 
			
		||||
 如果对您有帮助,请点击右上角⭐Star关注,感谢支持开源!
 | 
			
		||||
 | 
			
		||||
 若希望捐赠项目,请查看以下捐赠码或使用Gitee捐赠功能
 | 
			
		||||
 | 
			
		||||
| Plugin Name      | Remarks                                                                                           |
 | 
			
		||||
| ---------------- | ------------------------------------------------------------------------------------------------- |
 | 
			
		||||
| ModbusSlave      | Supports Rtu/Tcp message formats, with Serial/Tcp/Udp links, supports Rpc reverse writing         |
 | 
			
		||||
| OpcUaServer      | OpcUa server, supports Rpc reverse writing                                                        |
 | 
			
		||||
| MqttClient       | Mqtt client, supports Rpc reverse writing, script-customizable upload content                     |
 | 
			
		||||
| MqttServer       | Mqtt server, supports WebSocket, supports Rpc reverse writing, script-customizable upload content |
 | 
			
		||||
| KafkaProducer    | Script-customizable upload content                                                                |
 | 
			
		||||
| RabbitMQProducer | Script-customizable upload content                                                                |
 | 
			
		||||
| SqlDB            | Relational database storage, supports historical storage and real-time data updates               |
 | 
			
		||||
| SqlHistoryAlarm      | Alarm historical data relational database storage                                                 |
 | 
			
		||||
| TDengineDB       | Time-series database storage                                                                      |
 | 
			
		||||
| QuestDB          | Time-series database storage                                                                      |
 | 
			
		||||
<img src="https://gitee.com/diego2098/ThingsGateway/raw/master/Image/pay.png" height=180 />
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
####  联系作者
 | 
			
		||||
 * QQ群:605534569
 | 
			
		||||
 * 邮箱:2248356998@qq.com
 | 
			
		||||
 | 
			
		||||
## License
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
[License](https://thingsgateway.cn/docs/1)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## Sponsorship
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
[Sponsorship Approach](https://thingsgateway.cn/docs/1000)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## Community
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
QQ Group: 605534569 [Jump](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=NnBjPO-8kcNFzo_RzSbdICflb97u2O1i&authKey=V1MI3iJtpDMHc08myszP262kDykbx2Yev6ebE4Me0elTe0P0IFAmtU5l7Sy5w0jx&noverify=0&group_code=605534569)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## Pro Plugins
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
[Plugin List](https://thingsgateway.cn/docs/1001)
 | 
			
		||||
 
 | 
			
		||||
@@ -1,86 +0,0 @@
 | 
			
		||||
# ThingsGateway
 | 
			
		||||
 | 
			
		||||
## 介绍
 | 
			
		||||
 | 
			
		||||
基于net9的跨平台高性能边缘采集网关
 | 
			
		||||
 | 
			
		||||
## 文档
 | 
			
		||||
 | 
			
		||||
[文档](https://thingsgateway.cn/)
 | 
			
		||||
 | 
			
		||||
[NuGet](https://www.nuget.org/packages?q=Tags%3A%22ThingsGateway%22)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## 演示
 | 
			
		||||
 | 
			
		||||
[ThingsGateway演示地址](https://demo.thingsgateway.cn/)
 | 
			
		||||
 | 
			
		||||
账户	:  **SuperAdmin**
 | 
			
		||||
 | 
			
		||||
密码 : **111111**
 | 
			
		||||
 | 
			
		||||
**右上角个人弹出框中,切换到物联网关模块**
 | 
			
		||||
 | 
			
		||||
## Docker
 | 
			
		||||
 | 
			
		||||
```shell
 | 
			
		||||
 | 
			
		||||
docker pull registry.cn-shenzhen.aliyuncs.com/thingsgateway/thingsgateway
 | 
			
		||||
 | 
			
		||||
docker pull registry.cn-shenzhen.aliyuncs.com/thingsgateway/thingsgateway_arm64
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
### 插件列表
 | 
			
		||||
 | 
			
		||||
#### 采集插件
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 插件名称    | 备注                                  |
 | 
			
		||||
| ----------- | ------------------------------------- |
 | 
			
		||||
| Modbus      | Rtu/Tcp报文格式,支持串口/Tcp/Udp链路 |
 | 
			
		||||
| SiemensS7   | 西门子PLC S7系列                      |
 | 
			
		||||
| Dlt6452007  | 支持串口/Tcp/Udp链路                  |
 | 
			
		||||
| OpcDaMaster | 64位编译                              |
 | 
			
		||||
| OpcUaMaster | 支持证书登录,扩展对象,Json读写      |
 | 
			
		||||
 | 
			
		||||
#### 业务插件
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 插件名称         | 备注                                                       |
 | 
			
		||||
| ---------------- | ---------------------------------------------------------- |
 | 
			
		||||
| ModbusSlave      | Rtu/Tcp报文格式,支持串口/Tcp/Udp链路,支持Rpc反写         |
 | 
			
		||||
| OpcUaServer      | OpcUa服务端,支持Rpc反写                                   |
 | 
			
		||||
| MqttClient       | Mqtt客户端,支持Rpc反写,脚本自定义上传内容                |
 | 
			
		||||
| MqttServer       | Mqtt服务端,支持WebSocket,支持Rpc反写,脚本自定义上传内容 |
 | 
			
		||||
| KafkaProducer    | 脚本自定义上传内容                                         |
 | 
			
		||||
| RabbitMQProducer | 脚本自定义上传内容                                         |
 | 
			
		||||
| SqlDB            | 关系数据库存储,支持历史存储和实时数据更新                 |
 | 
			
		||||
| SqlHistoryAlarm      | 报警历史数据关系数据库存储                                 |
 | 
			
		||||
| TDengineDB       | 时序数据库存储                                             |
 | 
			
		||||
| QuestDB          | 时序数据库存储                                             |
 | 
			
		||||
| Webhook          | Webhook                                             |
 | 
			
		||||
 | 
			
		||||
## 协议
 | 
			
		||||
 | 
			
		||||
[版权声明](https://thingsgateway.cn/docs/1)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## 赞助
 | 
			
		||||
 | 
			
		||||
[赞助途径](https://thingsgateway.cn/docs/1000)
 | 
			
		||||
 | 
			
		||||
## 社区
 | 
			
		||||
 | 
			
		||||
QQ群:605534569 [跳转](http://qm.qq.com/cgi-bin/qm/qr?_wv=1027&k=NnBjPO-8kcNFzo_RzSbdICflb97u2O1i&authKey=V1MI3iJtpDMHc08myszP262kDykbx2Yev6ebE4Me0elTe0P0IFAmtU5l7Sy5w0jx&noverify=0&group_code=605534569)
 | 
			
		||||
 | 
			
		||||
## Pro插件
 | 
			
		||||
 | 
			
		||||
[插件列表](https://thingsgateway.cn/docs/1001)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## 特别声明
 | 
			
		||||
 | 
			
		||||
ThingsGateway 项目已加入 [dotNET China](https://gitee.com/dotnetchina)  组织。<br/>
 | 
			
		||||
 | 
			
		||||

 | 
			
		||||
							
								
								
									
										20
									
								
								handbook/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						@@ -0,0 +1,20 @@
 | 
			
		||||
# Dependencies
 | 
			
		||||
node_modules
 | 
			
		||||
 | 
			
		||||
# Production
 | 
			
		||||
# build
 | 
			
		||||
 | 
			
		||||
# Generated files
 | 
			
		||||
.docusaurus
 | 
			
		||||
.cache-loader
 | 
			
		||||
 | 
			
		||||
# Misc
 | 
			
		||||
.DS_Store
 | 
			
		||||
.env.local
 | 
			
		||||
.env.development.local
 | 
			
		||||
.env.test.local
 | 
			
		||||
.env.production.local
 | 
			
		||||
 | 
			
		||||
npm-debug.log*
 | 
			
		||||
yarn-debug.log*
 | 
			
		||||
yarn-error.log*
 | 
			
		||||
							
								
								
									
										15
									
								
								handbook/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						@@ -0,0 +1,15 @@
 | 
			
		||||
文档基于 [https://www.docusaurus.io/](https://www.docusaurus.io/) 构建。
 | 
			
		||||
 | 
			
		||||
### 本地运行
 | 
			
		||||
 | 
			
		||||
```bash
 | 
			
		||||
npm install
 | 
			
		||||
 | 
			
		||||
npm run start
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### 发布部署
 | 
			
		||||
 | 
			
		||||
```bash
 | 
			
		||||
npm run build
 | 
			
		||||
```
 | 
			
		||||
							
								
								
									
										3
									
								
								handbook/babel.config.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						@@ -0,0 +1,3 @@
 | 
			
		||||
module.exports = {
 | 
			
		||||
  presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
 | 
			
		||||
};
 | 
			
		||||
							
								
								
									
										16
									
								
								handbook/build/404.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
							
								
								
									
										1
									
								
								handbook/build/assets/css/styles.a3991719.css
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 116 KiB  | 
| 
		 After Width: | Height: | Size: 74 KiB  | 
| 
		 After Width: | Height: | Size: 89 KiB  | 
| 
		 After Width: | Height: | Size: 82 KiB  | 
| 
		 After Width: | Height: | Size: 83 KiB  | 
| 
		 After Width: | Height: | Size: 97 KiB  | 
| 
		 After Width: | Height: | Size: 87 KiB  | 
| 
		 After Width: | Height: | Size: 70 KiB  | 
| 
		 After Width: | Height: | Size: 117 KiB  | 
| 
		 After Width: | Height: | Size: 52 KiB  | 
| 
		 After Width: | Height: | Size: 37 KiB  | 
| 
		 After Width: | Height: | Size: 42 KiB  | 
| 
		 After Width: | Height: | Size: 86 KiB  | 
| 
		 After Width: | Height: | Size: 74 KiB  | 
| 
		 After Width: | Height: | Size: 76 KiB  | 
| 
		 After Width: | Height: | Size: 53 KiB  | 
| 
		 After Width: | Height: | Size: 72 KiB  | 
| 
		 After Width: | Height: | Size: 913 KiB  | 
| 
		 After Width: | Height: | Size: 43 KiB  | 
| 
		 After Width: | Height: | Size: 38 KiB  | 
| 
		 After Width: | Height: | Size: 94 KiB  | 
| 
		 After Width: | Height: | Size: 113 KiB  | 
| 
		 After Width: | Height: | Size: 49 KiB  | 
| 
		 After Width: | Height: | Size: 1021 KiB  | 
| 
		 After Width: | Height: | Size: 41 KiB  | 
| 
		 After Width: | Height: | Size: 46 KiB  | 
| 
		 After Width: | Height: | Size: 168 KiB  | 
| 
		 After Width: | Height: | Size: 139 KiB  | 
| 
		 After Width: | Height: | Size: 103 KiB  | 
| 
		 After Width: | Height: | Size: 42 KiB  | 
| 
		 After Width: | Height: | Size: 66 KiB  | 
| 
		 After Width: | Height: | Size: 206 KiB  | 
| 
		 After Width: | Height: | Size: 57 KiB  | 
| 
		 After Width: | Height: | Size: 82 KiB  | 
| 
		 After Width: | Height: | Size: 56 KiB  | 
| 
		 After Width: | Height: | Size: 71 KiB  | 
| 
		 After Width: | Height: | Size: 71 KiB  | 
| 
		 After Width: | Height: | Size: 125 KiB  | 
| 
		 After Width: | Height: | Size: 159 KiB  | 
| 
		 After Width: | Height: | Size: 167 KiB  | 
| 
		 After Width: | Height: | Size: 43 KiB  | 
| 
		 After Width: | Height: | Size: 50 KiB  | 
| 
		 After Width: | Height: | Size: 156 KiB  | 
| 
		 After Width: | Height: | Size: 82 KiB  | 
| 
		 After Width: | Height: | Size: 49 KiB  | 
| 
		 After Width: | Height: | Size: 930 KiB  | 
| 
		 After Width: | Height: | Size: 109 KiB  | 
| 
		 After Width: | Height: | Size: 60 KiB  | 
| 
		 After Width: | Height: | Size: 33 KiB  | 
| 
		 After Width: | Height: | Size: 43 KiB  | 
| 
		 After Width: | Height: | Size: 158 KiB  | 
| 
		 After Width: | Height: | Size: 99 KiB  | 
| 
		 After Width: | Height: | Size: 51 KiB  | 
| 
		 After Width: | Height: | Size: 363 KiB  | 
| 
		 After Width: | Height: | Size: 106 KiB  | 
| 
		 After Width: | Height: | Size: 54 KiB  | 
| 
		 After Width: | Height: | Size: 29 KiB  | 
| 
		 After Width: | Height: | Size: 30 KiB  | 
| 
		 After Width: | Height: | Size: 326 KiB  | 
| 
		 After Width: | Height: | Size: 108 KiB  | 
| 
		 After Width: | Height: | Size: 172 KiB  | 
| 
		 After Width: | Height: | Size: 162 KiB  | 
| 
		 After Width: | Height: | Size: 153 KiB  | 
| 
		 After Width: | Height: | Size: 35 KiB  | 
| 
		 After Width: | Height: | Size: 54 KiB  | 
| 
		 After Width: | Height: | Size: 141 KiB  | 
| 
		 After Width: | Height: | Size: 26 KiB  | 
| 
		 After Width: | Height: | Size: 253 KiB  | 
| 
		 After Width: | Height: | Size: 229 KiB  | 
							
								
								
									
										1
									
								
								handbook/build/assets/js/0f093a7e.63c5ac72.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
							
								
								
									
										1
									
								
								handbook/build/assets/js/13a5cec0.6b3a2f46.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
							
								
								
									
										1
									
								
								handbook/build/assets/js/17896441.e52e3593.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
							
								
								
									
										1
									
								
								handbook/build/assets/js/186a3eb8.24a97c3d.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
							
								
								
									
										1
									
								
								handbook/build/assets/js/19b7f836.7e71f890.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
							
								
								
									
										1
									
								
								handbook/build/assets/js/1a4e3797.83cee253.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						@@ -0,0 +1 @@
 | 
			
		||||
"use strict";(self.webpackChunkthingsgateway=self.webpackChunkthingsgateway||[]).push([[920],{2027:(e,t,n)=>{n.r(t),n.d(t,{default:()=>_});var a=n(7294),r=n(2263),l=n(8765),s=n(5742),c=n(9960),o=n(5999);const u=["zero","one","two","few","many","other"];function m(e){return u.filter((t=>e.includes(t)))}const h={locale:"en",pluralForms:m(["one","other"]),select:e=>1===e?"one":"other"};function i(){const{i18n:{currentLocale:e}}=(0,r.Z)();return(0,a.useMemo)((()=>{try{return function(e){const t=new Intl.PluralRules(e);return{locale:e,pluralForms:m(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".\nDocusaurus will fallback to the default (English) implementation.\nError: ${t.message}\n`),h}}),[e])}function g(){const e=i();return{selectMessage:(t,n)=>function(e,t,n){const a=e.split("|");if(1===a.length)return a[0];a.length>n.pluralForms.length&&console.error(`For locale=${n.locale}, a maximum of ${n.pluralForms.length} plural forms are expected (${n.pluralForms.join(",")}), but the message contains ${a.length}: ${e}`);const r=n.select(t),l=n.pluralForms.indexOf(r);return a[Math.min(l,a.length-1)]}(n,t,e)}}var p=n(6775),d=n(412);const f=function(){const e=(0,p.k6)(),t=(0,p.TH)(),{siteConfig:{baseUrl:n}}=(0,r.Z)(),a=d.Z.canUseDOM?new URLSearchParams(t.search):null,l=(null==a?void 0:a.get("q"))||"",s=(null==a?void 0:a.get("ctx"))||"",c=(null==a?void 0:a.get("version"))||"",o=e=>{const n=new URLSearchParams(t.search);return e?n.set("q",e):n.delete("q"),n};return{searchValue:l,searchContext:s,searchVersion:c,updateSearchPath:t=>{const n=o(t);e.replace({search:n.toString()})},generateSearchPageLink:e=>{const t=o(e);return`${n}search?${t.toString()}`}}};var E=n(22),y=n(8202),S=n(2539),w=n(726),v=n(1073),b=n(311),I=n(3926),P=n(1029);const F="searchQueryInput_CFBF",R="searchResultItem_U687",C="searchResultItemPath_uIbk",$="searchResultItemSummary_oZHr";function k(){const{siteConfig:{baseUrl:e}}=(0,r.Z)(),{selectMessage:t}=g(),{searchValue:n,searchContext:l,searchVersion:c,updateSearchPath:u}=f(),[m,h]=(0,a.useState)(n),[i,p]=(0,a.useState)(),[d,S]=(0,a.useState)(),w=`${e}${c}`,v=(0,a.useMemo)((()=>m?(0,o.I)({id:"theme.SearchPage.existingResultsTitle",message:'Search results for "{query}"',description:"The search page title for non-empty query"},{query:m}):(0,o.I)({id:"theme.SearchPage.emptyResultsTitle",message:"Search the documentation",description:"The search page title for empty query"})),[m]);(0,a.useEffect)((()=>{u(m),i&&(m?i(m,(e=>{S(e)})):S(void 0))}),[m,i]);const I=(0,a.useCallback)((e=>{h(e.target.value)}),[]);return(0,a.useEffect)((()=>{n&&n!==m&&h(n)}),[n]),(0,a.useEffect)((()=>{!async function(){const{wrappedIndexes:e,zhDictionary:t}=await(0,E.w)(w,l);p((()=>(0,y.v)(e,t,100)))}()}),[l,w]),a.createElement(a.Fragment,null,a.createElement(s.Z,null,a.createElement("meta",{property:"robots",content:"noindex, follow"}),a.createElement("title",null,v)),a.createElement("div",{className:"container margin-vert--lg"},a.createElement("h1",null,v),a.createElement("input",{type:"search",name:"q",className:F,"aria-label":"Search",onChange:I,value:m,autoComplete:"off",autoFocus:!0}),!i&&m&&a.createElement("div",null,a.createElement(b.Z,null)),d&&(d.length>0?a.createElement("p",null,t(d.length,(0,o.I)({id:"theme.SearchPage.documentsFound.plurals",message:"1 document found|{count} documents found",description:'Pluralized label for "{count} documents found". Use as much plural forms (separated by "|") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)'},{count:d.length}))):a.createElement("p",null,(0,o.I)({id:"theme.SearchPage.noResultsText",message:"No documents were found",description:"The paragraph for empty search result"}))),a.createElement("section",null,d&&d.map((e=>a.createElement(x,{key:e.document.i,searchResult:e}))))))}function x(e){let{searchResult:{document:t,type:n,page:r,tokens:l,metadata:s}}=e;const o=0===n,u=2===n,m=(o?t.b:r.b).slice(),h=u?t.s:t.t;o||m.push(r.t);let i="";if(P.vc&&l.length>0){const e=new URLSearchParams;for(const t of l)e.append("_highlight",t);i=`?${e.toString()}`}return a.createElement("article",{className:R},a.createElement("h2",null,a.createElement(c.Z,{to:t.u+i+(t.h||""),dangerouslySetInnerHTML:{__html:u?(0,S.C)(h,l):(0,w.o)(h,(0,v.m)(s,"t"),l,100)}})),m.length>0&&a.createElement("p",{className:C},(0,I.e)(m)),u&&a.createElement("p",{className:$,dangerouslySetInnerHTML:{__html:(0,w.o)(t.t,(0,v.m)(s,"t"),l,100)}}))}const _=function(){return a.createElement(l.Z,null,a.createElement(k,null))}}}]);
 | 
			
		||||