1194 lines
266 KiB
HTML
1194 lines
266 KiB
HTML
<!doctype html>
|
||
<html>
|
||
<head>
|
||
<meta charset='UTF-8'><meta name='viewport' content='width=device-width initial-scale=1'>
|
||
|
||
<link href='https://fonts.loli.net/css?family=Open+Sans:400italic,700italic,700,400&subset=latin,latin-ext' rel='stylesheet' type='text/css' /><style type='text/css'>html {overflow-x: initial !important;}:root { --bg-color:#ffffff; --text-color:#333333; --select-text-bg-color:#B5D6FC; --select-text-font-color:auto; --monospace:"Lucida Console",Consolas,"Courier",monospace; --title-bar-height:20px; }
|
||
.mac-os-11 { --title-bar-height:28px; }
|
||
html { font-size: 14px; background-color: var(--bg-color); color: var(--text-color); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
|
||
body { margin: 0px; padding: 0px; height: auto; bottom: 0px; top: 0px; left: 0px; right: 0px; font-size: 1rem; line-height: 1.42857; overflow-x: hidden; background: inherit; tab-size: 4; }
|
||
iframe { margin: auto; }
|
||
a.url { word-break: break-all; }
|
||
a:active, a:hover { outline: 0px; }
|
||
.in-text-selection, ::selection { text-shadow: none; background: var(--select-text-bg-color); color: var(--select-text-font-color); }
|
||
#write { margin: 0px auto; height: auto; width: inherit; word-break: normal; overflow-wrap: break-word; position: relative; white-space: normal; overflow-x: visible; padding-top: 36px; }
|
||
#write.first-line-indent p { text-indent: 2em; }
|
||
#write.first-line-indent li p, #write.first-line-indent p * { text-indent: 0px; }
|
||
#write.first-line-indent li { margin-left: 2em; }
|
||
.for-image #write { padding-left: 8px; padding-right: 8px; }
|
||
body.typora-export { padding-left: 30px; padding-right: 30px; }
|
||
.typora-export .footnote-line, .typora-export li, .typora-export p { white-space: pre-wrap; }
|
||
.typora-export .task-list-item input { pointer-events: none; }
|
||
@media screen and (max-width: 500px) {
|
||
body.typora-export { padding-left: 0px; padding-right: 0px; }
|
||
#write { padding-left: 20px; padding-right: 20px; }
|
||
.CodeMirror-sizer { margin-left: 0px !important; }
|
||
.CodeMirror-gutters { display: none !important; }
|
||
}
|
||
#write li > figure:last-child { margin-bottom: 0.5rem; }
|
||
#write ol, #write ul { position: relative; }
|
||
img { max-width: 100%; vertical-align: middle; image-orientation: from-image; }
|
||
button, input, select, textarea { color: inherit; font: inherit; }
|
||
input[type="checkbox"], input[type="radio"] { line-height: normal; padding: 0px; }
|
||
*, ::after, ::before { box-sizing: border-box; }
|
||
#write h1, #write h2, #write h3, #write h4, #write h5, #write h6, #write p, #write pre { width: inherit; }
|
||
#write h1, #write h2, #write h3, #write h4, #write h5, #write h6, #write p { position: relative; }
|
||
p { line-height: inherit; }
|
||
h1, h2, h3, h4, h5, h6 { break-after: avoid-page; break-inside: avoid; orphans: 4; }
|
||
p { orphans: 4; }
|
||
h1 { font-size: 2rem; }
|
||
h2 { font-size: 1.8rem; }
|
||
h3 { font-size: 1.6rem; }
|
||
h4 { font-size: 1.4rem; }
|
||
h5 { font-size: 1.2rem; }
|
||
h6 { font-size: 1rem; }
|
||
.md-math-block, .md-rawblock, h1, h2, h3, h4, h5, h6, p { margin-top: 1rem; margin-bottom: 1rem; }
|
||
.hidden { display: none; }
|
||
.md-blockmeta { color: rgb(204, 204, 204); font-weight: 700; font-style: italic; }
|
||
a { cursor: pointer; }
|
||
sup.md-footnote { padding: 2px 4px; background-color: rgba(238, 238, 238, 0.7); color: rgb(85, 85, 85); border-radius: 4px; cursor: pointer; }
|
||
sup.md-footnote a, sup.md-footnote a:hover { color: inherit; text-transform: inherit; text-decoration: inherit; }
|
||
#write input[type="checkbox"] { cursor: pointer; width: inherit; height: inherit; }
|
||
figure { overflow-x: auto; margin: 1.2em 0px; max-width: calc(100% + 16px); padding: 0px; }
|
||
figure > table { margin: 0px; }
|
||
tr { break-inside: avoid; break-after: auto; }
|
||
thead { display: table-header-group; }
|
||
table { border-collapse: collapse; border-spacing: 0px; width: 100%; overflow: auto; break-inside: auto; text-align: left; }
|
||
table.md-table td { min-width: 32px; }
|
||
.CodeMirror-gutters { border-right: 0px; background-color: inherit; }
|
||
.CodeMirror-linenumber { user-select: none; }
|
||
.CodeMirror { text-align: left; }
|
||
.CodeMirror-placeholder { opacity: 0.3; }
|
||
.CodeMirror pre { padding: 0px 4px; }
|
||
.CodeMirror-lines { padding: 0px; }
|
||
div.hr:focus { cursor: none; }
|
||
#write pre { white-space: pre-wrap; }
|
||
#write.fences-no-line-wrapping pre { white-space: pre; }
|
||
#write pre.ty-contain-cm { white-space: normal; }
|
||
.CodeMirror-gutters { margin-right: 4px; }
|
||
.md-fences { font-size: 0.9rem; display: block; break-inside: avoid; text-align: left; overflow: visible; white-space: pre; background: inherit; position: relative !important; }
|
||
.md-fences-adv-panel { width: 100%; margin-top: 10px; text-align: center; padding-top: 0px; padding-bottom: 8px; overflow-x: auto; }
|
||
#write .md-fences.mock-cm { white-space: pre-wrap; }
|
||
.md-fences.md-fences-with-lineno { padding-left: 0px; }
|
||
#write.fences-no-line-wrapping .md-fences.mock-cm { white-space: pre; overflow-x: auto; }
|
||
.md-fences.mock-cm.md-fences-with-lineno { padding-left: 8px; }
|
||
.CodeMirror-line, twitterwidget { break-inside: avoid; }
|
||
.footnotes { opacity: 0.8; font-size: 0.9rem; margin-top: 1em; margin-bottom: 1em; }
|
||
.footnotes + .footnotes { margin-top: 0px; }
|
||
.md-reset { margin: 0px; padding: 0px; border: 0px; outline: 0px; vertical-align: top; background: 0px 0px; text-decoration: none; text-shadow: none; float: none; position: static; width: auto; height: auto; white-space: nowrap; cursor: inherit; -webkit-tap-highlight-color: transparent; line-height: normal; font-weight: 400; text-align: left; box-sizing: content-box; direction: ltr; }
|
||
li div { padding-top: 0px; }
|
||
blockquote { margin: 1rem 0px; }
|
||
li .mathjax-block, li p { margin: 0.5rem 0px; }
|
||
li blockquote { margin: 1rem 0px; }
|
||
li { margin: 0px; position: relative; }
|
||
blockquote > :last-child { margin-bottom: 0px; }
|
||
blockquote > :first-child, li > :first-child { margin-top: 0px; }
|
||
.footnotes-area { color: rgb(136, 136, 136); margin-top: 0.714rem; padding-bottom: 0.143rem; white-space: normal; }
|
||
#write .footnote-line { white-space: pre-wrap; }
|
||
@media print {
|
||
body, html { border: 1px solid transparent; height: 99%; break-after: avoid; break-before: avoid; font-variant-ligatures: no-common-ligatures; }
|
||
#write { margin-top: 0px; padding-top: 0px; border-color: transparent !important; }
|
||
.typora-export * { -webkit-print-color-adjust: exact; }
|
||
.typora-export #write { break-after: avoid; }
|
||
.typora-export #write::after { height: 0px; }
|
||
.is-mac table { break-inside: avoid; }
|
||
.typora-export-show-outline .typora-export-sidebar { display: none; }
|
||
}
|
||
.footnote-line { margin-top: 0.714em; font-size: 0.7em; }
|
||
a img, img a { cursor: pointer; }
|
||
pre.md-meta-block { font-size: 0.8rem; min-height: 0.8rem; white-space: pre-wrap; background: rgb(204, 204, 204); display: block; overflow-x: hidden; }
|
||
p > .md-image:only-child:not(.md-img-error) img, p > img:only-child { display: block; margin: auto; }
|
||
#write.first-line-indent p > .md-image:only-child:not(.md-img-error) img { left: -2em; position: relative; }
|
||
p > .md-image:only-child { display: inline-block; width: 100%; }
|
||
#write .MathJax_Display { margin: 0.8em 0px 0px; }
|
||
.md-math-block { width: 100%; }
|
||
.md-math-block:not(:empty)::after { display: none; }
|
||
.MathJax_ref { fill: currentcolor; }
|
||
[contenteditable="true"]:active, [contenteditable="true"]:focus, [contenteditable="false"]:active, [contenteditable="false"]:focus { outline: 0px; box-shadow: none; }
|
||
.md-task-list-item { position: relative; list-style-type: none; }
|
||
.task-list-item.md-task-list-item { padding-left: 0px; }
|
||
.md-task-list-item > input { position: absolute; top: 0px; left: 0px; margin-left: -1.2em; margin-top: calc(1em - 10px); border: none; }
|
||
.math { font-size: 1rem; }
|
||
.md-toc { min-height: 3.58rem; position: relative; font-size: 0.9rem; border-radius: 10px; }
|
||
.md-toc-content { position: relative; margin-left: 0px; }
|
||
.md-toc-content::after, .md-toc::after { display: none; }
|
||
.md-toc-item { display: block; color: rgb(65, 131, 196); }
|
||
.md-toc-item a { text-decoration: none; }
|
||
.md-toc-inner:hover { text-decoration: underline; }
|
||
.md-toc-inner { display: inline-block; cursor: pointer; }
|
||
.md-toc-h1 .md-toc-inner { margin-left: 0px; font-weight: 700; }
|
||
.md-toc-h2 .md-toc-inner { margin-left: 2em; }
|
||
.md-toc-h3 .md-toc-inner { margin-left: 4em; }
|
||
.md-toc-h4 .md-toc-inner { margin-left: 6em; }
|
||
.md-toc-h5 .md-toc-inner { margin-left: 8em; }
|
||
.md-toc-h6 .md-toc-inner { margin-left: 10em; }
|
||
@media screen and (max-width: 48em) {
|
||
.md-toc-h3 .md-toc-inner { margin-left: 3.5em; }
|
||
.md-toc-h4 .md-toc-inner { margin-left: 5em; }
|
||
.md-toc-h5 .md-toc-inner { margin-left: 6.5em; }
|
||
.md-toc-h6 .md-toc-inner { margin-left: 8em; }
|
||
}
|
||
a.md-toc-inner { font-size: inherit; font-style: inherit; font-weight: inherit; line-height: inherit; }
|
||
.footnote-line a:not(.reversefootnote) { color: inherit; }
|
||
.md-attr { display: none; }
|
||
.md-fn-count::after { content: "."; }
|
||
code, pre, samp, tt { font-family: var(--monospace); }
|
||
kbd { margin: 0px 0.1em; padding: 0.1em 0.6em; font-size: 0.8em; color: rgb(36, 39, 41); background: rgb(255, 255, 255); border: 1px solid rgb(173, 179, 185); border-radius: 3px; box-shadow: rgba(12, 13, 14, 0.2) 0px 1px 0px, rgb(255, 255, 255) 0px 0px 0px 2px inset; white-space: nowrap; vertical-align: middle; }
|
||
.md-comment { color: rgb(162, 127, 3); opacity: 0.8; font-family: var(--monospace); }
|
||
code { text-align: left; vertical-align: initial; }
|
||
a.md-print-anchor { white-space: pre !important; border-width: initial !important; border-style: none !important; border-color: initial !important; display: inline-block !important; position: absolute !important; width: 1px !important; right: 0px !important; outline: 0px !important; background: 0px 0px !important; text-decoration: initial !important; text-shadow: initial !important; }
|
||
.md-inline-math .MathJax_SVG .noError { display: none !important; }
|
||
.html-for-mac .inline-math-svg .MathJax_SVG { vertical-align: 0.2px; }
|
||
.md-fences-math .MathJax_SVG_Display, .md-math-block .MathJax_SVG_Display { text-align: center; margin: 0px; position: relative; text-indent: 0px; max-width: none; max-height: none; min-height: 0px; min-width: 100%; width: auto; overflow-y: visible; display: block !important; }
|
||
.MathJax_SVG_Display, .md-inline-math .MathJax_SVG_Display { width: auto; margin: inherit; display: inline-block !important; }
|
||
.MathJax_SVG .MJX-monospace { font-family: var(--monospace); }
|
||
.MathJax_SVG .MJX-sans-serif { font-family: sans-serif; }
|
||
.MathJax_SVG { display: inline; font-style: normal; font-weight: 400; line-height: normal; text-indent: 0px; text-align: left; text-transform: none; letter-spacing: normal; word-spacing: normal; overflow-wrap: normal; white-space: nowrap; float: none; direction: ltr; max-width: none; max-height: none; min-width: 0px; min-height: 0px; border: 0px; padding: 0px; margin: 0px; zoom: 90%; }
|
||
#math-inline-preview-content { zoom: 1.1; }
|
||
.MathJax_SVG * { transition: none 0s ease 0s; }
|
||
.MathJax_SVG_Display svg { vertical-align: middle !important; margin-bottom: 0px !important; margin-top: 0px !important; }
|
||
.os-windows.monocolor-emoji .md-emoji { font-family: "Segoe UI Symbol", sans-serif; }
|
||
.md-diagram-panel > svg { max-width: 100%; }
|
||
[lang="flow"] svg, [lang="mermaid"] svg { max-width: 100%; height: auto; }
|
||
[lang="mermaid"] .node text { font-size: 1rem; }
|
||
table tr th { border-bottom: 0px; }
|
||
video { max-width: 100%; display: block; margin: 0px auto; }
|
||
iframe { max-width: 100%; width: 100%; border: none; }
|
||
.highlight td, .highlight tr { border: 0px; }
|
||
mark { background: rgb(255, 255, 0); color: rgb(0, 0, 0); }
|
||
.md-html-inline .md-plain, .md-html-inline strong, mark .md-inline-math, mark strong { color: inherit; }
|
||
.md-expand mark .md-meta { opacity: 0.3 !important; }
|
||
mark .md-meta { color: rgb(0, 0, 0); }
|
||
@media print {
|
||
.typora-export h1, .typora-export h2, .typora-export h3, .typora-export h4, .typora-export h5, .typora-export h6 { break-inside: avoid; }
|
||
}
|
||
.md-diagram-panel .messageText { stroke: none !important; }
|
||
.md-diagram-panel .start-state { fill: var(--node-fill); }
|
||
.md-diagram-panel .edgeLabel rect { opacity: 1 !important; }
|
||
.md-require-zoom-fix foreignobject { font-size: var(--mermaid-font-zoom); }
|
||
.md-fences.md-fences-math { font-size: 1em; }
|
||
.md-fences-math .MathJax_SVG_Display { margin-top: 8px; cursor: default; }
|
||
.md-fences-advanced:not(.md-focus) { padding: 0px; white-space: nowrap; border: 0px; }
|
||
.md-fences-advanced:not(.md-focus) { background: inherit; }
|
||
.typora-export-show-outline .typora-export-content { max-width: 1440px; margin: auto; display: flex; flex-direction: row; }
|
||
.typora-export-sidebar { width: 300px; font-size: 0.8rem; margin-top: 80px; margin-right: 18px; }
|
||
.typora-export-show-outline #write { --webkit-flex:2; flex: 2 1 0%; }
|
||
.typora-export-sidebar .outline-content { position: fixed; top: 0px; max-height: 100%; overflow: hidden auto; padding-bottom: 30px; padding-top: 60px; width: 300px; }
|
||
@media screen and (max-width: 1024px) {
|
||
.typora-export-sidebar, .typora-export-sidebar .outline-content { width: 240px; }
|
||
}
|
||
@media screen and (max-width: 800px) {
|
||
.typora-export-sidebar { display: none; }
|
||
}
|
||
.outline-content li, .outline-content ul { margin-left: 0px; margin-right: 0px; padding-left: 0px; padding-right: 0px; list-style: none; }
|
||
.outline-content ul { margin-top: 0px; margin-bottom: 0px; }
|
||
.outline-content strong { font-weight: 400; }
|
||
.outline-expander { width: 1rem; height: 1.42857rem; position: relative; display: table-cell; vertical-align: middle; cursor: pointer; padding-left: 4px; }
|
||
.outline-expander::before { content: ""; position: relative; font-family: Ionicons; display: inline-block; font-size: 8px; vertical-align: middle; }
|
||
.outline-item { padding-top: 3px; padding-bottom: 3px; cursor: pointer; }
|
||
.outline-expander:hover::before { content: ""; }
|
||
.outline-h1 > .outline-item { padding-left: 0px; }
|
||
.outline-h2 > .outline-item { padding-left: 1em; }
|
||
.outline-h3 > .outline-item { padding-left: 2em; }
|
||
.outline-h4 > .outline-item { padding-left: 3em; }
|
||
.outline-h5 > .outline-item { padding-left: 4em; }
|
||
.outline-h6 > .outline-item { padding-left: 5em; }
|
||
.outline-label { cursor: pointer; display: table-cell; vertical-align: middle; text-decoration: none; color: inherit; }
|
||
.outline-label:hover { text-decoration: underline; }
|
||
.outline-item:hover { border-color: rgb(245, 245, 245); background-color: var(--item-hover-bg-color); }
|
||
.outline-item:hover { margin-left: -28px; margin-right: -28px; border-left: 28px solid transparent; border-right: 28px solid transparent; }
|
||
.outline-item-single .outline-expander::before, .outline-item-single .outline-expander:hover::before { display: none; }
|
||
.outline-item-open > .outline-item > .outline-expander::before { content: ""; }
|
||
.outline-children { display: none; }
|
||
.info-panel-tab-wrapper { display: none; }
|
||
.outline-item-open > .outline-children { display: block; }
|
||
.typora-export .outline-item { padding-top: 1px; padding-bottom: 1px; }
|
||
.typora-export .outline-item:hover { margin-right: -8px; border-right: 8px solid transparent; }
|
||
.typora-export .outline-expander::before { content: "+"; font-family: inherit; top: -1px; }
|
||
.typora-export .outline-expander:hover::before, .typora-export .outline-item-open > .outline-item > .outline-expander::before { content: "−"; }
|
||
.typora-export-collapse-outline .outline-children { display: none; }
|
||
.typora-export-collapse-outline .outline-item-open > .outline-children, .typora-export-no-collapse-outline .outline-children { display: block; }
|
||
.typora-export-no-collapse-outline .outline-expander::before { content: "" !important; }
|
||
.typora-export-show-outline .outline-item-active > .outline-item .outline-label { font-weight: 700; }
|
||
|
||
|
||
:root {
|
||
--side-bar-bg-color: #fafafa;
|
||
--control-text-color: #777;
|
||
}
|
||
|
||
@include-when-export url(https://fonts.loli.net/css?family=Open+Sans:400italic,700italic,700,400&subset=latin,latin-ext);
|
||
|
||
/* open-sans-regular - latin-ext_latin */
|
||
/* open-sans-italic - latin-ext_latin */
|
||
/* open-sans-700 - latin-ext_latin */
|
||
/* open-sans-700italic - latin-ext_latin */
|
||
html {
|
||
font-size: 16px;
|
||
}
|
||
|
||
body {
|
||
font-family: "Open Sans","Clear Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||
color: rgb(51, 51, 51);
|
||
line-height: 1.6;
|
||
}
|
||
|
||
#write {
|
||
max-width: 860px;
|
||
margin: 0 auto;
|
||
padding: 30px;
|
||
padding-bottom: 100px;
|
||
}
|
||
|
||
@media only screen and (min-width: 1400px) {
|
||
#write {
|
||
max-width: 1024px;
|
||
}
|
||
}
|
||
|
||
@media only screen and (min-width: 1800px) {
|
||
#write {
|
||
max-width: 1200px;
|
||
}
|
||
}
|
||
|
||
#write > ul:first-child,
|
||
#write > ol:first-child{
|
||
margin-top: 30px;
|
||
}
|
||
|
||
a {
|
||
color: #4183C4;
|
||
}
|
||
h1,
|
||
h2,
|
||
h3,
|
||
h4,
|
||
h5,
|
||
h6 {
|
||
position: relative;
|
||
margin-top: 1rem;
|
||
margin-bottom: 1rem;
|
||
font-weight: bold;
|
||
line-height: 1.4;
|
||
cursor: text;
|
||
}
|
||
h1:hover a.anchor,
|
||
h2:hover a.anchor,
|
||
h3:hover a.anchor,
|
||
h4:hover a.anchor,
|
||
h5:hover a.anchor,
|
||
h6:hover a.anchor {
|
||
text-decoration: none;
|
||
}
|
||
h1 tt,
|
||
h1 code {
|
||
font-size: inherit;
|
||
}
|
||
h2 tt,
|
||
h2 code {
|
||
font-size: inherit;
|
||
}
|
||
h3 tt,
|
||
h3 code {
|
||
font-size: inherit;
|
||
}
|
||
h4 tt,
|
||
h4 code {
|
||
font-size: inherit;
|
||
}
|
||
h5 tt,
|
||
h5 code {
|
||
font-size: inherit;
|
||
}
|
||
h6 tt,
|
||
h6 code {
|
||
font-size: inherit;
|
||
}
|
||
h1 {
|
||
font-size: 2.25em;
|
||
line-height: 1.2;
|
||
border-bottom: 1px solid #eee;
|
||
}
|
||
h2 {
|
||
font-size: 1.75em;
|
||
line-height: 1.225;
|
||
border-bottom: 1px solid #eee;
|
||
}
|
||
|
||
/*@media print {
|
||
.typora-export h1,
|
||
.typora-export h2 {
|
||
border-bottom: none;
|
||
padding-bottom: initial;
|
||
}
|
||
|
||
.typora-export h1::after,
|
||
.typora-export h2::after {
|
||
content: "";
|
||
display: block;
|
||
height: 100px;
|
||
margin-top: -96px;
|
||
border-top: 1px solid #eee;
|
||
}
|
||
}*/
|
||
|
||
h3 {
|
||
font-size: 1.5em;
|
||
line-height: 1.43;
|
||
}
|
||
h4 {
|
||
font-size: 1.25em;
|
||
}
|
||
h5 {
|
||
font-size: 1em;
|
||
}
|
||
h6 {
|
||
font-size: 1em;
|
||
color: #777;
|
||
}
|
||
p,
|
||
blockquote,
|
||
ul,
|
||
ol,
|
||
dl,
|
||
table{
|
||
margin: 0.8em 0;
|
||
}
|
||
li>ol,
|
||
li>ul {
|
||
margin: 0 0;
|
||
}
|
||
hr {
|
||
height: 2px;
|
||
padding: 0;
|
||
margin: 16px 0;
|
||
background-color: #e7e7e7;
|
||
border: 0 none;
|
||
overflow: hidden;
|
||
box-sizing: content-box;
|
||
}
|
||
|
||
li p.first {
|
||
display: inline-block;
|
||
}
|
||
ul,
|
||
ol {
|
||
padding-left: 30px;
|
||
}
|
||
ul:first-child,
|
||
ol:first-child {
|
||
margin-top: 0;
|
||
}
|
||
ul:last-child,
|
||
ol:last-child {
|
||
margin-bottom: 0;
|
||
}
|
||
blockquote {
|
||
border-left: 4px solid #dfe2e5;
|
||
padding: 0 15px;
|
||
color: #777777;
|
||
}
|
||
blockquote blockquote {
|
||
padding-right: 0;
|
||
}
|
||
table {
|
||
padding: 0;
|
||
word-break: initial;
|
||
}
|
||
table tr {
|
||
border: 1px solid #dfe2e5;
|
||
margin: 0;
|
||
padding: 0;
|
||
}
|
||
table tr:nth-child(2n),
|
||
thead {
|
||
background-color: #f8f8f8;
|
||
}
|
||
table th {
|
||
font-weight: bold;
|
||
border: 1px solid #dfe2e5;
|
||
border-bottom: 0;
|
||
margin: 0;
|
||
padding: 6px 13px;
|
||
}
|
||
table td {
|
||
border: 1px solid #dfe2e5;
|
||
margin: 0;
|
||
padding: 6px 13px;
|
||
}
|
||
table th:first-child,
|
||
table td:first-child {
|
||
margin-top: 0;
|
||
}
|
||
table th:last-child,
|
||
table td:last-child {
|
||
margin-bottom: 0;
|
||
}
|
||
|
||
.CodeMirror-lines {
|
||
padding-left: 4px;
|
||
}
|
||
|
||
.code-tooltip {
|
||
box-shadow: 0 1px 1px 0 rgba(0,28,36,.3);
|
||
border-top: 1px solid #eef2f2;
|
||
}
|
||
|
||
.md-fences,
|
||
code,
|
||
tt {
|
||
border: 1px solid #e7eaed;
|
||
background-color: #f8f8f8;
|
||
border-radius: 3px;
|
||
padding: 0;
|
||
padding: 2px 4px 0px 4px;
|
||
font-size: 0.9em;
|
||
}
|
||
|
||
code {
|
||
background-color: #f3f4f4;
|
||
padding: 0 2px 0 2px;
|
||
}
|
||
|
||
.md-fences {
|
||
margin-bottom: 15px;
|
||
margin-top: 15px;
|
||
padding-top: 8px;
|
||
padding-bottom: 6px;
|
||
}
|
||
|
||
|
||
.md-task-list-item > input {
|
||
margin-left: -1.3em;
|
||
}
|
||
|
||
@media print {
|
||
html {
|
||
font-size: 13px;
|
||
}
|
||
table,
|
||
pre {
|
||
page-break-inside: avoid;
|
||
}
|
||
pre {
|
||
word-wrap: break-word;
|
||
}
|
||
}
|
||
|
||
.md-fences {
|
||
background-color: #f8f8f8;
|
||
}
|
||
#write pre.md-meta-block {
|
||
padding: 1rem;
|
||
font-size: 85%;
|
||
line-height: 1.45;
|
||
background-color: #f7f7f7;
|
||
border: 0;
|
||
border-radius: 3px;
|
||
color: #777777;
|
||
margin-top: 0 !important;
|
||
}
|
||
|
||
.mathjax-block>.code-tooltip {
|
||
bottom: .375rem;
|
||
}
|
||
|
||
.md-mathjax-midline {
|
||
background: #fafafa;
|
||
}
|
||
|
||
#write>h3.md-focus:before{
|
||
left: -1.5625rem;
|
||
top: .375rem;
|
||
}
|
||
#write>h4.md-focus:before{
|
||
left: -1.5625rem;
|
||
top: .285714286rem;
|
||
}
|
||
#write>h5.md-focus:before{
|
||
left: -1.5625rem;
|
||
top: .285714286rem;
|
||
}
|
||
#write>h6.md-focus:before{
|
||
left: -1.5625rem;
|
||
top: .285714286rem;
|
||
}
|
||
.md-image>.md-meta {
|
||
/*border: 1px solid #ddd;*/
|
||
border-radius: 3px;
|
||
padding: 2px 0px 0px 4px;
|
||
font-size: 0.9em;
|
||
color: inherit;
|
||
}
|
||
|
||
.md-tag {
|
||
color: #a7a7a7;
|
||
opacity: 1;
|
||
}
|
||
|
||
.md-toc {
|
||
margin-top:20px;
|
||
padding-bottom:20px;
|
||
}
|
||
|
||
.sidebar-tabs {
|
||
border-bottom: none;
|
||
}
|
||
|
||
#typora-quick-open {
|
||
border: 1px solid #ddd;
|
||
background-color: #f8f8f8;
|
||
}
|
||
|
||
#typora-quick-open-item {
|
||
background-color: #FAFAFA;
|
||
border-color: #FEFEFE #e5e5e5 #e5e5e5 #eee;
|
||
border-style: solid;
|
||
border-width: 1px;
|
||
}
|
||
|
||
/** focus mode */
|
||
.on-focus-mode blockquote {
|
||
border-left-color: rgba(85, 85, 85, 0.12);
|
||
}
|
||
|
||
header, .context-menu, .megamenu-content, footer{
|
||
font-family: "Segoe UI", "Arial", sans-serif;
|
||
}
|
||
|
||
.file-node-content:hover .file-node-icon,
|
||
.file-node-content:hover .file-node-open-state{
|
||
visibility: visible;
|
||
}
|
||
|
||
.mac-seamless-mode #typora-sidebar {
|
||
background-color: #fafafa;
|
||
background-color: var(--side-bar-bg-color);
|
||
}
|
||
|
||
.md-lang {
|
||
color: #b4654d;
|
||
}
|
||
|
||
/*.html-for-mac {
|
||
--item-hover-bg-color: #E6F0FE;
|
||
}*/
|
||
|
||
#md-notification .btn {
|
||
border: 0;
|
||
}
|
||
|
||
.dropdown-menu .divider {
|
||
border-color: #e5e5e5;
|
||
opacity: 0.4;
|
||
}
|
||
|
||
.ty-preferences .window-content {
|
||
background-color: #fafafa;
|
||
}
|
||
|
||
.ty-preferences .nav-group-item.active {
|
||
color: white;
|
||
background: #999;
|
||
}
|
||
|
||
.menu-item-container a.menu-style-btn {
|
||
background-color: #f5f8fa;
|
||
background-image: linear-gradient( 180deg , hsla(0, 0%, 100%, 0.8), hsla(0, 0%, 100%, 0));
|
||
}
|
||
|
||
|
||
:root {--mermaid-font-zoom:1.23958em ;}
|
||
</style><title>Qt编写的可视化大屏系统开发及使用说明</title>
|
||
</head>
|
||
<body class='typora-export os-windows typora-export-show-outline typora-export-no-collapse-outline'><div class='typora-export-content'>
|
||
<div class="typora-export-sidebar"><div class="outline-content"><li class="outline-item-wrapper outline-h2"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#0-前言">0 前言</a></div><ul class="outline-children"><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#01-编译说明">0.1 编译说明</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#02-版本说明">0.2 版本说明</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#03-体验地址">0.3 体验地址</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#04-功能特点">0.4 功能特点</a></div><ul class="outline-children"></ul></li></ul></li><li class="outline-item-wrapper outline-h2"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#1-操作说明">1 操作说明</a></div><ul class="outline-children"><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#11-使用方法">1.1 使用方法</a></div><ul class="outline-children"><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#111-启动窗体">1.1.1 启动窗体</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#112-系统菜单">1.1.2 系统菜单</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#113-模块菜单">1.1.3 模块菜单</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#114-布局切换">1.1.4 布局切换</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#115-新建布局">1.1.5 新建布局</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#116-全局换肤">1.1.6 全局换肤</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#117-模块拖动">1.1.7 模块拖动</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#118-调整间距">1.1.8 调整间距</a></div><ul class="outline-children"></ul></li></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#12-系统设置">1.2 系统设置</a></div><ul class="outline-children"><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#121-基本设置">1.2.1 基本设置</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#122-视频设置">1.2.2 视频设置</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#123-采集间隔设置">1.2.3 采集间隔设置</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#124-数据库设置">1.2.4 数据库设置</a></div><ul class="outline-children"></ul></li></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#13-工作模式">1.3 工作模式</a></div><ul class="outline-children"><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#131-模拟数据">1.3.1 模拟数据</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#132-数据库采集">1.3.2 数据库采集</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#133-串口采集">1.3.3 串口采集</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#134-网络采集">1.3.4 网络采集</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#135-网络请求">1.3.5 网络请求</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#136-请求格式">1.3.6 请求格式</a></div><ul class="outline-children"><li class="outline-item-wrapper outline-h5"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#1361-请求数据">1.3.6.1 请求数据</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h5"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#1362-返回数据">1.3.6.2 返回数据</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h5"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#1363-整体流程">1.3.6.3 整体流程</a></div><ul class="outline-children"></ul></li></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#137-拓展构想">1.3.7 拓展构想</a></div><ul class="outline-children"></ul></li></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#14-其他说明">1.4 其他说明</a></div><ul class="outline-children"></ul></li></ul></li><li class="outline-item-wrapper outline-h2"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#2-数据库说明">2 数据库说明</a></div><ul class="outline-children"><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#21-产量汇总模块">2.1 产量汇总模块</a></div><ul class="outline-children"><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#211-模具产量">2.1.1 模具产量</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#212-每月模具产量趋势图">2.1.2 每月模具产量趋势图</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#213-零件产量">2.1.3 零件产量</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#214-每月零件产量趋势图">2.1.4 每月零件产量趋势图</a></div><ul class="outline-children"></ul></li></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#22-当月计划模块">2.2 当月计划模块</a></div><ul class="outline-children"><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#221-模具达成率">2.2.1 模具达成率</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#222-零件达成率">2.2.2 零件达成率</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#223-零件数">2.2.3 零件数</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#224-每日工序达成数">2.2.4 每日工序达成数</a></div><ul class="outline-children"></ul></li></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#23-设备监控模块">2.3 设备监控模块</a></div><ul class="outline-children"><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#231-设备运行状态">2.3.1 设备运行状态</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#232-稼动率">2.3.2 稼动率</a></div><ul class="outline-children"></ul></li></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#24-模具进度模块">2.4 模具进度模块</a></div><ul class="outline-children"><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#241-模具进度">2.4.1 模具进度</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#242-模具状态统计">2.4.2 模具状态统计</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#243-加工中模具数量">2.4.3 加工中模具数量</a></div><ul class="outline-children"></ul></li></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#25-负荷分布模块">2.5 负荷分布模块</a></div><ul class="outline-children"><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#251-工序计划负荷">2.5.1 工序计划负荷</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4 outline-item-open"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#252-当日负荷">2.5.2 当日负荷</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#253-负荷百分比">2.5.3 负荷百分比</a></div><ul class="outline-children"></ul></li></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#26-送检合格模块">2.6 送检合格模块</a></div><ul class="outline-children"><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#261-钢件合格率">2.6.1 钢件合格率</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#262-电极合格率">2.6.2 电极合格率</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#263-当天合格率">2.6.3 当天合格率</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#264-模具零件合格率">2.6.4 模具零件合格率</a></div><ul class="outline-children"></ul></li></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#27-品质统计模块">2.7 品质统计模块</a></div><ul class="outline-children"><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#271-品质占比">2.7.1 品质占比</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#272-班组合格率">2.7.2 班组合格率</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#273-每日合格率统计">2.7.3 每日合格率统计</a></div><ul class="outline-children"></ul></li></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#28-物料管理模块">2.8 物料管理模块</a></div><ul class="outline-children"><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#281-库存占比">2.8.1 库存占比</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#282-主要零件库存">2.8.2 主要零件库存</a></div><ul class="outline-children"></ul></li></ul></li></ul></li><li class="outline-item-wrapper outline-h2"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#3-配置参数说明">3 配置参数说明</a></div><ul class="outline-children"><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#31-基本配置1">3.1 基本配置1</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#32-基本设置2">3.2 基本设置2</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#33-视频设置">3.3 视频设置</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#34-颜色配置1">3.4 颜色配置1</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#35-颜色配置2">3.5 颜色配置2</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#36-颜色配置3">3.6 颜色配置3</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#37-字体配置">3.7 字体配置</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#38-尺寸配置">3.8 尺寸配置</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h3 outline-item-open"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#39-采集速度">3.9 采集速度</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h3 outline-item-open"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#310-数据库配置">3.10 数据库配置</a></div><ul class="outline-children"></ul></li></ul></li><li class="outline-item-wrapper outline-h2"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#4-程序框架说明">4 程序框架说明</a></div><ul class="outline-children"><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#41-整体代码结构">4.1 整体代码结构</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#42-主模块说明">4.2 主模块说明</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#43-子模块说明">4.3 子模块说明</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#44-辅助处理">4.4 辅助处理</a></div><ul class="outline-children"><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#441-数据库表映射">4.4.1 数据库表映射</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#442-通用辅助函数类">4.4.2 通用辅助函数类</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#443-初始化及辅助">4.4.3 初始化及辅助</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#444-自定义控件">4.4.4 自定义控件</a></div><ul class="outline-children"></ul></li></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#45-内核模块">4.5 内核模块</a></div><ul class="outline-children"><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#451-通用自定义控件">4.5.1 通用自定义控件</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#452-图表组件内核">4.5.2 图表组件内核</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#453-数据库应用内核">4.5.3 数据库应用内核</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#454-视频监控内核">4.5.4 视频监控内核</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#455-大屏地图内核">4.5.5 大屏地图内核</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#456-视频绘制内核">4.5.6 视频绘制内核</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#457-通用浏览器内核">4.5.7 通用浏览器内核</a></div><ul class="outline-children"></ul></li></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#46-界面模块">4.6 界面模块</a></div><ul class="outline-children"><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#461-大屏控件演示">4.6.1 大屏控件演示</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#462-大屏模块演示">4.6.2 大屏模块演示</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#463-主界面模块">4.6.3 主界面模块</a></div><ul class="outline-children"></ul></li></ul></li></ul></li><li class="outline-item-wrapper outline-h2"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#5-效果图">5 效果图</a></div><ul class="outline-children"><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#51-布局方案">5.1 布局方案</a></div><ul class="outline-children"><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#511-自定义布局1">5.1.1 自定义布局1</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#512-自定义布局2">5.1.2 自定义布局2</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#513-自定义布局3">5.1.3 自定义布局3</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#514-自定义布局4">5.1.4 自定义布局4</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#515-自定义布局5">5.1.5 自定义布局5</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#516-自定义布局6">5.1.6 自定义布局6</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#517-自定义布局7">5.1.7 自定义布局7</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#518-自定义布局8">5.1.8 自定义布局8</a></div><ul class="outline-children"></ul></li></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#52-配色方案">5.2 配色方案</a></div><ul class="outline-children"><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#521-紫色风格">5.2.1 紫色风格</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#522-蓝色风格">5.2.2 蓝色风格</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#523-深蓝风格">5.2.3 深蓝风格</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#524-黑色风格">5.2.4 黑色风格</a></div><ul class="outline-children"></ul></li></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#53-模块效果图">5.3 模块效果图</a></div><ul class="outline-children"><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#531-产量汇总">5.3.1 产量汇总</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#532-当月计划">5.3.2 当月计划</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#533-设备监控">5.3.3 设备监控</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4 outline-item-open"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#534-模具进度">5.3.4 模具进度</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#535-负荷分布">5.3.5 负荷分布</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#536-送检合格">5.3.6 送检合格</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#537-品质管理">5.3.7 品质管理</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#538-物料管理">5.3.8 物料管理</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#539-视频监控">5.3.9 视频监控</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#5310-大屏地图">5.3.10 大屏地图</a></div><ul class="outline-children"><li class="outline-item-wrapper outline-h5"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#53101闪烁效果">5.3.10.1闪烁效果</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h5"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#53102-迁徙效果">5.3.10.2 迁徙效果</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h5"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#53103-世界地图">5.3.10.3 世界地图</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h5"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#53104-区域地图">5.3.10.4 区域地图</a></div><ul class="outline-children"></ul></li></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#5311-系统设置">5.3.11 系统设置</a></div><ul class="outline-children"></ul></li></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#54-控件效果图">5.4 控件效果图</a></div><ul class="outline-children"><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#541-标准曲线">5.4.1 标准曲线</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4 outline-item-open"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#542-曲线面积">5.4.2 曲线面积</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#543-模拟曲线">5.4.3 模拟曲线</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#544-标准柱状">5.4.4 标准柱状</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#545-柱状堆积">5.4.5 柱状堆积</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4 outline-item-open"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#546-柱状分组">5.4.6 柱状分组</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#547-横向柱状">5.4.7 横向柱状</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#548-横向分组">5.4.8 横向分组</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#549-数据曲线">5.4.9 数据曲线</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#5410-平滑曲线">5.4.10 平滑曲线</a></div><ul class="outline-children"></ul></li></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#55-数据库效果图">5.5 数据库效果图</a></div><ul class="outline-children"><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#551-数据库-sqlite">5.5.1 数据库-sqlite</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#552-数据库-mysql">5.5.2 数据库-mysql</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#553-数据库-sqlserver">5.5.3 数据库-sqlserver</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#554-数据库-postgresql">5.5.4 数据库-postgresql</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#555-数据库-oracle">5.5.5 数据库-oracle</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#556-数据库-kingbase">5.5.6 数据库-kingbase</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#557-数据库-远程访问">5.5.7 数据库-远程访问</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#558-数据库-odbc">5.5.8 数据库-odbc</a></div><ul class="outline-children"></ul></li></ul></li><li class="outline-item-wrapper outline-h3"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#56-各系统运行图">5.6 各系统运行图</a></div><ul class="outline-children"><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#561-windows-mingw">5.6.1 windows-mingw</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#562-windows-msvc">5.6.2 windows-msvc</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#563-linux-ubuntu">5.6.3 linux-ubuntu</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#564-linux-uos">5.6.4 linux-uos</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#565-linux-kylin">5.6.5 linux-kylin</a></div><ul class="outline-children"></ul></li><li class="outline-item-wrapper outline-h4"><div class="outline-item"><span class="outline-expander"></span><a class="outline-label" href="#566-unix-mac">5.6.6 unix-mac</a></div><ul class="outline-children"></ul></li></ul></li></ul></li></div></div><div id='write' class=''><h2 id='0-前言'><span>0 前言</span></h2><h3 id='01-编译说明'><span>0.1 编译说明</span></h3><ol start='' ><li><span>编译后可执行文件在和源码文件夹同级目录的bin文件夹下,配置文件bigscreen.ini文件在可执行文件所在目录下的config文件夹下,数据库文件在可执行文件所在目录下的db文件夹下。</span></li><li><span>编译后记得将源码下的file文件夹下的所有文件复制到可执行文件同一目录。</span></li><li><span>大屏中用到了视频监控模块,所以还需要拷贝ffmpeg的动态库文件到可执行文件同一目录,编译成功后记得将dll_ffmpeg4(64位的构建套件对应的是dll_ffmpeg4_64)对应目录下的库复制到可执行文件同一目录。如果是linux系统则那些exe和dll都不需要拷贝,那个是ffmpeg对应win的运行库,linux上采用的静态库。</span></li><li><span>dll+lib 链接: </span><a href='https://pan.baidu.com/s/13LDRu6mXC6gaADtrGprNVA' target='_blank' class='url'>https://pan.baidu.com/s/13LDRu6mXC6gaADtrGprNVA</a><span> 提取码: ujm7。</span></li><li><span>如果程序异常结束并提示 miniblink.dll 文件不存在请先拷贝,你还需要在dll+lib下载地址的地方找到 dll_miniblink.zip 下载并解压出来拷贝文件到可执行文件目录。一般这个是因为你用的mingw编译器,win+qt5.6以上+mingw编译器,没有浏览器控件,采用的miniblink第三方浏览器控件。</span></li><li><span>如果是linux系统,记得将ffmpeg目录下的linuxlib 找到你系统的版本位数,将文件夹版本位数去掉,比如你操作系统是ubuntu16.04 64位的,则将linuxlib16.04.64改成linuxlib即可,这些是ffmpeg对应linux系统的静态库。</span></li><li><span>当然你也可以选择不启用视频监控模块,只需要将pro中的videoffmpeg改成videoffmpeg1即可。</span></li><li><span>目录下的bigscreen.sql为数据库脚本,可以在系统设置中单击初始化数据来执行。bigscreen_mysql.sql脚本为Navicat工具对应的导入脚本。</span></li><li><span>如果发现地图打不开,请先确认file目录下的所有文件有没有拷贝过去,还有就是将MapBaiDu::Instance()->setSaveFile(false); 改成true;</span></li><li><span>如果是用vs+qt可能报错 error LNK2026: 模块对于 SAFESEH 映像是不安全的。</span></li></ol><ul><li><span>第一步:打开该项目的“属性页”对话框。</span></li><li><span>第二步:单击“链接器”文件夹。</span></li><li><span>第三步:单击“命令行”属性页。</span></li><li><span>第四步:将 /SAFESEH:NO 键入“附加选项”框中,然后点击应用。</span></li></ul><h3 id='02-版本说明'><span>0.2 版本说明</span></h3><p><strong><span>V20210323</span></strong></p><ol start='' ><li><span>编写开发和使用说明书。</span></li><li><span>系统设置增加视频拉伸、视频循环播放等配置参数。</span></li><li><span>增加多屏幕支持,自动识别多个屏幕。</span></li><li><span>新增2K分辨率布局文件夹。</span></li><li><span>增加示例自定义添加多个窗体。</span></li><li><span>重新设计配置参数界面,重新拆分配置参数分组,使得更清晰明了。</span></li><li><span>新增停靠窗体默认尺寸占比,这样在没有布局文件以及新建布局文件的时候自动按照这个尺寸设置停靠窗体的位置,之前没有布局文件默认是挤在一块的。</span></li><li><span>配置文件密码改成密文存储。</span></li></ol><h3 id='03-体验地址'><span>0.3 体验地址</span></h3><ol start='' ><li><span>体验地址:</span><a href='https://pan.baidu.com/s/1d7TH_GEYl5nOecuNlWJJ7g' target='_blank' class='url'>https://pan.baidu.com/s/1d7TH_GEYl5nOecuNlWJJ7g</a><span> 提取码:01jf 文件名:bin_bigscreen.zip。</span></li><li><span>国内站点:</span><a href='https://gitee.com/feiyangqingyun' target='_blank' class='url'>https://gitee.com/feiyangqingyun</a></li><li><span>国际站点:</span><a href='https://github.com/feiyangqingyun' target='_blank' class='url'>https://github.com/feiyangqingyun</a></li><li><span>个人主页:</span><a href='https://blog.csdn.net/feiyangqingyun' target='_blank' class='url'>https://blog.csdn.net/feiyangqingyun</a></li><li><span>知乎主页:</span><a href='https://www.zhihu.com/people/feiyangqingyun' target='_blank' class='url'>https://www.zhihu.com/people/feiyangqingyun</a></li><li><span>在线文档:</span><a href='https://feiyangqingyun.gitee.io/qwidgetdemo/bigscreen' target='_blank' class='url'>https://feiyangqingyun.gitee.io/qwidgetdemo/bigscreen</a></li></ol><h3 id='04-功能特点'><span>0.4 功能特点</span></h3><ol start='' ><li><span>采用分层设计,整体总共分三级界面,一级界面是整体布局,二级界面是单个功能模块,三级界面是单个控件。</span></li><li><span>子控件包括饼图+圆环图+曲线图+柱状图+柱状分组图+横向柱状图+横向柱状分组图+合格率控件+百分比控件+进度控件+设备状态面板+表格数据+地图控件+视频控件等。</span></li><li><span>二级界面可以自由拖动悬浮,支持最小化最大化关闭,响应双击自定义标题栏。</span></li><li><span>数据源支持模拟数据(默认)、数据库采集、串口通信(需定制)、网络通信(需定制)、网络请求等,可自由设定每个子界面的采集间隔即数据刷新频率。</span></li><li><span>采用纯QWidget编写,亲测Qt4.6到Qt5.15任意版本,理论上支持后续其他Qt版本,亲测win+linux+mac+uos+kylin等系统,效果完美,同时还支持嵌入式linux比如树莓派、香橙派、全志、imx6等。</span></li><li><span>同时集成了自定义控件+qchart饼图+echart地图功能。</span></li><li><span>内置多套配色风格样式(紫色、蓝色、深蓝、黑色),默认紫色,支持任何分辨率。</span></li><li><span>可设置标题+目标分辨率+布局方案,启动立即应用。</span></li><li><span>可设置主背景颜色+面板颜色+十字线游标颜色。</span></li><li><span>可设置多条曲线颜色,没有设置颜色的情况下内置15套精美颜色随机应用。</span></li><li><span>可设置标题栏背景颜色+文字颜色。</span></li><li><span>可设置曲线图表背景颜色+文字颜色+网格颜色。</span></li><li><span>可设置正常颜色+警戒颜色+报警颜色+禁用颜色+百分比进度颜色。</span></li><li><span>可分别设置各种字体大小,比如全局+软件名称+标题栏+子标题栏+加粗标签等。</span></li><li><span>可设置标题栏高度+表头高度+行高度。</span></li><li><span>曲线支持游标+悬停高亮数据点和显示值,柱状图支持顶部(可设置顶端+上部+中间+底部)显示数据,全部自适应计算位置。</span></li><li><span>主界面直接鼠标右键切换布局+配色方案+关闭开启某个二级窗体。</span></li><li><span>自动记忆所有子窗口的大小和位置,下次启动立即应用。</span></li><li><span>动态加载布局方案菜单,可以动态新建布局、恢复布局、保存布局、另存布局等,用户可以制造任意布局。</span></li><li><span>二级窗体,双击从主窗体分离出来浮动,可以自由调整大小。再次双击标题栏最大化,再次双击还原,相当于子模块也可以全屏显示作为一个大屏,这样就可以一个大屏拓展出多个子大屏,放大查看子模块的数据详情。</span></li><li><span>每个模块都可以自定义采集速度,如果是数据库采集会自动排队处理,后期还可以拓展每个子模块都独立的数据库采集。</span></li><li><span>提供系统设置窗口进行整体的配置参数设置。</span></li><li><span>支持多屏幕,可以将某个模块剥离出来放在独立的屏幕最大化。</span></li><li><span>提供精美炫酷的大屏地图模块,包括静态图片+闪烁效果+迁徙效果+世界地图+区域地图等,可指定点的经纬度坐标,识别单击响应,可以做地图跳转等,每个点都可以不同的颜色和提示信息,功能超牛逼。</span></li><li><span>除了提供大屏系统外,还将每个模块都做了独立的模块示例界面,每个模块都可以独立学习使用,里面用到的控件也单独做了控件示例界面,方便学习每个控件如何使用,考虑着实周到。</span></li><li><span>超级详细的开发和使用手册,其中包括详细的数据库说明、模块对照图、控件对照图、项目结构代码说明、使用方法等。</span></li></ol><p> </p><h2 id='1-操作说明'><span>1 操作说明</span></h2><h3 id='11-使用方法'><span>1.1 使用方法</span></h3><p><span> 系统支持多种数据源,比如数据库采集、http请求、串口通信、网络通信、模拟数据等,为了简化测试过程,默认内置采用的是模拟数据。</span></p><h4 id='111-启动窗体'><span>1.1.1 启动窗体</span></h4><p><span> 系统内置了多种启动窗体,默认大屏系统,可以通过鼠标右键菜单进入系统设置,启动窗体下拉框选择进行切换,切换后会自动重启应用,还可选择控件演示、模块演示,在控件演示和模块演示窗体中,左侧是对应子窗体导航,会自动记住最后选中的子界面索引。</span></p><p><span> </span><img src="snap/1-1-1-1.jpg" referrerpolicy="no-referrer">
|
||
<span>大屏系统效果图:</span></p><p><span> </span><img src="snap/1-1-1-2.jpg" referrerpolicy="no-referrer">
|
||
<span>模块演示效果图:</span></p><p><span> </span><img src="snap/1-1-1-3.jpg" referrerpolicy="no-referrer">
|
||
<span>控件演示效果图:</span></p><p><span> </span><img src="snap/1-1-1-4.jpg" referrerpolicy="no-referrer"></p><h4 id='112-系统菜单'><span>1.1.2 系统菜单</span></h4><p><span> 在大屏的顶部中间标题栏或者子模块以外的标题栏,鼠标右键弹出的是系统的菜单,包括布局切换和样式切换等。</span></p><p><span> </span><img src="snap/1-1-2-1.jpg" referrerpolicy="no-referrer">
|
||
<span> </span><img src="snap/1-1-2-2.jpg" referrerpolicy="no-referrer"></p><h4 id='113-模块菜单'><span>1.1.3 模块菜单</span></h4><p><span> </span><img src="snap/1-1-3-1.jpg" referrerpolicy="no-referrer">
|
||
<span> </span><img src="snap/1-1-3-2.jpg" referrerpolicy="no-referrer">
|
||
<span> 在模块的标题栏,鼠标右键弹出的是模块可视化的菜单,这个是Qt内置生成的,加载了多少个子模块就会生成多少个菜单项,可以对每个模块进行显示隐藏切换。</span></p><h4 id='114-布局切换'><span>1.1.4 布局切换</span></h4><p><span> 在弹出的系统菜单选择布局方案,在弹出的二级菜单选择默认已经设置好的布局方案,直接切换即可。</span></p><h4 id='115-新建布局'><span>1.1.5 新建布局</span></h4><p><span> 在弹出的系统菜单选择新建布局,在弹出的框中输入布局名称,确认后,自由拖动调整模块位置,打开模块、隐藏模块,之后单击保存布局即可。</span></p><h4 id='116-全局换肤'><span>1.1.6 全局换肤</span></h4><p><span> 在弹出的系统菜单选择配色方案,在弹出的二级菜单选择对应的配色方案,默认有四种:紫色风格、蓝色风格、深蓝风格、黑色风格。</span></p><h4 id='117-模块拖动'><span>1.1.7 模块拖动</span></h4><p><span> 鼠标移动到子模块的标题栏,鼠标按下可以拖动这个模块到任意位置,模块也可以拖动独立位置展示,也可以嵌入到对应布局中,拖动好位置以后自动保存到布局方案,下次启动自动应用。双击模块标题栏可以剥离窗体使之悬浮。</span></p><h4 id='118-调整间距'><span>1.1.8 调整间距</span></h4><p><span> 鼠标移动到模块与模块的边缘,鼠标变成调整间距样式,可以左右或者上下拉动,调整好间距以后自动保存到布局方案,下次启动自动应用。</span></p><h3 id='12-系统设置'><span>1.2 系统设置</span></h3><p><span> </span><img src="snap/1-2-1.jpg" referrerpolicy="no-referrer">
|
||
<strong><span>系统设置中的参数,可能会不定期做调整和修改及增加,下面的图示和参数描述未必全部一致,以最新的为准。</span></strong></p><h4 id='121-基本设置'><span>1.2.1 基本设置</span></h4><p><span> </span><img src="snap/1-2-1-1.jpg" referrerpolicy="no-referrer"></p><ol start='' ><li><span>开机启动:默认关闭,开启后软件会随系统启动而启动。</span></li><li><span>模块拖动:默认开启,开启后模块可以自由拖动到合适的位置松开,一般在布局固定后在关闭,防止使用者在现场又托乱了。</span></li><li><span>切左下角:开启裁掉左下角以后,左侧底部和整体底部合并为一体,作为全局底部的一部分,就可以拖动模块到左侧底部,否则左侧底部作为左侧的一部分。</span></li><li><span>切右下角:开启裁掉右下角以后,右侧底部和整体底部合并为一体,作为全局底部的一部分,就可以拖动模块到右侧底部,否则右侧底部作为右侧的一部分。</span></li><li><span>定位线条:系统中曲线图表内置了定位线条,比如1月份,方便查看,可以开启。</span></li><li><span>百分符号:系统中曲线图表Y轴,有时候需要按照 100% 后面带百分比符号显示。</span></li><li><span>隐藏鼠标:鼠标未操作多久自动隐藏鼠标指针,默认5秒钟。</span></li><li><span>启动窗体:选择程序运行的启动窗体,默认大屏系统,还可选择控件演示、模块演示。</span></li><li><span>工作模式:默认工作模式是模拟数据,还可以选择数据库采集、串口采集(未实现)、网络采集(未实现)、网络请求。</span></li><li><span>地图样式:可选择静态图片、闪烁效果、迁徙效果、世界地图、区域地图多种样式,如果没有开启浏览器模块则自动采用静态图片的方式,区域地图默认是江西省吉安市,可以在代码中修改。</span></li><li><span>布局方案:和系统右键菜单中的布局方案功能一样。</span></li><li><span>软件标题:软件的标题文字,显示在软件中间顶部。</span></li><li><span>请求地址:工作模式选择网络请求的时候发送的网络请求地址。</span></li></ol><h4 id='122-视频设置'><span>1.2.2 视频设置</span></h4><ol start='' ><li><span>视频循环:开启后设定的视频打开后会循环播放。</span></li><li><span>视频拉伸:开启后视频会填充整个窗体拉伸图像,否则按照比例自动拉伸。</span></li><li><span>视频回调:开启后采用CPU绘制图像,部分设备没有GPU需要开启。</span></li><li><span>视频循环:开启后会不断循环播放视频文件。</span></li><li><span>视频地址:视频窗体对应的视频地址,可以下拉选择内置的一些地址,也可以手动填写,如果多个视频窗口则自己增加对应的配置参数,支持本地视频文件、USB摄像头、网络摄像头、视频流地址等各种。</span></li></ol><p><span> </span><img src="snap/1-2-2-1.jpg" referrerpolicy="no-referrer">
|
||
<span> </span><img src="snap/1-2-2-2.jpg" referrerpolicy="no-referrer"></p><h4 id='123-采集间隔设置'><span>1.2.3 采集间隔设置</span></h4><p><span> </span><img src="snap/1-2-3-1.jpg" referrerpolicy="no-referrer">
|
||
<span>采集间隔设置不用做说明,一看就懂,单位毫秒,可定制每个模块都对应自己的采集方式、数据库、间隔等。</span></p><h4 id='124-数据库设置'><span>1.2.4 数据库设置</span></h4><p><span> </span><img src="snap/1-2-4-1.jpg" referrerpolicy="no-referrer">
|
||
<span> 理论上支持Qt支持的所有数据库,和具体程序无关,只要有对应的数据库的动态库和插件库就行,或者支持odbc数据源也可以,程序打通了odbc数据源的通信方式,所以支持各种数据库,可以先自己用对应的数据库工具连接数据库试试,通了数据库正常后在来测试程序。</span>
|
||
<span> 亲测 Sqlite(Qt内置无需额外动态库)、MySql(高版本Qt需要自行编译插件)、PostgreSQL(开源免费的数据库,很好用)、SqlServer(需要设置ODBC数据源)、kingbase(国产人大金仓数据库,该数据库其实是基于PostgreSQL改的,通过odbc数据源方式测试无误)。</span>
|
||
<span> 连接测试用来测试当前选择的数据库类型以及数据库信息,是否能连接数据库正常,可以避免数据库不通的情况下用来检测是否信息填写正确。</span>
|
||
<span> 初始化数据库按钮用来执行sql脚本来生成对应的数据库,部分数据库支持数据库文件不存在的情况下通过sql语句来创建数据库,比如mysql、postgres等就支持直接sql语句新建数据库,有部分数据库可能不支持,需要手动先在数据库管理工具中新建好数据库,然后再来这里执行初始化数据库用来新建表和初始数据。</span></p><h3 id='13-工作模式'><span>1.3 工作模式</span></h3><p><span> </span><img src="snap/1-3-1-1.jpg" referrerpolicy="no-referrer">
|
||
<span>本系统支持多种工作模式,以便适应各种需求,默认采用随机模拟数据,大屏基础版本也采用此工作模式。</span></p><h4 id='131-模拟数据'><span>1.3.1 模拟数据</span></h4><p><span>如果工作模式选择的是模拟数据,则采用随机数模拟生成数据并设置。</span></p><h4 id='132-数据库采集'><span>1.3.2 数据库采集</span></h4><p><strong><span>具体数据库表字段说明参见后面的数据库说明。</span></strong>
|
||
<span> 如果工作模式选择的是数据库采集,则会自动连接设置的数据库,可以用对应的数据库管理工具连接数据库,打开对应的表,然后更改其中的数据,保存,可看到对应的数据反应到界面上。</span>
|
||
<span> 系统支持一个系统下的软件远程访问另一个系统下的数据库,比如linux系统或者mac系统远程访问win系统上的mysql数据库,数据库也可以放在云端比如阿里云(亲测无误),只要对应IP和端口可达就行,验证是否可达可以用对应的数据库管理工具连接即可。</span>
|
||
<span> 理论上odbc的方式支持多种数据库,比如sql server,oracle,postgresql等,所以如果没有插件支持的数据库可以考虑用odbc的方式,odbc也是跨平台的。</span></p><p><span>如果需要远程访问mysql数据库,mysql数据库需要设置用户 root@%</span></p><p><span> </span><img src="snap/1-3-2-1.jpg" referrerpolicy="no-referrer">
|
||
<span>sql server数据库的配置规则,下面的链接只是参考,基本上正常电脑安装好以后都不需要下面的配置。</span>
|
||
<a href='https://blog.csdn.net/mozhi111/article/details/80281388' target='_blank' class='url'>https://blog.csdn.net/mozhi111/article/details/80281388</a>
|
||
<a href='https://blog.csdn.net/happymagic/article/details/8673476' target='_blank' class='url'>https://blog.csdn.net/happymagic/article/details/8673476</a></p><p><span>远程访问sql server数据库,需要在运行软件的电脑上也需要配置数据源,不然很可能无法访问。</span></p><p><strong><span>sql server数据库配置步骤</span></strong></p><ol start='' ><li><span>第一步:安装好sql server数据库,比如sql server 2014,设置混合验证模式并设置密码。</span></li><li><span>第二步:打开sql server management studio,左侧,新建数据库bigscreen。</span></li><li><span>第三步:新建odbc数据源,cmd执行命令odbcad32打开数据源配置,命名为bigscreen,关联到数据库bigscreen。</span>
|
||
<span>切记:Qt中连接mysql采用的odbc方式,数据库名填写的是数据源中的名称,而不是数据库中的数据库名称,比如数据源名字是aaa,关联到数据库bbb,连接的数据库名称是填写aaa而不是bbb。</span></li></ol><p><span>安装PostgreSQL数据库之后,默认只能本地访问连接。如果想在其他主机上访问PostgreSQL数据库服务器,就需要进行相应的配置。</span>
|
||
<a href='https://blog.csdn.net/weixin_36816337/article/details/81739819' target='_blank' class='url'>https://blog.csdn.net/weixin_36816337/article/details/81739819</a></p><p><span> </span><img src="snap/1-3-2-2.jpg" referrerpolicy="no-referrer">
|
||
<span>人大金仓数据库kingbase,其实就是postgresql数据库改的,如果是WIN10系统建议安装在系统盘以外,不然没有权限,导致奇奇怪怪的问题。</span></p><p><strong><span>特别提示</span></strong>
|
||
<span> 数据库有位数区分,如果是32位的qt,对应打包目录要放32位的数据库的dll,比如放32位的libmysql.dll,不然会提示找不到驱动,而无论32位还是64位的qt程序,都能连接64位的数据库。 </span>
|
||
<span> 意思是在开发阶段,必须放正确位数的dll,而数据库只需要安装64位的即可。sqlserver数据库采用odbc数据源的方式进行连接,而且是微软亲生的,估计在系统层做了无微不至的关怀,qt程序发布的时候啥也不用带。</span></p><h4 id='133-串口采集'><span>1.3.3 串口采集</span></h4><p><span>需要定制协议,比如RS232、RS485、Modbus、Mqtt等</span></p><h4 id='134-网络采集'><span>1.3.4 网络采集</span></h4><p><span>需要定制协议,比如tcp client、tcp server、udp client、udp server、websocket等。</span></p><h4 id='135-网络请求'><span>1.3.5 网络请求</span></h4><p><span> </span><img src="snap/1-3-5-1.jpg" referrerpolicy="no-referrer">
|
||
<span> 找到bigscreen可执行文件所在目录下的httpserver文件,双击运行,切换到网络请求服务器页面,回复数据选择文件内容,单击启动服务器,左侧消息栏可以看到实时打印的数据,从json文件读取的数据,实际中可以是从数据库中采集的数据等。</span>
|
||
<span> 网络请求客户端/服务器工具httpserver,也是纯Qt编写的工具。</span></p><p><strong><span>功能特点</span></strong></p><ol start='' ><li><span>支持多个客户端连接并发同时处理,100个毫无压力。</span></li><li><span>可设置http请求是长连接还是短连接,默认长连接。</span></li><li><span>支持多种回复数据格式,其中包括网页内容、json数据等。</span></li><li><span>服务端示例中同时包含读取文件回复、读取数据库回复。</span></li><li><span>支持8种配色方案(暗黑、灰黑、深绿、浅黄、深蓝、深黑、暗蓝、默认)。</span></li><li><span>客户端可指定请求地址,服务端可指定网卡和端口进行监听。</span></li><li><span>所有请求和连接都有计数,所有在线请求的IP和端口都显示在表格中。</span></li><li><span>可以提供一个简易的网页配置服务,包括交互,作为设备的web配置。</span></li><li><span>可自由拓展增加权限校验等,作为一个http请求服务器。</span></li><li><span>纯Qt实现,代码框架整洁,注释完整,支持任意Qt版本、任意编译器、任意操作系统。</span></li></ol><h4 id='136-请求格式'><span>1.3.6 请求格式</span></h4><p><span>请求地址:</span><a href='http://127.0.0.1:6000' target='_blank' class='url'>http://127.0.0.1:6000</a><span> 可以自行在系统设置中更改。</span></p><h5 id='1361-请求数据'><span>1.3.6.1 请求数据</span></h5><p><span>tag=t_1_1_mold_prod_total&tableName=t_1_1_mold_prod_total&columnName=name,prod_1,prod_2</span>
|
||
<span>名称</span><span> </span><span>说明</span>
|
||
<span>tag</span><span> </span><span>标识符,用于服务端接收到请求后按照这个标识符返回数据,这里内容填的是具体的表名,方便收到数据直接解析并发送信号到对应模块窗体显示数据。</span>
|
||
<span>tableName</span><span> </span><span>要查询的表名。</span>
|
||
<span>columnName</span><span> </span><span>对应表的字段名称集合,用英文逗号隔开。</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>名称</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>tag</span></td><td style='text-align:left;' ><span>标识符,用于服务端接收到请求后按照这个标识符返回数据,这里内容填的是具体的表名,方便收到数据直接解析并发送信号到对应模块窗体显示数据。</span></td></tr><tr><td style='text-align:left;' ><span>tableName</span></td><td style='text-align:left;' ><span>要查询的表名。</span></td></tr><tr><td style='text-align:left;' ><span>columnName</span></td><td style='text-align:left;' ><span>对应表的字段名称集合,用英文逗号隔开。</span></td></tr></tbody></table></figure><p><span>其他表请求格式完全一致。</span></p><h5 id='1362-返回数据'><span>1.3.6.2 返回数据</span></h5><p><span>{</span><span>"</span><span>tag</span><span>"</span><span>:</span><span>"</span><span>t_1_1_mold_prod_total</span><span>"</span><span>, </span><span>"</span><span>result</span><span>"</span><span>:[{</span><span>"</span><span>internal_id</span><span>"</span><span>:1, </span><span>"</span><span>name</span><span>"</span><span>:</span><span>"</span><span>设变", </span><span>"</span><span>prod_1</span><span>"</span><span>:16, </span><span>"</span><span>prod_2</span><span>"</span><span>:12}, {</span><span>"</span><span>internal_id</span><span>"</span><span>:2, </span><span>"</span><span>name</span><span>"</span><span>:</span><span>"</span><span>修模</span><span>"</span><span>, </span><span>"</span><span>prod_1</span><span>"</span><span>:20, </span><span>"</span><span>prod_2</span><span>"</span><span>:25}, {</span><span>"</span><span>internal_id</span><span>"</span><span>:3, </span><span>"</span><span>name</span><span>"</span><span>:</span><span>"</span><span>新模</span><span>"</span><span>, </span><span>"</span><span>prod_1</span><span>"</span><span>:40, </span><span>"</span><span>prod_2</span><span>"</span><span>:25}]}</span>
|
||
<span>名称</span><span> </span><span>说明</span>
|
||
<span>tag</span><span> </span><span>唯一标识符,用于标识当前接收到哪个请求的回复数据,对方请求的时候会发过来。</span>
|
||
<span>result</span><span> </span><span>结果数组,内容按照表格行一行行包装的数据。</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>名称</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>tag</span></td><td style='text-align:left;' ><span>唯一标识符,用于标识当前接收到哪个请求的回复数据,对方请求的时候会发过来。</span></td></tr><tr><td style='text-align:left;' ><span>result</span></td><td style='text-align:left;' ><span>结果数组,内容按照表格行一行行包装的数据。</span></td></tr></tbody></table></figure><h5 id='1363-整体流程'><span>1.3.6.3 整体流程</span></h5><p><span> 客户端发送请求,指定了唯一标识符+表名+要查询的字段名称集合,服务器收到请求后,解析表名+字段名称集合,从数据库中查询对应的内容组成json字符串返回,带上唯一标识符。</span>
|
||
<span> 具体解析数据在datahttp类中,如果是自定义的表和字段,则需要在datahttp类中的initTable方法自行添加表名和字段名即可,非常方便,一个表只需要增加一行代码。</span></p><h4 id='137-拓展构想'><span>1.3.7 拓展构想</span></h4><p><span> 现在数据采集无论是数据库采集还是网络请求采集,对应的表名和字段名都是写死在代码中,尽管目前已经封装好了可以自行添加表和字段,但是还不够通用,后期打算通过从配置文件读取。</span></p><h3 id='14-其他说明'><span>1.4 其他说明</span></h3><ol start='' ><li><span>可执行文件同级文件夹有layout+layout_1440+layout_1920,程序默认自动识别分辨率并加载对应的布局文件夹,比如1920分辨率则从layout_1920文件夹加载布局,并作为整体布局文件夹。</span></li><li><span>如果发现布局拖动乱了,可以直接鼠标右键选择恢复布局即可,在保存布局以前。</span></li><li><span>在中间地图模块鼠标右键可以弹出菜单,切换布局和配色方案等。</span></li><li><span>在模块的标题栏上右键可以弹出默认的dock菜单,用来显示和隐藏各模块。</span></li><li><span>软件关闭过程中会自动保存布局,下次启动以后自动应用。</span></li><li><span>如果使用的默认的配色方案比如紫色风格,则配置文件中的颜色全部无效,会自动应用代码中的颜色,如果需要启用自定义的颜色,则需要先将配置文件的皮肤参数修改成 Theme=\x81ea\x5b9a\x4e49\x98ce\x683c 即可。此时打开软件会应用配置文件中的颜色。</span></li><li><span>右键菜单可以截图保存,默认命名为 配色方案名称_布局方案名称.png 保存在snap目录下。</span></li><li><span>在二级窗体的标题栏上右键弹出模块菜单,可以对单个模块打开关闭,其他地方右键全局菜单。</span></li></ol><h2 id='2-数据库说明'><span>2 数据库说明</span></h2><p><span> 数据库表的设计按照模块的顺序,比如frmmodule1主模块中包括4个子模块,每个子模块都对应一个表,所有表名的前缀是 t_ 以便区分,第一个数字表示主模块编号,第二个数字表示子模块编号。</span>
|
||
<span>表名格式如下:</span></p><ul><li><span>t_1_1_mold_prod_total</span></li><li><span>t_1_2_mold_prod_monthly</span></li><li><span>t_1_3_wp_prod_total</span></li><li><span>t_1_4_wp_prod_monthly。</span></li></ul><p><span>源码目录下的bigscreen.sql为数据库脚本,可以在系统设置中单击初始化数据来执行。</span>
|
||
<span>如果是需要对接自己的系统,可能涉及到部分数据不一致的情况,你可以:</span>
|
||
<span>第一:尽量用现有的表,现有的表各种各样都有,你找到你类似的往里面填数据就行。</span>
|
||
<span>第二:如果没有合适的表,则需要调整对应的模块代码。</span></p><h3 id='21-产量汇总模块'><span>2.1 产量汇总模块</span></h3><p><span> </span><img src="snap/2-1-1.jpg" referrerpolicy="no-referrer"></p><p><span>子模块表名对应表:</span>
|
||
<span>子模块标题</span><span> </span><span>子模块表名</span>
|
||
<span>模具产量</span><span> </span><span>t_1_1_mold_prod_total</span>
|
||
<span>每月模具产量趋势图</span><span> </span><span>t_1_2_mold_prod_monthly</span>
|
||
<span>零件产量</span><span> </span><span>t_1_3_wp_prod_total</span>
|
||
<span>每月零件产量趋势图</span><span> </span><span>t_1_4_wp_prod_monthly</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>子模块标题</span></th><th style='text-align:left;' ><span>子模块表名</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>模具产量</span></td><td style='text-align:left;' ><span>t_1_1_mold_prod_total</span></td></tr><tr><td style='text-align:left;' ><span>每月模具产量趋势图</span></td><td style='text-align:left;' ><span>t_1_2_mold_prod_monthly</span></td></tr><tr><td style='text-align:left;' ><span>零件产量</span></td><td style='text-align:left;' ><span>t_1_3_wp_prod_total</span></td></tr><tr><td style='text-align:left;' ><span>每月零件产量趋势图</span></td><td style='text-align:left;' ><span>t_1_4_wp_prod_monthly</span></td></tr></tbody></table></figure><h4 id='211-模具产量'><span>2.1.1 模具产量</span></h4><p><span> </span><img src="snap/2-1-1-1.jpg" referrerpolicy="no-referrer"></p><p><span>表名:t_1_1_mold_prod_total</span>
|
||
<span>字段名</span><span> </span><span>中文名</span><span> </span><span>类型</span><span> </span><span>长度</span><span> </span><span>说明</span>
|
||
<span>internal_id</span><span> </span><span>序号</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>主键自增</span>
|
||
<span>name</span><span> </span><span>名称</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span><span>不为空</span>
|
||
<span>prod_1</span><span> </span><span>系列1</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span>
|
||
<span>prod_2</span><span> </span><span>系列2</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段名</span></th><th style='text-align:left;' ><span>中文名</span></th><th style='text-align:left;' ><span>类型</span></th><th style='text-align:left;' ><span>长度</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>internal_id</span></td><td style='text-align:left;' ><span>序号</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>主键自增</span></td></tr><tr><td style='text-align:left;' ><span>name</span></td><td style='text-align:left;' ><span>名称</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' ><span>不为空</span></td></tr><tr><td style='text-align:left;' ><span>prod_1</span></td><td style='text-align:left;' ><span>系列1</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>:------</span></td></tr><tr><td style='text-align:left;' ><span>prod_2</span></td><td style='text-align:left;' ><span>系列2</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>:------</span></td></tr></tbody></table></figure><p><span>默认数据:</span>
|
||
<span>internal_id</span><span> </span><span>name</span><span> </span><span>prod_1</span><span> </span><span>prod_2</span>
|
||
<span>1</span><span> </span><span>设变</span><span> </span><span>14</span><span> </span><span>12</span>
|
||
<span>2</span><span> </span><span>修模</span><span> </span><span>20</span><span> </span><span>25</span>
|
||
<span>3</span><span> </span><span>新模</span><span> </span><span>40</span><span> </span><span>25</span></p><h4 id='212-每月模具产量趋势图'><span>2.1.2 每月模具产量趋势图</span></h4><p><span> </span><img src="snap/2-1-2-1.jpg" referrerpolicy="no-referrer"></p><p><span>表名:t_1_2_mold_prod_monthly</span>
|
||
<span>字段名</span><span> </span><span>中文名</span><span> </span><span>类型</span><span> </span><span>长度</span><span> </span><span>说明</span>
|
||
<span>internal_id</span><span> </span><span>序号</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>主键自增</span>
|
||
<span>year</span><span> </span><span>年份</span><span> </span><span>INTEGER</span><span> </span><span>4</span><span> </span><span>不为空</span>
|
||
<span>month</span><span> </span><span>月份</span><span> </span><span>INTEGER</span><span> </span><span>4</span><span> </span><span>不为空</span>
|
||
<span>prod_1</span><span> </span><span>系列1</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span>
|
||
<span>prod_2</span><span> </span><span>系列2</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span>
|
||
<span>prod_3</span><span> </span><span>系列3</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段名</span></th><th style='text-align:left;' ><span>中文名</span></th><th style='text-align:left;' ><span>类型</span></th><th style='text-align:left;' ><span>长度</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>internal_id</span></td><td style='text-align:left;' ><span>序号</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>主键自增</span></td></tr><tr><td style='text-align:left;' ><span>year</span></td><td style='text-align:left;' ><span>年份</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>4</span></td><td style='text-align:left;' ><span>不为空</span></td></tr><tr><td style='text-align:left;' ><span>month</span></td><td style='text-align:left;' ><span>月份</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>4</span></td><td style='text-align:left;' ><span>不为空</span></td></tr><tr><td style='text-align:left;' ><span>prod_1</span></td><td style='text-align:left;' ><span>系列1</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>:------</span></td></tr><tr><td style='text-align:left;' ><span>prod_2</span></td><td style='text-align:left;' ><span>系列2</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>:------</span></td></tr><tr><td style='text-align:left;' ><span>prod_3</span></td><td style='text-align:left;' ><span>系列3</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>:------</span></td></tr></tbody></table></figure><p><span>默认数据:</span>
|
||
<span>internal_id</span><span> </span><span>year</span><span> </span><span>month</span><span> </span><span>prod_1</span><span> </span><span>prod_2</span><span> </span><span>prod_3</span>
|
||
<span>1</span><span> </span><span>2018</span><span> </span><span>5月</span><span> </span><span>32</span><span> </span><span>54</span><span> </span><span>80</span>
|
||
<span>2</span><span> </span><span>2018</span><span> </span><span>6月</span><span> </span><span>42</span><span> </span><span>34</span><span> </span><span>33</span>
|
||
<span>3</span><span> </span><span>2018</span><span> </span><span>7月</span><span> </span><span>45</span><span> </span><span>62</span><span> </span><span>44</span>
|
||
<span>4</span><span> </span><span>2018</span><span> </span><span>8月</span><span> </span><span>23</span><span> </span><span>38</span><span> </span><span>65</span>
|
||
<span>5</span><span> </span><span>2018</span><span> </span><span>9月</span><span> </span><span>12</span><span> </span><span>12</span><span> </span><span>77</span>
|
||
<span>6</span><span> </span><span>2018</span><span> </span><span>10月</span><span> </span><span>22</span><span> </span><span>33</span><span> </span><span>34</span>
|
||
<span>7</span><span> </span><span>2018</span><span> </span><span>11月</span><span> </span><span>23</span><span> </span><span>45</span><span> </span><span>22</span>
|
||
<span>8</span><span> </span><span>2018</span><span> </span><span>12月</span><span> </span><span>32</span><span> </span><span>65</span><span> </span><span>43</span>
|
||
<span>9</span><span> </span><span>2019</span><span> </span><span>1月</span><span> </span><span>12</span><span> </span><span>23</span><span> </span><span>65</span>
|
||
<span>10</span><span> </span><span>2019</span><span> </span><span>2月</span><span> </span><span>21</span><span> </span><span>77</span><span> </span><span>55</span>
|
||
<span>11</span><span> </span><span>2019</span><span> </span><span>3月</span><span> </span><span>22</span><span> </span><span>87</span><span> </span><span>33</span>
|
||
<span>12</span><span> </span><span>2019</span><span> </span><span>4月</span><span> </span><span>23</span><span> </span><span>45</span><span> </span><span>34</span></p><h4 id='213-零件产量'><span>2.1.3 零件产量</span></h4><p><span> </span><img src="snap/2-1-3-1.jpg" referrerpolicy="no-referrer"></p><p><span>表名:t_1_3_wp_prod_total</span>
|
||
<span>字段名</span><span> </span><span>中文名</span><span> </span><span>类型</span><span> </span><span>长度</span><span> </span><span>说明</span>
|
||
<span>internal_id</span><span> </span><span>序号</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>主键自增</span>
|
||
<span>name</span><span> </span><span>名称</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span><span>不为空</span>
|
||
<span>prod_1</span><span> </span><span>系列1</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span>
|
||
<span>prod_2</span><span> </span><span>系列2</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段名</span></th><th style='text-align:left;' ><span>中文名</span></th><th style='text-align:left;' ><span>类型</span></th><th style='text-align:left;' ><span>长度</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>internal_id</span></td><td style='text-align:left;' ><span>序号</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>主键自增</span></td></tr><tr><td style='text-align:left;' ><span>name</span></td><td style='text-align:left;' ><span>名称</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' ><span>不为空</span></td></tr><tr><td style='text-align:left;' ><span>prod_1</span></td><td style='text-align:left;' ><span>系列1</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>:------</span></td></tr><tr><td style='text-align:left;' ><span>prod_2</span></td><td style='text-align:left;' ><span>系列2</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>:------</span></td></tr></tbody></table></figure><p><span>默认数据:</span>
|
||
<span>internal_id</span><span> </span><span>name</span><span> </span><span>prod_1</span><span> </span><span>prod_2</span>
|
||
<span>1</span><span> </span><span>其他</span><span> </span><span>8544</span><span> </span><span>10000</span>
|
||
<span>2</span><span> </span><span>钢件</span><span> </span><span>1000</span><span> </span><span>5002</span>
|
||
<span>3</span><span> </span><span>电极</span><span> </span><span>2000</span><span> </span><span>3000</span></p><h4 id='214-每月零件产量趋势图'><span>2.1.4 每月零件产量趋势图</span></h4><p><span> </span><img src="snap/2-1-4-1.jpg" referrerpolicy="no-referrer"></p><p><span>表名:t_1_4_wp_prod_monthly</span>
|
||
<span>字段名</span><span> </span><span>中文名</span><span> </span><span>类型</span><span> </span><span>长度</span><span> </span><span>说明</span>
|
||
<span>internal_id</span><span> </span><span>序号</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>主键自增</span>
|
||
<span>year</span><span> </span><span>年份</span><span> </span><span>INTEGER</span><span> </span><span>4</span><span> </span><span>不为空</span>
|
||
<span>month</span><span> </span><span>月份</span><span> </span><span>INTEGER</span><span> </span><span>4</span><span> </span><span>不为空</span>
|
||
<span>prod_1</span><span> </span><span>系列1</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span>
|
||
<span>prod_2</span><span> </span><span>系列2</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span>
|
||
<span>prod_3</span><span> </span><span>系列3</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段名</span></th><th style='text-align:left;' ><span>中文名</span></th><th style='text-align:left;' ><span>类型</span></th><th style='text-align:left;' ><span>长度</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>internal_id</span></td><td style='text-align:left;' ><span>序号</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>主键自增</span></td></tr><tr><td style='text-align:left;' ><span>year</span></td><td style='text-align:left;' ><span>年份</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>4</span></td><td style='text-align:left;' ><span>不为空</span></td></tr><tr><td style='text-align:left;' ><span>month</span></td><td style='text-align:left;' ><span>月份</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>4</span></td><td style='text-align:left;' ><span>不为空</span></td></tr><tr><td style='text-align:left;' ><span>prod_1</span></td><td style='text-align:left;' ><span>系列1</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>:------</span></td></tr><tr><td style='text-align:left;' ><span>prod_2</span></td><td style='text-align:left;' ><span>系列2</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>:------</span></td></tr><tr><td style='text-align:left;' ><span>prod_3</span></td><td style='text-align:left;' ><span>系列3</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>:------</span></td></tr></tbody></table></figure><p><span>默认数据:</span>
|
||
<span>internal_id</span><span> </span><span>year</span><span> </span><span>month</span><span> </span><span>prod_1</span><span> </span><span>prod_2</span><span> </span><span>prod_3</span>
|
||
<span>1</span><span> </span><span>2018</span><span> </span><span>5月</span><span> </span><span>32</span><span> </span><span>54</span><span> </span><span>23</span>
|
||
<span>2</span><span> </span><span>2018</span><span> </span><span>6月</span><span> </span><span>42</span><span> </span><span>34</span><span> </span><span>30</span>
|
||
<span>3</span><span> </span><span>2018</span><span> </span><span>7月</span><span> </span><span>45</span><span> </span><span>62</span><span> </span><span>44</span>
|
||
<span>4</span><span> </span><span>2018</span><span> </span><span>8月</span><span> </span><span>23</span><span> </span><span>38</span><span> </span><span>65</span>
|
||
<span>5</span><span> </span><span>2018</span><span> </span><span>9月</span><span> </span><span>12</span><span> </span><span>12</span><span> </span><span>77</span>
|
||
<span>6</span><span> </span><span>2018</span><span> </span><span>10月</span><span> </span><span>22</span><span> </span><span>33</span><span> </span><span>34</span>
|
||
<span>7</span><span> </span><span>2018</span><span> </span><span>11月</span><span> </span><span>23</span><span> </span><span>45</span><span> </span><span>22</span>
|
||
<span>8</span><span> </span><span>2018</span><span> </span><span>12月</span><span> </span><span>32</span><span> </span><span>65</span><span> </span><span>43</span>
|
||
<span>9</span><span> </span><span>2019</span><span> </span><span>1月</span><span> </span><span>12</span><span> </span><span>23</span><span> </span><span>65</span>
|
||
<span>10</span><span> </span><span>2019</span><span> </span><span>2月</span><span> </span><span>21</span><span> </span><span>77</span><span> </span><span>55</span>
|
||
<span>11</span><span> </span><span>2019</span><span> </span><span>3月</span><span> </span><span>22</span><span> </span><span>87</span><span> </span><span>33</span>
|
||
<span>12</span><span> </span><span>2019</span><span> </span><span>4月</span><span> </span><span>23</span><span> </span><span>45</span><span> </span><span>34</span></p><h3 id='22-当月计划模块'><span>2.2 当月计划模块</span></h3><p><span> </span><img src="snap/2-2-1.jpg" referrerpolicy="no-referrer"></p><p><span>子模块表名对应表:</span>
|
||
<span>子模块标题</span><span> </span><span>子模块表名</span>
|
||
<span>模具达成率</span><span> </span><span>t_2_1_mold_achie_rate</span>
|
||
<span>零件达成率</span><span> </span><span>t_2_2_wp_achie_rate</span>
|
||
<span>零件数</span><span> </span><span>t_2_3_wp_achie_number</span>
|
||
<span>每日工序达成数</span><span> </span><span>t_2_4_process_achie_number</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>子模块标题</span></th><th style='text-align:left;' ><span>子模块表名</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>模具达成率</span></td><td style='text-align:left;' ><span>t_2_1_mold_achie_rate</span></td></tr><tr><td style='text-align:left;' ><span>零件达成率</span></td><td style='text-align:left;' ><span>t_2_2_wp_achie_rate</span></td></tr><tr><td style='text-align:left;' ><span>零件数</span></td><td style='text-align:left;' ><span>t_2_3_wp_achie_number</span></td></tr><tr><td style='text-align:left;' ><span>每日工序达成数</span></td><td style='text-align:left;' ><span>t_2_4_process_achie_number</span></td></tr></tbody></table></figure><h4 id='221-模具达成率'><span>2.2.1 模具达成率</span></h4><p><span> </span><img src="snap/2-2-1-1.jpg" referrerpolicy="no-referrer"></p><p><span>表名:t_2_1_mold_achie_rate</span>
|
||
<span>字段名</span><span> </span><span>中文名</span><span> </span><span>类型</span><span> </span><span>长度</span><span> </span><span>说明</span>
|
||
<span>internal_id</span><span> </span><span>序号</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>主键自增</span>
|
||
<span>plan</span><span> </span><span>计划数</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span>
|
||
<span>achieved</span><span> </span><span>达成数</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段名</span></th><th style='text-align:left;' ><span>中文名</span></th><th style='text-align:left;' ><span>类型</span></th><th style='text-align:left;' ><span>长度</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>internal_id</span></td><td style='text-align:left;' ><span>序号</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>主键自增</span></td></tr><tr><td style='text-align:left;' ><span>plan</span></td><td style='text-align:left;' ><span>计划数</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>:------</span></td></tr><tr><td style='text-align:left;' ><span>achieved</span></td><td style='text-align:left;' ><span>达成数</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>:------</span></td></tr></tbody></table></figure><p><span>默认数据:</span>
|
||
<span>internal_id</span><span> </span><span>plan</span><span> </span><span>achieved</span>
|
||
<span>1</span><span> </span><span>200</span><span> </span><span>110</span></p><h4 id='222-零件达成率'><span>2.2.2 零件达成率</span></h4><p><span> </span><img src="snap/2-2-2-1.jpg" referrerpolicy="no-referrer"></p><p><span>表名:t_2_2_wp_achie_rate</span>
|
||
<span>字段名</span><span> </span><span>中文名</span><span> </span><span>类型</span><span> </span><span>长度</span><span> </span><span>说明</span>
|
||
<span>internal_id</span><span> </span><span>序号</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>主键自增</span>
|
||
<span>name</span><span> </span><span>名称</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span><span>不为空</span>
|
||
<span>plan</span><span> </span><span>计划数</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span>
|
||
<span>achieved</span><span> </span><span>达成数</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段名</span></th><th style='text-align:left;' ><span>中文名</span></th><th style='text-align:left;' ><span>类型</span></th><th style='text-align:left;' ><span>长度</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>internal_id</span></td><td style='text-align:left;' ><span>序号</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>主键自增</span></td></tr><tr><td style='text-align:left;' ><span>name</span></td><td style='text-align:left;' ><span>名称</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' ><span>不为空</span></td></tr><tr><td style='text-align:left;' ><span>plan</span></td><td style='text-align:left;' ><span>计划数</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>:------</span></td></tr><tr><td style='text-align:left;' ><span>achieved</span></td><td style='text-align:left;' ><span>达成数</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>:------</span></td></tr></tbody></table></figure><p><span>默认数据:</span>
|
||
<span>internal_id</span><span> </span><span>name</span><span> </span><span>plan</span><span> </span><span>achieved</span>
|
||
<span>1</span><span> </span><span>模仁</span><span> </span><span>100</span><span> </span><span>200</span>
|
||
<span>2</span><span> </span><span>镶件</span><span> </span><span>122</span><span> </span><span>100</span>
|
||
<span>3</span><span> </span><span>辅件</span><span> </span><span>300</span><span> </span><span>500</span>
|
||
<span>4</span><span> </span><span>电极</span><span> </span><span>155</span><span> </span><span>200</span></p><h4 id='223-零件数'><span>2.2.3 零件数</span></h4><p><span> </span><img src="snap/2-2-3-1.jpg" referrerpolicy="no-referrer"></p><p><span>表名:t_2_3_wp_achie_number</span>
|
||
<span>字段名</span><span> </span><span>中文名</span><span> </span><span>类型</span><span> </span><span>长度</span><span> </span><span>说明</span>
|
||
<span>internal_id</span><span> </span><span>序号</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>主键自增</span>
|
||
<span>wp_achie_number</span><span> </span><span>零件数</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段名</span></th><th style='text-align:left;' ><span>中文名</span></th><th style='text-align:left;' ><span>类型</span></th><th style='text-align:left;' ><span>长度</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>internal_id</span></td><td style='text-align:left;' ><span>序号</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>主键自增</span></td></tr><tr><td style='text-align:left;' ><span>wp_achie_number</span></td><td style='text-align:left;' ><span>零件数</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>:------</span></td></tr></tbody></table></figure><p><span>默认数据:</span>
|
||
<span>Internal_id</span><span> </span><span>wp_achie_number</span>
|
||
<span>1</span><span> </span><span>1234</span></p><h4 id='224-每日工序达成数'><span>2.2.4 每日工序达成数</span></h4><p><span> </span><img src="snap/2-2-4-1.jpg" referrerpolicy="no-referrer"></p><p><span>表名:t_2_4_process_achie_number</span>
|
||
<span>字段名</span><span> </span><span>中文名</span><span> </span><span>类型</span><span> </span><span>长度</span><span> </span><span>说明</span>
|
||
<span>internal_id</span><span> </span><span>序号</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>主键自增</span>
|
||
<span>day</span><span> </span><span>日期</span><span> </span><span>INTEGER</span><span> </span><span>2</span><span> </span>
|
||
<span>green</span><span> </span><span>绿色数量</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span>
|
||
<span>blue</span><span> </span><span>蓝色数量</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span>
|
||
<span>red</span><span> </span><span>红色数量</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段名</span></th><th style='text-align:left;' ><span>中文名</span></th><th style='text-align:left;' ><span>类型</span></th><th style='text-align:left;' ><span>长度</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>internal_id</span></td><td style='text-align:left;' ><span>序号</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>主键自增</span></td></tr><tr><td style='text-align:left;' ><span>day</span></td><td style='text-align:left;' ><span>日期</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>2</span></td><td style='text-align:left;' ><span>:------</span></td></tr><tr><td style='text-align:left;' ><span>green</span></td><td style='text-align:left;' ><span>绿色数量</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>:------</span></td></tr><tr><td style='text-align:left;' ><span>blue</span></td><td style='text-align:left;' ><span>蓝色数量</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>:------</span></td></tr><tr><td style='text-align:left;' ><span>red</span></td><td style='text-align:left;' ><span>红色数量</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>:------</span></td></tr></tbody></table></figure><p><span>默认数据:</span>
|
||
<span>internal_id</span><span> </span><span>day</span><span> </span><span>green</span><span> </span><span>blue</span><span> </span><span>red</span>
|
||
<span>1</span><span> </span><span>1</span><span> </span><span>20</span><span> </span><span>3</span><span> </span><span>0</span>
|
||
<span>2</span><span> </span><span>2</span><span> </span><span>20</span><span> </span><span>2</span><span> </span><span>0</span>
|
||
<span>3</span><span> </span><span>3</span><span> </span><span>23</span><span> </span><span>3</span><span> </span><span>0</span>
|
||
<span>4</span><span> </span><span>4</span><span> </span><span>32</span><span> </span><span>4</span><span> </span><span>0</span>
|
||
<span>5</span><span> </span><span>5</span><span> </span><span>43</span><span> </span><span>5</span><span> </span><span>0</span>
|
||
<span>6</span><span> </span><span>6</span><span> </span><span>23</span><span> </span><span>3</span><span> </span><span>0</span>
|
||
<span>7</span><span> </span><span>7</span><span> </span><span>44</span><span> </span><span>0</span><span> </span><span>5</span>
|
||
<span>8</span><span> </span><span>8</span><span> </span><span>12</span><span> </span><span>0</span><span> </span><span>5</span>
|
||
<span>9</span><span> </span><span>9</span><span> </span><span>54</span><span> </span><span>0</span><span> </span><span>4</span>
|
||
<span>10</span><span> </span><span>10</span><span> </span><span>42</span><span> </span><span>0</span><span> </span><span>3</span>
|
||
<span>11</span><span> </span><span>11</span><span> </span><span>47</span><span> </span><span>6</span><span> </span><span>0</span>
|
||
<span>12</span><span> </span><span>12</span><span> </span><span>34</span><span> </span><span>4</span><span> </span><span>0</span>
|
||
<span>13</span><span> </span><span>13</span><span> </span><span>25</span><span> </span><span>3</span><span> </span><span>0</span>
|
||
<span>14</span><span> </span><span>14</span><span> </span><span>38</span><span> </span><span>6</span><span> </span><span>0</span>
|
||
<span>15</span><span> </span><span>15</span><span> </span><span>43</span><span> </span><span>0</span><span> </span><span>4</span>
|
||
<span>16</span><span> </span><span>16</span><span> </span><span>56</span><span> </span><span>0</span><span> </span><span>3</span>
|
||
<span>17</span><span> </span><span>17</span><span> </span><span>65</span><span> </span><span>4</span><span> </span><span>0</span>
|
||
<span>18</span><span> </span><span>18</span><span> </span><span>43</span><span> </span><span>5</span><span> </span><span>0</span>
|
||
<span>19</span><span> </span><span>19</span><span> </span><span>34</span><span> </span><span>0</span><span> </span><span>5</span>
|
||
<span>20</span><span> </span><span>20</span><span> </span><span>55</span><span> </span><span>3</span><span> </span><span>0</span>
|
||
<span>21</span><span> </span><span>21</span><span> </span><span>47</span><span> </span><span>6</span><span> </span><span>0</span>
|
||
<span>22</span><span> </span><span>22</span><span> </span><span>34</span><span> </span><span>4</span><span> </span><span>0</span>
|
||
<span>23</span><span> </span><span>23</span><span> </span><span>25</span><span> </span><span>3</span><span> </span><span>0</span>
|
||
<span>24</span><span> </span><span>24</span><span> </span><span>38</span><span> </span><span>6</span><span> </span><span>0</span>
|
||
<span>25</span><span> </span><span>25</span><span> </span><span>43</span><span> </span><span>0</span><span> </span><span>4</span>
|
||
<span>26</span><span> </span><span>26</span><span> </span><span>56</span><span> </span><span>0</span><span> </span><span>3</span>
|
||
<span>27</span><span> </span><span>27</span><span> </span><span>65</span><span> </span><span>4</span><span> </span><span>0</span>
|
||
<span>28</span><span> </span><span>28</span><span> </span><span>43</span><span> </span><span>5</span><span> </span><span>0</span>
|
||
<span>29</span><span> </span><span>29</span><span> </span><span>34</span><span> </span><span>0</span><span> </span><span>5</span>
|
||
<span>30</span><span> </span><span>30</span><span> </span><span>55</span><span> </span><span>3</span><span> </span><span>0</span>
|
||
<span>31</span><span> </span><span>31</span><span> </span><span>42</span><span> </span><span>0</span><span> </span><span>3</span></p><h3 id='23-设备监控模块'><span>2.3 设备监控模块</span></h3><p><span> </span><img src="snap/2-3-1.jpg" referrerpolicy="no-referrer"></p><p><span>子模块表名对应表:</span>
|
||
<span>子模块标题</span><span> </span><span>子模块表名</span>
|
||
<span>设备运行状态</span><span> </span><span>t_3_1_device_runtime</span>
|
||
<span>稼动率</span><span> </span><span>t_3_2_oee</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>子模块标题</span></th><th style='text-align:left;' ><span>子模块表名</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>设备运行状态</span></td><td style='text-align:left;' ><span>t_3_1_device_runtime</span></td></tr><tr><td style='text-align:left;' ><span>稼动率</span></td><td style='text-align:left;' ><span>t_3_2_oee</span></td></tr></tbody></table></figure><h4 id='231-设备运行状态'><span>2.3.1 设备运行状态</span></h4><p><span> </span><img src="snap/2-3-1-1.jpg" referrerpolicy="no-referrer"></p><p><span>表名:t_3_1_device_runtime</span>
|
||
<span>字段名</span><span> </span><span>中文名</span><span> </span><span>类型</span><span> </span><span>长度</span><span> </span><span>说明</span>
|
||
<span>internal_id</span><span> </span><span>序号</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>主键自增</span>
|
||
<span>group_name</span><span> </span><span>分组名称</span><span> </span><span>VARCHAR</span><span> </span><span>4</span><span> </span><span>不为空</span>
|
||
<span>no_id</span><span> </span><span>分组编号</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>不为空</span>
|
||
<span>name</span><span> </span><span>名称</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span><span>不为空</span>
|
||
<span>text_1</span><span> </span><span>文字1</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span>
|
||
<span>text_2</span><span> </span><span>文字2</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span>
|
||
<span>status</span><span> </span><span>状态 1-开机 2-待机 3-维护 4-空</span><span> </span><span>INTEGER</span><span> </span><span>1</span><span> </span><span>不为空</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段名</span></th><th style='text-align:left;' ><span>中文名</span></th><th style='text-align:left;' ><span>类型</span></th><th style='text-align:left;' ><span>长度</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>internal_id</span></td><td style='text-align:left;' ><span>序号</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>主键自增</span></td></tr><tr><td style='text-align:left;' ><span>group_name</span></td><td style='text-align:left;' ><span>分组名称</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>4</span></td><td style='text-align:left;' ><span>不为空</span></td></tr><tr><td style='text-align:left;' ><span>no_id</span></td><td style='text-align:left;' ><span>分组编号</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>不为空</span></td></tr><tr><td style='text-align:left;' ><span>name</span></td><td style='text-align:left;' ><span>名称</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' ><span>不为空</span></td></tr><tr><td style='text-align:left;' ><span>text_1</span></td><td style='text-align:left;' ><span>文字1</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>text_2</span></td><td style='text-align:left;' ><span>文字2</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>status</span></td><td style='text-align:left;' ><span>状态 1-开机 2-待机 3-维护 4-空</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>1</span></td><td style='text-align:left;' ><span>不为空</span></td></tr></tbody></table></figure><p><span>默认数据:</span>
|
||
<span>internal_id</span><span> </span><span>group_name</span><span> </span><span>no_id</span><span> </span><span>name</span><span> </span><span>text_1</span><span> </span><span>text_2</span><span> </span><span>status</span>
|
||
<span>1</span><span> </span><span>CNC</span><span> </span><span>1</span><span> </span><span>CNC1</span><span> </span><span>190411</span><span> </span><span>PID11</span><span> </span><span>1</span>
|
||
<span>2</span><span> </span><span>CNC</span><span> </span><span>2</span><span> </span><span>CNC2</span><span> </span><span>190412</span><span> </span><span>PID12</span><span> </span><span>1</span>
|
||
<span>3</span><span> </span><span>CNC</span><span> </span><span>3</span><span> </span><span>CNC3</span><span> </span><span>190413</span><span> </span><span>PID13</span><span> </span><span>1</span>
|
||
<span>4</span><span> </span><span>CNC</span><span> </span><span>4</span><span> </span><span>CNC4</span><span> </span><span>190414</span><span> </span><span>PID14</span><span> </span><span>2</span>
|
||
<span>5</span><span> </span><span>CNC</span><span> </span><span>5</span><span> </span><span>CNC5</span><span> </span><span>190415</span><span> </span><span>PID15</span><span> </span><span>1</span>
|
||
<span>6</span><span> </span><span>CNC</span><span> </span><span>6</span><span> </span><span>CNC6</span><span> </span><span>190416</span><span> </span><span>PID16</span><span> </span><span>2</span>
|
||
<span>7</span><span> </span><span>CNC</span><span> </span><span>7</span><span> </span><span>CNC7</span><span> </span><span>190417</span><span> </span><span>PID17</span><span> </span><span>1</span>
|
||
<span>8</span><span> </span><span>CNC</span><span> </span><span>8</span><span> </span><span>4</span>
|
||
<span>9</span><span> </span><span>EDM</span><span> </span><span>1</span><span> </span><span>EDM1</span><span> </span><span>190421</span><span> </span><span>PID21</span><span> </span><span>1</span>
|
||
<span>10</span><span> </span><span>EDM</span><span> </span><span>2</span><span> </span><span>EDM2</span><span> </span><span>190422</span><span> </span><span>PID23</span><span> </span><span>2</span>
|
||
<span>11</span><span> </span><span>EDM</span><span> </span><span>3</span><span> </span><span>EDM3</span><span> </span><span>190423</span><span> </span><span>PID23</span><span> </span><span>1</span>
|
||
<span>12</span><span> </span><span>EDM</span><span> </span><span>4</span><span> </span><span>EDM4</span><span> </span><span>190424</span><span> </span><span>PID24</span><span> </span><span>3</span>
|
||
<span>13</span><span> </span><span>EDM</span><span> </span><span>5</span><span> </span><span>EDM5</span><span> </span><span>190425</span><span> </span><span>PID25</span><span> </span><span>1</span>
|
||
<span>14</span><span> </span><span>EDM</span><span> </span><span>6</span><span> </span><span>EDM6</span><span> </span><span>190426</span><span> </span><span>PID26</span><span> </span><span>1</span>
|
||
<span>15</span><span> </span><span>EDM</span><span> </span><span>7</span><span> </span><span>EDM7</span><span> </span><span>190427</span><span> </span><span>PID27</span><span> </span><span>1</span>
|
||
<span>16</span><span> </span><span>EDM</span><span> </span><span>8</span><span> </span><span>EDM8</span><span> </span><span>190428</span><span> </span><span>PID28</span><span> </span><span>2</span>
|
||
<span>17</span><span> </span><span>WEDM</span><span> </span><span>1</span><span> </span><span>WEDM1</span><span> </span><span>190431</span><span> </span><span>PID28</span><span> </span><span>1</span>
|
||
<span>18</span><span> </span><span>WEDM</span><span> </span><span>2</span><span> </span><span>WEDM2</span><span> </span><span>190432</span><span> </span><span>PID28</span><span> </span><span>3</span>
|
||
<span>19</span><span> </span><span>WEDM</span><span> </span><span>3</span><span> </span><span>WEDM3</span><span> </span><span>190434</span><span> </span><span>PID29</span><span> </span><span>2</span>
|
||
<span>20</span><span> </span><span>WEDM</span><span> </span><span>4</span><span> </span><span>WEDM4</span><span> </span><span>190435</span><span> </span><span>PID30</span><span> </span><span>1</span>
|
||
<span>21</span><span> </span><span>WEDM</span><span> </span><span>5</span><span> </span><span>WEDM5</span><span> </span><span>190436</span><span> </span><span>PID36</span><span> </span><span>1</span>
|
||
<span>22</span><span> </span><span>WEDM</span><span> </span><span>6</span><span> </span><span>WEDM6</span><span> </span><span>190437</span><span> </span><span>PID37</span><span> </span><span>3</span>
|
||
<span>23</span><span> </span><span>WEDM</span><span> </span><span>7</span><span> </span><span>4</span>
|
||
<span>24</span><span> </span><span>WEDM</span><span> </span><span>8</span><span> </span><span>4</span></p><h4 id='232-稼动率'><span>2.3.2 稼动率</span></h4><p><span> </span><img src="snap/2-3-2-1.jpg" referrerpolicy="no-referrer"><span> </span><img src="snap/2-3-2-2.jpg" referrerpolicy="no-referrer"><span> </span><img src="snap/2-3-2-3.jpg" referrerpolicy="no-referrer">
|
||
<span>表名:t_3_2_oee</span>
|
||
<span>字段名</span><span> </span><span>中文名</span><span> </span><span>类型</span><span> </span><span>长度</span><span> </span><span>说明</span>
|
||
<span>internal_id</span><span> </span><span>序号</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>主键自增</span>
|
||
<span>cnc</span><span> </span><span>类别-cnc</span><span> </span><span>INTEGER</span><span> </span><span>3</span><span> </span><span>不为空</span>
|
||
<span>edm</span><span> </span><span>类别-edm</span><span> </span><span>INTEGER</span><span> </span><span>3</span><span> </span><span>不为空</span>
|
||
<span>wedm</span><span> </span><span>类别-wedm</span><span> </span><span>INTEGER</span><span> </span><span>3</span><span> </span><span>不为空</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段名</span></th><th style='text-align:left;' ><span>中文名</span></th><th style='text-align:left;' ><span>类型</span></th><th style='text-align:left;' ><span>长度</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>internal_id</span></td><td style='text-align:left;' ><span>序号</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>主键自增</span></td></tr><tr><td style='text-align:left;' ><span>cnc</span></td><td style='text-align:left;' ><span>类别-cnc</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>3</span></td><td style='text-align:left;' ><span>不为空</span></td></tr><tr><td style='text-align:left;' ><span>edm</span></td><td style='text-align:left;' ><span>类别-edm</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>3</span></td><td style='text-align:left;' ><span>不为空</span></td></tr><tr><td style='text-align:left;' ><span>wedm</span></td><td style='text-align:left;' ><span>类别-wedm</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>3</span></td><td style='text-align:left;' ><span>不为空</span></td></tr></tbody></table></figure><p><span>默认数据:</span>
|
||
<span>internal_id</span><span> </span><span>cnc</span><span> </span><span>edm</span><span> </span><span>wedm</span>
|
||
<span>1</span><span> </span><span>110</span><span> </span><span>90</span><span> </span><span>90</span></p><h3 id='24-模具进度模块'><span>2.4 模具进度模块</span></h3><p><span> </span><img src="snap/2-4-1.jpg" referrerpolicy="no-referrer"></p><p><span>子模块表名对应表:</span>
|
||
<span>子模块标题</span><span> </span><span>子模块表名</span>
|
||
<span>模具进度</span><span> </span><span>t_4_1_mold_progress</span>
|
||
<span>模具状态统计</span><span> </span><span>t_4_2_mold_status_parcent</span>
|
||
<span>加工中模具数量</span><span> </span><span>t_4_3_mold_processing_num</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>子模块标题</span></th><th style='text-align:left;' ><span>子模块表名</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>模具进度</span></td><td style='text-align:left;' ><span>t_4_1_mold_progress</span></td></tr><tr><td style='text-align:left;' ><span>模具状态统计</span></td><td style='text-align:left;' ><span>t_4_2_mold_status_parcent</span></td></tr><tr><td style='text-align:left;' ><span>加工中模具数量</span></td><td style='text-align:left;' ><span>t_4_3_mold_processing_num</span></td></tr></tbody></table></figure><h4 id='241-模具进度'><span>2.4.1 模具进度</span></h4><p><span> </span><img src="snap/2-4-1-1.jpg" referrerpolicy="no-referrer"></p><p><span>表名:t_3_2_oee</span>
|
||
<span>字段名</span><span> </span><span>中文名</span><span> </span><span>类型</span><span> </span><span>长度</span><span> </span><span>说明</span>
|
||
<span>internal_id</span><span> </span><span>序号</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>主键自增</span>
|
||
<span>mold_no</span><span> </span><span>模具编号</span><span> </span><span>VARCHAR</span><span> </span><span>11</span><span> </span>
|
||
<span>tn_no</span><span> </span><span>版本号</span><span> </span><span>VARCHAR</span><span> </span><span>11</span><span> </span>
|
||
<span>type</span><span> </span><span>类型</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span>
|
||
<span>status</span><span> </span><span>状态</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span>
|
||
<span>product_name</span><span> </span><span>产品名称</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span>
|
||
<span>plan_date</span><span> </span><span>计划交期</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span>
|
||
<span>green</span><span> </span><span>当前进度绿色</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span>
|
||
<span>yellow</span><span> </span><span>当前进度黄色</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span>
|
||
<span>red</span><span> </span><span>当前进度红色</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段名</span></th><th style='text-align:left;' ><span>中文名</span></th><th style='text-align:left;' ><span>类型</span></th><th style='text-align:left;' ><span>长度</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>internal_id</span></td><td style='text-align:left;' ><span>序号</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>主键自增</span></td></tr><tr><td style='text-align:left;' ><span>mold_no</span></td><td style='text-align:left;' ><span>模具编号</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>tn_no</span></td><td style='text-align:left;' ><span>版本号</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>type</span></td><td style='text-align:left;' ><span>类型</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>status</span></td><td style='text-align:left;' ><span>状态</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>product_name</span></td><td style='text-align:left;' ><span>产品名称</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>plan_date</span></td><td style='text-align:left;' ><span>计划交期</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>green</span></td><td style='text-align:left;' ><span>当前进度绿色</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>yellow</span></td><td style='text-align:left;' ><span>当前进度黄色</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>red</span></td><td style='text-align:left;' ><span>当前进度红色</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' > </td></tr></tbody></table></figure><p><span>默认数据:</span>
|
||
<span>internal_id</span><span> </span><span>mold_no</span><span> </span><span>tn_no</span><span> </span><span>type</span><span> </span><span>status</span><span> </span><span>product_name</span><span> </span><span>plan_date</span><span> </span><span>green</span><span> </span><span>yellow</span><span> </span><span>red</span>
|
||
<span>1</span><span> </span><span>IK19001</span><span> </span><span>T0</span><span> </span><span>新模</span><span> </span><span>加工中</span><span> </span><span>后盖</span><span> </span><span>2019/3/29</span><span> </span><span>60</span><span> </span><span>20</span><span> </span><span>20</span>
|
||
<span>2</span><span> </span><span>IK19002</span><span> </span><span>T1</span><span> </span><span>修模</span><span> </span><span>加工中</span><span> </span><span>前盖</span><span> </span><span>2019/4/3</span><span> </span><span>50</span><span> </span><span>50</span><span> </span><span>0</span>
|
||
<span>3</span><span> </span><span>IK29003</span><span> </span><span>T2</span><span> </span><span>修模</span><span> </span><span>加工中</span><span> </span><span>外壳</span><span> </span><span>2019/4/8</span><span> </span><span>30</span><span> </span><span>70</span><span> </span><span>0</span>
|
||
<span>4</span><span> </span><span>IK19004</span><span> </span><span>T0</span><span> </span><span>新模</span><span> </span><span>加工中</span><span> </span><span>侧边</span><span> </span><span>2019/4/18</span><span> </span><span>90</span><span> </span><span>5</span><span> </span><span>5</span>
|
||
<span>5</span><span> </span><span>IK19005</span><span> </span><span>T3</span><span> </span><span>修模</span><span> </span><span>加工中</span><span> </span><span>边框</span><span> </span><span>2019/4/3</span><span> </span><span>60</span><span> </span><span>40</span><span> </span><span>0</span>
|
||
<span>6</span><span> </span><span>IK19006</span><span> </span><span>T0</span><span> </span><span>新模</span><span> </span><span>加工中</span><span> </span><span>后盖</span><span> </span><span>2019/4/26</span><span> </span><span>70</span><span> </span><span>25</span><span> </span><span>5</span>
|
||
<span>7</span><span> </span><span>IK19007</span><span> </span><span>T0</span><span> </span><span>新模</span><span> </span><span>加工中</span><span> </span><span>面板</span><span> </span><span>2019/4/7</span><span> </span><span>25</span><span> </span><span>25</span><span> </span><span>50</span>
|
||
<span>8</span><span> </span><span>IK19008</span><span> </span><span>T0</span><span> </span><span>新模</span><span> </span><span>加工中</span><span> </span><span>插件</span><span> </span><span>2019/3/31</span><span> </span><span>20</span><span> </span><span>40</span><span> </span><span>40</span>
|
||
<span>9</span><span> </span><span>IK19009</span><span> </span><span>T1</span><span> </span><span>修模</span><span> </span><span>加工中</span><span> </span><span>面板</span><span> </span><span>2019/3/12</span><span> </span><span>10</span><span> </span><span>60</span><span> </span><span>30</span>
|
||
<span>10</span><span> </span><span>IK19010</span><span> </span><span>T2</span><span> </span><span>修模</span><span> </span><span>加工中</span><span> </span><span>后盖</span><span> </span><span>2019/2/12</span><span> </span><span>0</span><span> </span><span>100</span><span> </span><span>0</span></p><h4 id='242-模具状态统计'><span>2.4.2 模具状态统计</span></h4><p><span> </span><img src="snap/2-4-2-1.jpg" referrerpolicy="no-referrer"><span> </span><img src="snap/2-4-2-2.jpg" referrerpolicy="no-referrer">
|
||
<span>表名:t_4_2_mold_status_parcent</span>
|
||
<span>字段名</span><span> </span><span>中文名</span><span> </span><span>类型</span><span> </span><span>长度</span><span> </span><span>说明</span>
|
||
<span>internal_id</span><span> </span><span>序号</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>主键自增</span>
|
||
<span>finished</span><span> </span><span>正常交付百分比</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>不为空</span>
|
||
<span>processing</span><span> </span><span>加工中百分比</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>不为空</span>
|
||
<span>delay</span><span> </span><span>延期百分比</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>不为空</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段名</span></th><th style='text-align:left;' ><span>中文名</span></th><th style='text-align:left;' ><span>类型</span></th><th style='text-align:left;' ><span>长度</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>internal_id</span></td><td style='text-align:left;' ><span>序号</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>主键自增</span></td></tr><tr><td style='text-align:left;' ><span>finished</span></td><td style='text-align:left;' ><span>正常交付百分比</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>不为空</span></td></tr><tr><td style='text-align:left;' ><span>processing</span></td><td style='text-align:left;' ><span>加工中百分比</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>不为空</span></td></tr><tr><td style='text-align:left;' ><span>delay</span></td><td style='text-align:left;' ><span>延期百分比</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>不为空</span></td></tr></tbody></table></figure><p><span>默认数据:</span>
|
||
<span>internal_id</span><span> </span><span>finished</span><span> </span><span>processing</span><span> </span><span>delay</span>
|
||
<span>1</span><span> </span><span>60</span><span> </span><span>25</span><span> </span><span>15</span></p><h4 id='243-加工中模具数量'><span>2.4.3 加工中模具数量</span></h4><p><span>界面效果图:在上面</span>
|
||
<span>表名:t_4_3_mold_processing_num</span>
|
||
<span>字段名</span><span> </span><span>中文名</span><span> </span><span>类型</span><span> </span><span>长度</span><span> </span><span>说明</span>
|
||
<span>internal_id</span><span> </span><span>序号</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>主键自增</span>
|
||
<span>mold_processing_number</span><span> </span><span>加工中数量</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>不为空</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段名</span></th><th style='text-align:left;' ><span>中文名</span></th><th style='text-align:left;' ><span>类型</span></th><th style='text-align:left;' ><span>长度</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>internal_id</span></td><td style='text-align:left;' ><span>序号</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>主键自增</span></td></tr><tr><td style='text-align:left;' ><span>mold_processing_number</span></td><td style='text-align:left;' ><span>加工中数量</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>不为空</span></td></tr></tbody></table></figure><p><span>默认数据:87</span></p><p> </p><h3 id='25-负荷分布模块'><span>2.5 负荷分布模块</span></h3><p><span> </span><img src="snap/2-5-1.jpg" referrerpolicy="no-referrer"></p><p><span>子模块表名对应表:</span>
|
||
<span>子模块标题</span><span> </span><span>子模块表名</span>
|
||
<span>工序计划负荷</span><span> </span><span>t_5_1_work_load</span>
|
||
<span>当日负荷</span><span> </span><span>t_5_2_work_load_today</span>
|
||
<span>负荷百分比</span><span> </span><span>t_5_3_work_load_percent</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>子模块标题</span></th><th style='text-align:left;' ><span>子模块表名</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>工序计划负荷</span></td><td style='text-align:left;' ><span>t_5_1_work_load</span></td></tr><tr><td style='text-align:left;' ><span>当日负荷</span></td><td style='text-align:left;' ><span>t_5_2_work_load_today</span></td></tr><tr><td style='text-align:left;' ><span>负荷百分比</span></td><td style='text-align:left;' ><span>t_5_3_work_load_percent</span></td></tr></tbody></table></figure><h4 id='251-工序计划负荷'><span>2.5.1 工序计划负荷</span></h4><p><span> </span><img src="snap/2-5-1-1.jpg" referrerpolicy="no-referrer"></p><p><span>表名:t_5_1_work_load</span>
|
||
<span>字段名</span><span> </span><span>中文名</span><span> </span><span>类型</span><span> </span><span>长度</span><span> </span><span>说明</span>
|
||
<span>internal_id</span><span> </span><span>序号</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>主键自增</span>
|
||
<span>process_name</span><span> </span><span>工序名称</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span>
|
||
<span>work_load_1</span><span> </span><span>第1天负荷</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span>
|
||
<span>work_load_*</span><span> </span><span>第*天负荷</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span>
|
||
<span>work_load_7</span><span> </span><span>第7天负荷</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段名</span></th><th style='text-align:left;' ><span>中文名</span></th><th style='text-align:left;' ><span>类型</span></th><th style='text-align:left;' ><span>长度</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>internal_id</span></td><td style='text-align:left;' ><span>序号</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>主键自增</span></td></tr><tr><td style='text-align:left;' ><span>process_name</span></td><td style='text-align:left;' ><span>工序名称</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>work_load_1</span></td><td style='text-align:left;' ><span>第1天负荷</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>work_load_*</span></td><td style='text-align:left;' ><span>第*天负荷</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>work_load_7</span></td><td style='text-align:left;' ><span>第7天负荷</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' > </td></tr></tbody></table></figure><p><span>默认数据:</span>
|
||
<span>internal_id</span><span> </span><span>process_name</span><span> </span><span>work_load_1</span><span> </span><span>work_load_2</span><span> </span><span>work_load_3</span><span> </span><span>work_load_4</span><span> </span><span>work_load_5</span><span> </span><span>work_load_6</span><span> </span><span>work_load_7</span>
|
||
<span>1</span><span> </span><span>CNC粗</span><span> </span><span>101H</span><span> </span><span>81H</span><span> </span><span>90H</span><span> </span><span>120H</span><span> </span><span>30H</span><span> </span><span>60H</span><span> </span><span>120H</span>
|
||
<span>2</span><span> </span><span>CNC精</span><span> </span><span>102H</span><span> </span><span>102H</span><span> </span><span>120H</span><span> </span><span>81H</span><span> </span><span>45H</span><span> </span><span>102H</span><span> </span><span>81H</span>
|
||
<span>3</span><span> </span><span>EDM</span><span> </span><span>77H</span><span> </span><span>102H</span><span> </span><span>90H</span><span> </span><span>102H</span><span> </span><span>45H</span><span> </span><span>90H</span><span> </span><span>120H</span>
|
||
<span>4</span><span> </span><span>WEDM</span><span> </span><span>87H</span><span> </span><span>102H</span><span> </span><span>120H</span><span> </span><span>45H</span><span> </span><span>102H</span><span> </span><span>102H</span><span> </span><span>90H</span>
|
||
<span>5</span><span> </span><span>抛光</span><span> </span><span>45H</span><span> </span><span>102H</span><span> </span><span>102H</span><span> </span><span>90H</span><span> </span><span>81H</span><span> </span><span>81H</span><span> </span><span>81H</span>
|
||
<span>6</span><span> </span><span>钳工</span><span> </span><span>89H</span><span> </span><span>90H</span><span> </span><span>45H</span><span> </span><span>120H</span><span> </span><span>120H</span><span> </span><span>120H</span><span> </span><span>102H</span>
|
||
<span>7</span><span> </span><span>组装</span><span> </span><span>77H</span><span> </span><span>90H</span><span> </span><span>81H</span><span> </span><span>102H</span><span> </span><span>45H</span><span> </span><span>102H</span><span> </span><span>81H</span></p><p><span>表名:t_5_1_work_load_table_head</span>
|
||
<span>这个设计很巧妙,相当于动态的日期和数据,日期作为标题。</span>
|
||
<span>字段名</span><span> </span><span>中文名</span><span> </span><span>类型</span><span> </span><span>长度</span><span> </span><span>说明</span>
|
||
<span>internal_id</span><span> </span><span>序号</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>主键自增</span>
|
||
<span>date_1</span><span> </span><span>第1天日期</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span>
|
||
<span>date_2</span><span> </span><span>第2天日期</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span>
|
||
<span>date_3</span><span> </span><span>第3天日期</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span>
|
||
<span>date_4</span><span> </span><span>第4天日期</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span>
|
||
<span>date_5</span><span> </span><span>第5天日期</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span>
|
||
<span>date_6</span><span> </span><span>第6天日期</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span>
|
||
<span>date_7</span><span> </span><span>第7天日期</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段名</span></th><th style='text-align:left;' ><span>中文名</span></th><th style='text-align:left;' ><span>类型</span></th><th style='text-align:left;' ><span>长度</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>internal_id</span></td><td style='text-align:left;' ><span>序号</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>主键自增</span></td></tr><tr><td style='text-align:left;' ><span>date_1</span></td><td style='text-align:left;' ><span>第1天日期</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>date_2</span></td><td style='text-align:left;' ><span>第2天日期</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>date_3</span></td><td style='text-align:left;' ><span>第3天日期</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>date_4</span></td><td style='text-align:left;' ><span>第4天日期</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>date_5</span></td><td style='text-align:left;' ><span>第5天日期</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>date_6</span></td><td style='text-align:left;' ><span>第6天日期</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>date_7</span></td><td style='text-align:left;' ><span>第7天日期</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' > </td></tr></tbody></table></figure><p><span>默认数据:</span>
|
||
<span>internal_id</span><span> </span><span>date_1</span><span> </span><span>date_2</span><span> </span><span>date_3</span><span> </span><span>date_4</span><span> </span><span>date_5</span><span> </span><span>date_6</span><span> </span><span>date_7</span>
|
||
<span>1</span><span> </span><span>2019-04-30</span><span> </span><span>2019-05-01</span><span> </span><span>2019-05-02</span><span> </span><span>2019-05-03</span><span> </span><span>2019-05-04</span><span> </span><span>2019-05-05</span><span> </span><span>2019-05-06</span></p><h4 id='252-当日负荷'><span>2.5.2 当日负荷</span></h4><p><span> </span><img src="snap/2-5-2-1.jpg" referrerpolicy="no-referrer"></p><p><span>表名:t_5_2_work_load_today</span>
|
||
<span>字段名</span><span> </span><span>中文名</span><span> </span><span>类型</span><span> </span><span>长度</span><span> </span><span>说明</span>
|
||
<span>internal_id</span><span> </span><span>序号</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>主键自增</span>
|
||
<span>group_name</span><span> </span><span>分组名称</span><span> </span><span>REAL</span><span> </span><span>11</span><span> </span><span>小数位精度1</span>
|
||
<span>green</span><span> </span><span>绿色值</span><span> </span><span>REAL</span><span> </span><span>11</span><span> </span><span>小数位精度1</span>
|
||
<span>red</span><span> </span><span>红色值</span><span> </span><span>REAL</span><span> </span><span>11</span><span> </span><span>小数位精度1</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段名</span></th><th style='text-align:left;' ><span>中文名</span></th><th style='text-align:left;' ><span>类型</span></th><th style='text-align:left;' ><span>长度</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>internal_id</span></td><td style='text-align:left;' ><span>序号</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>主键自增</span></td></tr><tr><td style='text-align:left;' ><span>group_name</span></td><td style='text-align:left;' ><span>分组名称</span></td><td style='text-align:left;' ><span>REAL</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>小数位精度1</span></td></tr><tr><td style='text-align:left;' ><span>green</span></td><td style='text-align:left;' ><span>绿色值</span></td><td style='text-align:left;' ><span>REAL</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>小数位精度1</span></td></tr><tr><td style='text-align:left;' ><span>red</span></td><td style='text-align:left;' ><span>红色值</span></td><td style='text-align:left;' ><span>REAL</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>小数位精度1</span></td></tr></tbody></table></figure><p><span>默认数据:</span>
|
||
<span>internal_id</span><span> </span><span>group_name</span><span> </span><span>green</span><span> </span><span>red</span>
|
||
<span>1</span><span> </span><span>CNC粗</span><span> </span><span>20</span><span> </span><span>20</span>
|
||
<span>2</span><span> </span><span>CNC精</span><span> </span><span>40</span><span> </span><span>20</span>
|
||
<span>3</span><span> </span><span>EDM</span><span> </span><span>60</span><span> </span><span>0</span>
|
||
<span>4</span><span> </span><span>WEDM</span><span> </span><span>30.2</span><span> </span><span>2</span>
|
||
<span>5</span><span> </span><span>铣床</span><span> </span><span>40</span><span> </span><span>0</span>
|
||
<span>6</span><span> </span><span>磨床</span><span> </span><span>30</span><span> </span><span>50</span></p><h4 id='253-负荷百分比'><span>2.5.3 负荷百分比</span></h4><p><span> </span><img src="snap/2-5-3-1.jpg" referrerpolicy="no-referrer"></p><p><span>表名:t_5_3_work_load_percent</span>
|
||
<span>字段名</span><span> </span><span>中文名</span><span> </span><span>类型</span><span> </span><span>长度</span><span> </span><span>说明</span>
|
||
<span>internal_id</span><span> </span><span>序号</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>主键自增</span>
|
||
<span>group_name</span><span> </span><span>分组名称</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span>
|
||
<span>day_1</span><span> </span><span>第1天</span><span> </span><span>INTEGER</span><span> </span><span>3</span><span> </span>
|
||
<span>day_*</span><span> </span><span>第*天</span><span> </span><span>INTEGER</span><span> </span><span>3</span><span> </span>
|
||
<span>day_7</span><span> </span><span>第7天</span><span> </span><span>INTEGER</span><span> </span><span>3</span><span> </span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段名</span></th><th style='text-align:left;' ><span>中文名</span></th><th style='text-align:left;' ><span>类型</span></th><th style='text-align:left;' ><span>长度</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>internal_id</span></td><td style='text-align:left;' ><span>序号</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>主键自增</span></td></tr><tr><td style='text-align:left;' ><span>group_name</span></td><td style='text-align:left;' ><span>分组名称</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>day_1</span></td><td style='text-align:left;' ><span>第1天</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>3</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>day_*</span></td><td style='text-align:left;' ><span>第*天</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>3</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>day_7</span></td><td style='text-align:left;' ><span>第7天</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>3</span></td><td style='text-align:left;' > </td></tr></tbody></table></figure><p><span>默认数据:</span>
|
||
<span>internal_id</span><span> </span><span>group_name</span><span> </span><span>day_1</span><span> </span><span>day_2</span><span> </span><span>day_3</span><span> </span><span>day_4</span><span> </span><span>day_5</span><span> </span><span>day_6</span><span> </span><span>day_7</span>
|
||
<span>1</span><span> </span><span>CNC粗</span><span> </span><span>70</span><span> </span><span>80</span><span> </span><span>90</span><span> </span><span>70</span><span> </span><span>50</span><span> </span><span>99</span><span> </span><span>80</span>
|
||
<span>2</span><span> </span><span>CNC精</span><span> </span><span>120</span><span> </span><span>100</span><span> </span><span>130</span><span> </span><span>140</span><span> </span><span>90</span><span> </span><span>100</span><span> </span><span>85</span>
|
||
<span>3</span><span> </span><span>EDM</span><span> </span><span>120</span><span> </span><span>100</span><span> </span><span>120</span><span> </span><span>80</span><span> </span><span>90</span><span> </span><span>40</span><span> </span><span>50</span>
|
||
<span>4</span><span> </span><span>WEDM</span><span> </span><span>100</span><span> </span><span>120</span><span> </span><span>120</span><span> </span><span>100</span><span> </span><span>100</span><span> </span><span>80</span><span> </span><span>70</span>
|
||
<span>5</span><span> </span><span>铣床</span><span> </span><span>90</span><span> </span><span>80</span><span> </span><span>75</span><span> </span><span>40</span><span> </span><span>12</span><span> </span><span>30</span><span> </span><span>10</span>
|
||
<span>6</span><span> </span><span>磨床</span><span> </span><span>80</span><span> </span><span>70</span><span> </span><span>50</span><span> </span><span>60</span><span> </span><span>40</span><span> </span><span>50</span><span> </span><span>30</span></p><h3 id='26-送检合格模块'><span>2.6 送检合格模块</span></h3><p><span> </span><img src="snap/2-6-1.jpg" referrerpolicy="no-referrer"></p><p><span>子模块表名对应表:</span>
|
||
<span>子模块标题</span><span> </span><span>子模块表名</span>
|
||
<span>钢件合格率</span><span> </span><span>t_6_1_wp_qual_rate</span>
|
||
<span>电极合格率</span><span> </span><span>t_6_2_ele_qual_rate</span>
|
||
<span>当天合格率</span><span> </span><span>t_6_3_qual_rate_today</span>
|
||
<span>模具零件合格率</span><span> </span><span>t_6_4_mold_qual_rate</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>子模块标题</span></th><th style='text-align:left;' ><span>子模块表名</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>钢件合格率</span></td><td style='text-align:left;' ><span>t_6_1_wp_qual_rate</span></td></tr><tr><td style='text-align:left;' ><span>电极合格率</span></td><td style='text-align:left;' ><span>t_6_2_ele_qual_rate</span></td></tr><tr><td style='text-align:left;' ><span>当天合格率</span></td><td style='text-align:left;' ><span>t_6_3_qual_rate_today</span></td></tr><tr><td style='text-align:left;' ><span>模具零件合格率</span></td><td style='text-align:left;' ><span>t_6_4_mold_qual_rate</span></td></tr></tbody></table></figure><h4 id='261-钢件合格率'><span>2.6.1 钢件合格率</span></h4><p><span>表名:t_6_1_wp_qual_rate</span>
|
||
<span>字段名</span><span> </span><span>中文名</span><span> </span><span>类型</span><span> </span><span>长度</span><span> </span><span>说明</span>
|
||
<span>internal_id</span><span> </span><span>序号</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>主键自增</span>
|
||
<span>date_1</span><span> </span><span>第1天合格率</span><span> </span><span>INTEGER</span><span> </span><span>3</span><span> </span>
|
||
<span>date_*</span><span> </span><span>第*天合格率</span><span> </span><span>INTEGER</span><span> </span><span>3</span><span> </span>
|
||
<span>date_15</span><span> </span><span>第15天合格率</span><span> </span><span>INTEGER</span><span> </span><span>3</span><span> </span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段名</span></th><th style='text-align:left;' ><span>中文名</span></th><th style='text-align:left;' ><span>类型</span></th><th style='text-align:left;' ><span>长度</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>internal_id</span></td><td style='text-align:left;' ><span>序号</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>主键自增</span></td></tr><tr><td style='text-align:left;' ><span>date_1</span></td><td style='text-align:left;' ><span>第1天合格率</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>3</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>date_*</span></td><td style='text-align:left;' ><span>第*天合格率</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>3</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>date_15</span></td><td style='text-align:left;' ><span>第15天合格率</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>3</span></td><td style='text-align:left;' > </td></tr></tbody></table></figure><p><span>默认数据:</span>
|
||
<span>1, 100, 99, 89, 95, 95, 92, 98, 100, 96, 97, 98, 99, 90, 85, 84</span></p><p><span> </span><img src="snap/2-6-1-1.jpg" referrerpolicy="no-referrer"></p><h4 id='262-电极合格率'><span>2.6.2 电极合格率</span></h4><p><span> </span><img src="snap/2-6-2-1.jpg" referrerpolicy="no-referrer"></p><p><span>表名:t_6_2_ele_qual_rate</span>
|
||
<span>字段名</span><span> </span><span>中文名</span><span> </span><span>类型</span><span> </span><span>长度</span><span> </span><span>说明</span>
|
||
<span>internal_id</span><span> </span><span>序号</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>主键自增</span>
|
||
<span>date_1</span><span> </span><span>第1天合格率</span><span> </span><span>INTEGER</span><span> </span><span>3</span><span> </span>
|
||
<span>date_*</span><span> </span><span>第*天合格率</span><span> </span><span>INTEGER</span><span> </span><span>3</span><span> </span>
|
||
<span>date_15</span><span> </span><span>第15天合格率</span><span> </span><span>INTEGER</span><span> </span><span>3</span><span> </span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段名</span></th><th style='text-align:left;' ><span>中文名</span></th><th style='text-align:left;' ><span>类型</span></th><th style='text-align:left;' ><span>长度</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>internal_id</span></td><td style='text-align:left;' ><span>序号</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>主键自增</span></td></tr><tr><td style='text-align:left;' ><span>date_1</span></td><td style='text-align:left;' ><span>第1天合格率</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>3</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>date_*</span></td><td style='text-align:left;' ><span>第*天合格率</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>3</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>date_15</span></td><td style='text-align:left;' ><span>第15天合格率</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>3</span></td><td style='text-align:left;' > </td></tr></tbody></table></figure><p><span>默认数据:</span>
|
||
<span>1, 100, 99, 89, 95, 95, 92, 98, 100, 96, 97, 98, 99, 90, 85, 84</span></p><h4 id='263-当天合格率'><span>2.6.3 当天合格率</span></h4><p><span> </span><img src="snap/2-6-3-1.jpg" referrerpolicy="no-referrer"></p><p><span>表名:t_6_3_qual_rate_today</span>
|
||
<span>字段名</span><span> </span><span>中文名</span><span> </span><span>类型</span><span> </span><span>长度</span><span> </span><span>说明</span>
|
||
<span>internal_id</span><span> </span><span>序号</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>主键自增</span>
|
||
<span>qual_rate</span><span> </span><span>合格率</span><span> </span><span>INTEGER</span><span> </span><span>3</span><span> </span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段名</span></th><th style='text-align:left;' ><span>中文名</span></th><th style='text-align:left;' ><span>类型</span></th><th style='text-align:left;' ><span>长度</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>internal_id</span></td><td style='text-align:left;' ><span>序号</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>主键自增</span></td></tr><tr><td style='text-align:left;' ><span>qual_rate</span></td><td style='text-align:left;' ><span>合格率</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>3</span></td><td style='text-align:left;' > </td></tr></tbody></table></figure><p><span>默认数据:90</span></p><h4 id='264-模具零件合格率'><span>2.6.4 模具零件合格率</span></h4><p><span> </span><img src="snap/2-6-4-1.jpg" referrerpolicy="no-referrer"></p><p><span>表名:t_6_4_mold_qual_rate</span>
|
||
<span>字段名</span><span> </span><span>中文名</span><span> </span><span>类型</span><span> </span><span>长度</span><span> </span><span>说明</span>
|
||
<span>internal_id</span><span> </span><span>序号</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>主键自增</span>
|
||
<span>mold_name</span><span> </span><span>模块名称</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span>
|
||
<span>qual_rate</span><span> </span><span>合格率</span><span> </span><span>INTEGER</span><span> </span><span>3</span><span> </span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段名</span></th><th style='text-align:left;' ><span>中文名</span></th><th style='text-align:left;' ><span>类型</span></th><th style='text-align:left;' ><span>长度</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>internal_id</span></td><td style='text-align:left;' ><span>序号</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>主键自增</span></td></tr><tr><td style='text-align:left;' ><span>mold_name</span></td><td style='text-align:left;' ><span>模块名称</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>qual_rate</span></td><td style='text-align:left;' ><span>合格率</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>3</span></td><td style='text-align:left;' > </td></tr></tbody></table></figure><p><span>默认数据:</span>
|
||
<span>internal_id</span><span> </span><span>mold_name</span><span> </span><span>qual_rate</span>
|
||
<span>1</span><span> </span><span>IK19001</span><span> </span><span>95</span>
|
||
<span>2</span><span> </span><span>IK19002</span><span> </span><span>88</span>
|
||
<span>3</span><span> </span><span>IK19003</span><span> </span><span>94</span>
|
||
<span>4</span><span> </span><span>IK19004</span><span> </span><span>75</span>
|
||
<span>5</span><span> </span><span>IK19005</span><span> </span><span>94</span>
|
||
<span>6</span><span> </span><span>IK19006</span><span> </span><span>89</span></p><h3 id='27-品质统计模块'><span>2.7 品质统计模块</span></h3><p><span> </span><img src="snap/2-7-1.jpg" referrerpolicy="no-referrer"></p><p><span>子模块表名对应表:</span>
|
||
<span>子模块标题</span><span> </span><span>子模块表名</span>
|
||
<span>品质占比</span><span> </span><span>t_7_1_qual_percent</span>
|
||
<span>班组合格率</span><span> </span><span>t_7_2_group_qual_rate</span>
|
||
<span>每日合格率统计</span><span> </span><span>t_7_3_qual_rate_daily</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>子模块标题</span></th><th style='text-align:left;' ><span>子模块表名</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>品质占比</span></td><td style='text-align:left;' ><span>t_7_1_qual_percent</span></td></tr><tr><td style='text-align:left;' ><span>班组合格率</span></td><td style='text-align:left;' ><span>t_7_2_group_qual_rate</span></td></tr><tr><td style='text-align:left;' ><span>每日合格率统计</span></td><td style='text-align:left;' ><span>t_7_3_qual_rate_daily</span></td></tr></tbody></table></figure><h4 id='271-品质占比'><span>2.7.1 品质占比</span></h4><p><span> </span><img src="snap/2-7-1-1.jpg" referrerpolicy="no-referrer"></p><p><span>表名:t_7_1_qual_percent</span>
|
||
<span>字段名</span><span> </span><span>中文名</span><span> </span><span>类型</span><span> </span><span>长度</span><span> </span><span>说明</span>
|
||
<span>internal_id</span><span> </span><span>序号</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>主键自增</span>
|
||
<span>green</span><span> </span><span>绿色百分比</span><span> </span><span>INTEGER</span><span> </span><span>3</span><span> </span>
|
||
<span>blue</span><span> </span><span>蓝色百分比</span><span> </span><span>INTEGER</span><span> </span><span>3</span><span> </span>
|
||
<span>yellow</span><span> </span><span>黄色百分比</span><span> </span><span>INTEGER</span><span> </span><span>3</span><span> </span>
|
||
<span>red</span><span> </span><span>红色百分比</span><span> </span><span>INTEGER</span><span> </span><span>3</span><span> </span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段名</span></th><th style='text-align:left;' ><span>中文名</span></th><th style='text-align:left;' ><span>类型</span></th><th style='text-align:left;' ><span>长度</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>internal_id</span></td><td style='text-align:left;' ><span>序号</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>主键自增</span></td></tr><tr><td style='text-align:left;' ><span>green</span></td><td style='text-align:left;' ><span>绿色百分比</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>3</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>blue</span></td><td style='text-align:left;' ><span>蓝色百分比</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>3</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>yellow</span></td><td style='text-align:left;' ><span>黄色百分比</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>3</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>red</span></td><td style='text-align:left;' ><span>红色百分比</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>3</span></td><td style='text-align:left;' > </td></tr></tbody></table></figure><p><span>默认数据:</span>
|
||
<span>internal_id</span><span> </span><span>green</span><span> </span><span>blue</span><span> </span><span>yellow</span><span> </span><span>red</span>
|
||
<span>1</span><span> </span><span>45</span><span> </span><span>30</span><span> </span><span>15</span><span> </span><span>10</span></p><h4 id='272-班组合格率'><span>2.7.2 班组合格率</span></h4><p><span> </span><img src="snap/2-7-2-1.jpg" referrerpolicy="no-referrer"></p><p><span>表名:t_7_2_group_qual_rate</span>
|
||
<span>字段名</span><span> </span><span>中文名</span><span> </span><span>类型</span><span> </span><span>长度</span><span> </span><span>说明</span>
|
||
<span>internal_id</span><span> </span><span>序号</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>主键自增</span>
|
||
<span>group_name</span><span> </span><span>分组名称</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span>
|
||
<span>qual_rate</span><span> </span><span>合格率</span><span> </span><span>INTEGER</span><span> </span><span>3</span><span> </span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段名</span></th><th style='text-align:left;' ><span>中文名</span></th><th style='text-align:left;' ><span>类型</span></th><th style='text-align:left;' ><span>长度</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>internal_id</span></td><td style='text-align:left;' ><span>序号</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>主键自增</span></td></tr><tr><td style='text-align:left;' ><span>group_name</span></td><td style='text-align:left;' ><span>分组名称</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>qual_rate</span></td><td style='text-align:left;' ><span>合格率</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>3</span></td><td style='text-align:left;' > </td></tr></tbody></table></figure><p><span>默认数据:</span>
|
||
<span>internal_id</span><span> </span><span>group_name</span><span> </span><span>qual_rate</span>
|
||
<span>1</span><span> </span><span>CNC</span><span> </span><span>90</span>
|
||
<span>2</span><span> </span><span>EDM</span><span> </span><span>85</span>
|
||
<span>3</span><span> </span><span>WEDM</span><span> </span><span>92</span>
|
||
<span>4</span><span> </span><span>磨床</span><span> </span><span>94</span>
|
||
<span>5</span><span> </span><span>铣床</span><span> </span><span>93</span>
|
||
<span>6</span><span> </span><span>外协</span><span> </span><span>92</span></p><h4 id='273-每日合格率统计'><span>2.7.3 每日合格率统计</span></h4><p><span> </span><img src="snap/2-7-3-1.jpg" referrerpolicy="no-referrer"></p><p><span>表名:t_7_3_qual_rate_daily</span>
|
||
<span>字段名</span><span> </span><span>中文名</span><span> </span><span>类型</span><span> </span><span>长度</span><span> </span><span>说明</span>
|
||
<span>internal_id</span><span> </span><span>序号</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>主键自增</span>
|
||
<span>group_name</span><span> </span><span>分组名称</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span>
|
||
<span>day_1</span><span> </span><span>第1天</span><span> </span><span>INTEGER</span><span> </span><span>3</span><span> </span>
|
||
<span>day_*</span><span> </span><span>第*天</span><span> </span><span>INTEGER</span><span> </span><span>3</span><span> </span>
|
||
<span>day_31</span><span> </span><span>第31天</span><span> </span><span>INTEGER</span><span> </span><span>3</span><span> </span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段名</span></th><th style='text-align:left;' ><span>中文名</span></th><th style='text-align:left;' ><span>类型</span></th><th style='text-align:left;' ><span>长度</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>internal_id</span></td><td style='text-align:left;' ><span>序号</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>主键自增</span></td></tr><tr><td style='text-align:left;' ><span>group_name</span></td><td style='text-align:left;' ><span>分组名称</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>day_1</span></td><td style='text-align:left;' ><span>第1天</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>3</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>day_*</span></td><td style='text-align:left;' ><span>第*天</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>3</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>day_31</span></td><td style='text-align:left;' ><span>第31天</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>3</span></td><td style='text-align:left;' > </td></tr></tbody></table></figure><p><span>默认数据:</span>
|
||
<span>1, 'all', 90, 90, 97, 91, 92, 88, 89, 90, 78, 87, 86, 90, 80, 97, 87, 87, 88, 89, 90, 90, 89, 86, 90, 80, 97, 87, 87, 89, 89, 89, 90</span></p><h3 id='28-物料管理模块'><span>2.8 物料管理模块</span></h3><p><span> </span><img src="snap/2-8-1.jpg" referrerpolicy="no-referrer"></p><p><span>子模块表名对应表:</span>
|
||
<span>子模块标题</span><span> </span><span>子模块表名</span>
|
||
<span>库存占比</span><span> </span><span>t_8_1_key_invt</span>
|
||
<span>主要零件库存</span><span> </span><span>t_8_2_invt_table</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>子模块标题</span></th><th style='text-align:left;' ><span>子模块表名</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>库存占比</span></td><td style='text-align:left;' ><span>t_8_1_key_invt</span></td></tr><tr><td style='text-align:left;' ><span>主要零件库存</span></td><td style='text-align:left;' ><span>t_8_2_invt_table</span></td></tr></tbody></table></figure><h4 id='281-库存占比'><span>2.8.1 库存占比</span></h4><p><span> </span><img src="snap/2-8-1-1.jpg" referrerpolicy="no-referrer"></p><p><span>表名:t_8_1_key_invt</span>
|
||
<span>字段名</span><span> </span><span>中文名</span><span> </span><span>类型</span><span> </span><span>长度</span><span> </span><span>说明</span>
|
||
<span>internal_id</span><span> </span><span>序号</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>主键自增</span>
|
||
<span>name</span><span> </span><span>名称</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span>
|
||
<span>upper_bound</span><span> </span><span>上限</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span>
|
||
<span>current</span><span> </span><span>库存</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段名</span></th><th style='text-align:left;' ><span>中文名</span></th><th style='text-align:left;' ><span>类型</span></th><th style='text-align:left;' ><span>长度</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>internal_id</span></td><td style='text-align:left;' ><span>序号</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>主键自增</span></td></tr><tr><td style='text-align:left;' ><span>name</span></td><td style='text-align:left;' ><span>名称</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>upper_bound</span></td><td style='text-align:left;' ><span>上限</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>current</span></td><td style='text-align:left;' ><span>库存</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' > </td></tr></tbody></table></figure><p><span>默认数据:</span>
|
||
<span>internal_id</span><span> </span><span>name</span><span> </span><span>upper_bound</span><span> </span><span>current</span>
|
||
<span>1</span><span> </span><span>刀具A1</span><span> </span><span>200</span><span> </span><span>110</span>
|
||
<span>2</span><span> </span><span>顶针B</span><span> </span><span>100</span><span> </span><span>70</span>
|
||
<span>3</span><span> </span><span>线割丝C</span><span> </span><span>100</span><span> </span><span>300</span>
|
||
<span>4</span><span> </span><span>树脂D</span><span> </span><span>100</span><span> </span><span>10</span></p><h4 id='282-主要零件库存'><span>2.8.2 主要零件库存</span></h4><p><span> </span><img src="snap/2-8-2-1.jpg" referrerpolicy="no-referrer">
|
||
<span>表名:t_8_2_invt_table</span>
|
||
<span>字段名</span><span> </span><span>中文名</span><span> </span><span>类型</span><span> </span><span>长度</span><span> </span><span>说明</span>
|
||
<span>internal_id</span><span> </span><span>序号</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span><span>主键自增</span>
|
||
<span>invt_no</span><span> </span><span>编号</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span>
|
||
<span>name</span><span> </span><span>品名</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span>
|
||
<span>spec</span><span> </span><span>规格</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span>
|
||
<span>mat</span><span> </span><span>材料</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span>
|
||
<span>size</span><span> </span><span>尺寸</span><span> </span><span>VARCHAR</span><span> </span><span>255</span><span> </span>
|
||
<span>target</span><span> </span><span>目标库存</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span>
|
||
<span>current</span><span> </span><span>当前库存</span><span> </span><span>INTEGER</span><span> </span><span>11</span><span> </span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段名</span></th><th style='text-align:left;' ><span>中文名</span></th><th style='text-align:left;' ><span>类型</span></th><th style='text-align:left;' ><span>长度</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>internal_id</span></td><td style='text-align:left;' ><span>序号</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' ><span>主键自增</span></td></tr><tr><td style='text-align:left;' ><span>invt_no</span></td><td style='text-align:left;' ><span>编号</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>name</span></td><td style='text-align:left;' ><span>品名</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>spec</span></td><td style='text-align:left;' ><span>规格</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>mat</span></td><td style='text-align:left;' ><span>材料</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>size</span></td><td style='text-align:left;' ><span>尺寸</span></td><td style='text-align:left;' ><span>VARCHAR</span></td><td style='text-align:left;' ><span>255</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>target</span></td><td style='text-align:left;' ><span>目标库存</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>current</span></td><td style='text-align:left;' ><span>当前库存</span></td><td style='text-align:left;' ><span>INTEGER</span></td><td style='text-align:left;' ><span>11</span></td><td style='text-align:left;' > </td></tr></tbody></table></figure><p><span>默认数据:</span>
|
||
<span>internal_id</span><span> </span><span>invt_no</span><span> </span><span>name</span><span> </span><span>spec</span><span> </span><span>mat</span><span> </span><span>size</span><span> </span><span>target</span><span> </span><span>current</span>
|
||
<span>1</span><span> </span><span>SSDDS1</span><span> </span><span>品名1</span><span> </span><span>规格1</span><span> </span><span>材料1</span><span> </span><span>34</span><em><span>54</span></em><span>20</span><span> </span><span>200</span><span> </span><span>90</span>
|
||
<span>2</span><span> </span><span>SSDDS2</span><span> </span><span>品名2</span><span> </span><span>规格2</span><span> </span><span>材料2</span><span> </span><span>34</span><em><span>54</span></em><span>20</span><span> </span><span>100</span><span> </span><span>120</span>
|
||
<span>3</span><span> </span><span>SSDDS3</span><span> </span><span>品名3</span><span> </span><span>规格3</span><span> </span><span>材料3</span><span> </span><span>34</span><em><span>54</span></em><span>20</span><span> </span><span>100</span><span> </span><span>67</span>
|
||
<span>4</span><span> </span><span>SSDDS4</span><span> </span><span>品名4</span><span> </span><span>规格4</span><span> </span><span>材料4</span><span> </span><span>34</span><em><span>54</span></em><span>20</span><span> </span><span>100</span><span> </span><span>88</span>
|
||
<span>5</span><span> </span><span>SSDDS5</span><span> </span><span>品名5</span><span> </span><span>规格5</span><span> </span><span>材料5</span><span> </span><span>34</span><em><span>54</span></em><span>20</span><span> </span><span>100</span><span> </span><span>45</span>
|
||
<span>6</span><span> </span><span>SSDDS6</span><span> </span><span>品名6</span><span> </span><span>规格6</span><span> </span><span>材料6</span><span> </span><span>34</span><em><span>54</span></em><span>20</span><span> </span><span>100</span><span> </span><span>87</span>
|
||
<span>7</span><span> </span><span>SSDDS7</span><span> </span><span>品名7</span><span> </span><span>规格7</span><span> </span><span>材料7</span><span> </span><span>34</span><em><span>54</span></em><span>20</span><span> </span><span>100</span><span> </span><span>9</span>
|
||
<span>8</span><span> </span><span>SSDDS8</span><span> </span><span>品名8</span><span> </span><span>规格8</span><span> </span><span>材料8</span><span> </span><span>34</span><em><span>54</span></em><span>20</span><span> </span><span>100</span><span> </span><span>44</span>
|
||
<span>9</span><span> </span><span>SSDDS9</span><span> </span><span>品名9</span><span> </span><span>规格9</span><span> </span><span>材料9</span><span> </span><span>34</span><em><span>54</span></em><span>20</span><span> </span><span>100</span><span> </span><span>100</span></p><h2 id='3-配置参数说明'><span>3 配置参数说明</span></h2><h3 id='31-基本配置1'><span>3.1 基本配置1</span></h3><p><span>字段</span><span> </span><span>描述</span><span> </span><span>默认值</span>
|
||
<span>IndexStart</span><span> </span><span>启动窗体索引 0-大屏系统 1-控件演示 2-模块演示</span><span> </span><span>0-大屏系统</span>
|
||
<span>IndexControl</span><span> </span><span>控件演示窗体选中子窗体索引</span><span> </span><span>0</span>
|
||
<span>IndexModule</span><span> </span><span>模块演示窗体选中子窗体索引</span><span> </span><span>0</span>
|
||
<span>WorkMode</span><span> </span><span>工作模式 timer-模拟数据 db-数据库采集 com-串口采集 tcp-网络采集 http-post请求</span><span> </span><span>timer</span>
|
||
<span>MapStyle</span><span> </span><span>中间地图样式 image-静态图片 point-闪烁效果 move-迁徙效果 world-世界地图 area-区域地图</span><span> </span><span>point</span>
|
||
<span>Title</span><span> </span><span>软件标题,默认值:数字化工厂信息中心</span><span> </span>
|
||
<span>Ratio</span><span> </span><span>分辨率,目前无意义,备用参数</span><span> </span><span>1920*1080</span>
|
||
<span>Layout</span><span> </span><span>布局方案,每次切换布局方案以后都会保存</span><span> </span><span>完整布局</span>
|
||
<span>Theme</span><span> </span><span>配色方案,每次切换配色方案以后都会保存</span><span> </span><span>紫色风格</span>
|
||
<span>HttpUrl</span><span> </span><span>网络请求地址,默认</span><a href='http://127.0.0.1:6000' target='_blank' class='url'>http://127.0.0.1:6000</a><span> </span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段</span></th><th style='text-align:left;' ><span>描述</span></th><th style='text-align:left;' ><span>默认值</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>IndexStart</span></td><td style='text-align:left;' ><span>启动窗体索引 0-大屏系统 1-控件演示 2-模块演示</span></td><td style='text-align:left;' ><span>0-大屏系统</span></td></tr><tr><td style='text-align:left;' ><span>IndexControl</span></td><td style='text-align:left;' ><span>控件演示窗体选中子窗体索引</span></td><td style='text-align:left;' ><span>0</span></td></tr><tr><td style='text-align:left;' ><span>IndexModule</span></td><td style='text-align:left;' ><span>模块演示窗体选中子窗体索引</span></td><td style='text-align:left;' ><span>0</span></td></tr><tr><td style='text-align:left;' ><span>WorkMode</span></td><td style='text-align:left;' ><span>工作模式 timer-模拟数据 db-数据库采集 com-串口采集 tcp-网络采集 http-post请求</span></td><td style='text-align:left;' ><span>timer</span></td></tr><tr><td style='text-align:left;' ><span>MapStyle</span></td><td style='text-align:left;' ><span>中间地图样式 image-静态图片 point-闪烁效果 move-迁徙效果 world-世界地图 area-区域地图</span></td><td style='text-align:left;' ><span>point</span></td></tr><tr><td style='text-align:left;' ><span>Title</span></td><td style='text-align:left;' ><span>软件标题,默认值:数字化工厂信息中心</span></td><td style='text-align:left;' > </td></tr><tr><td style='text-align:left;' ><span>Ratio</span></td><td style='text-align:left;' ><span>分辨率,目前无意义,备用参数</span></td><td style='text-align:left;' ><span>1920*1080</span></td></tr><tr><td style='text-align:left;' ><span>Layout</span></td><td style='text-align:left;' ><span>布局方案,每次切换布局方案以后都会保存</span></td><td style='text-align:left;' ><span>完整布局</span></td></tr><tr><td style='text-align:left;' ><span>Theme</span></td><td style='text-align:left;' ><span>配色方案,每次切换配色方案以后都会保存</span></td><td style='text-align:left;' ><span>紫色风格</span></td></tr><tr><td style='text-align:left;' ><span>HttpUrl</span></td><td style='text-align:left;' ><span>网络请求地址,默认</span><a href='http://127.0.0.1:6000' target='_blank' class='url'>http://127.0.0.1:6000</a></td><td style='text-align:left;' > </td></tr></tbody></table></figure><h3 id='32-基本设置2'><span>3.2 基本设置2</span></h3><p><span>字段</span><span> </span><span>描述</span><span> </span><span>默认值</span>
|
||
<span>AutoRun</span><span> </span><span>是否开机启动</span><span> </span><span>false</span>
|
||
<span>MoveEnable</span><span> </span><span>模块是否可以拖动,启用以后模块可以任意拖动</span><span> </span><span>true</span>
|
||
<span>CutLeftBottom</span><span> </span><span>底部布局左侧是否切掉</span><span> </span><span>true</span>
|
||
<span>CutRightBottom</span><span> </span><span>底部布局右侧是否切掉</span><span> </span><span>true</span>
|
||
<span>StaticLine</span><span> </span><span>是否绘制静态定位线,为假则绘制游标十字线</span><span> </span><span>false</span>
|
||
<span>ShowPercent</span><span> </span><span>Y轴是否显示百分比</span><span> </span><span>false</span>
|
||
<span>StepY</span><span> </span><span>Y轴大尺度步长</span><span> </span><span>6</span>
|
||
<span>CursorHideTime</span><span> </span><span>用户不操作鼠标自动隐藏鼠标的时间间隔,单位秒</span><span> </span><span>5</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段</span></th><th style='text-align:left;' ><span>描述</span></th><th style='text-align:left;' ><span>默认值</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>AutoRun</span></td><td style='text-align:left;' ><span>是否开机启动</span></td><td style='text-align:left;' ><span>false</span></td></tr><tr><td style='text-align:left;' ><span>MoveEnable</span></td><td style='text-align:left;' ><span>模块是否可以拖动,启用以后模块可以任意拖动</span></td><td style='text-align:left;' ><span>true</span></td></tr><tr><td style='text-align:left;' ><span>CutLeftBottom</span></td><td style='text-align:left;' ><span>底部布局左侧是否切掉</span></td><td style='text-align:left;' ><span>true</span></td></tr><tr><td style='text-align:left;' ><span>CutRightBottom</span></td><td style='text-align:left;' ><span>底部布局右侧是否切掉</span></td><td style='text-align:left;' ><span>true</span></td></tr><tr><td style='text-align:left;' ><span>StaticLine</span></td><td style='text-align:left;' ><span>是否绘制静态定位线,为假则绘制游标十字线</span></td><td style='text-align:left;' ><span>false</span></td></tr><tr><td style='text-align:left;' ><span>ShowPercent</span></td><td style='text-align:left;' ><span>Y轴是否显示百分比</span></td><td style='text-align:left;' ><span>false</span></td></tr><tr><td style='text-align:left;' ><span>StepY</span></td><td style='text-align:left;' ><span>Y轴大尺度步长</span></td><td style='text-align:left;' ><span>6</span></td></tr><tr><td style='text-align:left;' ><span>CursorHideTime</span></td><td style='text-align:left;' ><span>用户不操作鼠标自动隐藏鼠标的时间间隔,单位秒</span></td><td style='text-align:left;' ><span>5</span></td></tr></tbody></table></figure><h3 id='33-视频设置'><span>3.3 视频设置</span></h3><p><span>字段</span><span> </span><span>描述</span><span> </span><span>默认值</span>
|
||
<span>VideoFillImage</span><span> </span><span>视频缩放,拉伸填充整个窗体</span><span> </span><span>false</span>
|
||
<span>VideoCallback</span><span> </span><span>视频回调,开启后采用painter走GPU绘制视频</span><span> </span><span>false</span>
|
||
<span>VideoPlayAudio</span><span> </span><span>播放音频,开启后视频同步播放音频</span><span> </span><span>true</span>
|
||
<span>VideoPlayRepeat</span><span> </span><span>视频循环播放,开启后视频会循环播放</span><span> </span><span>false</span>
|
||
<span>VideoUrl</span><span> </span><span>视频流地址,视频模块播放的视频地址</span><span> </span><span>变动的</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段</span></th><th style='text-align:left;' ><span>描述</span></th><th style='text-align:left;' ><span>默认值</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>VideoFillImage</span></td><td style='text-align:left;' ><span>视频缩放,拉伸填充整个窗体</span></td><td style='text-align:left;' ><span>false</span></td></tr><tr><td style='text-align:left;' ><span>VideoCallback</span></td><td style='text-align:left;' ><span>视频回调,开启后采用painter走GPU绘制视频</span></td><td style='text-align:left;' ><span>false</span></td></tr><tr><td style='text-align:left;' ><span>VideoPlayAudio</span></td><td style='text-align:left;' ><span>播放音频,开启后视频同步播放音频</span></td><td style='text-align:left;' ><span>true</span></td></tr><tr><td style='text-align:left;' ><span>VideoPlayRepeat</span></td><td style='text-align:left;' ><span>视频循环播放,开启后视频会循环播放</span></td><td style='text-align:left;' ><span>false</span></td></tr><tr><td style='text-align:left;' ><span>VideoUrl</span></td><td style='text-align:left;' ><span>视频流地址,视频模块播放的视频地址</span></td><td style='text-align:left;' ><span>变动的</span></td></tr></tbody></table></figure><h3 id='34-颜色配置1'><span>3.4 颜色配置1</span></h3><p><span>字段</span><span> </span><span>描述</span><span> </span><span>默认值</span>
|
||
<span>ColorMainBg</span><span> </span><span>主背景颜色</span><span> </span><span>QColor(4, 7, 38)</span>
|
||
<span>ColorPanelBg</span><span> </span><span>面板背景颜色</span><span> </span><span>QColor(26, 29, 60)</span>
|
||
<span>ColorLine</span><span> </span><span>十字线定位线颜色</span><span> </span><span>QColor(255, 0, 0)</span>
|
||
<span>ColorLine1</span><span> </span><span>线条1颜色</span><span> </span><span>QColor(0, 176, 180)</span>
|
||
<span>ColorLine2</span><span> </span><span>线条2颜色</span><span> </span><span>QColor(32, 159, 223)</span>
|
||
<span>ColorLine3</span><span> </span><span>线条3颜色</span><span> </span><span>QColor(255, 192, 0)</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段</span></th><th style='text-align:left;' ><span>描述</span></th><th style='text-align:left;' ><span>默认值</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>ColorMainBg</span></td><td style='text-align:left;' ><span>主背景颜色</span></td><td style='text-align:left;' ><span>QColor(4, 7, 38)</span></td></tr><tr><td style='text-align:left;' ><span>ColorPanelBg</span></td><td style='text-align:left;' ><span>面板背景颜色</span></td><td style='text-align:left;' ><span>QColor(26, 29, 60)</span></td></tr><tr><td style='text-align:left;' ><span>ColorLine</span></td><td style='text-align:left;' ><span>十字线定位线颜色</span></td><td style='text-align:left;' ><span>QColor(255, 0, 0)</span></td></tr><tr><td style='text-align:left;' ><span>ColorLine1</span></td><td style='text-align:left;' ><span>线条1颜色</span></td><td style='text-align:left;' ><span>QColor(0, 176, 180)</span></td></tr><tr><td style='text-align:left;' ><span>ColorLine2</span></td><td style='text-align:left;' ><span>线条2颜色</span></td><td style='text-align:left;' ><span>QColor(32, 159, 223)</span></td></tr><tr><td style='text-align:left;' ><span>ColorLine3</span></td><td style='text-align:left;' ><span>线条3颜色</span></td><td style='text-align:left;' ><span>QColor(255, 192, 0)</span></td></tr></tbody></table></figure><h3 id='35-颜色配置2'><span>3.5 颜色配置2</span></h3><p><span>字段</span><span> </span><span>描述</span><span> </span><span>默认值</span>
|
||
<span>ColorTitleBg</span><span> </span><span>标题栏背景颜色</span><span> </span><span>QColor(48, 48, 85)</span>
|
||
<span>ColorTitleText</span><span> </span><span>标题栏文字颜色</span><span> </span><span>QColor(255, 255, 255)</span>
|
||
<span>ColorChartBg</span><span> </span><span>曲线图表背景颜色</span><span> </span><span>QColor(38, 41, 74)</span>
|
||
<span>ColorChartText</span><span> </span><span>曲线图表文字颜色</span><span> </span><span>QColor(250, 250, 250)</span>
|
||
<span>ColorChartGrid</span><span> </span><span>曲线图表网格颜色</span><span> </span><span>QColor(180, 180, 180)</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段</span></th><th style='text-align:left;' ><span>描述</span></th><th style='text-align:left;' ><span>默认值</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>ColorTitleBg</span></td><td style='text-align:left;' ><span>标题栏背景颜色</span></td><td style='text-align:left;' ><span>QColor(48, 48, 85)</span></td></tr><tr><td style='text-align:left;' ><span>ColorTitleText</span></td><td style='text-align:left;' ><span>标题栏文字颜色</span></td><td style='text-align:left;' ><span>QColor(255, 255, 255)</span></td></tr><tr><td style='text-align:left;' ><span>ColorChartBg</span></td><td style='text-align:left;' ><span>曲线图表背景颜色</span></td><td style='text-align:left;' ><span>QColor(38, 41, 74)</span></td></tr><tr><td style='text-align:left;' ><span>ColorChartText</span></td><td style='text-align:left;' ><span>曲线图表文字颜色</span></td><td style='text-align:left;' ><span>QColor(250, 250, 250)</span></td></tr><tr><td style='text-align:left;' ><span>ColorChartGrid</span></td><td style='text-align:left;' ><span>曲线图表网格颜色</span></td><td style='text-align:left;' ><span>QColor(180, 180, 180)</span></td></tr></tbody></table></figure><h3 id='36-颜色配置3'><span>3.6 颜色配置3</span></h3><p><span>字段</span><span> </span><span>描述</span><span> </span><span>默认值</span>
|
||
<span>ColorOk</span><span> </span><span>正常颜色</span><span> </span><span>QColor(0, 176, 180)</span>
|
||
<span>ColorLow</span><span> </span><span>警戒颜色</span><span> </span><span>QColor(255, 192, 0)</span>
|
||
<span>ColorAlarm</span><span> </span><span>报警颜色</span><span> </span><span>QColor(214, 77, 84)</span>
|
||
<span>ColorDisable</span><span> </span><span>禁用背景颜色</span><span> </span><span>QColor(210, 210, 210)</span>
|
||
<span>ColorPercent</span><span> </span><span>环形百分比背景颜色</span><span> </span><span>QColor(0, 254, 254)</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段</span></th><th style='text-align:left;' ><span>描述</span></th><th style='text-align:left;' ><span>默认值</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>ColorOk</span></td><td style='text-align:left;' ><span>正常颜色</span></td><td style='text-align:left;' ><span>QColor(0, 176, 180)</span></td></tr><tr><td style='text-align:left;' ><span>ColorLow</span></td><td style='text-align:left;' ><span>警戒颜色</span></td><td style='text-align:left;' ><span>QColor(255, 192, 0)</span></td></tr><tr><td style='text-align:left;' ><span>ColorAlarm</span></td><td style='text-align:left;' ><span>报警颜色</span></td><td style='text-align:left;' ><span>QColor(214, 77, 84)</span></td></tr><tr><td style='text-align:left;' ><span>ColorDisable</span></td><td style='text-align:left;' ><span>禁用背景颜色</span></td><td style='text-align:left;' ><span>QColor(210, 210, 210)</span></td></tr><tr><td style='text-align:left;' ><span>ColorPercent</span></td><td style='text-align:left;' ><span>环形百分比背景颜色</span></td><td style='text-align:left;' ><span>QColor(0, 254, 254)</span></td></tr></tbody></table></figure><h3 id='37-字体配置'><span>3.7 字体配置</span></h3><p><span>字段</span><span> </span><span>描述</span><span> </span><span>默认值</span>
|
||
<span>MainFont</span><span> </span><span>全局字号</span><span> </span><span>微软雅黑,12</span>
|
||
<span>NameFont</span><span> </span><span>软件名称字号</span><span> </span><span>19</span>
|
||
<span>LabFont</span><span> </span><span>加粗标签字号</span><span> </span><span>12</span>
|
||
<span>DeviceFont</span><span> </span><span>设备面板字号</span><span> </span><span>12</span>
|
||
<span>SubTitleFont</span><span> </span><span>模块子标题栏字号</span><span> </span><span>13</span>
|
||
<span>TitleFont</span><span> </span><span>模块标题栏字号</span><span> </span><span>15</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段</span></th><th style='text-align:left;' ><span>描述</span></th><th style='text-align:left;' ><span>默认值</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>MainFont</span></td><td style='text-align:left;' ><span>全局字号</span></td><td style='text-align:left;' ><span>微软雅黑,12</span></td></tr><tr><td style='text-align:left;' ><span>NameFont</span></td><td style='text-align:left;' ><span>软件名称字号</span></td><td style='text-align:left;' ><span>19</span></td></tr><tr><td style='text-align:left;' ><span>LabFont</span></td><td style='text-align:left;' ><span>加粗标签字号</span></td><td style='text-align:left;' ><span>12</span></td></tr><tr><td style='text-align:left;' ><span>DeviceFont</span></td><td style='text-align:left;' ><span>设备面板字号</span></td><td style='text-align:left;' ><span>12</span></td></tr><tr><td style='text-align:left;' ><span>SubTitleFont</span></td><td style='text-align:left;' ><span>模块子标题栏字号</span></td><td style='text-align:left;' ><span>13</span></td></tr><tr><td style='text-align:left;' ><span>TitleFont</span></td><td style='text-align:left;' ><span>模块标题栏字号</span></td><td style='text-align:left;' ><span>15</span></td></tr></tbody></table></figure><h3 id='38-尺寸配置'><span>3.8 尺寸配置</span></h3><p><span>字段</span><span> </span><span>描述</span><span> </span><span>默认值</span>
|
||
<span>TitleHeight</span><span> </span><span>模块标题栏高度</span><span> </span><span>23</span>
|
||
<span>HeadHeight</span><span> </span><span>表格表头高度</span><span> </span><span>28</span>
|
||
<span>RowHeight</span><span> </span><span>表格行高度</span><span> </span><span>25</span>
|
||
<span>LayoutSpacing</span><span> </span><span>布局空隙间隔</span><span> </span><span>6</span>
|
||
<span>SwitchBtnWidth</span><span> </span><span>开关按钮宽度</span><span> </span><span>65</span>
|
||
<span>SwitchBtnHeight</span><span> </span><span>开关按钮高度</span><span> </span><span>26</span>
|
||
<span>ScrollWidth</span><span> </span><span>滚动条宽度</span><span> </span><span>15</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段</span></th><th style='text-align:left;' ><span>描述</span></th><th style='text-align:left;' ><span>默认值</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>TitleHeight</span></td><td style='text-align:left;' ><span>模块标题栏高度</span></td><td style='text-align:left;' ><span>23</span></td></tr><tr><td style='text-align:left;' ><span>HeadHeight</span></td><td style='text-align:left;' ><span>表格表头高度</span></td><td style='text-align:left;' ><span>28</span></td></tr><tr><td style='text-align:left;' ><span>RowHeight</span></td><td style='text-align:left;' ><span>表格行高度</span></td><td style='text-align:left;' ><span>25</span></td></tr><tr><td style='text-align:left;' ><span>LayoutSpacing</span></td><td style='text-align:left;' ><span>布局空隙间隔</span></td><td style='text-align:left;' ><span>6</span></td></tr><tr><td style='text-align:left;' ><span>SwitchBtnWidth</span></td><td style='text-align:left;' ><span>开关按钮宽度</span></td><td style='text-align:left;' ><span>65</span></td></tr><tr><td style='text-align:left;' ><span>SwitchBtnHeight</span></td><td style='text-align:left;' ><span>开关按钮高度</span></td><td style='text-align:left;' ><span>26</span></td></tr><tr><td style='text-align:left;' ><span>ScrollWidth</span></td><td style='text-align:left;' ><span>滚动条宽度</span></td><td style='text-align:left;' ><span>15</span></td></tr></tbody></table></figure><h3 id='39-采集速度'><span>3.9 采集速度</span></h3><p><span>字段</span><span> </span><span>描述</span><span> </span><span>默认值</span>
|
||
<span>IntervalModule1</span><span> </span><span>模块1采集间隔,单位毫秒</span><span> </span><span>5000</span>
|
||
<span>IntervalModule2</span><span> </span><span>模块2采集间隔,单位毫秒</span><span> </span><span>5100</span>
|
||
<span>IntervalModule3</span><span> </span><span>模块3采集间隔,单位毫秒</span><span> </span><span>5200</span>
|
||
<span>IntervalModule4</span><span> </span><span>模块4采集间隔,单位毫秒</span><span> </span><span>5300</span>
|
||
<span>IntervalModule5</span><span> </span><span>模块5采集间隔,单位毫秒</span><span> </span><span>5400</span>
|
||
<span>IntervalModule6</span><span> </span><span>模块6采集间隔,单位毫秒</span><span> </span><span>5500</span>
|
||
<span>IntervalModule7</span><span> </span><span>模块7采集间隔,单位毫秒</span><span> </span><span>5600</span>
|
||
<span>IntervalModule8</span><span> </span><span>模块8采集间隔,单位毫秒</span><span> </span><span>5700</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段</span></th><th style='text-align:left;' ><span>描述</span></th><th style='text-align:left;' ><span>默认值</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>IntervalModule1</span></td><td style='text-align:left;' ><span>模块1采集间隔,单位毫秒</span></td><td style='text-align:left;' ><span>5000</span></td></tr><tr><td style='text-align:left;' ><span>IntervalModule2</span></td><td style='text-align:left;' ><span>模块2采集间隔,单位毫秒</span></td><td style='text-align:left;' ><span>5100</span></td></tr><tr><td style='text-align:left;' ><span>IntervalModule3</span></td><td style='text-align:left;' ><span>模块3采集间隔,单位毫秒</span></td><td style='text-align:left;' ><span>5200</span></td></tr><tr><td style='text-align:left;' ><span>IntervalModule4</span></td><td style='text-align:left;' ><span>模块4采集间隔,单位毫秒</span></td><td style='text-align:left;' ><span>5300</span></td></tr><tr><td style='text-align:left;' ><span>IntervalModule5</span></td><td style='text-align:left;' ><span>模块5采集间隔,单位毫秒</span></td><td style='text-align:left;' ><span>5400</span></td></tr><tr><td style='text-align:left;' ><span>IntervalModule6</span></td><td style='text-align:left;' ><span>模块6采集间隔,单位毫秒</span></td><td style='text-align:left;' ><span>5500</span></td></tr><tr><td style='text-align:left;' ><span>IntervalModule7</span></td><td style='text-align:left;' ><span>模块7采集间隔,单位毫秒</span></td><td style='text-align:left;' ><span>5600</span></td></tr><tr><td style='text-align:left;' ><span>IntervalModule8</span></td><td style='text-align:left;' ><span>模块8采集间隔,单位毫秒</span></td><td style='text-align:left;' ><span>5700</span></td></tr></tbody></table></figure><h3 id='310-数据库配置'><span>3.10 数据库配置</span></h3><p><span>字段</span><span> </span><span>描述</span><span> </span><span>默认值</span>
|
||
<span>LocalDBType</span><span> </span><span>本地数据库类型,Sqlite、Mysql等</span><span> </span><span>Sqlite</span>
|
||
<span>LocalDBIP</span><span> </span><span>本地数据库主机地址</span><span> </span><span>127.0.0.1</span>
|
||
<span>LocalDBPort</span><span> </span><span>本地数据库端口</span><span> </span><span>3306</span>
|
||
<span>LocalDBName</span><span> </span><span>本地数据库名称</span><span> </span><span>bigscreen</span>
|
||
<span>LocalUserName</span><span> </span><span>本地数据库用户名</span><span> </span><span>root</span>
|
||
<span>LocalUserPwd</span><span> </span><span>本地数据库密码,以密文存储</span><span> </span><span>root</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>字段</span></th><th style='text-align:left;' ><span>描述</span></th><th style='text-align:left;' ><span>默认值</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>LocalDBType</span></td><td style='text-align:left;' ><span>本地数据库类型,Sqlite、Mysql等</span></td><td style='text-align:left;' ><span>Sqlite</span></td></tr><tr><td style='text-align:left;' ><span>LocalDBIP</span></td><td style='text-align:left;' ><span>本地数据库主机地址</span></td><td style='text-align:left;' ><span>127.0.0.1</span></td></tr><tr><td style='text-align:left;' ><span>LocalDBPort</span></td><td style='text-align:left;' ><span>本地数据库端口</span></td><td style='text-align:left;' ><span>3306</span></td></tr><tr><td style='text-align:left;' ><span>LocalDBName</span></td><td style='text-align:left;' ><span>本地数据库名称</span></td><td style='text-align:left;' ><span>bigscreen</span></td></tr><tr><td style='text-align:left;' ><span>LocalUserName</span></td><td style='text-align:left;' ><span>本地数据库用户名</span></td><td style='text-align:left;' ><span>root</span></td></tr><tr><td style='text-align:left;' ><span>LocalUserPwd</span></td><td style='text-align:left;' ><span>本地数据库密码,以密文存储</span></td><td style='text-align:left;' ><span>root</span></td></tr></tbody></table></figure><h2 id='4-程序框架说明'><span>4 程序框架说明</span></h2><h3 id='41-整体代码结构'><span>4.1 整体代码结构</span></h3><p><span>项目代码结构图:</span></p><p><span> </span><img src="snap/4-1-1.jpg" referrerpolicy="no-referrer">
|
||
<span> 整个大屏系统就是由一个个子模块组成,每个子模块都用到了一些自定义控件,再打通数据库采集和网络请求采集等,将采集到的数据设置到对应的模块界面上。</span></p><h3 id='42-主模块说明'><span>4.2 主模块说明</span></h3><p><span>主模块</span><span> </span><span>说明</span>
|
||
<span>3rd</span><span> </span><span>一些第三方开源的类库,比如图表qcustomplot。</span>
|
||
<span>class</span><span> </span><span>存放系统初始化、样式控制、自定义控件等。</span>
|
||
<span>core</span><span> </span><span>本人一直持续更新完善的通用的类库,比如ffmpeg视频监控。</span>
|
||
<span>ui</span><span> </span><span>所有的界面都分门别类放在这里。</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>主模块</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>3rd</span></td><td style='text-align:left;' ><span>一些第三方开源的类库,比如图表qcustomplot。</span></td></tr><tr><td style='text-align:left;' ><span>class</span></td><td style='text-align:left;' ><span>存放系统初始化、样式控制、自定义控件等。</span></td></tr><tr><td style='text-align:left;' ><span>core</span></td><td style='text-align:left;' ><span>本人一直持续更新完善的通用的类库,比如ffmpeg视频监控。</span></td></tr><tr><td style='text-align:left;' ><span>ui</span></td><td style='text-align:left;' ><span>所有的界面都分门别类放在这里。</span></td></tr></tbody></table></figure><h3 id='43-子模块说明'><span>4.3 子模块说明</span></h3><p><span>主模块</span><span> </span><span>子模块</span><span> </span><span>说明</span>
|
||
<span>3rd</span><span> </span><span>3rd_qcustomplot</span><span> </span><span>大名鼎鼎的第三方开源的图表组件。</span>
|
||
<span>class</span><span> </span><span>api</span><span> </span><span>存放数据库表映射成对应的全局队列数据、通用的辅助函数类。</span>
|
||
<span>class</span><span> </span><span>app</span><span> </span><span>全局配置参数管理类、秘钥管理类、通用函数。</span>
|
||
<span>class</span><span> </span><span>usercontrol</span><span> </span><span>当前系统的自定义控件全部放在这里,其中包括自定义饼图控件、进度仪表盘、百分比仪表盘、环形进度条、三态进度条等控件。</span>
|
||
<span>core</span><span> </span><span>core_control</span><span> </span><span>通用自定义控件,很多系统经常用到的控件全部放在这里。</span>
|
||
<span>core</span><span> </span><span>core_customplot</span><span> </span><span>继承自qcustomplot类的自定义图表组件,专为大屏系统定制的各种图表组件。</span>
|
||
<span>core</span><span> </span><span>core_db</span><span> </span><span>数据库集成应用组件,比如数据库管理线程类、数据库清理线程类、数据库采集类、网络请求采集类等</span>
|
||
<span>core</span><span> </span><span>core_ffmpeg</span><span> </span><span>视频监控内核,采用ffmpeg解码,支持各种视频流和本地视频文件,支持声音播放和音视频同步。</span>
|
||
<span>core</span><span> </span><span>core_map</span><span> </span><span>地图内核,包括了百度echart封装类,区域轮廓数据转换js函数封装类,百度地图封装类等。</span>
|
||
<span>core</span><span> </span><span>core_opengl</span><span> </span><span>视频绘制类,采用opengl绘制,走GPU绘制。</span>
|
||
<span>core</span><span> </span><span>core_webview</span><span> </span><span>通用浏览器控件类,同时支持webkit、wenengine、miniblink三种内核,打通了所有的Qt版本。</span>
|
||
<span>ui</span><span> </span><span>frmcontrol</span><span> </span><span>大屏控件演示示例,每个功能演示都是个独立的窗体,方便查看代码学习如何使用。</span>
|
||
<span>ui</span><span> </span><span>frmmain</span><span> </span><span>主界面模块,包括了系统配置界面、大屏主界面、大屏指定分辨率用于截图的主界面、设备面板窗体。</span>
|
||
<span>ui</span><span> </span><span>frmmodule</span><span> </span><span>大屏子模块,包括了产量汇总、当月计划、设备监控、模具进度、负荷分布、送检合格率、品质管理、物料管理、视频监控、大屏地图等。</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>主模块</span></th><th style='text-align:left;' ><span>子模块</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>3rd</span></td><td style='text-align:left;' ><span>3rd_qcustomplot</span></td><td style='text-align:left;' ><span>大名鼎鼎的第三方开源的图表组件。</span></td></tr><tr><td style='text-align:left;' ><span>class</span></td><td style='text-align:left;' ><span>api</span></td><td style='text-align:left;' ><span>存放数据库表映射成对应的全局队列数据、通用的辅助函数类。</span></td></tr><tr><td style='text-align:left;' ><span>class</span></td><td style='text-align:left;' ><span>app</span></td><td style='text-align:left;' ><span>全局配置参数管理类、秘钥管理类、通用函数。</span></td></tr><tr><td style='text-align:left;' ><span>class</span></td><td style='text-align:left;' ><span>usercontrol</span></td><td style='text-align:left;' ><span>当前系统的自定义控件全部放在这里,其中包括自定义饼图控件、进度仪表盘、百分比仪表盘、环形进度条、三态进度条等控件。</span></td></tr><tr><td style='text-align:left;' ><span>core</span></td><td style='text-align:left;' ><span>core_control</span></td><td style='text-align:left;' ><span>通用自定义控件,很多系统经常用到的控件全部放在这里。</span></td></tr><tr><td style='text-align:left;' ><span>core</span></td><td style='text-align:left;' ><span>core_customplot</span></td><td style='text-align:left;' ><span>继承自qcustomplot类的自定义图表组件,专为大屏系统定制的各种图表组件。</span></td></tr><tr><td style='text-align:left;' ><span>core</span></td><td style='text-align:left;' ><span>core_db</span></td><td style='text-align:left;' ><span>数据库集成应用组件,比如数据库管理线程类、数据库清理线程类、数据库采集类、网络请求采集类等</span></td></tr><tr><td style='text-align:left;' ><span>core</span></td><td style='text-align:left;' ><span>core_ffmpeg</span></td><td style='text-align:left;' ><span>视频监控内核,采用ffmpeg解码,支持各种视频流和本地视频文件,支持声音播放和音视频同步。</span></td></tr><tr><td style='text-align:left;' ><span>core</span></td><td style='text-align:left;' ><span>core_map</span></td><td style='text-align:left;' ><span>地图内核,包括了百度echart封装类,区域轮廓数据转换js函数封装类,百度地图封装类等。</span></td></tr><tr><td style='text-align:left;' ><span>core</span></td><td style='text-align:left;' ><span>core_opengl</span></td><td style='text-align:left;' ><span>视频绘制类,采用opengl绘制,走GPU绘制。</span></td></tr><tr><td style='text-align:left;' ><span>core</span></td><td style='text-align:left;' ><span>core_webview</span></td><td style='text-align:left;' ><span>通用浏览器控件类,同时支持webkit、wenengine、miniblink三种内核,打通了所有的Qt版本。</span></td></tr><tr><td style='text-align:left;' ><span>ui</span></td><td style='text-align:left;' ><span>frmcontrol</span></td><td style='text-align:left;' ><span>大屏控件演示示例,每个功能演示都是个独立的窗体,方便查看代码学习如何使用。</span></td></tr><tr><td style='text-align:left;' ><span>ui</span></td><td style='text-align:left;' ><span>frmmain</span></td><td style='text-align:left;' ><span>主界面模块,包括了系统配置界面、大屏主界面、大屏指定分辨率用于截图的主界面、设备面板窗体。</span></td></tr><tr><td style='text-align:left;' ><span>ui</span></td><td style='text-align:left;' ><span>frmmodule</span></td><td style='text-align:left;' ><span>大屏子模块,包括了产量汇总、当月计划、设备监控、模具进度、负荷分布、送检合格率、品质管理、物料管理、视频监控、大屏地图等。</span></td></tr></tbody></table></figure><h3 id='44-辅助处理'><span>4.4 辅助处理</span></h3><h4 id='441-数据库表映射'><span>4.4.1 数据库表映射</span></h4><p><span> </span><img src="snap/4-4-1-1.jpg" referrerpolicy="no-referrer">
|
||
<span>将对应的用户表映射到变量队列存储,以便用户登录和整体判断权限等。</span></p><h4 id='442-通用辅助函数类'><span>4.4.2 通用辅助函数类</span></h4><p><span> 这个类就像万能胶一样,在本人写的所有的项目中都有,本类就是将平时常用的一些通用函数都丢在这里,不断完善和持续改进,包括了16进制数据转换、图形字体设置、自定义消息框、错误框、提示框等,集成设置窗体居中显示、设置翻译文件、设置编码、设置延时、设置系统时间等静态方法。</span></p><p><span> </span><img src="snap/4-4-2-1.jpg" referrerpolicy="no-referrer"><span> </span><img src="snap/4-4-2-2.jpg" referrerpolicy="no-referrer"></p><h4 id='443-初始化及辅助'><span>4.4.3 初始化及辅助</span></h4><p><span> </span><img src="snap/4-4-3-1.jpg" referrerpolicy="no-referrer">
|
||
<span>名称</span><span> </span><span>说明</span>
|
||
<span>appconfig</span><span> </span><span>配置参数类,整个系统的配置参数存放在ini文件中,跨平台,所有参数都对应一个变量,读取配置参数的时候将值赋值给变量,写入的时候将变量值写入到配置文件。</span>
|
||
<span>appfun</span><span> </span><span>辅助函数类,比如重启,获取随机数、从多个数组中取出最大值等。</span>
|
||
<span>appinit</span><span> </span><span>程序初始化类,在main函数中,会先执行这个初始化的类,比如初始化皮肤、字体、数据库、样式等操作,这些都是要优先在窗体加载前执行的,执行完毕以后再打开窗体主界面。</span>
|
||
<span>appkey</span><span> </span><span>通用秘钥管理类。</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>名称</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>appconfig</span></td><td style='text-align:left;' ><span>配置参数类,整个系统的配置参数存放在ini文件中,跨平台,所有参数都对应一个变量,读取配置参数的时候将值赋值给变量,写入的时候将变量值写入到配置文件。</span></td></tr><tr><td style='text-align:left;' ><span>appfun</span></td><td style='text-align:left;' ><span>辅助函数类,比如重启,获取随机数、从多个数组中取出最大值等。</span></td></tr><tr><td style='text-align:left;' ><span>appinit</span></td><td style='text-align:left;' ><span>程序初始化类,在main函数中,会先执行这个初始化的类,比如初始化皮肤、字体、数据库、样式等操作,这些都是要优先在窗体加载前执行的,执行完毕以后再打开窗体主界面。</span></td></tr><tr><td style='text-align:left;' ><span>appkey</span></td><td style='text-align:left;' ><span>通用秘钥管理类。</span></td></tr></tbody></table></figure><h4 id='444-自定义控件'><span>4.4.4 自定义控件</span></h4><p><span> </span><img src="snap/4-4-4-1.jpg" referrerpolicy="no-referrer"></p><p><span>名称</span><span> </span><span>说明</span>
|
||
<span>customchart</span><span> </span><span>自定义图表控件</span>
|
||
<span>custompie</span><span> </span><span>自定义饼状图,纯painter绘制,弥补qchart组件不支持qt4等版本。</span>
|
||
<span>customtitlebar</span><span> </span><span>自定义模块标题栏</span>
|
||
<span>gaugepercent</span><span> </span><span>百分比仪表盘</span>
|
||
<span>gaugespeed</span><span> </span><span>速度仪表盘</span>
|
||
<span>progressring</span><span> </span><span>环形进度条</span>
|
||
<span>progressthree</span><span> </span><span>三态进度条</span>
|
||
<span>switchbutton</span><span> </span><span>开关按钮</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>名称</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>customchart</span></td><td style='text-align:left;' ><span>自定义图表控件</span></td></tr><tr><td style='text-align:left;' ><span>custompie</span></td><td style='text-align:left;' ><span>自定义饼状图,纯painter绘制,弥补qchart组件不支持qt4等版本。</span></td></tr><tr><td style='text-align:left;' ><span>customtitlebar</span></td><td style='text-align:left;' ><span>自定义模块标题栏</span></td></tr><tr><td style='text-align:left;' ><span>gaugepercent</span></td><td style='text-align:left;' ><span>百分比仪表盘</span></td></tr><tr><td style='text-align:left;' ><span>gaugespeed</span></td><td style='text-align:left;' ><span>速度仪表盘</span></td></tr><tr><td style='text-align:left;' ><span>progressring</span></td><td style='text-align:left;' ><span>环形进度条</span></td></tr><tr><td style='text-align:left;' ><span>progressthree</span></td><td style='text-align:left;' ><span>三态进度条</span></td></tr><tr><td style='text-align:left;' ><span>switchbutton</span></td><td style='text-align:left;' ><span>开关按钮</span></td></tr></tbody></table></figure><p> </p><p> </p><p> </p><p> </p><p><span> </span><img src="snap/4-4-4-2.jpg" referrerpolicy="no-referrer"><span> </span><img src="snap/4-4-4-3.jpg" referrerpolicy="no-referrer"><span> </span><img src="snap/4-4-4-4.jpg" referrerpolicy="no-referrer">
|
||
<span> </span><img src="snap/4-4-4-5.jpg" referrerpolicy="no-referrer"><span> </span><img src="snap/4-4-4-6.jpg" referrerpolicy="no-referrer"><span> </span><img src="snap/4-4-4-7.jpg" referrerpolicy="no-referrer">
|
||
<span> </span><img src="snap/4-4-4-8.jpg" referrerpolicy="no-referrer"><span> </span><img src="snap/4-4-4-9.jpg" referrerpolicy="no-referrer"></p><h3 id='45-内核模块'><span>4.5 内核模块</span></h3><h4 id='451-通用自定义控件'><span>4.5.1 通用自定义控件</span></h4><p><span>名称</span><span> </span><span>说明</span>
|
||
<span>bottomwidget</span><span> </span><span>通用底部状态栏控件,可以设置软件名称、版本号、运行时间等。</span>
|
||
<span>colorcombobox</span><span> </span><span>颜色下拉框控件,在系统设置中有。</span>
|
||
<span>cpumemorylabel</span><span> </span><span>CPU和内存使用情况标签控件,主界面右上角显示。</span>
|
||
<span>customtitlebar</span><span> </span><span>停靠窗体自定义标题栏控件。</span>
|
||
<span>devicebutton</span><span> </span><span>设备按钮控件,比如图片地图模块中用到,可设置不同的图标样式和状态等,双击发出信号进行相应处理比如弹出对应视频预览等。</span>
|
||
<span>framelesswidget</span><span> </span><span>无边框窗体管理类,无边框拖动+拉伸,主界面就用到了这个类。</span>
|
||
<span>lcddatetime</span><span> </span><span>软件右上角显示时间的控件。</span>
|
||
<span>panelwidget</span><span> </span><span>面板容器控件,主界面子模块表格消息,就用到此控件,用于将一堆widget放到此容器进行管理,自动形成滚动条等。</span>
|
||
<span>switchbutton</span><span> </span><span>开关按钮控件,在系统设置中存在大量该控件。</span>
|
||
<span>xslider</span><span> </span><span>滑动条控件,在原有滑动条基础上增加了鼠标按下立即定位等。</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>名称</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>bottomwidget</span></td><td style='text-align:left;' ><span>通用底部状态栏控件,可以设置软件名称、版本号、运行时间等。</span></td></tr><tr><td style='text-align:left;' ><span>colorcombobox</span></td><td style='text-align:left;' ><span>颜色下拉框控件,在系统设置中有。</span></td></tr><tr><td style='text-align:left;' ><span>cpumemorylabel</span></td><td style='text-align:left;' ><span>CPU和内存使用情况标签控件,主界面右上角显示。</span></td></tr><tr><td style='text-align:left;' ><span>customtitlebar</span></td><td style='text-align:left;' ><span>停靠窗体自定义标题栏控件。</span></td></tr><tr><td style='text-align:left;' ><span>devicebutton</span></td><td style='text-align:left;' ><span>设备按钮控件,比如图片地图模块中用到,可设置不同的图标样式和状态等,双击发出信号进行相应处理比如弹出对应视频预览等。</span></td></tr><tr><td style='text-align:left;' ><span>framelesswidget</span></td><td style='text-align:left;' ><span>无边框窗体管理类,无边框拖动+拉伸,主界面就用到了这个类。</span></td></tr><tr><td style='text-align:left;' ><span>lcddatetime</span></td><td style='text-align:left;' ><span>软件右上角显示时间的控件。</span></td></tr><tr><td style='text-align:left;' ><span>panelwidget</span></td><td style='text-align:left;' ><span>面板容器控件,主界面子模块表格消息,就用到此控件,用于将一堆widget放到此容器进行管理,自动形成滚动条等。</span></td></tr><tr><td style='text-align:left;' ><span>switchbutton</span></td><td style='text-align:left;' ><span>开关按钮控件,在系统设置中存在大量该控件。</span></td></tr><tr><td style='text-align:left;' ><span>xslider</span></td><td style='text-align:left;' ><span>滑动条控件,在原有滑动条基础上增加了鼠标按下立即定位等。</span></td></tr></tbody></table></figure><h4 id='452-图表组件内核'><span>4.5.2 图表组件内核</span></h4><p><span> </span><img src="snap/4-5-2-1.jpg" referrerpolicy="no-referrer">
|
||
<span>名称</span><span> </span><span>说明</span>
|
||
<span>customplot</span><span> </span><span>自定义图表组件类。</span>
|
||
<span>customplotbarh</span><span> </span><span>自定义形状-横向柱状图。</span>
|
||
<span>customplotbarv</span><span> </span><span>自定义形状-垂直柱状图。</span>
|
||
<span>customplothead</span><span> </span><span>当前组件通用头文件。</span>
|
||
<span>customplothelper</span><span> </span><span>当前组件通用辅助函数文件。</span>
|
||
<span>customplotline</span><span> </span><span>自定义形状-平滑曲线图。</span>
|
||
<span>customplottracer</span><span> </span><span>自定义图层绘制十字线,也叫游标,定位线。</span>
|
||
<span>smoothcurve</span><span> </span><span>平滑曲线算法类,内置多种平滑算法,可以自行增加其他算法。</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>名称</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>customplot</span></td><td style='text-align:left;' ><span>自定义图表组件类。</span></td></tr><tr><td style='text-align:left;' ><span>customplotbarh</span></td><td style='text-align:left;' ><span>自定义形状-横向柱状图。</span></td></tr><tr><td style='text-align:left;' ><span>customplotbarv</span></td><td style='text-align:left;' ><span>自定义形状-垂直柱状图。</span></td></tr><tr><td style='text-align:left;' ><span>customplothead</span></td><td style='text-align:left;' ><span>当前组件通用头文件。</span></td></tr><tr><td style='text-align:left;' ><span>customplothelper</span></td><td style='text-align:left;' ><span>当前组件通用辅助函数文件。</span></td></tr><tr><td style='text-align:left;' ><span>customplotline</span></td><td style='text-align:left;' ><span>自定义形状-平滑曲线图。</span></td></tr><tr><td style='text-align:left;' ><span>customplottracer</span></td><td style='text-align:left;' ><span>自定义图层绘制十字线,也叫游标,定位线。</span></td></tr><tr><td style='text-align:left;' ><span>smoothcurve</span></td><td style='text-align:left;' ><span>平滑曲线算法类,内置多种平滑算法,可以自行增加其他算法。</span></td></tr></tbody></table></figure><h4 id='453-数据库应用内核'><span>4.5.3 数据库应用内核</span></h4><p><span> </span><img src="snap/4-5-3-1.jpg" referrerpolicy="no-referrer"></p><p><span>本系统只用到了该类库中的dbconnthread、dbhttpthread。</span>
|
||
<span>dbconnthread:封装的一个通用的数据库通信类,支持sqlite、mysql、PostgreSQL等数据库,功能包括了数据库的打开和关闭,线程执行sql语句队列信号发出执行结果等,支持重连。</span>
|
||
<span>dbhttpthread:本系统除了支持数据库采集模式以外,还支持发送http网络请求的方式来采集数据,请求中带对应要查询的表,字段等信息,这个类就是专门的请求类,请求结果自动过滤运算并信号发出去,返回数据的信号和数据库采集的信号完全一致,使得主界面关联到同一个槽函数就能正常工作。</span>
|
||
<span>名称</span><span> </span><span>说明</span>
|
||
<span>dbcleanthread</span><span> </span><span>自动清理数据线程类。</span>
|
||
<span>dbconnthread</span><span> </span><span>数据库通信管理线程类。</span>
|
||
<span>dbdelegate</span><span> </span><span>自定义委托全家桶,包括复选框、下拉框、密码框、按钮等。</span>
|
||
<span>dbhead</span><span> </span><span>当前组件通用头文件。</span>
|
||
<span>dbhelper</span><span> </span><span>各种数据库应用函数封装,比如初始化数据库、执行sql语句等。</span>
|
||
<span>dbhttpthread</span><span> </span><span>网络请求数据采集类。</span>
|
||
<span>dbpage</span><span> </span><span>数据库通用翻页类。</span>
|
||
<span>dbpagemodel</span><span> </span><span>数据库翻页类数据模型。</span>
|
||
<span>navpage</span><span> </span><span>分页导航控件。</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>名称</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>dbcleanthread</span></td><td style='text-align:left;' ><span>自动清理数据线程类。</span></td></tr><tr><td style='text-align:left;' ><span>dbconnthread</span></td><td style='text-align:left;' ><span>数据库通信管理线程类。</span></td></tr><tr><td style='text-align:left;' ><span>dbdelegate</span></td><td style='text-align:left;' ><span>自定义委托全家桶,包括复选框、下拉框、密码框、按钮等。</span></td></tr><tr><td style='text-align:left;' ><span>dbhead</span></td><td style='text-align:left;' ><span>当前组件通用头文件。</span></td></tr><tr><td style='text-align:left;' ><span>dbhelper</span></td><td style='text-align:left;' ><span>各种数据库应用函数封装,比如初始化数据库、执行sql语句等。</span></td></tr><tr><td style='text-align:left;' ><span>dbhttpthread</span></td><td style='text-align:left;' ><span>网络请求数据采集类。</span></td></tr><tr><td style='text-align:left;' ><span>dbpage</span></td><td style='text-align:left;' ><span>数据库通用翻页类。</span></td></tr><tr><td style='text-align:left;' ><span>dbpagemodel</span></td><td style='text-align:left;' ><span>数据库翻页类数据模型。</span></td></tr><tr><td style='text-align:left;' ><span>navpage</span></td><td style='text-align:left;' ><span>分页导航控件。</span></td></tr></tbody></table></figure><h4 id='454-视频监控内核'><span>4.5.4 视频监控内核</span></h4><p><span> </span><img src="snap/4-5-4-1.jpg" referrerpolicy="no-referrer">
|
||
<span>名称</span><span> </span><span>说明</span>
|
||
<span>ffmpegconvert</span><span> </span><span>ffmpeg各种转换处理函数封装。</span>
|
||
<span>ffmpeghead</span><span> </span><span>ffmpeg引入头文件。</span>
|
||
<span>ffmpeghelper</span><span> </span><span>ffmpeg辅助类,包括版本号,校验url地址、获取流索引等。</span>
|
||
<span>ffmpegsync</span><span> </span><span>ffmpeg音视频同步类,包括了同步以及发出当前播放进度信号。</span>
|
||
<span>ffmpegthread</span><span> </span><span>ffmpeg核心解码类,包括音视频的解码。</span>
|
||
<span>ffmpegtool</span><span> </span><span>ffmpeg工具类,用于执行ffmpeg的命令获取结果。</span>
|
||
<span>ffmpegwidget</span><span> </span><span>ffmpeg视频显示窗体类,依赖ffmpegthread。</span>
|
||
<span>videoffmpeg</span><span> </span><span>ffmpeg多通道管理类。</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>名称</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>ffmpegconvert</span></td><td style='text-align:left;' ><span>ffmpeg各种转换处理函数封装。</span></td></tr><tr><td style='text-align:left;' ><span>ffmpeghead</span></td><td style='text-align:left;' ><span>ffmpeg引入头文件。</span></td></tr><tr><td style='text-align:left;' ><span>ffmpeghelper</span></td><td style='text-align:left;' ><span>ffmpeg辅助类,包括版本号,校验url地址、获取流索引等。</span></td></tr><tr><td style='text-align:left;' ><span>ffmpegsync</span></td><td style='text-align:left;' ><span>ffmpeg音视频同步类,包括了同步以及发出当前播放进度信号。</span></td></tr><tr><td style='text-align:left;' ><span>ffmpegthread</span></td><td style='text-align:left;' ><span>ffmpeg核心解码类,包括音视频的解码。</span></td></tr><tr><td style='text-align:left;' ><span>ffmpegtool</span></td><td style='text-align:left;' ><span>ffmpeg工具类,用于执行ffmpeg的命令获取结果。</span></td></tr><tr><td style='text-align:left;' ><span>ffmpegwidget</span></td><td style='text-align:left;' ><span>ffmpeg视频显示窗体类,依赖ffmpegthread。</span></td></tr><tr><td style='text-align:left;' ><span>videoffmpeg</span></td><td style='text-align:left;' ><span>ffmpeg多通道管理类。</span></td></tr></tbody></table></figure><h4 id='455-大屏地图内核'><span>4.5.5 大屏地图内核</span></h4><p><span> </span><img src="snap/4-5-5-1.jpg" referrerpolicy="no-referrer">
|
||
<span>名称</span><span> </span><span>说明</span>
|
||
<span>echartjs</span><span> </span><span>echart模块中用到的json文件转js文件,获取js文件中的名字和经纬度等处理。</span>
|
||
<span>echarts</span><span> </span><span>echart封装类,可加载仪表盘、闪烁点图、迁徙图、世界地图、区域地图等,每个点可自定义颜色和提示信息等。</span>
|
||
<span>mapbaidu</span><span> </span><span>百度地图封装类,支持在线和离线两种模式。</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>名称</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>echartjs</span></td><td style='text-align:left;' ><span>echart模块中用到的json文件转js文件,获取js文件中的名字和经纬度等处理。</span></td></tr><tr><td style='text-align:left;' ><span>echarts</span></td><td style='text-align:left;' ><span>echart封装类,可加载仪表盘、闪烁点图、迁徙图、世界地图、区域地图等,每个点可自定义颜色和提示信息等。</span></td></tr><tr><td style='text-align:left;' ><span>mapbaidu</span></td><td style='text-align:left;' ><span>百度地图封装类,支持在线和离线两种模式。</span></td></tr></tbody></table></figure><h4 id='456-视频绘制内核'><span>4.5.6 视频绘制内核</span></h4><p><span> </span><img src="snap/4-5-6-1.jpg" referrerpolicy="no-referrer">
|
||
<span>名称</span><span> </span><span>说明</span>
|
||
<span>nv12glwidget</span><span> </span><span>继承自QGLWidget的NV12格式OPENGL绘制窗体。</span>
|
||
<span>nv12openglwidget</span><span> </span><span>继承自QOpenGLWidget的NV12格式OPENGL绘制窗体。</span>
|
||
<span>yuvglwidget</span><span> </span><span>继承自QGLWidget的YUV格式OPENGL绘制窗体。</span>
|
||
<span>yuvopenglwidget</span><span> </span><span>继承自QOpenGLWidget的YUV格式OPENGL绘制窗体。</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>名称</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>nv12glwidget</span></td><td style='text-align:left;' ><span>继承自QGLWidget的NV12格式OPENGL绘制窗体。</span></td></tr><tr><td style='text-align:left;' ><span>nv12openglwidget</span></td><td style='text-align:left;' ><span>继承自QOpenGLWidget的NV12格式OPENGL绘制窗体。</span></td></tr><tr><td style='text-align:left;' ><span>yuvglwidget</span></td><td style='text-align:left;' ><span>继承自QGLWidget的YUV格式OPENGL绘制窗体。</span></td></tr><tr><td style='text-align:left;' ><span>yuvopenglwidget</span></td><td style='text-align:left;' ><span>继承自QOpenGLWidget的YUV格式OPENGL绘制窗体。</span></td></tr></tbody></table></figure><h4 id='457-通用浏览器内核'><span>4.5.7 通用浏览器内核</span></h4><p><span> </span><img src="snap/4-5-7-1.jpg" referrerpolicy="no-referrer">
|
||
<span>名称</span><span> </span><span>说明</span>
|
||
<span>webcore.pri</span><span> </span><span>通用的根据不同的Qt版本、不同的编译器环境、不同的操作系统,加载对应的浏览器内核模块和定义不同的变量。</span>
|
||
<span>miniblink</span><span> </span><span>miniblink封装处理类。</span>
|
||
<span>webhelper</span><span> </span><span>经纬度转换、获取小数点经纬度值等常用处理函数。</span>
|
||
<span>webjsdata</span><span> </span><span>通用的浏览器控件和Qt程序交互数据中转类。</span>
|
||
<span>webview</span><span> </span><span>通用浏览器控件,支持webkit、webengine、miniblink。</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>名称</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>webcore.pri</span></td><td style='text-align:left;' ><span>通用的根据不同的Qt版本、不同的编译器环境、不同的操作系统,加载对应的浏览器内核模块和定义不同的变量。</span></td></tr><tr><td style='text-align:left;' ><span>miniblink</span></td><td style='text-align:left;' ><span>miniblink封装处理类。</span></td></tr><tr><td style='text-align:left;' ><span>webhelper</span></td><td style='text-align:left;' ><span>经纬度转换、获取小数点经纬度值等常用处理函数。</span></td></tr><tr><td style='text-align:left;' ><span>webjsdata</span></td><td style='text-align:left;' ><span>通用的浏览器控件和Qt程序交互数据中转类。</span></td></tr><tr><td style='text-align:left;' ><span>webview</span></td><td style='text-align:left;' ><span>通用浏览器控件,支持webkit、webengine、miniblink。</span></td></tr></tbody></table></figure><h3 id='46-界面模块'><span>4.6 界面模块</span></h3><h4 id='461-大屏控件演示'><span>4.6.1 大屏控件演示</span></h4><p><span> </span><img src="snap/4-6-1-1.jpg" referrerpolicy="no-referrer">
|
||
<span>名称</span><span> </span><span>说明</span>
|
||
<span>frmcontrol</span><span> </span><span>大屏控件演示主界面,负责加载所有控件演示子窗体。</span>
|
||
<span>frmplotarea</span><span> </span><span>曲线面积图。</span>
|
||
<span>frmplotbarh</span><span> </span><span>横向柱状图。</span>
|
||
<span>frmplotbarhs</span><span> </span><span>横向分组图。</span>
|
||
<span>frmplotbars</span><span> </span><span>柱状堆积图。</span>
|
||
<span>frmplotbarv</span><span> </span><span>标准柱状图。</span>
|
||
<span>frmplotbarvs</span><span> </span><span>柱状分组图。</span>
|
||
<span>frmplotdata</span><span> </span><span>数据转曲线。</span>
|
||
<span>frmplotnormal</span><span> </span><span>标准曲线图。</span>
|
||
<span>frmplotsin</span><span> </span><span>模拟曲线图。</span>
|
||
<span>frmplotsmooth</span><span> </span><span>平滑曲线图。</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>名称</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>frmcontrol</span></td><td style='text-align:left;' ><span>大屏控件演示主界面,负责加载所有控件演示子窗体。</span></td></tr><tr><td style='text-align:left;' ><span>frmplotarea</span></td><td style='text-align:left;' ><span>曲线面积图。</span></td></tr><tr><td style='text-align:left;' ><span>frmplotbarh</span></td><td style='text-align:left;' ><span>横向柱状图。</span></td></tr><tr><td style='text-align:left;' ><span>frmplotbarhs</span></td><td style='text-align:left;' ><span>横向分组图。</span></td></tr><tr><td style='text-align:left;' ><span>frmplotbars</span></td><td style='text-align:left;' ><span>柱状堆积图。</span></td></tr><tr><td style='text-align:left;' ><span>frmplotbarv</span></td><td style='text-align:left;' ><span>标准柱状图。</span></td></tr><tr><td style='text-align:left;' ><span>frmplotbarvs</span></td><td style='text-align:left;' ><span>柱状分组图。</span></td></tr><tr><td style='text-align:left;' ><span>frmplotdata</span></td><td style='text-align:left;' ><span>数据转曲线。</span></td></tr><tr><td style='text-align:left;' ><span>frmplotnormal</span></td><td style='text-align:left;' ><span>标准曲线图。</span></td></tr><tr><td style='text-align:left;' ><span>frmplotsin</span></td><td style='text-align:left;' ><span>模拟曲线图。</span></td></tr><tr><td style='text-align:left;' ><span>frmplotsmooth</span></td><td style='text-align:left;' ><span>平滑曲线图。</span></td></tr></tbody></table></figure><h4 id='462-大屏模块演示'><span>4.6.2 大屏模块演示</span></h4><p><span> </span><img src="snap/4-6-2-1.jpg" referrerpolicy="no-referrer">
|
||
<span>名称</span><span> </span><span>说明</span>
|
||
<span>frmmodule</span><span> </span><span>大屏子模块演示主界面,负责加载所有子模块界面。</span>
|
||
<span>frmmodule1</span><span> </span><span>年度产量汇总。</span>
|
||
<span>frmmodule2</span><span> </span><span>当月计划达成率。</span>
|
||
<span>frmmodule3</span><span> </span><span>设备监控。</span>
|
||
<span>frmmodule4</span><span> </span><span>模具进度。</span>
|
||
<span>frmmodule5</span><span> </span><span>负荷分布。</span>
|
||
<span>frmmodule6</span><span> </span><span>送检一次合格率。</span>
|
||
<span>frmmodule7</span><span> </span><span>品质管理。</span>
|
||
<span>frmmodule8</span><span> </span><span>物料管理。</span>
|
||
<span>frmmodule9</span><span> </span><span>备用模块。</span>
|
||
<span>frmmodulecenter</span><span> </span><span>中心窗体。</span>
|
||
<span>frmmodulemap</span><span> </span><span>大屏地图。</span>
|
||
<span>frmmodulevideo</span><span> </span><span>视频监控。</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>名称</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>frmmodule</span></td><td style='text-align:left;' ><span>大屏子模块演示主界面,负责加载所有子模块界面。</span></td></tr><tr><td style='text-align:left;' ><span>frmmodule1</span></td><td style='text-align:left;' ><span>年度产量汇总。</span></td></tr><tr><td style='text-align:left;' ><span>frmmodule2</span></td><td style='text-align:left;' ><span>当月计划达成率。</span></td></tr><tr><td style='text-align:left;' ><span>frmmodule3</span></td><td style='text-align:left;' ><span>设备监控。</span></td></tr><tr><td style='text-align:left;' ><span>frmmodule4</span></td><td style='text-align:left;' ><span>模具进度。</span></td></tr><tr><td style='text-align:left;' ><span>frmmodule5</span></td><td style='text-align:left;' ><span>负荷分布。</span></td></tr><tr><td style='text-align:left;' ><span>frmmodule6</span></td><td style='text-align:left;' ><span>送检一次合格率。</span></td></tr><tr><td style='text-align:left;' ><span>frmmodule7</span></td><td style='text-align:left;' ><span>品质管理。</span></td></tr><tr><td style='text-align:left;' ><span>frmmodule8</span></td><td style='text-align:left;' ><span>物料管理。</span></td></tr><tr><td style='text-align:left;' ><span>frmmodule9</span></td><td style='text-align:left;' ><span>备用模块。</span></td></tr><tr><td style='text-align:left;' ><span>frmmodulecenter</span></td><td style='text-align:left;' ><span>中心窗体。</span></td></tr><tr><td style='text-align:left;' ><span>frmmodulemap</span></td><td style='text-align:left;' ><span>大屏地图。</span></td></tr><tr><td style='text-align:left;' ><span>frmmodulevideo</span></td><td style='text-align:left;' ><span>视频监控。</span></td></tr></tbody></table></figure><h4 id='463-主界面模块'><span>4.6.3 主界面模块</span></h4><p><span> </span><img src="snap/4-6-3-1.jpg" referrerpolicy="no-referrer">
|
||
<span>名称</span><span> </span><span>说明</span>
|
||
<span>frmconfig</span><span> </span><span>系统设置界面。</span>
|
||
<span>frmconfigdb</span><span> </span><span>通用数据库设置界面。</span>
|
||
<span>frmdevice</span><span> </span><span>设备面板界面。</span>
|
||
<span>frmmain</span><span> </span><span>大屏主界面。</span>
|
||
<span>mainwindow</span><span> </span><span>以特定分辨率设置的大屏主界面用于截图。</span></p><figure><table><thead><tr><th style='text-align:left;' ><span>名称</span></th><th style='text-align:left;' ><span>说明</span></th></tr></thead><tbody><tr><td style='text-align:left;' ><span>frmconfig</span></td><td style='text-align:left;' ><span>系统设置界面。</span></td></tr><tr><td style='text-align:left;' ><span>frmconfigdb</span></td><td style='text-align:left;' ><span>通用数据库设置界面。</span></td></tr><tr><td style='text-align:left;' ><span>frmdevice</span></td><td style='text-align:left;' ><span>设备面板界面。</span></td></tr><tr><td style='text-align:left;' ><span>frmmain</span></td><td style='text-align:left;' ><span>大屏主界面。</span></td></tr><tr><td style='text-align:left;' ><span>mainwindow</span></td><td style='text-align:left;' ><span>以特定分辨率设置的大屏主界面用于截图。</span></td></tr></tbody></table></figure><h2 id='5-效果图'><span>5 效果图</span></h2><h3 id='51-布局方案'><span>5.1 布局方案</span></h3><h4 id='511-自定义布局1'><span>5.1.1 自定义布局1</span></h4><p><span> </span><img src="snap/5-1-1-1.jpg" referrerpolicy="no-referrer"></p><h4 id='512-自定义布局2'><span>5.1.2 自定义布局2</span></h4><p><span> </span><img src="snap/5-1-2-1.jpg" referrerpolicy="no-referrer"></p><h4 id='513-自定义布局3'><span>5.1.3 自定义布局3</span></h4><p><span> </span><img src="snap/5-1-3-1.jpg" referrerpolicy="no-referrer"></p><h4 id='514-自定义布局4'><span>5.1.4 自定义布局4</span></h4><p><span> </span><img src="snap/5-1-4-1.jpg" referrerpolicy="no-referrer"></p><h4 id='515-自定义布局5'><span>5.1.5 自定义布局5</span></h4><p><span> </span><img src="snap/5-1-5-1.jpg" referrerpolicy="no-referrer"></p><h4 id='516-自定义布局6'><span>5.1.6 自定义布局6</span></h4><p><span> </span><img src="snap/5-1-6-1.jpg" referrerpolicy="no-referrer"></p><h4 id='517-自定义布局7'><span>5.1.7 自定义布局7</span></h4><p><span> </span><img src="snap/5-1-7-1.jpg" referrerpolicy="no-referrer"></p><h4 id='518-自定义布局8'><span>5.1.8 自定义布局8</span></h4><p><span> </span><img src="snap/5-1-8-1.jpg" referrerpolicy="no-referrer"></p><h3 id='52-配色方案'><span>5.2 配色方案</span></h3><h4 id='521-紫色风格'><span>5.2.1 紫色风格</span></h4><p><span> </span><img src="snap/5-2-1-1.jpg" referrerpolicy="no-referrer"></p><h4 id='522-蓝色风格'><span>5.2.2 蓝色风格</span></h4><p><span> </span><img src="snap/5-2-2-1.jpg" referrerpolicy="no-referrer"></p><h4 id='523-深蓝风格'><span>5.2.3 深蓝风格</span></h4><p><span> </span><img src="snap/5-2-3-1.jpg" referrerpolicy="no-referrer"></p><h4 id='524-黑色风格'><span>5.2.4 黑色风格</span></h4><p><span> </span><img src="snap/5-2-4-1.jpg" referrerpolicy="no-referrer"></p><h3 id='53-模块效果图'><span>5.3 模块效果图</span></h3><h4 id='531-产量汇总'><span>5.3.1 产量汇总</span></h4><p><span> </span><img src="snap/5-3-1-1.jpg" referrerpolicy="no-referrer"></p><h4 id='532-当月计划'><span>5.3.2 当月计划</span></h4><p><span> </span><img src="snap/5-3-2-1.jpg" referrerpolicy="no-referrer"></p><h4 id='533-设备监控'><span>5.3.3 设备监控</span></h4><p><span> </span><img src="snap/5-3-3-1.jpg" referrerpolicy="no-referrer"></p><h4 id='534-模具进度'><span>5.3.4 模具进度</span></h4><p><span> </span><img src="snap/5-3-4-1.jpg" referrerpolicy="no-referrer"></p><h4 id='535-负荷分布'><span>5.3.5 负荷分布</span></h4><p><span> </span><img src="snap/5-3-5-1.jpg" referrerpolicy="no-referrer"></p><h4 id='536-送检合格'><span>5.3.6 送检合格</span></h4><p><span> </span><img src="snap/5-3-6-1.jpg" referrerpolicy="no-referrer"></p><h4 id='537-品质管理'><span>5.3.7 品质管理</span></h4><p><span> </span><img src="snap/5-3-7-1.jpg" referrerpolicy="no-referrer"></p><h4 id='538-物料管理'><span>5.3.8 物料管理</span></h4><p><span> </span><img src="snap/5-3-8-1.jpg" referrerpolicy="no-referrer"></p><h4 id='539-视频监控'><span>5.3.9 视频监控</span></h4><p><span> </span><img src="snap/5-3-9-1.jpg" referrerpolicy="no-referrer"></p><h4 id='5310-大屏地图'><span>5.3.10 大屏地图</span></h4><h5 id='53101闪烁效果'><span>5.3.10.1闪烁效果</span></h5><p><span> </span><img src="snap/5-3-10-1-1.jpg" referrerpolicy="no-referrer"></p><h5 id='53102-迁徙效果'><span>5.3.10.2 迁徙效果</span></h5><p><span> </span><img src="snap/5-3-10-2-1.jpg" referrerpolicy="no-referrer"></p><h5 id='53103-世界地图'><span>5.3.10.3 世界地图</span></h5><p><span> </span><img src="snap/5-3-10-3-1.jpg" referrerpolicy="no-referrer"></p><h5 id='53104-区域地图'><span>5.3.10.4 区域地图</span></h5><p><span> </span><img src="snap/5-3-10-4-1.jpg" referrerpolicy="no-referrer"></p><h4 id='5311-系统设置'><span>5.3.11 系统设置</span></h4><p><span> </span><img src="snap/5-3-11-1.jpg" referrerpolicy="no-referrer"><span> </span><img src="snap/5-3-11-2.jpg" referrerpolicy="no-referrer"></p><h3 id='54-控件效果图'><span>5.4 控件效果图</span></h3><h4 id='541-标准曲线'><span>5.4.1 标准曲线</span></h4><p><span> </span><img src="snap/5-4-1-1.jpg" referrerpolicy="no-referrer"></p><h4 id='542-曲线面积'><span>5.4.2 曲线面积</span></h4><p><span> </span><img src="snap/5-4-2-1.jpg" referrerpolicy="no-referrer"></p><h4 id='543-模拟曲线'><span>5.4.3 模拟曲线</span></h4><p><span> </span><img src="snap/5-4-3-1.jpg" referrerpolicy="no-referrer"></p><h4 id='544-标准柱状'><span>5.4.4 标准柱状</span></h4><p><span> </span><img src="snap/5-4-4-1.jpg" referrerpolicy="no-referrer"></p><h4 id='545-柱状堆积'><span>5.4.5 柱状堆积</span></h4><p><span> </span><img src="snap/5-4-5-1.jpg" referrerpolicy="no-referrer"></p><h4 id='546-柱状分组'><span>5.4.6 柱状分组</span></h4><p><span> </span><img src="snap/5-4-6-1.jpg" referrerpolicy="no-referrer"></p><h4 id='547-横向柱状'><span>5.4.7 横向柱状</span></h4><p><span> </span><img src="snap/5-4-7-1.jpg" referrerpolicy="no-referrer"></p><h4 id='548-横向分组'><span>5.4.8 横向分组</span></h4><p><span> </span><img src="snap/5-4-8-1.jpg" referrerpolicy="no-referrer"></p><h4 id='549-数据曲线'><span>5.4.9 数据曲线</span></h4><p><span> </span><img src="snap/5-4-9-1.jpg" referrerpolicy="no-referrer"></p><h4 id='5410-平滑曲线'><span>5.4.10 平滑曲线</span></h4><p><span> </span><img src="snap/5-4-10-1.jpg" referrerpolicy="no-referrer"></p><h3 id='55-数据库效果图'><span>5.5 数据库效果图</span></h3><h4 id='551-数据库-sqlite'><span>5.5.1 数据库-sqlite</span></h4><p><span> </span><img src="snap/5-5-1-1.jpg" referrerpolicy="no-referrer"></p><h4 id='552-数据库-mysql'><span>5.5.2 数据库-mysql</span></h4><p><span> </span><img src="snap/5-5-2-1.jpg" referrerpolicy="no-referrer"></p><h4 id='553-数据库-sqlserver'><span>5.5.3 数据库-sqlserver</span></h4><p><span> </span><img src="snap/5-5-3-1.jpg" referrerpolicy="no-referrer"></p><h4 id='554-数据库-postgresql'><span>5.5.4 数据库-postgresql</span></h4><p><span> </span><img src="snap/5-5-4-1.jpg" referrerpolicy="no-referrer"></p><h4 id='555-数据库-oracle'><span>5.5.5 数据库-oracle</span></h4><h4 id='556-数据库-kingbase'><span>5.5.6 数据库-kingbase</span></h4><p><span>人大金仓数据库-kingbase,其实就是postgresql数据库改的,配置文件都一样,所以可以用连接postgresql数据库的方式进行处理。</span></p><p><span> </span><img src="snap/5-5-6-1.jpg" referrerpolicy="no-referrer"></p><h4 id='557-数据库-远程访问'><span>5.5.7 数据库-远程访问</span></h4><p><span> </span><img src="snap/5-5-7-1.jpg" referrerpolicy="no-referrer"></p><h4 id='558-数据库-odbc'><span>5.5.8 数据库-odbc</span></h4><p><span>ODBC连接字符串格式如下图:</span></p><p><span> </span><img src="snap/5-5-8-1.jpg" referrerpolicy="no-referrer"></p><h3 id='56-各系统运行图'><span>5.6 各系统运行图</span></h3><h4 id='561-windows-mingw'><span>5.6.1 windows-mingw</span></h4><p><span> </span><img src="snap/5-6-1-1.jpg" referrerpolicy="no-referrer"></p><h4 id='562-windows-msvc'><span>5.6.2 windows-msvc</span></h4><p><span> </span><img src="snap/5-6-2-1.jpg" referrerpolicy="no-referrer"></p><h4 id='563-linux-ubuntu'><span>5.6.3 linux-ubuntu</span></h4><p><span> </span><img src="snap/5-6-3-1.jpg" referrerpolicy="no-referrer"></p><h4 id='564-linux-uos'><span>5.6.4 linux-uos</span></h4><p><span> </span><img src="snap/5-6-4-1.jpg" referrerpolicy="no-referrer"></p><h4 id='565-linux-kylin'><span>5.6.5 linux-kylin</span></h4><p><span> </span><img src="snap/5-6-5-1.jpg" referrerpolicy="no-referrer"></p><h4 id='566-unix-mac'><span>5.6.6 unix-mac</span></h4><p><span> </span><img src="snap/5-6-6-1.jpg" referrerpolicy="no-referrer"></p></div></div>
|
||
|
||
<script>(function(){var e=document.body.parentElement,t=[],n=null,i=document.body.classList.contains("typora-export-collapse-outline"),r=function(e,t,n){document.addEventListener(e,function(e){if(!e.defaultPrevented)for(var i=e.target;i&&i!=this;i=i.parentNode)if(i.matches(t)){!1===n.call(i,e)&&(e.preventDefault(),e.stopPropagation());break}},!1)};function o(){return e.scrollTop}r("click",".outline-expander",function(e){var t=this.closest(".outline-item-wrapper").classList;return t.contains("outline-item-open")?t.remove("outline-item-open"):t.add("outline-item-open"),d(),!1}),r("click",".outline-item",function(e){var t=this.querySelector(".outline-label");if(location.hash="#"+t.getAttribute("href"),i){var n=this.closest(".outline-item-wrapper").classList;n.contains("outline-item-open")||n.add("outline-item-open"),c(),n.add("outline-item-active")}});var a,s,l=function(){var e=o();n=null;for(var i=0;i<t.length&&t[i][1]-e<60;i++)n=t[i]},c=function(){document.querySelectorAll(".outline-item-active").forEach(e=>e.classList.remove("outline-item-active")),document.querySelectorAll(".outline-item-single.outline-item-open").forEach(e=>e.classList.remove("outline-item-open"))},d=function(){if(n){c();var e=document.querySelector('.outline-label[href="#'+(CSS.escape?CSS.escape(n[0]):n[0])+'"]');if(e)if(i){var t=e.closest(".outline-item-open>ul>.outline-item-wrapper");if(t)t.classList.add("outline-item-active");else{for(var r=(e=e.closest(".outline-item-wrapper")).parentElement.closest(".outline-item-wrapper");r;)r=(e=r).parentElement.closest(".outline-item-wrapper");e.classList.add("outline-item-active")}}else e.closest(".outline-item-wrapper").classList.add("outline-item-active")}};window.addEventListener("scroll",function(e){a&&clearTimeout(a),a=setTimeout(function(){l(),d()},300)});var u=function(){s=setTimeout(function(){!function(){t=[];var e=o();document.querySelector("#write").querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(n=>{var i=n.getAttribute("id");t.push([i,e+n.getBoundingClientRect().y])})}(),l(),d()},300)};window.addEventListener("resize",function(e){s&&clearTimeout(s),u()}),u()})();</script></body>
|
||
</html> |