Springboot connects to Siemens plc, reads the corresponding value, and modifies it to the database

springboot connects to Siemens plc, reads the corresponding value, and modifies it to the database Requirements: The server connects to the plc, reads the data, and then writes it to the database, but the speed is required, and the values corresponding to the commands in the plc are constantly changing. The server must see this […]

final static modifier, package, anonymous object and code block concepts in java

Knowledge module 1.final modifier 2.static modifier 3. package 4. Permission modifiers 5. Anonymous objects 6. Code blocks 1.final modifier a.Modification class Classes modified by final cannot be inherited. If you define a class later and do not want it to be inherited by others, you can add final modification. b. Modify variables final modified variable […]

MySQL Lecture 2·Creation and Modification of Tables

Hello, I am safe and sound. Article directory Table: How to create and modify data tables? 1. How to create a data table? 2. What are the constraints? 3. How to modify the table? Add field Modify fields Table: How to create and modify data tables? Creating and modifying data tables is an important part […]

Java Lecture 6: Package import access modifiers final and static, static code blocks and image loading methods

Table of Contents 1. Package 2. import (import) keyword 3. Access modifiers 3. final keyword 4. static keyword 5. How to load images 1. Package If there is no package, a large project may need to create many, many class files. If the class name is a unique identifier, file name conflicts are likely to […]

golang gorm implements addition, deletion and modification of general single tables through generics

golang gorm implements general single table addition, deletion and modification through generics No nonsense, just jump into the code If you want to achieve universality, you must first implement universal query, which can be achieved by passing map func Where(where map[string]interface{}) func(db *gorm.DB) *gorm.DB { return func(db *gorm.DB) *gorm.DB { dbTmp := db for ko, […]

[Data structure] Addition, deletion, checking and modification of one-way linked list and insertion and deletion of specified pos position

Table of Contents The concept and structure of one-way linked list tail plug Head plug tail delete ?edit Header deletion Find Insert forward at pos position Insert after pos position delete pos position Delete the last position of pos Summarize code The concept and structure of one-way linked list Concept: A linked list is a […]

Section 9 Windows Class Protection Evaluation Server Configuration Modification

Table of Contents 1. Server password restrictions 2. Service remote management 3. Turn on the logging function 4. Clear identification information 5.SSL/TLS protocol information leakage 5.1.tomcat disables 3DES and DES algorithms: 5.2.nginx disables 3DES and DES algorithms: 6. Terminal Services is not using Network Level Authentication (NLA) 7. Microsoft Windows Remote Desktop Protocol service program […]

Docker modifies the Digests value of the image

I encountered something at work recently. I exported an image from a local virtual machine and imported it to the server. I found that the digests of the image were . After searching online for a long time, I found that there was no relevant solution. The source code on the server was based on […]

Transformer-based decode target detection framework (modify DETR source code)

Tip: Transformer structure target detection decoder, including loss calculation, with source code attached Article directory Preface 1. Interpretation of main function code 1. Understanding the overall structure 2. Main function code interpretation 3. Source code link 2. Interpretation of decode module code 1. Interpretation of decoded TransformerDec module code 2. Interpretation of decoded TransformerDecoder module […]

Modify the default MySQL library of cloud package iPortal to POSTGRESQL

Author: John Modify the default MySQL library of cloud package iPortal to POSTGRESQL 1. View iPortal’s configuration persistence directory (iportalOPTs) 2. Modify iportal monitor monitoring 3. Modify iPortal database configuration information 3.1 Modify iPortal database configuration information 3.2 Modify iPortal security database configuration information 3.3 Modify the command executed when the container is started in […]