v1.2.0.10 禾欣现场1202 分卷-裁切-报表-ERP完善版本

This commit is contained in:
CPL 2024-12-02 15:02:39 +08:00
parent 0e8c28e672
commit 356408c47f
115 changed files with 341826 additions and 1195 deletions

View File

@ -0,0 +1,503 @@
{
"Version": 1,
"WorkspaceRootPath": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\page\\fhome.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\fhome.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{47694C39-2448-4BE5-80A4-70D78B59272B}|Models\\Models.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\models\\records.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{47694C39-2448-4BE5-80A4-70D78B59272B}|Models\\Models.csproj|solutionrelative:models\\records.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|f:\\cpl\\geboshi\\hy1127\\v1.0\\leatherproject\\leatherapp\\page\\fhome.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\fhome.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\page\\partitionfrm.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\partitionfrm.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\page\\partitionfrm.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\partitionfrm.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\page\\freport.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\freport.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\page\\fsyssetting.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\fsyssetting.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\config.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\config.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|f:\\cpl\\geboshi\\hy1127\\v1.0\\leatherproject\\leatherapp\\page\\fsyssetting.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\fsyssetting.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\page\\freport.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\freport.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\page\\cuttingfrm.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\cuttingfrm.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\frmmain.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\frmmain.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\devcontainer.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\devcontainer.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{47694C39-2448-4BE5-80A4-70D78B59272B}|Models\\Models.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\models\\user.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{47694C39-2448-4BE5-80A4-70D78B59272B}|Models\\Models.csproj|solutionrelative:models\\user.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{FDB83436-DAD7-4DC3-AE23-A249CBA74B68}|GeBoShi\\GeBoShi.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\geboshi\\imagedefect\\defectlib.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{FDB83436-DAD7-4DC3-AE23-A249CBA74B68}|GeBoShi\\GeBoShi.csproj|solutionrelative:geboshi\\imagedefect\\defectlib.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{F1876CE2-8446-4EAE-8707-FE4BB19A1C18}|ServerApp\\ServerApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\serverapp\\webserver\\webservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{F1876CE2-8446-4EAE-8707-FE4BB19A1C18}|ServerApp\\ServerApp.csproj|solutionrelative:serverapp\\webserver\\webservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{F1876CE2-8446-4EAE-8707-FE4BB19A1C18}|ServerApp\\ServerApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\serverapp\\serverfrm.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{F1876CE2-8446-4EAE-8707-FE4BB19A1C18}|ServerApp\\ServerApp.csproj|solutionrelative:serverapp\\serverfrm.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{F1876CE2-8446-4EAE-8707-FE4BB19A1C18}|ServerApp\\ServerApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\serverapp\\serverfrm.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{F1876CE2-8446-4EAE-8707-FE4BB19A1C18}|ServerApp\\ServerApp.csproj|solutionrelative:serverapp\\serverfrm.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{1CCED98A-7AF6-47F3-B9F9-A9E7DAD461B4}|Service\\Service.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\service\\initdb.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{1CCED98A-7AF6-47F3-B9F9-A9E7DAD461B4}|Service\\Service.csproj|solutionrelative:service\\initdb.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\device\\iocarddev.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\device\\iocarddev.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\uiextend\\uccolorlist.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\uiextend\\uccolorlist.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\page\\fhome_defect.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\fhome_defect.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\page\\fseldefect.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\fseldefect.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\device\\defectlib.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\device\\defectlib.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\utils\\dbutils.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\utils\\dbutils.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\page\\fenjuanfrm.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\fenjuanfrm.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\page\\fhome_defect.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\fhome_defect.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{FDB83436-DAD7-4DC3-AE23-A249CBA74B68}|GeBoShi\\GeBoShi.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\geboshi\\ui\\product\\productlistfrm.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{FDB83436-DAD7-4DC3-AE23-A249CBA74B68}|GeBoShi\\GeBoShi.csproj|solutionrelative:geboshi\\ui\\product\\productlistfrm.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\page\\ferpmesedit.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\ferpmesedit.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\page\\fchart.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\fchart.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
"DocumentGroupContainers": [
{
"Orientation": 0,
"VerticalTabListWidth": 256,
"DocumentGroups": [
{
"DockedWidth": 200,
"SelectedChildIndex": 6,
"Children": [
{
"$type": "Document",
"DocumentIndex": 7,
"Title": "Config.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Config.cs",
"RelativeDocumentMoniker": "LeatherApp\\Config.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Config.cs",
"RelativeToolTip": "LeatherApp\\Config.cs",
"ViewState": "AgIAAB4BAAAAAAAAAAAAAC4BAAAMAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.133Z",
"IsPinned": true,
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 2,
"Title": "FHome.cs [\u8BBE\u8BA1]",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FHome.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\FHome.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FHome.cs [\u8BBE\u8BA1]*",
"RelativeToolTip": "LeatherApp\\Page\\FHome.cs [\u8BBE\u8BA1]*",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T04:12:14.935Z",
"EditorCaption": " [\u8BBE\u8BA1]"
},
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "Records.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\Models\\Records.cs",
"RelativeDocumentMoniker": "Models\\Records.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\Models\\Records.cs",
"RelativeToolTip": "Models\\Records.cs",
"ViewState": "AgIAABEAAAAAAAAAAAAwwDQAAAAPAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.162Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 5,
"Title": "FReport.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FReport.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\FReport.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FReport.cs",
"RelativeToolTip": "LeatherApp\\Page\\FReport.cs",
"ViewState": "AgIAAFoBAAAAAAAAAADwv5cDAAARAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.447Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 4,
"Title": "PartitionFrm.cs [\u8BBE\u8BA1]",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\PartitionFrm.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\PartitionFrm.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\PartitionFrm.cs [\u8BBE\u8BA1]",
"RelativeToolTip": "LeatherApp\\Page\\PartitionFrm.cs [\u8BBE\u8BA1]",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.585Z",
"EditorCaption": " [\u8BBE\u8BA1]"
},
{
"$type": "Document",
"DocumentIndex": 8,
"Title": "FSysSetting.cs [\u8BBE\u8BA1]",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FSysSetting.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\FSysSetting.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FSysSetting.cs [\u8BBE\u8BA1]",
"RelativeToolTip": "LeatherApp\\Page\\FSysSetting.cs [\u8BBE\u8BA1]",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.587Z",
"EditorCaption": " [\u8BBE\u8BA1]"
},
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "FHome.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FHome.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\FHome.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FHome.cs*",
"RelativeToolTip": "LeatherApp\\Page\\FHome.cs*",
"ViewState": "AgIAAFgKAAAAAAAAAAAkwJkKAAAyAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.157Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 3,
"Title": "PartitionFrm.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\PartitionFrm.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\PartitionFrm.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\PartitionFrm.cs",
"RelativeToolTip": "LeatherApp\\Page\\PartitionFrm.cs",
"ViewState": "AgIAAIUAAAAAAAAAAAAAAJEAAAAMAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.586Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 6,
"Title": "FSysSetting.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FSysSetting.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\FSysSetting.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FSysSetting.cs",
"RelativeToolTip": "LeatherApp\\Page\\FSysSetting.cs",
"ViewState": "AgIAAFoAAAAAAAAAAAAswGsAAAAMAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.159Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 9,
"Title": "FReport.cs [\u8BBE\u8BA1]",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FReport.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\FReport.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FReport.cs [\u8BBE\u8BA1]",
"RelativeToolTip": "LeatherApp\\Page\\FReport.cs [\u8BBE\u8BA1]",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.161Z",
"EditorCaption": " [\u8BBE\u8BA1]"
},
{
"$type": "Document",
"DocumentIndex": 10,
"Title": "CuttingFrm.cs [\u8BBE\u8BA1]",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\CuttingFrm.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\CuttingFrm.cs",
"ToolTip": "E:\\CPL\\\u8FC8\u6C90\u667A\u80FD\u9879\u76EE\\2023\\\u9769\u535A\u58EB\\\u6E90\u7801\\V1.0\\LeatherProject\\LeatherApp\\Page\\CuttingFrm.cs [\u8BBE\u8BA1]",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003525|",
"WhenOpened": "2024-11-28T02:04:32.587Z"
},
{
"$type": "Document",
"DocumentIndex": 12,
"Title": "DevContainer.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\DevContainer.cs",
"RelativeDocumentMoniker": "LeatherApp\\DevContainer.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\DevContainer.cs",
"RelativeToolTip": "LeatherApp\\DevContainer.cs",
"ViewState": "AQIAAC4BAAAAAAAAAAASwEIBAAAcAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.589Z"
},
{
"$type": "Document",
"DocumentIndex": 11,
"Title": "FrmMain.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\FrmMain.cs",
"RelativeDocumentMoniker": "LeatherApp\\FrmMain.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\FrmMain.cs",
"RelativeToolTip": "LeatherApp\\FrmMain.cs",
"ViewState": "AQIAACcBAAAAAAAAAAArwEIBAAAQAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003525|",
"WhenOpened": "2024-11-28T02:04:32.59Z"
},
{
"$type": "Document",
"DocumentIndex": 13,
"Title": "User.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\Models\\User.cs",
"RelativeDocumentMoniker": "Models\\User.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\Models\\User.cs",
"RelativeToolTip": "Models\\User.cs",
"ViewState": "AQIAAAAAAAAAAAAAAAAAAB0AAAAsAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.59Z"
},
{
"$type": "Document",
"DocumentIndex": 15,
"Title": "WebService.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\ServerApp\\WebServer\\WebService.cs",
"RelativeDocumentMoniker": "ServerApp\\WebServer\\WebService.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\ServerApp\\WebServer\\WebService.cs",
"RelativeToolTip": "ServerApp\\WebServer\\WebService.cs",
"ViewState": "AgIAACcBAAAAAAAAAAAMwE8BAAAMAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.591Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 16,
"Title": "ServerFrm.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\ServerApp\\ServerFrm.cs",
"RelativeDocumentMoniker": "ServerApp\\ServerFrm.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\ServerApp\\ServerFrm.cs",
"RelativeToolTip": "ServerApp\\ServerFrm.cs",
"ViewState": "AQIAAO4AAAAAAAAAAAAYwAUBAAAJAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003525|",
"WhenOpened": "2024-11-28T02:04:32.592Z"
},
{
"$type": "Document",
"DocumentIndex": 14,
"Title": "DefectLib.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\GeBoShi\\ImageDefect\\DefectLib.cs",
"RelativeDocumentMoniker": "GeBoShi\\ImageDefect\\DefectLib.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\GeBoShi\\ImageDefect\\DefectLib.cs",
"RelativeToolTip": "GeBoShi\\ImageDefect\\DefectLib.cs",
"ViewState": "AQIAAPQBAAAAAAAAAAAkwPIBAAAfAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.593Z"
},
{
"$type": "Document",
"DocumentIndex": 17,
"Title": "ServerFrm.cs [\u8BBE\u8BA1]",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\ServerApp\\ServerFrm.cs",
"RelativeDocumentMoniker": "ServerApp\\ServerFrm.cs",
"ToolTip": "E:\\CPL\\\u8FC8\u6C90\u667A\u80FD\u9879\u76EE\\2023\\\u9769\u535A\u58EB\\\u6E90\u7801\\V1.0\\LeatherProject\\ServerApp\\ServerFrm.cs [\u8BBE\u8BA1]",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003525|",
"WhenOpened": "2024-11-28T02:04:32.594Z"
},
{
"$type": "Document",
"DocumentIndex": 18,
"Title": "InitDB.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\Service\\InitDB.cs",
"RelativeDocumentMoniker": "Service\\InitDB.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\Service\\InitDB.cs",
"RelativeToolTip": "Service\\InitDB.cs",
"ViewState": "AQIAAIgAAAAAAAAAAAAIwIAAAAATAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.595Z"
},
{
"$type": "Document",
"DocumentIndex": 21,
"Title": "FHome_Defect.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FHome_Defect.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\FHome_Defect.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FHome_Defect.cs",
"RelativeToolTip": "LeatherApp\\Page\\FHome_Defect.cs",
"ViewState": "AQIAAAwAAAAAAAAAAAAAACAAAAArAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003525|",
"WhenOpened": "2024-11-28T02:04:32.596Z"
},
{
"$type": "Document",
"DocumentIndex": 22,
"Title": "FSelDefect.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FSelDefect.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\FSelDefect.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FSelDefect.cs",
"RelativeToolTip": "LeatherApp\\Page\\FSelDefect.cs",
"ViewState": "AQIAAAAAAAAAAAAAAAAAABQAAABKAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003525|",
"WhenOpened": "2024-11-28T02:04:32.597Z"
},
{
"$type": "Document",
"DocumentIndex": 19,
"Title": "IOCardDev.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Device\\IOCardDev.cs",
"RelativeDocumentMoniker": "LeatherApp\\Device\\IOCardDev.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Device\\IOCardDev.cs",
"RelativeToolTip": "LeatherApp\\Device\\IOCardDev.cs",
"ViewState": "AQIAADcAAAAAAAAAAADwv0gAAAA4AAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.597Z"
},
{
"$type": "Document",
"DocumentIndex": 20,
"Title": "UCColorList.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\UIExtend\\UCColorList.cs",
"RelativeDocumentMoniker": "LeatherApp\\UIExtend\\UCColorList.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\UIExtend\\UCColorList.cs",
"RelativeToolTip": "LeatherApp\\UIExtend\\UCColorList.cs",
"ViewState": "AQIAABEAAAAAAAAAAADwvzEAAAArAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003302|",
"WhenOpened": "2024-11-28T02:04:32.597Z"
},
{
"$type": "Document",
"DocumentIndex": 23,
"Title": "DefectLib.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Device\\DefectLib.cs",
"RelativeDocumentMoniker": "LeatherApp\\Device\\DefectLib.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Device\\DefectLib.cs",
"RelativeToolTip": "LeatherApp\\Device\\DefectLib.cs",
"ViewState": "AgIAAPwDAAAAAAAAAAAcwLEDAACMAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.598Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 24,
"Title": "DBUtils.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Utils\\DBUtils.cs",
"RelativeDocumentMoniker": "LeatherApp\\Utils\\DBUtils.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Utils\\DBUtils.cs",
"RelativeToolTip": "LeatherApp\\Utils\\DBUtils.cs",
"ViewState": "AQIAAGcAAAAAAAAAAAD4v4EAAABhAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.6Z"
},
{
"$type": "Document",
"DocumentIndex": 25,
"Title": "FenJuanFrm.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FenJuanFrm.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\FenJuanFrm.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FenJuanFrm.cs",
"RelativeToolTip": "LeatherApp\\Page\\FenJuanFrm.cs",
"ViewState": "AQIAAAMAAAAAAAAAAAAtwBgAAAAkAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003525|",
"WhenOpened": "2024-11-28T02:04:32.6Z"
},
{
"$type": "Document",
"DocumentIndex": 26,
"Title": "FHome_Defect.cs [\u8BBE\u8BA1]",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FHome_Defect.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\FHome_Defect.cs",
"ToolTip": "E:\\CPL\\\u8FC8\u6C90\u667A\u80FD\u9879\u76EE\\2023\\\u9769\u535A\u58EB\\\u6E90\u7801\\V1.0\\LeatherProject\\LeatherApp\\Page\\FHome_Defect.cs [\u8BBE\u8BA1]",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003525|",
"WhenOpened": "2024-11-28T02:04:32.601Z"
},
{
"$type": "Document",
"DocumentIndex": 27,
"Title": "ProductListFrm.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\GeBoShi\\UI\\Product\\ProductListFrm.cs",
"RelativeDocumentMoniker": "GeBoShi\\UI\\Product\\ProductListFrm.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\GeBoShi\\UI\\Product\\ProductListFrm.cs",
"RelativeToolTip": "GeBoShi\\UI\\Product\\ProductListFrm.cs",
"ViewState": "AQIAAB0AAAAAAAAAAAAYwDMAAAAiAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003525|",
"WhenOpened": "2024-11-28T02:04:32.601Z"
},
{
"$type": "Document",
"DocumentIndex": 28,
"Title": "FErpMesEdit.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FErpMesEdit.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\FErpMesEdit.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FErpMesEdit.cs",
"RelativeToolTip": "LeatherApp\\Page\\FErpMesEdit.cs",
"ViewState": "AQIAAAsAAAAAAAAAAAAmwB8AAAAZAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003525|",
"WhenOpened": "2024-11-28T02:04:32.602Z"
},
{
"$type": "Document",
"DocumentIndex": 29,
"Title": "FChart.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FChart.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\FChart.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FChart.cs",
"RelativeToolTip": "LeatherApp\\Page\\FChart.cs",
"ViewState": "AQIAADUAAAAAAAAAAAAYwDwAAAAfAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003525|",
"WhenOpened": "2024-11-28T02:04:32.603Z"
}
]
}
]
}
]
}

View File

@ -0,0 +1,503 @@
{
"Version": 1,
"WorkspaceRootPath": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\page\\fhome.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\fhome.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{47694C39-2448-4BE5-80A4-70D78B59272B}|Models\\Models.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\models\\records.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{47694C39-2448-4BE5-80A4-70D78B59272B}|Models\\Models.csproj|solutionrelative:models\\records.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|f:\\cpl\\geboshi\\hy1127\\v1.0\\leatherproject\\leatherapp\\page\\fhome.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\fhome.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\page\\partitionfrm.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\partitionfrm.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\page\\partitionfrm.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\partitionfrm.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\page\\freport.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\freport.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\page\\fsyssetting.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\fsyssetting.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\config.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\config.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|f:\\cpl\\geboshi\\hy1127\\v1.0\\leatherproject\\leatherapp\\page\\fsyssetting.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\fsyssetting.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\page\\freport.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\freport.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\page\\cuttingfrm.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\cuttingfrm.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\frmmain.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\frmmain.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\devcontainer.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\devcontainer.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{47694C39-2448-4BE5-80A4-70D78B59272B}|Models\\Models.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\models\\user.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{47694C39-2448-4BE5-80A4-70D78B59272B}|Models\\Models.csproj|solutionrelative:models\\user.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{FDB83436-DAD7-4DC3-AE23-A249CBA74B68}|GeBoShi\\GeBoShi.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\geboshi\\imagedefect\\defectlib.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{FDB83436-DAD7-4DC3-AE23-A249CBA74B68}|GeBoShi\\GeBoShi.csproj|solutionrelative:geboshi\\imagedefect\\defectlib.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{F1876CE2-8446-4EAE-8707-FE4BB19A1C18}|ServerApp\\ServerApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\serverapp\\webserver\\webservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{F1876CE2-8446-4EAE-8707-FE4BB19A1C18}|ServerApp\\ServerApp.csproj|solutionrelative:serverapp\\webserver\\webservice.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{F1876CE2-8446-4EAE-8707-FE4BB19A1C18}|ServerApp\\ServerApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\serverapp\\serverfrm.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{F1876CE2-8446-4EAE-8707-FE4BB19A1C18}|ServerApp\\ServerApp.csproj|solutionrelative:serverapp\\serverfrm.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{F1876CE2-8446-4EAE-8707-FE4BB19A1C18}|ServerApp\\ServerApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\serverapp\\serverfrm.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{F1876CE2-8446-4EAE-8707-FE4BB19A1C18}|ServerApp\\ServerApp.csproj|solutionrelative:serverapp\\serverfrm.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{1CCED98A-7AF6-47F3-B9F9-A9E7DAD461B4}|Service\\Service.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\service\\initdb.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{1CCED98A-7AF6-47F3-B9F9-A9E7DAD461B4}|Service\\Service.csproj|solutionrelative:service\\initdb.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\device\\iocarddev.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\device\\iocarddev.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\uiextend\\uccolorlist.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\uiextend\\uccolorlist.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\page\\fhome_defect.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\fhome_defect.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\page\\fseldefect.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\fseldefect.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\device\\defectlib.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\device\\defectlib.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\utils\\dbutils.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\utils\\dbutils.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\page\\fenjuanfrm.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\fenjuanfrm.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\page\\fhome_defect.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\fhome_defect.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
},
{
"AbsoluteMoniker": "D:0:0:{FDB83436-DAD7-4DC3-AE23-A249CBA74B68}|GeBoShi\\GeBoShi.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\geboshi\\ui\\product\\productlistfrm.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{FDB83436-DAD7-4DC3-AE23-A249CBA74B68}|GeBoShi\\GeBoShi.csproj|solutionrelative:geboshi\\ui\\product\\productlistfrm.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\page\\ferpmesedit.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\ferpmesedit.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\leatherapp\\page\\fchart.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{456EED9B-2908-45A3-BA59-22FCC12DB782}|LeatherApp\\LeatherApp.csproj|solutionrelative:leatherapp\\page\\fchart.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
"DocumentGroupContainers": [
{
"Orientation": 0,
"VerticalTabListWidth": 256,
"DocumentGroups": [
{
"DockedWidth": 200,
"SelectedChildIndex": 6,
"Children": [
{
"$type": "Document",
"DocumentIndex": 7,
"Title": "Config.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Config.cs",
"RelativeDocumentMoniker": "LeatherApp\\Config.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Config.cs",
"RelativeToolTip": "LeatherApp\\Config.cs",
"ViewState": "AgIAAB4BAAAAAAAAAAAAAC4BAAAMAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.133Z",
"IsPinned": true,
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 2,
"Title": "FHome.cs [\u8BBE\u8BA1]",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FHome.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\FHome.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FHome.cs [\u8BBE\u8BA1]",
"RelativeToolTip": "LeatherApp\\Page\\FHome.cs [\u8BBE\u8BA1]",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T04:12:14.935Z",
"EditorCaption": " [\u8BBE\u8BA1]"
},
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "Records.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\Models\\Records.cs",
"RelativeDocumentMoniker": "Models\\Records.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\Models\\Records.cs",
"RelativeToolTip": "Models\\Records.cs",
"ViewState": "AgIAABEAAAAAAAAAAAAwwDQAAAAPAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.162Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 5,
"Title": "FReport.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FReport.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\FReport.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FReport.cs",
"RelativeToolTip": "LeatherApp\\Page\\FReport.cs",
"ViewState": "AgIAAFoBAAAAAAAAAADwv5cDAAARAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.447Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 4,
"Title": "PartitionFrm.cs [\u8BBE\u8BA1]",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\PartitionFrm.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\PartitionFrm.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\PartitionFrm.cs [\u8BBE\u8BA1]",
"RelativeToolTip": "LeatherApp\\Page\\PartitionFrm.cs [\u8BBE\u8BA1]",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.585Z",
"EditorCaption": " [\u8BBE\u8BA1]"
},
{
"$type": "Document",
"DocumentIndex": 8,
"Title": "FSysSetting.cs [\u8BBE\u8BA1]",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FSysSetting.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\FSysSetting.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FSysSetting.cs [\u8BBE\u8BA1]",
"RelativeToolTip": "LeatherApp\\Page\\FSysSetting.cs [\u8BBE\u8BA1]",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.587Z",
"EditorCaption": " [\u8BBE\u8BA1]"
},
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "FHome.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FHome.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\FHome.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FHome.cs",
"RelativeToolTip": "LeatherApp\\Page\\FHome.cs",
"ViewState": "AgIAAFgKAAAAAAAAAAAkwJkKAAAyAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.157Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 3,
"Title": "PartitionFrm.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\PartitionFrm.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\PartitionFrm.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\PartitionFrm.cs",
"RelativeToolTip": "LeatherApp\\Page\\PartitionFrm.cs",
"ViewState": "AgIAAIUAAAAAAAAAAAAAAJEAAAAMAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.586Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 6,
"Title": "FSysSetting.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FSysSetting.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\FSysSetting.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FSysSetting.cs",
"RelativeToolTip": "LeatherApp\\Page\\FSysSetting.cs",
"ViewState": "AgIAAFoAAAAAAAAAAAAswGsAAAAMAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.159Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 9,
"Title": "FReport.cs [\u8BBE\u8BA1]",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FReport.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\FReport.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FReport.cs [\u8BBE\u8BA1]",
"RelativeToolTip": "LeatherApp\\Page\\FReport.cs [\u8BBE\u8BA1]",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.161Z",
"EditorCaption": " [\u8BBE\u8BA1]"
},
{
"$type": "Document",
"DocumentIndex": 10,
"Title": "CuttingFrm.cs [\u8BBE\u8BA1]",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\CuttingFrm.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\CuttingFrm.cs",
"ToolTip": "E:\\CPL\\\u8FC8\u6C90\u667A\u80FD\u9879\u76EE\\2023\\\u9769\u535A\u58EB\\\u6E90\u7801\\V1.0\\LeatherProject\\LeatherApp\\Page\\CuttingFrm.cs [\u8BBE\u8BA1]",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003525|",
"WhenOpened": "2024-11-28T02:04:32.587Z"
},
{
"$type": "Document",
"DocumentIndex": 12,
"Title": "DevContainer.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\DevContainer.cs",
"RelativeDocumentMoniker": "LeatherApp\\DevContainer.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\DevContainer.cs",
"RelativeToolTip": "LeatherApp\\DevContainer.cs",
"ViewState": "AQIAAC4BAAAAAAAAAAASwEIBAAAcAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.589Z"
},
{
"$type": "Document",
"DocumentIndex": 11,
"Title": "FrmMain.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\FrmMain.cs",
"RelativeDocumentMoniker": "LeatherApp\\FrmMain.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\FrmMain.cs",
"RelativeToolTip": "LeatherApp\\FrmMain.cs",
"ViewState": "AQIAACcBAAAAAAAAAAArwEIBAAAQAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003525|",
"WhenOpened": "2024-11-28T02:04:32.59Z"
},
{
"$type": "Document",
"DocumentIndex": 13,
"Title": "User.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\Models\\User.cs",
"RelativeDocumentMoniker": "Models\\User.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\Models\\User.cs",
"RelativeToolTip": "Models\\User.cs",
"ViewState": "AQIAAAAAAAAAAAAAAAAAAB0AAAAsAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.59Z"
},
{
"$type": "Document",
"DocumentIndex": 15,
"Title": "WebService.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\ServerApp\\WebServer\\WebService.cs",
"RelativeDocumentMoniker": "ServerApp\\WebServer\\WebService.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\ServerApp\\WebServer\\WebService.cs",
"RelativeToolTip": "ServerApp\\WebServer\\WebService.cs",
"ViewState": "AgIAACcBAAAAAAAAAAAMwE8BAAAMAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.591Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 16,
"Title": "ServerFrm.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\ServerApp\\ServerFrm.cs",
"RelativeDocumentMoniker": "ServerApp\\ServerFrm.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\ServerApp\\ServerFrm.cs",
"RelativeToolTip": "ServerApp\\ServerFrm.cs",
"ViewState": "AQIAAO4AAAAAAAAAAAAYwAUBAAAJAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003525|",
"WhenOpened": "2024-11-28T02:04:32.592Z"
},
{
"$type": "Document",
"DocumentIndex": 14,
"Title": "DefectLib.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\GeBoShi\\ImageDefect\\DefectLib.cs",
"RelativeDocumentMoniker": "GeBoShi\\ImageDefect\\DefectLib.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\GeBoShi\\ImageDefect\\DefectLib.cs",
"RelativeToolTip": "GeBoShi\\ImageDefect\\DefectLib.cs",
"ViewState": "AQIAAPQBAAAAAAAAAAAkwPIBAAAfAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.593Z"
},
{
"$type": "Document",
"DocumentIndex": 17,
"Title": "ServerFrm.cs [\u8BBE\u8BA1]",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\ServerApp\\ServerFrm.cs",
"RelativeDocumentMoniker": "ServerApp\\ServerFrm.cs",
"ToolTip": "E:\\CPL\\\u8FC8\u6C90\u667A\u80FD\u9879\u76EE\\2023\\\u9769\u535A\u58EB\\\u6E90\u7801\\V1.0\\LeatherProject\\ServerApp\\ServerFrm.cs [\u8BBE\u8BA1]",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003525|",
"WhenOpened": "2024-11-28T02:04:32.594Z"
},
{
"$type": "Document",
"DocumentIndex": 18,
"Title": "InitDB.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\Service\\InitDB.cs",
"RelativeDocumentMoniker": "Service\\InitDB.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\Service\\InitDB.cs",
"RelativeToolTip": "Service\\InitDB.cs",
"ViewState": "AQIAAIgAAAAAAAAAAAAIwIAAAAATAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.595Z"
},
{
"$type": "Document",
"DocumentIndex": 21,
"Title": "FHome_Defect.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FHome_Defect.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\FHome_Defect.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FHome_Defect.cs",
"RelativeToolTip": "LeatherApp\\Page\\FHome_Defect.cs",
"ViewState": "AQIAAAwAAAAAAAAAAAAAACAAAAArAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003525|",
"WhenOpened": "2024-11-28T02:04:32.596Z"
},
{
"$type": "Document",
"DocumentIndex": 22,
"Title": "FSelDefect.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FSelDefect.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\FSelDefect.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FSelDefect.cs",
"RelativeToolTip": "LeatherApp\\Page\\FSelDefect.cs",
"ViewState": "AQIAAAAAAAAAAAAAAAAAABQAAABKAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003525|",
"WhenOpened": "2024-11-28T02:04:32.597Z"
},
{
"$type": "Document",
"DocumentIndex": 19,
"Title": "IOCardDev.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Device\\IOCardDev.cs",
"RelativeDocumentMoniker": "LeatherApp\\Device\\IOCardDev.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Device\\IOCardDev.cs",
"RelativeToolTip": "LeatherApp\\Device\\IOCardDev.cs",
"ViewState": "AQIAADcAAAAAAAAAAADwv0gAAAA4AAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.597Z"
},
{
"$type": "Document",
"DocumentIndex": 20,
"Title": "UCColorList.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\UIExtend\\UCColorList.cs",
"RelativeDocumentMoniker": "LeatherApp\\UIExtend\\UCColorList.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\UIExtend\\UCColorList.cs",
"RelativeToolTip": "LeatherApp\\UIExtend\\UCColorList.cs",
"ViewState": "AQIAABEAAAAAAAAAAADwvzEAAAArAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003302|",
"WhenOpened": "2024-11-28T02:04:32.597Z"
},
{
"$type": "Document",
"DocumentIndex": 23,
"Title": "DefectLib.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Device\\DefectLib.cs",
"RelativeDocumentMoniker": "LeatherApp\\Device\\DefectLib.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Device\\DefectLib.cs",
"RelativeToolTip": "LeatherApp\\Device\\DefectLib.cs",
"ViewState": "AgIAAPwDAAAAAAAAAAAcwLEDAACMAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.598Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 24,
"Title": "DBUtils.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Utils\\DBUtils.cs",
"RelativeDocumentMoniker": "LeatherApp\\Utils\\DBUtils.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Utils\\DBUtils.cs",
"RelativeToolTip": "LeatherApp\\Utils\\DBUtils.cs",
"ViewState": "AQIAAGcAAAAAAAAAAAD4v4EAAABhAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-28T02:04:32.6Z"
},
{
"$type": "Document",
"DocumentIndex": 25,
"Title": "FenJuanFrm.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FenJuanFrm.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\FenJuanFrm.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FenJuanFrm.cs",
"RelativeToolTip": "LeatherApp\\Page\\FenJuanFrm.cs",
"ViewState": "AQIAAAMAAAAAAAAAAAAtwBgAAAAkAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003525|",
"WhenOpened": "2024-11-28T02:04:32.6Z"
},
{
"$type": "Document",
"DocumentIndex": 26,
"Title": "FHome_Defect.cs [\u8BBE\u8BA1]",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FHome_Defect.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\FHome_Defect.cs",
"ToolTip": "E:\\CPL\\\u8FC8\u6C90\u667A\u80FD\u9879\u76EE\\2023\\\u9769\u535A\u58EB\\\u6E90\u7801\\V1.0\\LeatherProject\\LeatherApp\\Page\\FHome_Defect.cs [\u8BBE\u8BA1]",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003525|",
"WhenOpened": "2024-11-28T02:04:32.601Z"
},
{
"$type": "Document",
"DocumentIndex": 27,
"Title": "ProductListFrm.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\GeBoShi\\UI\\Product\\ProductListFrm.cs",
"RelativeDocumentMoniker": "GeBoShi\\UI\\Product\\ProductListFrm.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\GeBoShi\\UI\\Product\\ProductListFrm.cs",
"RelativeToolTip": "GeBoShi\\UI\\Product\\ProductListFrm.cs",
"ViewState": "AQIAAB0AAAAAAAAAAAAYwDMAAAAiAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003525|",
"WhenOpened": "2024-11-28T02:04:32.601Z"
},
{
"$type": "Document",
"DocumentIndex": 28,
"Title": "FErpMesEdit.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FErpMesEdit.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\FErpMesEdit.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FErpMesEdit.cs",
"RelativeToolTip": "LeatherApp\\Page\\FErpMesEdit.cs",
"ViewState": "AQIAAAsAAAAAAAAAAAAmwB8AAAAZAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003525|",
"WhenOpened": "2024-11-28T02:04:32.602Z"
},
{
"$type": "Document",
"DocumentIndex": 29,
"Title": "FChart.cs",
"DocumentMoniker": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FChart.cs",
"RelativeDocumentMoniker": "LeatherApp\\Page\\FChart.cs",
"ToolTip": "F:\\CPL\\GeBoshi\\hy1127\\V1.0\\LeatherProject\\LeatherApp\\Page\\FChart.cs",
"RelativeToolTip": "LeatherApp\\Page\\FChart.cs",
"ViewState": "AQIAADUAAAAAAAAAAAAYwDwAAAAfAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003525|",
"WhenOpened": "2024-11-28T02:04:32.603Z"
}
]
}
]
}
]
}

View File

@ -13,6 +13,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Service", "Service\Service.
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GeBoShi", "GeBoShi\GeBoShi.csproj", "{FDB83436-DAD7-4DC3-AE23-A249CBA74B68}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ServerApp", "ServerApp\ServerApp.csproj", "{F1876CE2-8446-4EAE-8707-FE4BB19A1C18}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@ -61,6 +63,14 @@ Global
{FDB83436-DAD7-4DC3-AE23-A249CBA74B68}.Release|Any CPU.Build.0 = Release|Any CPU
{FDB83436-DAD7-4DC3-AE23-A249CBA74B68}.Release|x64.ActiveCfg = Release|Any CPU
{FDB83436-DAD7-4DC3-AE23-A249CBA74B68}.Release|x64.Build.0 = Release|Any CPU
{F1876CE2-8446-4EAE-8707-FE4BB19A1C18}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F1876CE2-8446-4EAE-8707-FE4BB19A1C18}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F1876CE2-8446-4EAE-8707-FE4BB19A1C18}.Debug|x64.ActiveCfg = Debug|Any CPU
{F1876CE2-8446-4EAE-8707-FE4BB19A1C18}.Debug|x64.Build.0 = Debug|Any CPU
{F1876CE2-8446-4EAE-8707-FE4BB19A1C18}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F1876CE2-8446-4EAE-8707-FE4BB19A1C18}.Release|Any CPU.Build.0 = Release|Any CPU
{F1876CE2-8446-4EAE-8707-FE4BB19A1C18}.Release|x64.ActiveCfg = Release|Any CPU
{F1876CE2-8446-4EAE-8707-FE4BB19A1C18}.Release|x64.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

File diff suppressed because one or more lines are too long

View File

@ -17,7 +17,7 @@ namespace LeatherApp
public static Models.User loginUser;
//对应文件DefectItemList.json
public static JArray defectItemList;
//public static JArray defectItemList;
//
public static JArray colorNameList;//, materialNameList;
//
@ -51,7 +51,6 @@ namespace LeatherApp
public static bool StopIO = false;
public static bool StopPLC=true;
public static bool StopLight = true;
public static bool StopCeHou = true;
public static string PlcIPAdrees;
public static short PlcRackN=0, PlcSolt=1;
@ -114,6 +113,24 @@ namespace LeatherApp
public static bool OpenWarnBeep;
//边补偿
public static int L_offset, R_offset;
public static double EdgeOffset;//幅宽补偿
//开启金属检测
public static bool OpenJinShuJianCe;
//开启厚度记录
public static bool OpenHouDuJiLu;
public static double DataOffset1; //数据1补偿
public static double DataOffset2; //数据2补偿
public static double DataOffset3; //数据3补偿
//开启分卷功能
public static bool OpenFenJuan;
public static double CutDis; //裁切位置
//开启计米停车
public static bool OpenJMStop;
public static double StopLookDis;
//图片自动删除
public static bool OpenClearPic;
public static int ClearDays;
//
public static void LoadCloudConfig()
{
if (string.IsNullOrWhiteSpace(appBasePath))
@ -196,11 +213,13 @@ namespace LeatherApp
JM_PortName = ini.ReadString("DEV", "JM_PortName", "");
StopCeHou = ini.ReadBool("DEV", "StopCeHou", true);
//StopCeHou = ini.ReadBool("DEV", "StopCeHou", true);
CeHouIP = ini.ReadString("DEV", "CeHouIP", "");
CeHouPort = ini.ReadInt("DEV", "CeHouPort");
CeHouCnt = ini.ReadInt("DEV", "CeHouCnt");
JinShuTanCeDis = ini.ReadDouble("DEV", "JinShuTanCeDis");
residueWarnningLen = ini.ReadInt("DEV", "residueWarnningLen", 20);
//[LIB]
model_path = ini.ReadString("LIB", "model_path", "");
//labels_path = ini.ReadString("LIB", "labels_path", "");
@ -269,18 +288,89 @@ namespace LeatherApp
L_offset = ini.ReadInt("BOffset", "L_offset", 0);
R_offset = ini.ReadInt("BOffset", "R_offset", 0);
EdgeOffset = ini.ReadDouble("BOffset", "EdgeOffset", 0);
CustomerName = ini.ReadString("Customer", "CustomerName", "").Trim();
//开启金属检测
OpenJinShuJianCe = ini.ReadBool("Fun", "OpenJinShuJianCe");
OpenHouDuJiLu = ini.ReadBool("Fun", "OpenHouDuJiLu");
OpenFenJuan = ini.ReadBool("Fun", "OpenFenJuan");
CutDis = ini.ReadDouble("Fun", "CutDis");
OpenJMStop = ini.ReadBool("Fun", "OpenJMStop");
StopLookDis = ini.ReadDouble("Fun", "StopLookDis");
OpenClearPic = ini.ReadBool("Fun", "OpenClearPic");
ClearDays = ini.ReadInt("Fun", "ClearDays");
DataOffset1 = ini.ReadDouble("HouDuOffset", "DataOffset1", 0);
DataOffset2 = ini.ReadDouble("HouDuOffset", "DataOffset2", 0);
DataOffset3 = ini.ReadDouble("HouDuOffset", "DataOffset3", 0);
}
#region defectItemList <=> DefectItemList.json
public static void LoadDefectItemList()
public static JArray LoadDefectItemList()
{
JArray defectItemList = new JArray();
if (string.IsNullOrWhiteSpace(appBasePath))
appBasePath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
string configPath = appBasePath + "\\DefectItemList.json";
string lsTmp = File.ReadAllText(configPath);
defectItemList = JArray.Parse(lsTmp);
JObject obj = new JObject
{
{ "id", 100 },
{ "code", "JSYC" },
{ "name", "金属" },
{ "color", "Red" }
};
defectItemList.Add(obj);
return defectItemList;
}
private static string Pre_modelName;
private static JArray defectlabelList;
//根据模型加载label
public static bool LoadModelDefectItemList(string modelName, out JArray defectItemList)
{
bool ret = true;
if (string.IsNullOrWhiteSpace(appBasePath))
appBasePath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
if (string.IsNullOrEmpty(modelName))
modelName = "";
string configPath = appBasePath + $"\\{modelName.Replace(".trt","")}.json";
if (!File.Exists(configPath))
{
configPath = appBasePath + "\\DefectItemList.json";
ret = false;
}
if (Pre_modelName == configPath)
{
defectItemList = defectlabelList;
}
else
{
Pre_modelName = configPath;
string lsTmp = File.ReadAllText(configPath);
defectItemList = JArray.Parse(lsTmp);
defectlabelList = JArray.Parse(lsTmp);
if (OpenJinShuJianCe)
{
JObject obj = new JObject
{
{ "id", 100 },
{ "code", "JSYC" },
{ "name", "金属" },
{ "color", "Red" }
};
defectItemList.Add(obj);
defectlabelList.Add(obj);
}
}
return ret;
}
public static void SaveDefectItemList(JArray newValue)
{
@ -289,11 +379,13 @@ namespace LeatherApp
string configPath = appBasePath + "\\DefectItemList.json";
File.WriteAllText(configPath, newValue.ToString());
}
public static JObject getDefectItem(string code)
public static JObject getDefectItem(string modelName, string code)
{
try
{
if(code == "ng")
JArray defectItemList;
LoadModelDefectItemList(modelName, out defectItemList);
if (code == "ng")
{
JObject obj = new JObject();
obj.Add("id", 0);
@ -302,17 +394,19 @@ namespace LeatherApp
obj.Add("color", "Red");
return obj;
}
var item = Config.defectItemList.FirstOrDefault(m => m.Value<string>("code") == code);
var item = defectItemList.FirstOrDefault(m => m.Value<string>("code") == code);
if (item == null)
return null;
return (JObject)item;
}
catch { return null; }
}
public static JObject getDefectItem(int id)
public static JObject getDefectItem(string modelName, int id)
{
try
{
JArray defectItemList;
LoadModelDefectItemList(modelName, out defectItemList);
if (id == -99)
{
JObject obj = new JObject();
@ -323,38 +417,44 @@ namespace LeatherApp
return obj;
}
var item = Config.defectItemList.FirstOrDefault(m => m.Value<int>("id") == id);
var item = defectItemList.FirstOrDefault(m => m.Value<int>("id") == id);
if (item == null)
return null;
return (JObject)item;
}
catch { return null; }
}
public static string getDefectCode(int id)
public static string getDefectCode(string modelName, int id)
{
try
{
var item = Config.defectItemList.FirstOrDefault(m => m.Value<int>("id") == id);
JArray defectItemList;
LoadModelDefectItemList(modelName, out defectItemList);
var item = defectItemList.FirstOrDefault(m => m.Value<int>("id") == id);
if (item == null)
return "";
return ((JObject)item).Value<string>("code");
}
catch { return ""; }
}
public static string getDefectName(string code)
public static string getDefectName(string modelName, string code)
{
try {
var item = Config.defectItemList.FirstOrDefault(m => m.Value<string>("code") == code);
JArray defectItemList;
LoadModelDefectItemList(modelName, out defectItemList);
var item = defectItemList.FirstOrDefault(m => m.Value<string>("code") == code);
if (item == null)
return "";
return ((JObject)item).Value<string>("name");
}
catch { return ""; }
}
public static string getDefectCode(string name)
public static string getDefectCode(string modelName, string name)
{
try {
var item = Config.defectItemList.FirstOrDefault(m => m.Value<string>("name") == name);
JArray defectItemList;
LoadModelDefectItemList(modelName, out defectItemList);
var item = defectItemList.FirstOrDefault(m => m.Value<string>("name") == name);
if (item == null)
return "";
return ((JObject)item).Value<string>("code");

View File

@ -70,7 +70,7 @@ namespace LeatherApp
try { libDefect.stop(); } catch { }
try { libPhoto.stop(); } catch { }
if (!Config.StopCeHou)
if (Config.OpenHouDuJiLu)
{
try { dL_EN1Dev.stopDev(); } catch { }
}
@ -102,11 +102,18 @@ namespace LeatherApp
lengthCounter = new SerialPort(Config.JM_PortName, 9600);
#endif
//开启测厚
if (!Config.StopCeHou)
if (Config.OpenHouDuJiLu)
{
dL_EN1Dev = new DL_EN1Dev();
if(!dL_EN1Dev.startDev(Config.CeHouIP, Config.CeHouPort))
throw new Exception("位移传感器初始化失败!");
double d1, d2, d3;
if(!GetThicknessValue(out d1, out d2, out d3))
{
throw new Exception($"位移传感器数据读取失败{d1}-{d2}-{d3}");
}
else
WarningEvent?.Invoke(DateTime.Now, WarningEnum.Normal, $"DL-{d1}-{d2}-{d3}");
}
if (Config.Camer_Name == CamerDevNameEnum.)
{
@ -154,9 +161,9 @@ namespace LeatherApp
string scanner1Path = appBasePath + "\\temp\\";
if (!Directory.Exists(scanner1Path + "scanner\\")) Directory.CreateDirectory(scanner1Path + "scanner\\");
if (!devCamer2.open(1, 0)) throw new Exception("相机初始化失败!");
if (!devCamer2.open(1, 0)) throw new Exception("相机2初始化失败!");
if (!devCamer2.start(this.preView1, scanner1Path + "scanner\\")) throw new Exception("相机1打开失败");
if (!devCamer1.open(0, 0)) throw new Exception("相机初始化失败!");
if (!devCamer1.open(0, 0)) throw new Exception("相机1初始化失败!");
if (!devCamer1.start(this.preView2, scanner1Path + "scanner\\")) throw new Exception("相机0打开失败");
//
@ -256,6 +263,21 @@ namespace LeatherApp
}
}
#endregion
#region duqu
public bool GetThicknessValue(out double d1, out double d2, out double d3)
{
if(dL_EN1Dev != null)
{
return dL_EN1Dev.GetValue(out d1, out d2, out d3);
}
else
{
d1 = d2 = d3 = -11;
return false; }
}
#endregion
/// <summary>
/// I/O指令输出
/// </summary>

View File

@ -32,48 +32,44 @@ namespace LeatherApp.Device
tCPClient.CloseAll();
}
public bool GetValue(string index, out double val)
public bool GetValue(out double val1, out double val2, out double val3)
{
val = 0;
val1 = val2 = val3 = 0;
bool ret = true;
string recv;
ret = tCPClient.SendMessage($"SW,{index},171,+000000001\r\n");
ret = tCPClient.SendMessage($"M0\r\n");
if ( !ret )
{
return ret;
}
Thread.Sleep( 10 );
DateTime dateTime = DateTime.Now;
do
{
ret = tCPClient.SendMessage($"SW,{index},172\r\n");
if (!ret)
{
return ret;
}
Thread.Sleep(10);
ret = tCPClient.ReceiveMessage(out recv);
if (recv.IndexOf("1.") >= 0)
break;
if ((DateTime.Now - dateTime).TotalSeconds > 3)
val1 = val2 = val3 = 7;
return false;
} while (true);
ret = tCPClient.SendMessage($"SW,{index},173\r\n");
if (!ret)
{
return ret;
}
Thread.Sleep(10);
Thread.Sleep(20);
ret = tCPClient.ReceiveMessage(out recv);
if (!ret)
{
return ret;
val1 = val2 = val3 = 8;
return false;
}
if(string.IsNullOrEmpty(recv))
return ret;
ret = double.TryParse(recv, out val);
val = val / 100;
return ret;
if (string.IsNullOrEmpty(recv))
{
val1 = val2 = val3 = 9;
return false;
}
try
{
var dataString = recv.Split(',');
ret = double.TryParse(dataString[1], out val1);
val1 = val1 / 1000;
ret = double.TryParse(dataString[2], out val2);
val2 = val2 / 1000;
ret = double.TryParse(dataString[3], out val3);
val3 = val3 / 1000;
}
catch {
val1 = val2 = val3 = -10;
return false;
}
return true;
}
}

View File

@ -514,28 +514,32 @@ namespace LeatherApp.Device
double temp = tt / 100 * (ContrastTop - ContrastLow);
return temp + ContrastLow;
}
private List<DefectLabelInfo> HeBingDefect(int Width, List<DefectLabelInfo> DefectLabelInfoList)
private List<DefectLabelInfo> HeBingDefect(string modelName, int Width, List<DefectLabelInfo> DefectLabelInfoList)
{
List<DefectLabelInfo> outList = new List<DefectLabelInfo>();
List<DefectLabelInfo> HeBingList = new List<DefectLabelInfo>();
List<DefectLabelInfo> XcHeBingList = new List<DefectLabelInfo>();
List<int> xPos = new List<int>();
List<int> yPos = new List<int>();
List<double> ZXD = new List<double>();
List<DefectLabelInfo> HeBingList2 = new List<DefectLabelInfo>();
List<DefectLabelInfo> XcHeBingList2 = new List<DefectLabelInfo>();
List<int> xPos2 = new List<int>();
List<int> yPos2 = new List<int>();
List<double> ZXD2 = new List<double>();
List<DefectLabelInfo> HeBingList3 = new List<DefectLabelInfo>();
List<DefectLabelInfo> XcHeBingList3 = new List<DefectLabelInfo>();
List<int> xPos3 = new List<int>();
List<int> yPos3 = new List<int>();
List<double> ZXD3 = new List<double>();
List<DefectLabelInfo> HeBingList4 = new List<DefectLabelInfo>();
List<DefectLabelInfo> XcHeBingList4 = new List<DefectLabelInfo>();
List<int> xPos4 = new List<int>();
List<int> yPos4 = new List<int>();
List<double> ZXD4 = new List<double>();
@ -545,7 +549,7 @@ namespace LeatherApp.Device
//寻找在一条线上
for (int q = 0; q < DefectLabelInfoList.Count; q++)
{
if (Config.getDefectCode(DefectLabelInfoList[q].classId) == "jietou")
if (Config.getDefectCode(modelName, DefectLabelInfoList[q].classId) == "jietou")
{
int max = stpoint.y + 2000;
int min = stpoint.y - 2000 > 0? stpoint.y - 2000 : 0;
@ -553,12 +557,13 @@ namespace LeatherApp.Device
{
HeBingList.Add(DefectLabelInfoList[q]);
xPos.Add((DefectLabelInfoList[q].i % colNum) * image_width + DefectLabelInfoList[q].x);
yPos.Add((DefectLabelInfoList[q].i / colNum) * image_hight + DefectLabelInfoList[q].y);
ZXD.Add(DefectLabelInfoList[q].confidence);
}
else
XcHeBingList.Add(DefectLabelInfoList[q]);
}
else if (Config.getDefectCode(DefectLabelInfoList[q].classId) == "hengdang")
else if (Config.getDefectCode(modelName, DefectLabelInfoList[q].classId) == "hengdang")
{
int max = stpoint.y + 2000;
int min = stpoint.y - 2000 > 0 ? stpoint.y - 2000 : 0;
@ -566,12 +571,13 @@ namespace LeatherApp.Device
{
HeBingList2.Add(DefectLabelInfoList[q]);
xPos2.Add((DefectLabelInfoList[q].i % colNum) * image_width + DefectLabelInfoList[q].x);
yPos2.Add((DefectLabelInfoList[q].i / colNum) * image_hight + DefectLabelInfoList[q].y);
ZXD2.Add(DefectLabelInfoList[q].confidence);
}
else
XcHeBingList2.Add(DefectLabelInfoList[q]);
}
else if (Config.getDefectCode(DefectLabelInfoList[q].classId) == "jt")
else if (Config.getDefectCode(modelName, DefectLabelInfoList[q].classId) == "jt")
{
int max = stpoint.y + 2000;
int min = stpoint.y - 2000 > 0 ? stpoint.y - 2000 : 0;
@ -579,12 +585,13 @@ namespace LeatherApp.Device
{
HeBingList3.Add(DefectLabelInfoList[q]);
xPos3.Add((DefectLabelInfoList[q].i % colNum) * image_width + DefectLabelInfoList[q].x);
yPos3.Add((DefectLabelInfoList[q].i / colNum) * image_hight + DefectLabelInfoList[q].y);
ZXD3.Add(DefectLabelInfoList[q].confidence);
}
else
XcHeBingList3.Add(DefectLabelInfoList[q]);
}
else if (Config.getDefectCode(DefectLabelInfoList[q].classId) == "tcy")
else if (Config.getDefectCode(modelName, DefectLabelInfoList[q].classId) == "tcy")
{
int max = stpoint.y + 2000;
int min = stpoint.y - 2000 > 0 ? stpoint.y - 2000 : 0;
@ -592,6 +599,7 @@ namespace LeatherApp.Device
{
HeBingList4.Add(DefectLabelInfoList[q]);
xPos4.Add((DefectLabelInfoList[q].i % colNum) * image_width + DefectLabelInfoList[q].x);
yPos4.Add((DefectLabelInfoList[q].i / colNum) * image_hight + DefectLabelInfoList[q].y);
ZXD4.Add(DefectLabelInfoList[q].confidence);
}
else
@ -606,25 +614,27 @@ namespace LeatherApp.Device
List<DefectLabelInfo> dg3 = new List<DefectLabelInfo>();
List<DefectLabelInfo> dg4 = new List<DefectLabelInfo>();
if (XcHeBingList.Count >0)
dg1 = HeBingDefect(Width, XcHeBingList);
dg1 = HeBingDefect(modelName, Width, XcHeBingList);
if (XcHeBingList2.Count > 0)
dg2 = HeBingDefect(Width, XcHeBingList2);
dg2 = HeBingDefect(modelName, Width, XcHeBingList2);
if (XcHeBingList3.Count > 0)
dg3 = HeBingDefect(Width, XcHeBingList3);
dg3 = HeBingDefect(modelName, Width, XcHeBingList3);
if (XcHeBingList4.Count > 0)
dg4 = HeBingDefect(Width, XcHeBingList4);
dg4 = HeBingDefect(modelName, Width, XcHeBingList4);
//多个jietou合并
if (HeBingList.Count>0)
{
var stIt = HeBingList.Find(x => (x.i % colNum) * image_width + x.x == xPos.Min());
var edIt = HeBingList.Find(x => (x.i % colNum) * image_width + x.x == xPos.Max());
var stIty = HeBingList.Find(x => ((x.i / colNum) * image_hight + x.y) == yPos.Min());
var edIty = HeBingList.Find(x => ((x.i / colNum) * image_hight + x.y) == yPos.Max());
var eZXD = HeBingList.Find(x => x.confidence == ZXD.Max());
int newW = Math.Abs(((edIt.i % colNum) * image_width + edIt.x) - ((stIt.i % colNum) * image_width + stIt.x)) + edIt.w;
int newh = Math.Abs(((edIt.i / colNum) * image_hight + edIt.y) - ((stIt.i / colNum) * image_hight + stIt.y)) + edIt.h;
outList.Add(new DefectLabelInfo() {
x=stIt.x,
y=edIt.y,
y= edIty.y,
w = newW, //多图叠加
h = newh,
classId = eZXD.classId,
@ -641,13 +651,15 @@ namespace LeatherApp.Device
{
var stIt = HeBingList2.Find(x => (x.i % colNum) * image_width + x.x == xPos2.Min());
var edIt = HeBingList2.Find(x => (x.i % colNum) * image_width + x.x == xPos2.Max());
var stIty = HeBingList2.Find(x => ((x.i / colNum) * image_hight + x.y) == yPos2.Min());
var edIty = HeBingList2.Find(x => ((x.i / colNum) * image_hight + x.y) == yPos2.Max());
var eZXD = HeBingList2.Find(x => x.confidence == ZXD2.Max());
int newW = Math.Abs(((edIt.i % colNum) * image_width + edIt.x) - ((stIt.i % colNum) * image_width + stIt.x)) + edIt.w;
int newh = Math.Abs(((edIt.i / colNum) * image_hight + edIt.y) - ((stIt.i / colNum) * image_hight + stIt.y)) + edIt.h;
outList.Add(new DefectLabelInfo()
{
x = stIt.x,
y = edIt.y,
y = edIty.y,
w = newW, //多图叠加
h = newh,
classId = eZXD.classId,
@ -664,13 +676,15 @@ namespace LeatherApp.Device
{
var stIt = HeBingList3.Find(x => (x.i % colNum) * image_width + x.x == xPos3.Min());
var edIt = HeBingList3.Find(x => (x.i % colNum) * image_width + x.x == xPos3.Max());
var stIty = HeBingList3.Find(x => ((x.i / colNum) * image_hight + x.y) == yPos3.Min());
var edIty = HeBingList3.Find(x => ((x.i / colNum) * image_hight + x.y) == yPos3.Max());
var eZXD = HeBingList3.Find(x => x.confidence == ZXD3.Max());
int newW = Math.Abs(((edIt.i % colNum) * image_width + edIt.x) - ((stIt.i % colNum) * image_width + stIt.x)) + edIt.w;
int newh = Math.Abs(((edIt.i / colNum) * image_hight + edIt.y) - ((stIt.i / colNum) * image_hight + stIt.y)) + edIt.h;
outList.Add(new DefectLabelInfo()
{
x = stIt.x,
y = edIt.y,
y = edIty.y,
w = newW, //多图叠加
h = newh,
classId = eZXD.classId,
@ -687,13 +701,15 @@ namespace LeatherApp.Device
{
var stIt = HeBingList4.Find(x => (x.i % colNum) * image_width + x.x == xPos4.Min());
var edIt = HeBingList4.Find(x => (x.i % colNum) * image_width + x.x == xPos4.Max());
var stIty = HeBingList4.Find(x => ((x.i / colNum) * image_hight + x.y) == yPos4.Min());
var edIty = HeBingList4.Find(x => ((x.i / colNum) * image_hight + x.y) == yPos4.Max());
var eZXD = HeBingList4.Find(x => x.confidence == ZXD4.Max());
int newW = Math.Abs(((edIt.i % colNum) * image_width + edIt.x) - ((stIt.i % colNum) * image_width + stIt.x)) + edIt.w;
int newh = Math.Abs(((edIt.i / colNum) * image_hight + edIt.y) - ((stIt.i / colNum) * image_hight + stIt.y)) + edIt.h;
outList.Add(new DefectLabelInfo()
{
x = stIt.x,
y = edIt.y,
y = edIty.y,
w = newW, //多图叠加
h = newh,
classId = eZXD.classId,
@ -913,20 +929,21 @@ namespace LeatherApp.Device
#region
liStep = 3000;
if (DefectLabelInfoList.Count > 0)
DefectLabelInfoList = HeBingDefect(task.bmp.Width, DefectLabelInfoList);
DefectLabelInfoList = HeBingDefect(task.modelName, task.bmp.Width, DefectLabelInfoList);
liStep++;
#endregion
//结果过滤
#region
//降序排序,先得到是否有接头检出
List<DefectLabelInfo> DefectLabelInfoListByDefect = new List<DefectLabelInfo>();
List<DefectLabelInfo> DefectLabelInfoListByClassID = DefectLabelInfoList.OrderByDescending(t => t.classId).ToList();//降序
for (int q = 0; q < DefectLabelInfoListByClassID.Count; q++)
{
//是否满足此产品标准
if (task.qualifiedLimitList != null && task.qualifiedLimitList.Count > 0)
{
qualifiedLimit = task.qualifiedLimitList.FirstOrDefault(m => m.Code == Config.getDefectCode(DefectLabelInfoListByClassID[q].classId));
qualifiedLimit = task.qualifiedLimitList.FirstOrDefault(m => m.Code == Config.getDefectCode(task.modelName, DefectLabelInfoListByClassID[q].classId));
if (qualifiedLimit != null)
{
// 打印输出信息
@ -967,14 +984,14 @@ namespace LeatherApp.Device
task.resultInfo += $" 不满足此产品瑕疵标准面积,跳过! \n";
continue;
}
if (Config.getDefectCode(DefectLabelInfoListByClassID[q].classId) == "jietou")
if (Config.getDefectCode(task.modelName, DefectLabelInfoListByClassID[q].classId) == "jietou")
haveJieTou = true;
if (haveJieTou && (Config.getDefectCode(DefectLabelInfoListByClassID[q].classId) == "hengdang"))
if (haveJieTou && (Config.getDefectCode(task.modelName, DefectLabelInfoListByClassID[q].classId) == "hengdang"))
{
task.resultInfo += $" 判断为接头处横档,跳过! \n";
continue;
}
if (Config.getDefectCode(DefectLabelInfoListByClassID[q].classId) == "na")
if (Config.getDefectCode(task.modelName, DefectLabelInfoListByClassID[q].classId) == "na")
{
task.resultInfo += $" 判断为正向标签na跳过 \n";
continue;
@ -982,13 +999,21 @@ namespace LeatherApp.Device
//WarningEvent?.Invoke(DateTime.Now,WarningEnum.Low, $"判断是瑕疵类别ID:{classId} 置信度({confidence},[{qualifiedLimit.ZXD}]); isOr({qualifiedLimit.IsOR}); 面积({cmW * cmH},[{ qualifiedLimit.Area}]); 对比度({contrast},[{qualifiedLimit.ContrastLower}-{qualifiedLimit.ContrastTop}])");
}
}
//检测缺陷
DefectLabelInfoListByDefect.Add(DefectLabelInfoListByClassID[q]);
liStep++;//1
}
//y方向位置排序
List<DefectLabelInfo> DefectLabelInfoListByYdis = DefectLabelInfoListByDefect.OrderByDescending(t => (t.i / colNum) * image_hight + t.y).ToList();//降序
for (int q = 0; q < DefectLabelInfoListByYdis.Count; q++)
{
//打标
int penLine = 50;
int xx = (DefectLabelInfoListByClassID[q].i % colNum) * image_width + DefectLabelInfoListByClassID[q].x - 2 * penLine;
int yy = (DefectLabelInfoListByClassID[q].i / colNum) * image_hight + DefectLabelInfoListByClassID[q].y - 2 * penLine;
int xx = (DefectLabelInfoListByYdis[q].i % colNum) * image_width + DefectLabelInfoListByYdis[q].x - 2 * penLine;
int yy = (DefectLabelInfoListByYdis[q].i / colNum) * image_hight + DefectLabelInfoListByYdis[q].y - 2 * penLine;
var point1 = new OpenCvSharp.Point(xx >0? xx:0, yy >0? yy:0);
var point2 = new OpenCvSharp.Point(point1.X + DefectLabelInfoListByClassID[q].w + 4 * penLine, point1.Y + DefectLabelInfoListByClassID[q].h + 4 * penLine);
var point2 = new OpenCvSharp.Point(point1.X + DefectLabelInfoListByYdis[q].w + 4 * penLine, point1.Y + DefectLabelInfoListByYdis[q].h + 4 * penLine);
liStep++;//2
//task.resultInfo += $" 转换到大图坐标(px)p1={point1.X},{point1.Y}; p2={point2.X},{point2.Y}\n";
Cv2.Rectangle(task.bmpTag, point1, point2, new Scalar(0.0, 0.0, 255.0), penLine);//画打标点
@ -998,17 +1023,17 @@ namespace LeatherApp.Device
//var cmX = Math.Round(px * task.widthRatio / Config.cm2px_x, 2);
var cmX = Math.Round((double)px / Config.cm2px_x, 2);
//var cmY = Math.Round((task.bmp.Height - point1.Y - DefectLabelInfoListByClassID[q].h) * task.widthRatio / Config.cm2px_y, 2);//外面计Y从右下角为原点
var cmY = Math.Round((task.bmp.Height - point1.Y - DefectLabelInfoListByClassID[q].h) * 1.0 / Config.cm2px_y, 2);//外面计Y从右下角为原点
var cmY = Math.Round((task.bmp.Height - point1.Y - DefectLabelInfoListByYdis[q].h) * 1.0 / Config.cm2px_y, 2);//外面计Y从右下角为原点
liStep++;//3
//task.resultInfo += $" 转换到大图坐标(cm)[widthRatio={task.widthRatio}]x={cmX},y={cmY}; w={DefectLabelInfoList[q].cmW},h={DefectLabelInfoList[q].cmH}\n";
task.excelTable.Rows.Add($"{task.photoIndex}", cmX, cmY, DefectLabelInfoListByClassID[q].cmW, DefectLabelInfoListByClassID[q].cmH, DefectLabelInfoListByClassID[q].j + 1, DefectLabelInfoListByClassID[q].classId, DefectLabelInfoListByClassID[q].confidence, DefectLabelInfoListByClassID[q].contrast);
task.excelTable.Rows.Add($"{task.photoIndex}", cmX, cmY, DefectLabelInfoListByYdis[q].cmW, DefectLabelInfoListByYdis[q].cmH, DefectLabelInfoListByYdis[q].j + 1, DefectLabelInfoListByYdis[q].classId, DefectLabelInfoListByYdis[q].confidence, DefectLabelInfoListByYdis[q].contrast);
liStep++;//4
//切缺陷小图
//WarningEvent?.Invoke(DateTime.Now,WarningEnum.Low, $"保存第 {count} 个缺陷小图;");
int left, top, decX, decY;
decX = ((DefectLabelInfoListByClassID[q].w + 4 * penLine) > 236 ? 20 : (256 - DefectLabelInfoListByClassID[q].w - 4 * penLine)) / 2;
decY = ((DefectLabelInfoListByClassID[q].h + 4 * penLine) > 236 ? 20 : (256 - DefectLabelInfoListByClassID[q].h - 4 * penLine)) / 2;
decX = ((DefectLabelInfoListByYdis[q].w + 4 * penLine) > 236 ? 20 : (256 - DefectLabelInfoListByYdis[q].w - 4 * penLine)) / 2;
decY = ((DefectLabelInfoListByYdis[q].h + 4 * penLine) > 236 ? 20 : (256 - DefectLabelInfoListByYdis[q].h - 4 * penLine)) / 2;
//left = point1.X - decX;
//top = point1.Y - decY;
left = point1.X - 20;
@ -1095,11 +1120,11 @@ namespace LeatherApp.Device
//切小图
int left, top, decX, decY;
int tdecX = (w / 2) / 2;
int tdecY = w / h > 4 ? w / 8 : (h / 1) / 2;
//int tdecX = (w / 2) / 2;
//int tdecY = w / h > 4 ? w / 8 : (h / 1) / 2;
decX = (w > 236 ? tdecX : 256 - w) / 2;
decY = (h > 236 ? tdecY : 256 - h) / 2;
//decX = (w > 236 ? tdecX : 256 - w) / 2;
//decY = (h > 236 ? tdecY : 256 - h) / 2;
//left = point1.X - decX;
//top = point1.Y - decY;
@ -1254,7 +1279,7 @@ namespace LeatherApp.Device
public int object_num = 0;
//图片位置
public double PicDis;
public double CurrDis;
}
public void add(DefectTask task)

View File

@ -69,6 +69,8 @@ namespace LeatherApp.Device
if (BioFailed(result) && BioFailed(result2))
throw new Exception("CardIO Load Config Failed With Error Code: [" + result.ToString() + "]");
}
else
throw new Exception("CardIO 加载配置文件路径错位: [" + cfgPath + "]");
DeviceNum = instantDiCtrl1.SelectedDevice.Description;
DIPortCount = instantDiCtrl1.Features.PortCount;

View File

@ -171,7 +171,7 @@ namespace LeatherApp
= 35,
//Y轴复位输出 = 40,
= 40,
//Y轴复位完成输入 = 41,
}

View File

@ -62,6 +62,14 @@ namespace LeatherApp
AddPage(new FChart(), 1004);
uiTabControl1.SelectPage(0);
if (Config.loginUser != null && Config.loginUser.RoleId != 1) //管理员权限可以设置参数
{
this.btnHead1.Enabled = false;
this.btnHead1.ForeColor = Color.Gray;
this.btnHead3.Enabled = false;
this.btnHead3.ForeColor = Color.Gray;
}
//uiNavBar1.SelectedIndex = 0;
//SelectPage(1000);
@ -162,6 +170,9 @@ namespace LeatherApp
//HideProcessForm();//完成后关闭动画
});
//
string configPath = Application.StartupPath + "\\Login.ini";
string szUserCode = "admin";
szUserCode = Util.ReadIniValue(configPath, "LOGIN", "UserCode");
UILoginForm frm = new UILoginForm();
frm.ShowInTaskbar = true;
@ -172,7 +183,7 @@ namespace LeatherApp
frm.LoginImage = UILoginForm.UILoginImage.Login2;
//HideProcessForm();//完成后关闭动画
frm.TopLevel = true;
frm.UserName = "admin";
frm.UserName = szUserCode;
//frm.Password = "1";
frm.ShowDialog();
frm.Dispose();
@ -212,10 +223,10 @@ namespace LeatherApp
string configPath = Application.StartupPath + "\\Login.ini";
//if (this.chkRememberUserCode.Checked)
//{
// Util.WriteIniValue(configPath, "LOGIN", "UserCode", szUserCode);
// Util.WriteIniValue(configPath, "LOGIN", "RememberUserCode", "1");
// Util.WriteIniValue(configPath, "LOGIN", "PassWord", this.chkRememberPw.Checked ? szUserPw : "");
// Util.WriteIniValue(configPath, "LOGIN", "RememberPw", this.chkRememberPw.Checked ? "1" : "0");
Util.WriteIniValue(configPath, "LOGIN", "UserCode", szUserCode);
Util.WriteIniValue(configPath, "LOGIN", "RememberUserCode", "1");
Util.WriteIniValue(configPath, "LOGIN", "PassWord", false ? szUserPw : "");
Util.WriteIniValue(configPath, "LOGIN", "RememberPw", false ? "1" : "0");
//}
//else
//{
@ -307,6 +318,11 @@ namespace LeatherApp
private void uiTabControl1_SelectedIndexChanged(object sender, EventArgs e)
{
int index = uiTabControl1.SelectedIndex;
if(index == 2)
{
var page = (FReport)this.GetPage(1002);
page.GetToDayLen();
}
}
private void lblVer_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)

View File

@ -118,7 +118,28 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="textBox1.Text" xml:space="preserve">
<value>v1.2.0.6(2024-11-06)
<value>v1.2.0.10(2024-11-27)
1、修复bug
2、优化界面显示
3、加入幅宽补偿
4、加入降级裁切和分卷功能
5、优化新材料ERP
v1.2.0.9(2024-11-22)
1、加入幅宽报表
2、开启用户权限管理员与操作员
3、添加班组信息
4、加入厚度偏差补偿
5、优化设备在启动过程中开始检测
v1.2.0.8(2024-11-19)
1、优化数据导出
2、优化多模型label适配
3、加入图片保存文件加并入时间
v1.2.0.7(2024-11-12)
1、加入上传服务器数据功能
2、加入金属探测厚度检测
3、加入计米停车功能
4、加入多模型对应label
v1.2.0.6(2024-11-06)
1、禾欣控股所有设备兼容
2、新材料ERP并入
3、内存缓存改为硬盘存图

View File

@ -53,6 +53,9 @@
<Reference Include="ClosedXML, Version=0.96.0.0, Culture=neutral, PublicKeyToken=fd1eb21b62ae805b, processorArchitecture=MSIL">
<HintPath>..\packages\ClosedXML.0.96.0\lib\net46\ClosedXML.dll</HintPath>
</Reference>
<Reference Include="CSkin">
<HintPath>..\..\..\..\..\..\模块化\Code\MaiMuControl\MaiMuControl\Dlls\CSkin.dll</HintPath>
</Reference>
<Reference Include="DocumentFormat.OpenXml, Version=2.16.0.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17, processorArchitecture=MSIL">
<HintPath>..\packages\DocumentFormat.OpenXml.2.16.0\lib\net46\DocumentFormat.OpenXml.dll</HintPath>
</Reference>
@ -268,6 +271,24 @@
<Compile Include="Page\AddErpFrm.Designer.cs">
<DependentUpon>AddErpFrm.cs</DependentUpon>
</Compile>
<Compile Include="Page\CuttingFrm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Page\CuttingFrm.designer.cs">
<DependentUpon>CuttingFrm.cs</DependentUpon>
</Compile>
<Compile Include="Page\EdgeOffserFrm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Page\EdgeOffserFrm.Designer.cs">
<DependentUpon>EdgeOffserFrm.cs</DependentUpon>
</Compile>
<Compile Include="Page\FenJuanFrm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Page\FenJuanFrm.Designer.cs">
<DependentUpon>FenJuanFrm.cs</DependentUpon>
</Compile>
<Compile Include="Page\FErpMesEdit.cs">
<SubType>Form</SubType>
</Compile>
@ -322,6 +343,18 @@
<Compile Include="Page\FTest.Designer.cs">
<DependentUpon>FTest.cs</DependentUpon>
</Compile>
<Compile Include="Page\OffsetFrm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Page\OffsetFrm.Designer.cs">
<DependentUpon>OffsetFrm.cs</DependentUpon>
</Compile>
<Compile Include="Page\PartitionFrm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Page\PartitionFrm.designer.cs">
<DependentUpon>PartitionFrm.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="UIExtend\UCColorItem.cs">
@ -383,6 +416,15 @@
<EmbeddedResource Include="Page\AddErpFrm.resx">
<DependentUpon>AddErpFrm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Page\CuttingFrm.resx">
<DependentUpon>CuttingFrm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Page\EdgeOffserFrm.resx">
<DependentUpon>EdgeOffserFrm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Page\FenJuanFrm.resx">
<DependentUpon>FenJuanFrm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Page\FErpMesEdit.resx">
<DependentUpon>FErpMesEdit.cs</DependentUpon>
</EmbeddedResource>
@ -410,6 +452,12 @@
<EmbeddedResource Include="Page\FTest.resx">
<DependentUpon>FTest.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Page\OffsetFrm.resx">
<DependentUpon>OffsetFrm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Page\PartitionFrm.resx">
<DependentUpon>PartitionFrm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>

View File

@ -97,8 +97,10 @@ namespace LeatherApp.Page
model.Spec += _ErpID;
else
model.Spec += $",{_ErpID}";
var result = service.UpdateNav(model);
if(service.UpdateNav(model))
UIMessageTip.ShowOk($"Erp信息绑定成功", 2000);
else
UIMessageTip.ShowOk($"Erp信息绑定失败请重新保存检测标准", 2000);
}
catch (Exception ex)
{

View File

@ -0,0 +1,239 @@
namespace LeatherApp.Page
{
partial class CuttingFrm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.label1 = new System.Windows.Forms.Label();
this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.textBox2 = new System.Windows.Forms.TextBox();
this.skinButton1 = new CCWin.SkinControl.SkinButton();
this.skinButton2 = new CCWin.SkinControl.SkinButton();
this.comboBox1 = new System.Windows.Forms.ComboBox();
this.textBox1 = new System.Windows.Forms.TextBox();
this.skinButton3 = new CCWin.SkinControl.SkinButton();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(49, 37);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(99, 20);
this.label1.TabIndex = 0;
this.label1.Text = "裁切米数:";
//
// numericUpDown1
//
this.numericUpDown1.DecimalPlaces = 2;
this.numericUpDown1.Location = new System.Drawing.Point(168, 35);
this.numericUpDown1.Maximum = new decimal(new int[] {
10000,
0,
0,
0});
this.numericUpDown1.Name = "numericUpDown1";
this.numericUpDown1.Size = new System.Drawing.Size(177, 30);
this.numericUpDown1.TabIndex = 1;
this.numericUpDown1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.numericUpDown1.Value = new decimal(new int[] {
2,
0,
0,
65536});
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(351, 37);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(29, 20);
this.label2.TabIndex = 2;
this.label2.Text = "米";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(465, 37);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(99, 20);
this.label3.TabIndex = 3;
this.label3.Text = "裁切原因:";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Location = new System.Drawing.Point(49, 95);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(59, 20);
this.label4.TabIndex = 5;
this.label4.Text = "降级:";
//
// textBox2
//
this.textBox2.Location = new System.Drawing.Point(168, 92);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(212, 30);
this.textBox2.TabIndex = 6;
//
// skinButton1
//
this.skinButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.skinButton1.BackColor = System.Drawing.Color.White;
this.skinButton1.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(112)))), ((int)(((byte)(193)))), ((int)(((byte)(64)))));
this.skinButton1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(112)))), ((int)(((byte)(193)))), ((int)(((byte)(64)))));
this.skinButton1.ControlState = CCWin.SkinClass.ControlState.Normal;
this.skinButton1.DownBack = null;
this.skinButton1.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.skinButton1.ForeColor = System.Drawing.SystemColors.ControlText;
this.skinButton1.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(87)))), ((int)(((byte)(157)))), ((int)(((byte)(253)))));
this.skinButton1.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(112)))), ((int)(((byte)(193)))), ((int)(((byte)(64)))));
this.skinButton1.Location = new System.Drawing.Point(238, 151);
this.skinButton1.Margin = new System.Windows.Forms.Padding(7, 8, 7, 8);
this.skinButton1.MouseBack = null;
this.skinButton1.Name = "skinButton1";
this.skinButton1.NormlBack = null;
this.skinButton1.RoundStyle = CCWin.SkinClass.RoundStyle.All;
this.skinButton1.Size = new System.Drawing.Size(142, 44);
this.skinButton1.TabIndex = 105;
this.skinButton1.Text = "确定";
this.skinButton1.UseVisualStyleBackColor = false;
this.skinButton1.Click += new System.EventHandler(this.skinButton1_Click);
//
// skinButton2
//
this.skinButton2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.skinButton2.BackColor = System.Drawing.Color.Transparent;
this.skinButton2.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(87)))), ((int)(((byte)(157)))), ((int)(((byte)(253)))));
this.skinButton2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(87)))), ((int)(((byte)(157)))), ((int)(((byte)(253)))));
this.skinButton2.ControlState = CCWin.SkinClass.ControlState.Normal;
this.skinButton2.DownBack = null;
this.skinButton2.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.skinButton2.ForeColor = System.Drawing.SystemColors.ControlText;
this.skinButton2.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(87)))), ((int)(((byte)(157)))), ((int)(((byte)(253)))));
this.skinButton2.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(87)))), ((int)(((byte)(157)))), ((int)(((byte)(253)))));
this.skinButton2.Location = new System.Drawing.Point(469, 151);
this.skinButton2.Margin = new System.Windows.Forms.Padding(7, 8, 7, 8);
this.skinButton2.MouseBack = null;
this.skinButton2.Name = "skinButton2";
this.skinButton2.NormlBack = null;
this.skinButton2.RoundStyle = CCWin.SkinClass.RoundStyle.All;
this.skinButton2.Size = new System.Drawing.Size(142, 44);
this.skinButton2.TabIndex = 104;
this.skinButton2.Text = "取消";
this.skinButton2.UseVisualStyleBackColor = false;
this.skinButton2.Click += new System.EventHandler(this.skinButton2_Click);
//
// comboBox1
//
this.comboBox1.FormattingEnabled = true;
this.comboBox1.Location = new System.Drawing.Point(588, 37);
this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(192, 28);
this.comboBox1.TabIndex = 106;
//
// textBox1
//
this.textBox1.Location = new System.Drawing.Point(588, 73);
this.textBox1.Multiline = true;
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(319, 67);
this.textBox1.TabIndex = 4;
//
// skinButton3
//
this.skinButton3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.skinButton3.BackColor = System.Drawing.Color.White;
this.skinButton3.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
this.skinButton3.BorderColor = System.Drawing.Color.Teal;
this.skinButton3.ControlState = CCWin.SkinClass.ControlState.Normal;
this.skinButton3.DownBack = null;
this.skinButton3.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.skinButton3.ForeColor = System.Drawing.SystemColors.ControlText;
this.skinButton3.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(87)))), ((int)(((byte)(157)))), ((int)(((byte)(253)))));
this.skinButton3.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.skinButton3.Location = new System.Drawing.Point(790, 35);
this.skinButton3.Margin = new System.Windows.Forms.Padding(7, 8, 7, 8);
this.skinButton3.MouseBack = null;
this.skinButton3.Name = "skinButton3";
this.skinButton3.NormlBack = null;
this.skinButton3.RoundStyle = CCWin.SkinClass.RoundStyle.All;
this.skinButton3.Size = new System.Drawing.Size(117, 31);
this.skinButton3.TabIndex = 107;
this.skinButton3.Text = "添加原因";
this.skinButton3.UseVisualStyleBackColor = false;
this.skinButton3.Click += new System.EventHandler(this.skinButton3_Click);
//
// CuttingFrm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 20F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.ButtonHighlight;
this.ClientSize = new System.Drawing.Size(919, 212);
this.Controls.Add(this.skinButton3);
this.Controls.Add(this.comboBox1);
this.Controls.Add(this.skinButton1);
this.Controls.Add(this.skinButton2);
this.Controls.Add(this.textBox2);
this.Controls.Add(this.label4);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.numericUpDown1);
this.Controls.Add(this.label1);
this.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Margin = new System.Windows.Forms.Padding(5);
this.Name = "CuttingFrm";
this.ShowIcon = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "降级品裁切";
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.NumericUpDown numericUpDown1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox textBox2;
private CCWin.SkinControl.SkinButton skinButton1;
private CCWin.SkinControl.SkinButton skinButton2;
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.TextBox textBox1;
private CCWin.SkinControl.SkinButton skinButton3;
}
}

View File

@ -0,0 +1,91 @@
using DocumentFormat.OpenXml.Office2010.ExcelAc;
using Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace LeatherApp.Page
{
public partial class CuttingFrm : Form
{
public string[] Cut_info;
public CuttingFrm(Records model)
{
InitializeComponent();
//加载分卷信息
List<JDefectTotal> DefectTotal = null;
List<string> liststr = new List<string>();
liststr.Add("无瑕疵人工裁切");
if (model != null)
{
if (model.DefectInfoList != null && model.DefectInfoList.Count > 0)
{
var deflist = model.DefectInfoList.FindAll(x => x.Y < ((model.Len - Config.CutDis) * 100));
foreach (var item in deflist)
{
item.Name = Config.getDefectName(model.ProductInfo.ModelName, item.Code);
}
//foreach (var item in deflist)
//{
// item.Name = SysMgr.Instance.GetDefectName(model.ProductInfo.ModelName, item.Code);
//}
DefectTotal = deflist.GroupBy(x => x.Name).Select(g => new JDefectTotal { Name = g.Key, Count = g.Count() }).ToList();
}
if (DefectTotal != null && DefectTotal.Count > 0)
foreach (var item in DefectTotal)
{
liststr.Add($"{item.Name}{item.Count}个");
}
}
comboBox1.DataSource = liststr;
}
private void skinButton2_Click(object sender, EventArgs e)
{
this.DialogResult = DialogResult.Cancel;
}
private void skinButton1_Click(object sender, EventArgs e)
{
if(numericUpDown1.Value == 0)
{
MessageBox.Show("请输入裁切米数!");
return;
}
if (string.IsNullOrEmpty(textBox1.Text))
{
MessageBox.Show("请裁切原因!");
return;
}
Cut_info = new string[3];
Cut_info[0] = numericUpDown1.Value.ToString();
Cut_info[1] = textBox1.Text;
Cut_info[2] = textBox2.Text;
this.DialogResult = DialogResult.OK;
}
private void skinButton3_Click(object sender, EventArgs e)
{
if (string.IsNullOrEmpty(textBox1.Text))
textBox1.Text += comboBox1.Text;
else
textBox1.Text += $",{comboBox1.Text}";
}
public class JDefectTotal
{
[Description("疵点名")]
public string Name { get; set; }
[Description("疵点数")]
public int Count { get; set; }
}
}
}

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -0,0 +1,103 @@
namespace LeatherApp.Page
{
partial class EdgeOffserFrm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.button1 = new System.Windows.Forms.Button();
this.label2 = new System.Windows.Forms.Label();
this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(149, 133);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(168, 49);
this.button1.TabIndex = 7;
this.button1.Text = "设置";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(69, 60);
this.label2.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(129, 20);
this.label2.TabIndex = 9;
this.label2.Text = "幅宽偏差(cm)";
//
// numericUpDown2
//
this.numericUpDown2.DecimalPlaces = 3;
this.numericUpDown2.Location = new System.Drawing.Point(221, 58);
this.numericUpDown2.Margin = new System.Windows.Forms.Padding(5);
this.numericUpDown2.Maximum = new decimal(new int[] {
10000,
0,
0,
0});
this.numericUpDown2.Minimum = new decimal(new int[] {
10000,
0,
0,
-2147483648});
this.numericUpDown2.Name = "numericUpDown2";
this.numericUpDown2.Size = new System.Drawing.Size(173, 30);
this.numericUpDown2.TabIndex = 8;
//
// EdgeOffserFrm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 20F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(484, 242);
this.Controls.Add(this.label2);
this.Controls.Add(this.numericUpDown2);
this.Controls.Add(this.button1);
this.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Margin = new System.Windows.Forms.Padding(5);
this.Name = "EdgeOffserFrm";
this.ShowIcon = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "幅宽补偿";
this.Load += new System.EventHandler(this.EdgeOffserFrm_Load);
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button button1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.NumericUpDown numericUpDown2;
}
}

View File

@ -0,0 +1,34 @@
using Sunny.UI;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace LeatherApp.Page
{
public partial class EdgeOffserFrm : Form
{
public EdgeOffserFrm()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
Config.EdgeOffset = (double)this.numericUpDown2.Value;
IniFile ini = new IniFile(Config.appBasePath + "\\SysConfig.ini");
//[LOG]
ini.Write("BOffset", "EdgeOffset", (double)this.numericUpDown2.Value);
}
private void EdgeOffserFrm_Load(object sender, EventArgs e)
{
this.numericUpDown2.Value = (decimal)Config.EdgeOffset;
}
}
}

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -28,20 +28,26 @@
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle137 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle138 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle142 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle143 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle144 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle139 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle140 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle141 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FHome));
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
this.uiPanel1 = new Sunny.UI.UIPanel();
this.lblLen = new Sunny.UI.UILabel();
this.lblSpeed = new Sunny.UI.UISymbolLabel();
this.uiTitlePanel1 = new Sunny.UI.UITitlePanel();
this.txtDefectName = new Sunny.UI.UITextBox();
this.uiLabel10 = new Sunny.UI.UILabel();
this.button3 = new System.Windows.Forms.Button();
this.numErpLen = new Sunny.UI.UINumPadTextBox();
this.button2 = new System.Windows.Forms.Button();
this.uiLabel5 = new Sunny.UI.UILabel();
this.button1 = new System.Windows.Forms.Button();
this.txtReelId = new Sunny.UI.UITextBox();
this.uiLabel4 = new Sunny.UI.UILabel();
this.txtBarCodeName = new Sunny.UI.UITextBox();
@ -51,16 +57,15 @@
this.txtBarCode = new Sunny.UI.UITextBox();
this.uiLabel1 = new Sunny.UI.UILabel();
this.uiPanel2 = new Sunny.UI.UIPanel();
this.button3 = new System.Windows.Forms.Button();
this.button2 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.btnFenJuan = new Sunny.UI.UISymbolButton();
this.btnCut = new Sunny.UI.UISymbolButton();
this.btnClearAlm = new Sunny.UI.UISymbolButton();
this.btnPause = new Sunny.UI.UISymbolButton();
this.btnClose = new Sunny.UI.UISymbolButton();
this.btnOpen = new Sunny.UI.UISymbolButton();
this.btnEnd = new Sunny.UI.UISymbolButton();
this.btnStart = new Sunny.UI.UISymbolButton();
this.uiTitlePanel2 = new Sunny.UI.UITitlePanel();
this.ucColorListDefect = new LeatherApp.UIExtend.UCColorList();
this.lineChartDefect = new Sunny.UI.UILineChart();
this.uiTitlePanel3 = new Sunny.UI.UITitlePanel();
this.uiDataGridView1 = new Sunny.UI.UIDataGridView();
@ -79,11 +84,11 @@
this.uiTitlePanel4 = new Sunny.UI.UITitlePanel();
this.uilbKF = new Sunny.UI.UILabel();
this.lineChartFaceWidth = new Sunny.UI.UILineChart();
this.uilbHD = new Sunny.UI.UILabel();
this.uiTitlePanel5 = new Sunny.UI.UITitlePanel();
this.lstboxLog = new Sunny.UI.UIListBox();
this.uiTitlePanel6 = new Sunny.UI.UITitlePanel();
this.uiPanel3 = new Sunny.UI.UIPanel();
this.picDefectImage = new LeatherApp.UIExtend.UCImageView();
this.pnlScannerImg = new Sunny.UI.UITitlePanel();
this.picScanner2 = new System.Windows.Forms.PictureBox();
this.picScanner1 = new System.Windows.Forms.PictureBox();
@ -102,6 +107,10 @@
this.uiLabel8 = new Sunny.UI.UILabel();
this.uiLabel7 = new Sunny.UI.UILabel();
this.uiLabel6 = new Sunny.UI.UILabel();
this.uiTitlePanel8 = new Sunny.UI.UITitlePanel();
this.lineChartHouDu = new Sunny.UI.UILineChart();
this.picDefectImage = new LeatherApp.UIExtend.UCImageView();
this.ucColorListDefect = new LeatherApp.UIExtend.UCColorList();
this.uiPanel1.SuspendLayout();
this.uiTitlePanel1.SuspendLayout();
this.uiPanel2.SuspendLayout();
@ -116,6 +125,7 @@
((System.ComponentModel.ISupportInitialize)(this.picScanner2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.picScanner1)).BeginInit();
this.uiTitlePanel7.SuspendLayout();
this.uiTitlePanel8.SuspendLayout();
this.SuspendLayout();
//
// uiPanel1
@ -172,8 +182,13 @@
// uiTitlePanel1
//
this.uiTitlePanel1.BackColor = System.Drawing.Color.White;
this.uiTitlePanel1.Controls.Add(this.txtDefectName);
this.uiTitlePanel1.Controls.Add(this.uiLabel10);
this.uiTitlePanel1.Controls.Add(this.button3);
this.uiTitlePanel1.Controls.Add(this.numErpLen);
this.uiTitlePanel1.Controls.Add(this.button2);
this.uiTitlePanel1.Controls.Add(this.uiLabel5);
this.uiTitlePanel1.Controls.Add(this.button1);
this.uiTitlePanel1.Controls.Add(this.txtReelId);
this.uiTitlePanel1.Controls.Add(this.uiLabel4);
this.uiTitlePanel1.Controls.Add(this.txtBarCodeName);
@ -195,7 +210,7 @@
this.uiTitlePanel1.RectColor = System.Drawing.Color.White;
this.uiTitlePanel1.RectDisableColor = System.Drawing.Color.White;
this.uiTitlePanel1.ShowText = false;
this.uiTitlePanel1.Size = new System.Drawing.Size(357, 248);
this.uiTitlePanel1.Size = new System.Drawing.Size(357, 288);
this.uiTitlePanel1.Style = Sunny.UI.UIStyle.Custom;
this.uiTitlePanel1.SymbolColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.uiTitlePanel1.TabIndex = 1;
@ -204,6 +219,62 @@
this.uiTitlePanel1.TitleColor = System.Drawing.Color.White;
this.uiTitlePanel1.TitleForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
//
// txtDefectName
//
this.txtDefectName.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.txtDefectName.ButtonFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.txtDefectName.ButtonFillPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.txtDefectName.ButtonRectColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.txtDefectName.ButtonRectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.txtDefectName.ButtonRectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.txtDefectName.ButtonStyleInherited = false;
this.txtDefectName.ButtonSymbolOffset = new System.Drawing.Point(0, 0);
this.txtDefectName.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtDefectName.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(251)))), ((int)(((byte)(250)))));
this.txtDefectName.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtDefectName.Location = new System.Drawing.Point(125, 248);
this.txtDefectName.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.txtDefectName.MinimumSize = new System.Drawing.Size(1, 16);
this.txtDefectName.Name = "txtDefectName";
this.txtDefectName.Padding = new System.Windows.Forms.Padding(5);
this.txtDefectName.ReadOnly = true;
this.txtDefectName.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.txtDefectName.ScrollBarColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.txtDefectName.ScrollBarStyleInherited = false;
this.txtDefectName.ShowText = false;
this.txtDefectName.Size = new System.Drawing.Size(220, 29);
this.txtDefectName.Style = Sunny.UI.UIStyle.Custom;
this.txtDefectName.StyleCustomMode = true;
this.txtDefectName.TabIndex = 14;
this.txtDefectName.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtDefectName.Watermark = "";
//
// uiLabel10
//
this.uiLabel10.AutoSize = true;
this.uiLabel10.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.uiLabel10.Location = new System.Drawing.Point(9, 247);
this.uiLabel10.Name = "uiLabel10";
this.uiLabel10.Size = new System.Drawing.Size(74, 21);
this.uiLabel10.Style = Sunny.UI.UIStyle.Custom;
this.uiLabel10.StyleCustomMode = true;
this.uiLabel10.TabIndex = 13;
this.uiLabel10.Text = "检测标准";
this.uiLabel10.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// button3
//
this.button3.ForeColor = System.Drawing.Color.Black;
this.button3.Location = new System.Drawing.Point(261, 5);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(50, 36);
this.button3.TabIndex = 3;
this.button3.Text = "ERP";
this.button3.UseVisualStyleBackColor = true;
this.button3.Visible = false;
this.button3.Click += new System.EventHandler(this.button3_Click);
//
// numErpLen
//
this.numErpLen.FillColor = System.Drawing.Color.White;
@ -223,6 +294,18 @@
this.numErpLen.ValueChanged += new Sunny.UI.UINumPadTextBox.OnValueChanged(this.numErpLen_ValueChanged);
this.numErpLen.KeyUp += new System.Windows.Forms.KeyEventHandler(this.numErpLen_KeyUp);
//
// button2
//
this.button2.ForeColor = System.Drawing.Color.Black;
this.button2.Location = new System.Drawing.Point(205, 5);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(50, 36);
this.button2.TabIndex = 2;
this.button2.Text = "jimi";
this.button2.UseVisualStyleBackColor = true;
this.button2.Visible = false;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// uiLabel5
//
this.uiLabel5.AutoSize = true;
@ -237,6 +320,18 @@
this.uiLabel5.Text = "产品数量";
this.uiLabel5.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// button1
//
this.button1.ForeColor = System.Drawing.Color.Black;
this.button1.Location = new System.Drawing.Point(151, 5);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(50, 36);
this.button1.TabIndex = 1;
this.button1.Text = "调试";
this.button1.UseVisualStyleBackColor = true;
this.button1.Visible = false;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// txtReelId
//
this.txtReelId.ButtonFillColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
@ -419,9 +514,9 @@
this.uiPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.uiPanel2.BackColor = System.Drawing.Color.White;
this.uiPanel2.Controls.Add(this.button3);
this.uiPanel2.Controls.Add(this.button2);
this.uiPanel2.Controls.Add(this.button1);
this.uiPanel2.Controls.Add(this.btnFenJuan);
this.uiPanel2.Controls.Add(this.btnCut);
this.uiPanel2.Controls.Add(this.btnClearAlm);
this.uiPanel2.Controls.Add(this.btnPause);
this.uiPanel2.Controls.Add(this.btnClose);
this.uiPanel2.Controls.Add(this.btnOpen);
@ -444,38 +539,100 @@
this.uiPanel2.Text = null;
this.uiPanel2.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// button3
// btnFenJuan
//
this.button3.Location = new System.Drawing.Point(649, 23);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(50, 36);
this.button3.TabIndex = 3;
this.button3.Text = "ERP";
this.button3.UseVisualStyleBackColor = true;
this.button3.Visible = false;
this.button3.Click += new System.EventHandler(this.button3_Click);
this.btnFenJuan.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnFenJuan.Enabled = false;
this.btnFenJuan.FillColor = System.Drawing.Color.Blue;
this.btnFenJuan.FillColor2 = System.Drawing.Color.Blue;
this.btnFenJuan.FillHoverColor = System.Drawing.Color.Blue;
this.btnFenJuan.FillPressColor = System.Drawing.Color.Blue;
this.btnFenJuan.FillSelectedColor = System.Drawing.Color.Blue;
this.btnFenJuan.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnFenJuan.Image = ((System.Drawing.Image)(resources.GetObject("btnFenJuan.Image")));
this.btnFenJuan.Location = new System.Drawing.Point(555, 9);
this.btnFenJuan.MinimumSize = new System.Drawing.Size(1, 1);
this.btnFenJuan.Name = "btnFenJuan";
this.btnFenJuan.Radius = 50;
this.btnFenJuan.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.btnFenJuan.RectDisableColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.btnFenJuan.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.btnFenJuan.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.btnFenJuan.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.btnFenJuan.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
this.btnFenJuan.Size = new System.Drawing.Size(154, 50);
this.btnFenJuan.Style = Sunny.UI.UIStyle.Custom;
this.btnFenJuan.StyleCustomMode = true;
this.btnFenJuan.Symbol = 61516;
this.btnFenJuan.SymbolOffset = new System.Drawing.Point(0, 3);
this.btnFenJuan.TabIndex = 3;
this.btnFenJuan.Text = "分卷";
this.btnFenJuan.TipsColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.btnFenJuan.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnFenJuan.Click += new System.EventHandler(this.btnFenJuan_Click);
//
// button2
// btnCut
//
this.button2.Location = new System.Drawing.Point(593, 23);
this.button2.Name = "button2";
this.button2.Size = new System.Drawing.Size(50, 36);
this.button2.TabIndex = 2;
this.button2.Text = "jimi";
this.button2.UseVisualStyleBackColor = true;
this.button2.Visible = false;
this.button2.Click += new System.EventHandler(this.button2_Click);
this.btnCut.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnCut.Enabled = false;
this.btnCut.FillColor = System.Drawing.Color.Blue;
this.btnCut.FillColor2 = System.Drawing.Color.Blue;
this.btnCut.FillHoverColor = System.Drawing.Color.Blue;
this.btnCut.FillPressColor = System.Drawing.Color.Blue;
this.btnCut.FillSelectedColor = System.Drawing.Color.Blue;
this.btnCut.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnCut.Image = ((System.Drawing.Image)(resources.GetObject("btnCut.Image")));
this.btnCut.Location = new System.Drawing.Point(531, 9);
this.btnCut.MinimumSize = new System.Drawing.Size(1, 1);
this.btnCut.Name = "btnCut";
this.btnCut.Radius = 50;
this.btnCut.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.btnCut.RectDisableColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.btnCut.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.btnCut.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.btnCut.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.btnCut.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
this.btnCut.Size = new System.Drawing.Size(154, 50);
this.btnCut.Style = Sunny.UI.UIStyle.Custom;
this.btnCut.StyleCustomMode = true;
this.btnCut.Symbol = 61516;
this.btnCut.SymbolOffset = new System.Drawing.Point(0, 3);
this.btnCut.TabIndex = 2;
this.btnCut.Text = "降级裁切";
this.btnCut.TipsColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.btnCut.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnCut.Click += new System.EventHandler(this.btnCut_Click);
//
// button1
// btnClearAlm
//
this.button1.Location = new System.Drawing.Point(539, 23);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(50, 36);
this.button1.TabIndex = 1;
this.button1.Text = "调试";
this.button1.UseVisualStyleBackColor = true;
this.button1.Visible = false;
this.button1.Click += new System.EventHandler(this.button1_Click);
this.btnClearAlm.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnClearAlm.FillColor = System.Drawing.Color.Blue;
this.btnClearAlm.FillColor2 = System.Drawing.Color.Blue;
this.btnClearAlm.FillHoverColor = System.Drawing.Color.Blue;
this.btnClearAlm.FillPressColor = System.Drawing.Color.Blue;
this.btnClearAlm.FillSelectedColor = System.Drawing.Color.Blue;
this.btnClearAlm.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnClearAlm.Image = ((System.Drawing.Image)(resources.GetObject("btnClearAlm.Image")));
this.btnClearAlm.Location = new System.Drawing.Point(496, 9);
this.btnClearAlm.MinimumSize = new System.Drawing.Size(1, 1);
this.btnClearAlm.Name = "btnClearAlm";
this.btnClearAlm.Radius = 50;
this.btnClearAlm.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.btnClearAlm.RectDisableColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.btnClearAlm.RectHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.btnClearAlm.RectPressColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.btnClearAlm.RectSelectedColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.btnClearAlm.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
this.btnClearAlm.Size = new System.Drawing.Size(154, 50);
this.btnClearAlm.Style = Sunny.UI.UIStyle.Custom;
this.btnClearAlm.StyleCustomMode = true;
this.btnClearAlm.Symbol = 61516;
this.btnClearAlm.SymbolOffset = new System.Drawing.Point(0, 3);
this.btnClearAlm.TabIndex = 1;
this.btnClearAlm.Text = "解除报警";
this.btnClearAlm.TipsColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.btnClearAlm.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnClearAlm.Click += new System.EventHandler(this.btnClearAlm_Click);
//
// btnPause
//
@ -487,7 +644,7 @@
this.btnPause.FillPressColor = System.Drawing.Color.Blue;
this.btnPause.FillSelectedColor = System.Drawing.Color.Blue;
this.btnPause.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnPause.Location = new System.Drawing.Point(376, 9);
this.btnPause.Location = new System.Drawing.Point(336, 9);
this.btnPause.MinimumSize = new System.Drawing.Size(1, 1);
this.btnPause.Name = "btnPause";
this.btnPause.Radius = 50;
@ -581,7 +738,7 @@
this.btnEnd.FillPressColor = System.Drawing.Color.Blue;
this.btnEnd.FillSelectedColor = System.Drawing.Color.Blue;
this.btnEnd.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnEnd.Location = new System.Drawing.Point(196, 9);
this.btnEnd.Location = new System.Drawing.Point(176, 9);
this.btnEnd.MinimumSize = new System.Drawing.Size(1, 1);
this.btnEnd.Name = "btnEnd";
this.btnEnd.Radius = 50;
@ -651,7 +808,7 @@
this.uiTitlePanel2.RectColor = System.Drawing.Color.White;
this.uiTitlePanel2.RectDisableColor = System.Drawing.Color.White;
this.uiTitlePanel2.ShowText = false;
this.uiTitlePanel2.Size = new System.Drawing.Size(125, 602);
this.uiTitlePanel2.Size = new System.Drawing.Size(56, 602);
this.uiTitlePanel2.Style = Sunny.UI.UIStyle.Custom;
this.uiTitlePanel2.TabIndex = 1;
this.uiTitlePanel2.Text = "▶ 瑕疵分布";
@ -659,29 +816,6 @@
this.uiTitlePanel2.TitleColor = System.Drawing.Color.White;
this.uiTitlePanel2.TitleForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
//
// ucColorListDefect
//
this.ucColorListDefect.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ucColorListDefect.ColorChanged = null;
this.ucColorListDefect.FillColor = System.Drawing.Color.White;
this.ucColorListDefect.FillColor2 = System.Drawing.Color.White;
this.ucColorListDefect.FillDisableColor = System.Drawing.Color.White;
this.ucColorListDefect.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ucColorListDefect.Location = new System.Drawing.Point(1, 38);
this.ucColorListDefect.MinimumSize = new System.Drawing.Size(1, 1);
this.ucColorListDefect.Name = "ucColorListDefect";
this.ucColorListDefect.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
this.ucColorListDefect.RectColor = System.Drawing.Color.White;
this.ucColorListDefect.RectDisableColor = System.Drawing.Color.White;
this.ucColorListDefect.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom;
this.ucColorListDefect.Size = new System.Drawing.Size(121, 42);
this.ucColorListDefect.Style = Sunny.UI.UIStyle.Custom;
this.ucColorListDefect.StyleCustomMode = true;
this.ucColorListDefect.TabIndex = 1;
this.ucColorListDefect.Text = "ucColorList1";
this.ucColorListDefect.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// lineChartDefect
//
this.lineChartDefect.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
@ -696,7 +830,7 @@
this.lineChartDefect.Name = "lineChartDefect";
this.lineChartDefect.Radius = 0;
this.lineChartDefect.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
this.lineChartDefect.Size = new System.Drawing.Size(119, 558);
this.lineChartDefect.Size = new System.Drawing.Size(50, 558);
this.lineChartDefect.Style = Sunny.UI.UIStyle.Custom;
this.lineChartDefect.SubFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lineChartDefect.TabIndex = 0;
@ -714,14 +848,14 @@
this.uiTitlePanel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTitlePanel3.ForeColor = System.Drawing.Color.White;
this.uiTitlePanel3.ForeDisableColor = System.Drawing.Color.White;
this.uiTitlePanel3.Location = new System.Drawing.Point(502, 85);
this.uiTitlePanel3.Location = new System.Drawing.Point(433, 85);
this.uiTitlePanel3.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiTitlePanel3.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTitlePanel3.Name = "uiTitlePanel3";
this.uiTitlePanel3.RectColor = System.Drawing.Color.White;
this.uiTitlePanel3.RectDisableColor = System.Drawing.Color.White;
this.uiTitlePanel3.ShowText = false;
this.uiTitlePanel3.Size = new System.Drawing.Size(684, 385);
this.uiTitlePanel3.Size = new System.Drawing.Size(753, 385);
this.uiTitlePanel3.Style = Sunny.UI.UIStyle.Custom;
this.uiTitlePanel3.TabIndex = 1;
this.uiTitlePanel3.Text = "▶ 瑕疵列表";
@ -731,21 +865,21 @@
//
// uiDataGridView1
//
dataGridViewCellStyle137.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(251)))), ((int)(((byte)(250)))));
this.uiDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle137;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(251)))), ((int)(((byte)(250)))));
this.uiDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.uiDataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.uiDataGridView1.BackgroundColor = System.Drawing.Color.White;
this.uiDataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
dataGridViewCellStyle138.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle138.BackColor = System.Drawing.Color.Blue;
dataGridViewCellStyle138.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle138.ForeColor = System.Drawing.Color.White;
dataGridViewCellStyle138.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
dataGridViewCellStyle138.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle138.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.uiDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle138;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle2.BackColor = System.Drawing.Color.Blue;
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.uiDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.uiDataGridView1.ColumnHeadersHeight = 32;
this.uiDataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.uiDataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
@ -760,14 +894,14 @@
this.colArea,
this.colZXD,
this.colTarget});
dataGridViewCellStyle142.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle142.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle142.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle142.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle142.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(242)))), ((int)(((byte)(238)))));
dataGridViewCellStyle142.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle142.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.uiDataGridView1.DefaultCellStyle = dataGridViewCellStyle142;
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle6.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle6.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle6.ForeColor = System.Drawing.Color.White;
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(242)))), ((int)(((byte)(238)))));
dataGridViewCellStyle6.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.uiDataGridView1.DefaultCellStyle = dataGridViewCellStyle6;
this.uiDataGridView1.EnableHeadersVisualStyles = false;
this.uiDataGridView1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiDataGridView1.GridColor = System.Drawing.Color.CornflowerBlue;
@ -775,21 +909,21 @@
this.uiDataGridView1.MultiSelect = false;
this.uiDataGridView1.Name = "uiDataGridView1";
this.uiDataGridView1.RectColor = System.Drawing.Color.DodgerBlue;
dataGridViewCellStyle143.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle143.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(251)))), ((int)(((byte)(250)))));
dataGridViewCellStyle143.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle143.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle143.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
dataGridViewCellStyle143.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle143.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.uiDataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle143;
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(251)))), ((int)(((byte)(250)))));
dataGridViewCellStyle7.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle7.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
dataGridViewCellStyle7.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.uiDataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle7;
this.uiDataGridView1.RowHeadersWidth = 62;
dataGridViewCellStyle144.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle144.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle144.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle144.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(242)))), ((int)(((byte)(238)))));
dataGridViewCellStyle144.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle144;
dataGridViewCellStyle8.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle8.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle8.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle8.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(204)))), ((int)(((byte)(242)))), ((int)(((byte)(238)))));
dataGridViewCellStyle8.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle8;
this.uiDataGridView1.RowTemplate.Height = 30;
this.uiDataGridView1.ScrollBarBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(251)))), ((int)(((byte)(250)))));
this.uiDataGridView1.ScrollBarColor = System.Drawing.Color.DodgerBlue;
@ -797,7 +931,7 @@
this.uiDataGridView1.ScrollBarStyleInherited = false;
this.uiDataGridView1.SelectedIndex = -1;
this.uiDataGridView1.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.uiDataGridView1.Size = new System.Drawing.Size(676, 349);
this.uiDataGridView1.Size = new System.Drawing.Size(745, 349);
this.uiDataGridView1.StripeOddColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(251)))), ((int)(((byte)(250)))));
this.uiDataGridView1.Style = Sunny.UI.UIStyle.Custom;
this.uiDataGridView1.StyleCustomMode = true;
@ -840,9 +974,9 @@
// colX
//
this.colX.DataPropertyName = "X";
dataGridViewCellStyle139.Format = "N1";
dataGridViewCellStyle139.NullValue = null;
this.colX.DefaultCellStyle = dataGridViewCellStyle139;
dataGridViewCellStyle3.Format = "N1";
dataGridViewCellStyle3.NullValue = null;
this.colX.DefaultCellStyle = dataGridViewCellStyle3;
this.colX.HeaderText = "X(cm)";
this.colX.MinimumWidth = 8;
this.colX.Name = "colX";
@ -852,9 +986,9 @@
// colY
//
this.colY.DataPropertyName = "Y";
dataGridViewCellStyle140.Format = "N2";
dataGridViewCellStyle140.NullValue = null;
this.colY.DefaultCellStyle = dataGridViewCellStyle140;
dataGridViewCellStyle4.Format = "N2";
dataGridViewCellStyle4.NullValue = null;
this.colY.DefaultCellStyle = dataGridViewCellStyle4;
this.colY.HeaderText = "Y(米)";
this.colY.MinimumWidth = 8;
this.colY.Name = "colY";
@ -877,9 +1011,9 @@
//
// colArea
//
dataGridViewCellStyle141.Format = "N2";
dataGridViewCellStyle141.NullValue = null;
this.colArea.DefaultCellStyle = dataGridViewCellStyle141;
dataGridViewCellStyle5.Format = "N2";
dataGridViewCellStyle5.NullValue = null;
this.colArea.DefaultCellStyle = dataGridViewCellStyle5;
this.colArea.HeaderText = "面积(mm²)";
this.colArea.MinimumWidth = 8;
this.colArea.Name = "colArea";
@ -942,14 +1076,14 @@
this.uiTitlePanel4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTitlePanel4.ForeColor = System.Drawing.Color.White;
this.uiTitlePanel4.ForeDisableColor = System.Drawing.Color.White;
this.uiTitlePanel4.Location = new System.Drawing.Point(502, 477);
this.uiTitlePanel4.Location = new System.Drawing.Point(433, 477);
this.uiTitlePanel4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiTitlePanel4.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTitlePanel4.Name = "uiTitlePanel4";
this.uiTitlePanel4.RectColor = System.Drawing.Color.White;
this.uiTitlePanel4.RectDisableColor = System.Drawing.Color.White;
this.uiTitlePanel4.ShowText = false;
this.uiTitlePanel4.Size = new System.Drawing.Size(684, 210);
this.uiTitlePanel4.Size = new System.Drawing.Size(420, 210);
this.uiTitlePanel4.Style = Sunny.UI.UIStyle.Custom;
this.uiTitlePanel4.TabIndex = 1;
this.uiTitlePanel4.Text = "▶ 幅宽";
@ -960,9 +1094,11 @@
// uilbKF
//
this.uilbKF.AutoSize = true;
this.uilbKF.BackColor = System.Drawing.Color.DodgerBlue;
this.uilbKF.Cursor = System.Windows.Forms.Cursors.Hand;
this.uilbKF.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uilbKF.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.uilbKF.Location = new System.Drawing.Point(132, 36);
this.uilbKF.ForeColor = System.Drawing.Color.White;
this.uilbKF.Location = new System.Drawing.Point(81, 35);
this.uilbKF.Name = "uilbKF";
this.uilbKF.Size = new System.Drawing.Size(90, 21);
this.uilbKF.Style = Sunny.UI.UIStyle.Custom;
@ -970,6 +1106,7 @@
this.uilbKF.TabIndex = 18;
this.uilbKF.Text = "当前幅宽:";
this.uilbKF.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uilbKF.Click += new System.EventHandler(this.uilbKF_Click);
//
// lineChartFaceWidth
//
@ -984,12 +1121,29 @@
this.lineChartFaceWidth.MouseDownType = Sunny.UI.UILineChartMouseDownType.Zoom;
this.lineChartFaceWidth.Name = "lineChartFaceWidth";
this.lineChartFaceWidth.Radius = 0;
this.lineChartFaceWidth.Size = new System.Drawing.Size(678, 170);
this.lineChartFaceWidth.Size = new System.Drawing.Size(414, 170);
this.lineChartFaceWidth.Style = Sunny.UI.UIStyle.Custom;
this.lineChartFaceWidth.SubFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lineChartFaceWidth.TabIndex = 1;
this.lineChartFaceWidth.TouchPressClick = true;
//
// uilbHD
//
this.uilbHD.AutoSize = true;
this.uilbHD.BackColor = System.Drawing.Color.DodgerBlue;
this.uilbHD.Cursor = System.Windows.Forms.Cursors.Hand;
this.uilbHD.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uilbHD.ForeColor = System.Drawing.Color.White;
this.uilbHD.Location = new System.Drawing.Point(82, 35);
this.uilbHD.Name = "uilbHD";
this.uilbHD.Size = new System.Drawing.Size(90, 21);
this.uilbHD.Style = Sunny.UI.UIStyle.Custom;
this.uilbHD.StyleCustomMode = true;
this.uilbHD.TabIndex = 19;
this.uilbHD.Text = "当前厚度:";
this.uilbHD.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.uilbHD.Click += new System.EventHandler(this.uilbHD_Click);
//
// uiTitlePanel5
//
this.uiTitlePanel5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
@ -1002,14 +1156,14 @@
this.uiTitlePanel5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTitlePanel5.ForeColor = System.Drawing.Color.White;
this.uiTitlePanel5.ForeDisableColor = System.Drawing.Color.White;
this.uiTitlePanel5.Location = new System.Drawing.Point(502, 694);
this.uiTitlePanel5.Location = new System.Drawing.Point(433, 694);
this.uiTitlePanel5.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiTitlePanel5.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTitlePanel5.Name = "uiTitlePanel5";
this.uiTitlePanel5.RectColor = System.Drawing.Color.White;
this.uiTitlePanel5.RectDisableColor = System.Drawing.Color.White;
this.uiTitlePanel5.ShowText = false;
this.uiTitlePanel5.Size = new System.Drawing.Size(684, 142);
this.uiTitlePanel5.Size = new System.Drawing.Size(753, 142);
this.uiTitlePanel5.Style = Sunny.UI.UIStyle.Custom;
this.uiTitlePanel5.TabIndex = 1;
this.uiTitlePanel5.Text = "▶ 日志";
@ -1032,7 +1186,7 @@
this.lstboxLog.Name = "lstboxLog";
this.lstboxLog.Padding = new System.Windows.Forms.Padding(2);
this.lstboxLog.ShowText = false;
this.lstboxLog.Size = new System.Drawing.Size(676, 97);
this.lstboxLog.Size = new System.Drawing.Size(745, 97);
this.lstboxLog.Style = Sunny.UI.UIStyle.Custom;
this.lstboxLog.TabIndex = 0;
this.lstboxLog.Text = "uiListBox1";
@ -1050,14 +1204,14 @@
this.uiTitlePanel6.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTitlePanel6.ForeColor = System.Drawing.Color.White;
this.uiTitlePanel6.ForeDisableColor = System.Drawing.Color.White;
this.uiTitlePanel6.Location = new System.Drawing.Point(4, 567);
this.uiTitlePanel6.Location = new System.Drawing.Point(4, 605);
this.uiTitlePanel6.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiTitlePanel6.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTitlePanel6.Name = "uiTitlePanel6";
this.uiTitlePanel6.RectColor = System.Drawing.Color.White;
this.uiTitlePanel6.RectDisableColor = System.Drawing.Color.White;
this.uiTitlePanel6.ShowText = false;
this.uiTitlePanel6.Size = new System.Drawing.Size(357, 269);
this.uiTitlePanel6.Size = new System.Drawing.Size(357, 231);
this.uiTitlePanel6.Style = Sunny.UI.UIStyle.Custom;
this.uiTitlePanel6.TabIndex = 1;
this.uiTitlePanel6.Text = "▶ 瑕疵信息";
@ -1081,22 +1235,13 @@
this.uiPanel3.Radius = 0;
this.uiPanel3.RectColor = System.Drawing.Color.White;
this.uiPanel3.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
this.uiPanel3.Size = new System.Drawing.Size(350, 226);
this.uiPanel3.Size = new System.Drawing.Size(350, 188);
this.uiPanel3.Style = Sunny.UI.UIStyle.Custom;
this.uiPanel3.StyleCustomMode = true;
this.uiPanel3.TabIndex = 1;
this.uiPanel3.Text = null;
this.uiPanel3.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// picDefectImage
//
this.picDefectImage.Dock = System.Windows.Forms.DockStyle.Fill;
this.picDefectImage.Location = new System.Drawing.Point(0, 0);
this.picDefectImage.Margin = new System.Windows.Forms.Padding(0);
this.picDefectImage.Name = "picDefectImage";
this.picDefectImage.Size = new System.Drawing.Size(350, 226);
this.picDefectImage.TabIndex = 1;
//
// pnlScannerImg
//
this.pnlScannerImg.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
@ -1118,7 +1263,7 @@
this.pnlScannerImg.RectColor = System.Drawing.Color.White;
this.pnlScannerImg.RectDisableColor = System.Drawing.Color.White;
this.pnlScannerImg.ShowText = false;
this.pnlScannerImg.Size = new System.Drawing.Size(125, 142);
this.pnlScannerImg.Size = new System.Drawing.Size(56, 142);
this.pnlScannerImg.Style = Sunny.UI.UIStyle.Custom;
this.pnlScannerImg.TabIndex = 1;
this.pnlScannerImg.Text = "▶ 实时图像";
@ -1133,7 +1278,7 @@
| System.Windows.Forms.AnchorStyles.Right)));
this.picScanner2.Location = new System.Drawing.Point(71, 38);
this.picScanner2.Name = "picScanner2";
this.picScanner2.Size = new System.Drawing.Size(50, 99);
this.picScanner2.Size = new System.Drawing.Size(0, 99);
this.picScanner2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.picScanner2.TabIndex = 0;
this.picScanner2.TabStop = false;
@ -1145,7 +1290,7 @@
| System.Windows.Forms.AnchorStyles.Right)));
this.picScanner1.Location = new System.Drawing.Point(3, 38);
this.picScanner1.Name = "picScanner1";
this.picScanner1.Size = new System.Drawing.Size(50, 99);
this.picScanner1.Size = new System.Drawing.Size(0, 99);
this.picScanner1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.picScanner1.TabIndex = 0;
this.picScanner1.TabStop = false;
@ -1190,7 +1335,7 @@
this.uiTitlePanel7.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTitlePanel7.ForeColor = System.Drawing.Color.White;
this.uiTitlePanel7.ForeDisableColor = System.Drawing.Color.White;
this.uiTitlePanel7.Location = new System.Drawing.Point(4, 343);
this.uiTitlePanel7.Location = new System.Drawing.Point(4, 381);
this.uiTitlePanel7.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiTitlePanel7.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTitlePanel7.Name = "uiTitlePanel7";
@ -1385,6 +1530,84 @@
this.uiLabel6.Text = "光源";
this.uiLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiTitlePanel8
//
this.uiTitlePanel8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.uiTitlePanel8.BackColor = System.Drawing.Color.White;
this.uiTitlePanel8.Controls.Add(this.uilbHD);
this.uiTitlePanel8.Controls.Add(this.lineChartHouDu);
this.uiTitlePanel8.FillColor = System.Drawing.Color.White;
this.uiTitlePanel8.FillColor2 = System.Drawing.Color.White;
this.uiTitlePanel8.FillDisableColor = System.Drawing.Color.White;
this.uiTitlePanel8.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTitlePanel8.ForeColor = System.Drawing.Color.White;
this.uiTitlePanel8.ForeDisableColor = System.Drawing.Color.White;
this.uiTitlePanel8.Location = new System.Drawing.Point(856, 477);
this.uiTitlePanel8.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiTitlePanel8.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTitlePanel8.Name = "uiTitlePanel8";
this.uiTitlePanel8.RectColor = System.Drawing.Color.White;
this.uiTitlePanel8.RectDisableColor = System.Drawing.Color.White;
this.uiTitlePanel8.ShowText = false;
this.uiTitlePanel8.Size = new System.Drawing.Size(330, 210);
this.uiTitlePanel8.Style = Sunny.UI.UIStyle.Custom;
this.uiTitlePanel8.TabIndex = 2;
this.uiTitlePanel8.Text = "▶ 厚度";
this.uiTitlePanel8.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.uiTitlePanel8.TitleColor = System.Drawing.Color.White;
this.uiTitlePanel8.TitleForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
//
// lineChartHouDu
//
this.lineChartHouDu.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lineChartHouDu.ChartStyleType = Sunny.UI.UIChartStyleType.Default;
this.lineChartHouDu.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lineChartHouDu.LegendFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lineChartHouDu.Location = new System.Drawing.Point(3, 37);
this.lineChartHouDu.MinimumSize = new System.Drawing.Size(1, 1);
this.lineChartHouDu.MouseDownType = Sunny.UI.UILineChartMouseDownType.Zoom;
this.lineChartHouDu.Name = "lineChartHouDu";
this.lineChartHouDu.Radius = 0;
this.lineChartHouDu.Size = new System.Drawing.Size(324, 170);
this.lineChartHouDu.Style = Sunny.UI.UIStyle.Custom;
this.lineChartHouDu.SubFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lineChartHouDu.TabIndex = 1;
this.lineChartHouDu.TouchPressClick = true;
//
// picDefectImage
//
this.picDefectImage.Dock = System.Windows.Forms.DockStyle.Fill;
this.picDefectImage.Location = new System.Drawing.Point(0, 0);
this.picDefectImage.Margin = new System.Windows.Forms.Padding(0);
this.picDefectImage.Name = "picDefectImage";
this.picDefectImage.Size = new System.Drawing.Size(350, 188);
this.picDefectImage.TabIndex = 1;
//
// ucColorListDefect
//
this.ucColorListDefect.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ucColorListDefect.ColorChanged = null;
this.ucColorListDefect.FillColor = System.Drawing.Color.White;
this.ucColorListDefect.FillColor2 = System.Drawing.Color.White;
this.ucColorListDefect.FillDisableColor = System.Drawing.Color.White;
this.ucColorListDefect.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ucColorListDefect.Location = new System.Drawing.Point(1, 38);
this.ucColorListDefect.MinimumSize = new System.Drawing.Size(1, 1);
this.ucColorListDefect.Name = "ucColorListDefect";
this.ucColorListDefect.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
this.ucColorListDefect.RectColor = System.Drawing.Color.White;
this.ucColorListDefect.RectDisableColor = System.Drawing.Color.White;
this.ucColorListDefect.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom;
this.ucColorListDefect.Size = new System.Drawing.Size(52, 42);
this.ucColorListDefect.Style = Sunny.UI.UIStyle.Custom;
this.ucColorListDefect.StyleCustomMode = true;
this.ucColorListDefect.TabIndex = 1;
this.ucColorListDefect.Text = "ucColorList1";
this.ucColorListDefect.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// FHome
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@ -1392,6 +1615,7 @@
this.ClientSize = new System.Drawing.Size(1191, 842);
this.ControlBoxCloseFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.ControlBoxFillHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(29)))), ((int)(((byte)(138)))));
this.Controls.Add(this.uiTitlePanel8);
this.Controls.Add(this.uiTitlePanel3);
this.Controls.Add(this.uiTitlePanel5);
this.Controls.Add(this.uiTitlePanel4);
@ -1427,6 +1651,8 @@
((System.ComponentModel.ISupportInitialize)(this.picScanner1)).EndInit();
this.uiTitlePanel7.ResumeLayout(false);
this.uiTitlePanel7.PerformLayout();
this.uiTitlePanel8.ResumeLayout(false);
this.uiTitlePanel8.PerformLayout();
this.ResumeLayout(false);
}
@ -1499,5 +1725,13 @@
private Sunny.UI.UILabel uilbKF;
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Button button3;
private Sunny.UI.UILabel uilbHD;
private Sunny.UI.UITitlePanel uiTitlePanel8;
private Sunny.UI.UILineChart lineChartHouDu;
private Sunny.UI.UISymbolButton btnClearAlm;
private Sunny.UI.UITextBox txtDefectName;
private Sunny.UI.UILabel uiLabel10;
private Sunny.UI.UISymbolButton btnCut;
private Sunny.UI.UISymbolButton btnFenJuan;
}
}

File diff suppressed because it is too large Load Diff

View File

@ -117,6 +117,39 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="btnFenJuan.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAc5JREFUWEft
luttwzAMhDNKRsko2SSjZJSMklHc+9SjbMF6VGqB/skBREJSd6Reti8frGLbtrvsaXvbAL8v20N2k11N
+z0kFgX5pQnsijnPf4piNHBsZr0RkRGk8LSQudH4fBOQTL45lOEc4oFYndrYmMRcEyIw64fdDAuCvNc2
/FbD5J52d5jQw6lrxdj/t90CirPvd7sZ6Mg2uzsUq84SQKjlFDvOlmXHKAxeHlZAccZXG0Csuj8QBIRP
SwoUh8tqpEngO1VA8diycwNA8eoqJMY3mQabBXowL50LWbOB6ioEwfm4TnG3EUwHMA0W7MczIrYkHzwc
/z2DgbLi8NQIClGEBiiA0VQAP85E7SZ0G0hd203oEhYw1FO+2IYhYRJDPeVZwrx0Q8IkhnrKF+dgSJjE
UE/54joOCZMY6in/f1ugHHe9GNAlLKCrpxz3u3jBdAkL6OopxwEsHsddwgKaeoqnR7HdjCZhEU09xYvT
H2gSFlHVU+x0+AIKn15Qq3Cd80eMgtXZA8W5ltXcLJp1FDy+zWoong0rgJ+UVlZTpHQ9ZcxgWsA8+OuT
oLCMa4pQ2hYZjWE//iD5E0iQIjRAARo6biGx5gfJBzsuly+fm4OVOpvyOQAAAABJRU5ErkJggg==
</value>
</data>
<data name="btnCut.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAARxJREFUWEft
ldENgjAQhtnBBXxiCJ8YwCHYwQF4cw1GYRRHwf+jd01BH0zM1cT0Sy7c1cJXalu6RuNvWdd1tLQ+ki8K
eCjO1lwHCZEjHhQTuf0UjwlhONTxsyAJbwwu39WhIEmutPB09XraOkQiyTm5kkxXr5etQzQSzS7TFTmL
sJo8r3TFiJjcfo7FZQpmwFf7tv2sSxySlHJgAHUOHJPB7/c6KGc2ZivjQIpZ5I+M8pcBhSDBbq+Dcm+L
fXsJELHgdnubmnYr4zDRW7kiduG5yEqfDZeH/++cbMBCQ5wPG+sSi0QMgDd1yOO/biUSMoh6p9ynaEA3
xd3iquiLmrhYlG293f4detBJwcMRE+S0ee0DInKb3d5oHOi6J3VR8dRgsvfWAAAAAElFTkSuQmCC
</value>
</data>
<data name="btnClearAlm.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAANpJREFUOE+d
kbENwkAMRRklDXNAzQSUKagRG1BQMAYdBStQpKJFSAyQBQABBe3x7DhwyeWSwJOeyNn+wboM2nDOjfEq
v1b6DYIlN9xZuR8Ejhqt8sK5jcRhSFZ/SiLCCYc2HkLzrmPdbC3yheIaD9pu54ErixVQkNUzex7hHmOc
NeRDMcPKJ+M8lWH0kftJbKSAwlK0YwC9BV5QVp9ZuYBCgrp6G8xMsN/qTTCTY7C6XFzYqEF/g6kdq0gY
ZYvGl1D/fJ0o3kv0Mmt2bqjIEKYNxsM0y3/4Q5e/ARPnxyOd5Q/6AAAAAElFTkSuQmCC
</value>
</data>
<metadata name="colUid.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>

View File

@ -21,22 +21,22 @@ namespace LeatherApp.Page
private List<DefectInfo> list;
public List<DefectInfo> lstDel = new List<DefectInfo>();
private Mat Image;
public FHome_Defect(List<DefectInfo> lst, Mat img)
public FHome_Defect(string modelName, List<DefectInfo> lst, Mat img)
{
InitializeComponent();
list = lst;
Image = img;
pictureBox1.Image = Image.ToBitmap();
init();
init(modelName);
}
private void init()
private void init(string modelName)
{
this.Text += $" 原图索引({list[0].PhotoIndex})";
list.ForEach(item => {
string filename = Path.Combine(Config.appBasePath + "\\TempPic\\", $"{item.imageID}.jpg");
OpenCvSharp.Mat img = new OpenCvSharp.Mat(filename);
UIDefectImage userCon = new UIDefectImage()
UIDefectImage userCon = new UIDefectImage(modelName)
{
Code = item.Code,
Tag = item,

View File

@ -28,17 +28,17 @@
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle34 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle35 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle37 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle38 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle39 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle36 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle40 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle41 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle42 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle43 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle44 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
this.uiTitlePanel2 = new Sunny.UI.UITitlePanel();
this.tcbarTensionValue = new Sunny.UI.UITrackBar();
this.tcbarGain = new Sunny.UI.UITrackBar();
@ -53,6 +53,8 @@
this.lblLightValue = new Sunny.UI.UILabel();
this.uiLabel6 = new Sunny.UI.UILabel();
this.uiTitlePanel3 = new Sunny.UI.UITitlePanel();
this.uiLabel14 = new Sunny.UI.UILabel();
this.uiSymbolButton1 = new Sunny.UI.UISymbolButton();
this.tbClass = new Sunny.UI.UITextBox();
this.uiLabel13 = new Sunny.UI.UILabel();
this.tbAera = new Sunny.UI.UINumPadTextBox();
@ -103,8 +105,6 @@
this.cmbColor = new Sunny.UI.UIComboBox();
this.uiLabel3 = new Sunny.UI.UILabel();
this.uiLabel2 = new Sunny.UI.UILabel();
this.uiSymbolButton1 = new Sunny.UI.UISymbolButton();
this.uiLabel14 = new Sunny.UI.UILabel();
this.uiTitlePanel2.SuspendLayout();
this.uiTitlePanel3.SuspendLayout();
this.uiTitlePanel4.SuspendLayout();
@ -353,6 +353,33 @@
this.uiTitlePanel3.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.uiTitlePanel3.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
//
// uiLabel14
//
this.uiLabel14.AutoSize = true;
this.uiLabel14.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel14.Location = new System.Drawing.Point(20, 294);
this.uiLabel14.Name = "uiLabel14";
this.uiLabel14.Size = new System.Drawing.Size(112, 21);
this.uiLabel14.Style = Sunny.UI.UIStyle.Custom;
this.uiLabel14.TabIndex = 31;
this.uiLabel14.Text = "ERP/MES配置";
this.uiLabel14.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiSymbolButton1
//
this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton1.Location = new System.Drawing.Point(155, 292);
this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton1.Name = "uiSymbolButton1";
this.uiSymbolButton1.Size = new System.Drawing.Size(82, 29);
this.uiSymbolButton1.Style = Sunny.UI.UIStyle.Custom;
this.uiSymbolButton1.Symbol = 61459;
this.uiSymbolButton1.TabIndex = 30;
this.uiSymbolButton1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton1.Click += new System.EventHandler(this.uiSymbolButton1_Click);
//
// tbClass
//
this.tbClass.ButtonSymbolOffset = new System.Drawing.Point(0, 0);
@ -430,6 +457,7 @@
this.cmbModelName.TabIndex = 24;
this.cmbModelName.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.cmbModelName.Watermark = "";
this.cmbModelName.SelectedIndexChanged += new System.EventHandler(this.cmbModelName_SelectedIndexChanged);
//
// uiLabel1
//
@ -635,21 +663,21 @@
//
// uiDataGridView1
//
dataGridViewCellStyle34.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
this.uiDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle34;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
this.uiDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.uiDataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.uiDataGridView1.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
this.uiDataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
dataGridViewCellStyle35.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle35.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
dataGridViewCellStyle35.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle35.ForeColor = System.Drawing.Color.White;
dataGridViewCellStyle35.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
dataGridViewCellStyle35.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle35.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.uiDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle35;
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.uiDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.uiDataGridView1.ColumnHeadersHeight = 32;
this.uiDataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.uiDataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
@ -661,35 +689,35 @@
this.col_IsOR,
this.col_Len,
this.col_Cnt});
dataGridViewCellStyle37.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle37.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle37.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle37.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle37.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
dataGridViewCellStyle37.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle37.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.uiDataGridView1.DefaultCellStyle = dataGridViewCellStyle37;
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.uiDataGridView1.DefaultCellStyle = dataGridViewCellStyle4;
this.uiDataGridView1.EnableHeadersVisualStyles = false;
this.uiDataGridView1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiDataGridView1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255)))));
this.uiDataGridView1.Location = new System.Drawing.Point(3, 41);
this.uiDataGridView1.MultiSelect = false;
this.uiDataGridView1.Name = "uiDataGridView1";
dataGridViewCellStyle38.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle38.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
dataGridViewCellStyle38.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle38.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle38.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
dataGridViewCellStyle38.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle38.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.uiDataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle38;
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.uiDataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle5;
this.uiDataGridView1.RowHeadersWidth = 62;
dataGridViewCellStyle39.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle39.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle39.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle39.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
dataGridViewCellStyle39.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle39;
dataGridViewCellStyle6.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle6.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
dataGridViewCellStyle6.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle6;
this.uiDataGridView1.RowTemplate.Height = 30;
this.uiDataGridView1.SelectedIndex = -1;
this.uiDataGridView1.Size = new System.Drawing.Size(581, 308);
@ -709,8 +737,8 @@
// col_zxd
//
this.col_zxd.DataPropertyName = "ZXD";
dataGridViewCellStyle36.NullValue = null;
this.col_zxd.DefaultCellStyle = dataGridViewCellStyle36;
dataGridViewCellStyle3.NullValue = null;
this.col_zxd.DefaultCellStyle = dataGridViewCellStyle3;
this.col_zxd.HeaderText = "置信度";
this.col_zxd.MinimumWidth = 20;
this.col_zxd.Name = "col_zxd";
@ -781,21 +809,21 @@
//
// uiDataGridView2
//
dataGridViewCellStyle40.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
this.uiDataGridView2.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle40;
dataGridViewCellStyle7.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
this.uiDataGridView2.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle7;
this.uiDataGridView2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.uiDataGridView2.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
this.uiDataGridView2.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
dataGridViewCellStyle41.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle41.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
dataGridViewCellStyle41.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle41.ForeColor = System.Drawing.Color.White;
dataGridViewCellStyle41.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
dataGridViewCellStyle41.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle41.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.uiDataGridView2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle41;
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle8.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
dataGridViewCellStyle8.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle8.ForeColor = System.Drawing.Color.White;
dataGridViewCellStyle8.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.uiDataGridView2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8;
this.uiDataGridView2.ColumnHeadersHeight = 32;
this.uiDataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.uiDataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
@ -805,35 +833,35 @@
this.col2_3,
this.col2_4,
this.col2_5});
dataGridViewCellStyle42.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle42.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle42.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle42.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle42.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
dataGridViewCellStyle42.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle42.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.uiDataGridView2.DefaultCellStyle = dataGridViewCellStyle42;
dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle9.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle9.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle9.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle9.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
dataGridViewCellStyle9.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.uiDataGridView2.DefaultCellStyle = dataGridViewCellStyle9;
this.uiDataGridView2.EnableHeadersVisualStyles = false;
this.uiDataGridView2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiDataGridView2.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255)))));
this.uiDataGridView2.Location = new System.Drawing.Point(3, 41);
this.uiDataGridView2.MultiSelect = false;
this.uiDataGridView2.Name = "uiDataGridView2";
dataGridViewCellStyle43.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle43.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
dataGridViewCellStyle43.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle43.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle43.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
dataGridViewCellStyle43.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle43.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.uiDataGridView2.RowHeadersDefaultCellStyle = dataGridViewCellStyle43;
dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
dataGridViewCellStyle10.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle10.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle10.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
dataGridViewCellStyle10.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.uiDataGridView2.RowHeadersDefaultCellStyle = dataGridViewCellStyle10;
this.uiDataGridView2.RowHeadersWidth = 62;
dataGridViewCellStyle44.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle44.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle44.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle44.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
dataGridViewCellStyle44.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiDataGridView2.RowsDefaultCellStyle = dataGridViewCellStyle44;
dataGridViewCellStyle11.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle11.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle11.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle11.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
dataGridViewCellStyle11.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiDataGridView2.RowsDefaultCellStyle = dataGridViewCellStyle11;
this.uiDataGridView2.RowTemplate.Height = 30;
this.uiDataGridView2.SelectedIndex = -1;
this.uiDataGridView2.Size = new System.Drawing.Size(488, 308);
@ -1136,33 +1164,6 @@
this.uiLabel2.Text = "产品颜色";
this.uiLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiSymbolButton1
//
this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton1.Location = new System.Drawing.Point(155, 292);
this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton1.Name = "uiSymbolButton1";
this.uiSymbolButton1.Size = new System.Drawing.Size(82, 29);
this.uiSymbolButton1.Style = Sunny.UI.UIStyle.Custom;
this.uiSymbolButton1.Symbol = 61459;
this.uiSymbolButton1.TabIndex = 30;
this.uiSymbolButton1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton1.Click += new System.EventHandler(this.uiSymbolButton1_Click);
//
// uiLabel14
//
this.uiLabel14.AutoSize = true;
this.uiLabel14.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel14.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel14.Location = new System.Drawing.Point(20, 294);
this.uiLabel14.Name = "uiLabel14";
this.uiLabel14.Size = new System.Drawing.Size(112, 21);
this.uiLabel14.Style = Sunny.UI.UIStyle.Custom;
this.uiLabel14.TabIndex = 31;
this.uiLabel14.Text = "ERP/MES配置";
this.uiLabel14.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// FProductInfo
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;

View File

@ -1,4 +1,5 @@
using DocumentFormat.OpenXml.EMMA;
using DocumentFormat.OpenXml.Wordprocessing;
using LeatherApp.Device;
using LeatherApp.Interface;
using Models;
@ -214,8 +215,38 @@ namespace LeatherApp.Page
this.uiSwitch1.Active = model.OpenThicknessDetection;
uiNumPadTextBox1.Text = model.ThicknessDetectionStopDis.ToString();
//按模型加载label
JArray defectItemList;
Config.LoadModelDefectItemList(model.ModelName, out defectItemList);
uiDataGridView1.Rows.Clear();
uiDataGridView2.Rows.Clear();
uiDataGridView1.Columns[0].Visible = false;
string code, name;
//加行
foreach (JObject item in defectItemList)
{
code = item.Value<string>("code");
name = item.Value<string>("name");
//color = item.Value<string>("color");
uiDataGridView1.Rows.Add();
uiDataGridView1.Rows[uiDataGridView1.RowCount - 1].HeaderCell.Value = name;
uiDataGridView1[0, uiDataGridView1.RowCount - 1].Value = code;
}
uiDataGridView2.Columns[0].Visible = false;
//加行
foreach (JObject item in defectItemList)
{
code = item.Value<string>("code");
name = item.Value<string>("name");
//color = item.Value<string>("color");
uiDataGridView2.Rows.Add();
uiDataGridView2.Rows[uiDataGridView2.RowCount - 1].HeaderCell.Value = name;
uiDataGridView2[0, uiDataGridView2.RowCount - 1].Value = code;
}
//uiDataGridView fill
string code;
//string code;
QualifiedLimit item1;
for (int i = 0; i < uiDataGridView1.Rows.Count; i++)
{
@ -269,6 +300,10 @@ namespace LeatherApp.Page
//
uiDataGridView1.Rows.Clear();
uiDataGridView2.Rows.Clear();
JArray defectItemList;
Config.LoadModelDefectItemList(model.ModelName, out defectItemList);
string code, name;
//===uiDataGridView1
//加列
@ -280,7 +315,7 @@ namespace LeatherApp.Page
//uiDataGridView1.Columns[0].SortMode = DataGridViewColumnSortMode.NotSortable;
uiDataGridView1.Columns[0].Visible = false;
//加行
foreach (JObject item in Config.defectItemList)
foreach (JObject item in defectItemList)
{
code = item.Value<string>("code");
name = item.Value<string>("name");
@ -301,7 +336,7 @@ namespace LeatherApp.Page
//uiDataGridView2.Columns[0].SortMode = DataGridViewColumnSortMode.NotSortable;
uiDataGridView2.Columns[0].Visible = false;
//加行
foreach (JObject item in Config.defectItemList)
foreach (JObject item in defectItemList)
{
code = item.Value<string>("code");
name = item.Value<string>("name");
@ -385,6 +420,7 @@ namespace LeatherApp.Page
DefectWarnLength = Utils.Util.IsDecimal(uiDataGridView1.Rows[i].Cells["col_Len"].Value) ? (int)Convert.ToDouble(uiDataGridView1.Rows[i].Cells["col_Len"].Value) : 0,
DefectWarnCnt = Utils.Util.IsDecimal(uiDataGridView1.Rows[i].Cells["col_Cnt"].Value) ? (int)Convert.ToDouble(uiDataGridView1.Rows[i].Cells["col_Cnt"].Value) : 0,
Name = (string)uiDataGridView1.Rows[i].HeaderCell.Value,
ModifyUserCode = Config.loginUser.Code,
CreateUserCode = Config.loginUser.Code
};
@ -402,6 +438,7 @@ namespace LeatherApp.Page
model.GradeLimitList.Add(
new Models.GradeLimit()
{
Name = (string)(string)uiDataGridView2.Rows[i].HeaderCell.Value,
Code = uiDataGridView2.Rows[i].Cells["col2_code"].Value.ToString(),
A = Utils.Util.IsNumber(uiDataGridView2.Rows[i].Cells["col2_1"].Value)? Convert.ToInt32(uiDataGridView2.Rows[i].Cells["col2_1"].Value) : 0,
B = Utils.Util.IsNumber(uiDataGridView2.Rows[i].Cells["col2_2"].Value) ? Convert.ToInt32(uiDataGridView2.Rows[i].Cells["col2_2"].Value) : 0,
@ -504,7 +541,7 @@ namespace LeatherApp.Page
if (this.model == null || this.model.Id==0)
return;
FSelDefect frm = new FSelDefect(model.DefectPauseOption);
FSelDefect frm = new FSelDefect(model.ModelName, model.DefectPauseOption);
frm.Render();
frm.Text = "选择瑕疵";
frm.ShowDialog();
@ -542,5 +579,44 @@ namespace LeatherApp.Page
frm.Dispose();
}
private void cmbModelName_SelectedIndexChanged(object sender, EventArgs e)
{
//重新加载label
JArray defectItemList;
Config.LoadModelDefectItemList(cmbModelName.Text, out defectItemList);
uiDataGridView1.Rows.Clear();
uiDataGridView1.Columns[0].Visible = false;
string code, name;
//加行
foreach (JObject item in defectItemList)
{
code = item.Value<string>("code");
name = item.Value<string>("name");
//color = item.Value<string>("color");
uiDataGridView1.Rows.Add();
uiDataGridView1.Rows[uiDataGridView1.RowCount - 1].HeaderCell.Value = name;
uiDataGridView1[0, uiDataGridView1.RowCount - 1].Value = code;
}
if (model != null && model.QualifiedLimitList != null)
{
QualifiedLimit item1;
for (int i = 0; i < uiDataGridView1.Rows.Count; i++)
{
code = uiDataGridView1.Rows[i].Cells["col_code"].Value.ToString();
item1 = model.QualifiedLimitList.FirstOrDefault(m => m.Code == code);
if (item1 != null)
{
uiDataGridView1.Rows[i].Cells["col_zxd"].Value = item1.ZXD;
uiDataGridView1.Rows[i].Cells["col_area"].Value = item1.Area * 100;
uiDataGridView1.Rows[i].Cells["col_contrast_top"].Value = ContrastToPercent(item1.ContrastTop);
uiDataGridView1.Rows[i].Cells["col_contrast_lower"].Value = ContrastToPercent(item1.ContrastLower);
uiDataGridView1.Rows[i].Cells["col_IsOR"].Value = item1.IsOR;
//uiDataGridView1.Rows[i].Cells["col_Len"].Value = item1.DefectWarnLength;
//uiDataGridView1.Rows[i].Cells["col_Cnt"].Value = item1.DefectWarnCnt;
}
}
}
}
}
}

View File

@ -28,25 +28,15 @@
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
this.uiPagination1 = new Sunny.UI.UIPagination();
this.uiDataGridView1 = new Sunny.UI.UIDataGridView();
this.colId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colCreateTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colBarCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colOrderId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colBatchId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colReelId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colLen = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colDefectCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colGrade = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.uiPanel1 = new Sunny.UI.UIPanel();
this.btnExport = new Sunny.UI.UISymbolButton();
this.btnChar = new Sunny.UI.UISymbolButton();
@ -63,6 +53,24 @@
this.uiLabel3 = new Sunny.UI.UILabel();
this.lineChartDefect = new Sunny.UI.UILineChart();
this.lineChartFaceWidth = new Sunny.UI.UILineChart();
this.ucColorListDefect = new LeatherApp.UIExtend.UCColorList();
this.txtAllLen = new Sunny.UI.UITextBox();
this.lineChartHouDu = new Sunny.UI.UILineChart();
this.colId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colCreateTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colBarCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colOrderId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colBatchId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colReelId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.PartReel = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colLen = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colDefectCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colGrade = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.UserNane = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.BanZuCol = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.uiLabel7 = new Sunny.UI.UILabel();
this.txtWorkT = new Sunny.UI.UITextBox();
((System.ComponentModel.ISupportInitialize)(this.uiDataGridView1)).BeginInit();
this.uiPanel1.SuspendLayout();
this.SuspendLayout();
@ -85,21 +93,21 @@
//
// uiDataGridView1
//
dataGridViewCellStyle22.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
this.uiDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle22;
dataGridViewCellStyle15.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
this.uiDataGridView1.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle15;
this.uiDataGridView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.uiDataGridView1.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
this.uiDataGridView1.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle23.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
dataGridViewCellStyle23.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle23.ForeColor = System.Drawing.Color.White;
dataGridViewCellStyle23.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
dataGridViewCellStyle23.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle23.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.uiDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle23;
dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
dataGridViewCellStyle16.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle16.ForeColor = System.Drawing.Color.White;
dataGridViewCellStyle16.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
dataGridViewCellStyle16.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.uiDataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle16;
this.uiDataGridView1.ColumnHeadersHeight = 32;
this.uiDataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
this.uiDataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
@ -110,144 +118,55 @@
this.colOrderId,
this.colBatchId,
this.colReelId,
this.PartReel,
this.colLen,
this.colDefectCount,
this.colGrade});
dataGridViewCellStyle26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle26.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle26.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle26.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle26.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
dataGridViewCellStyle26.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle26.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.uiDataGridView1.DefaultCellStyle = dataGridViewCellStyle26;
this.colGrade,
this.UserNane,
this.BanZuCol});
dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle19.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle19.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle19.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle19.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
dataGridViewCellStyle19.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle19.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.uiDataGridView1.DefaultCellStyle = dataGridViewCellStyle19;
this.uiDataGridView1.EnableHeadersVisualStyles = false;
this.uiDataGridView1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiDataGridView1.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(104)))), ((int)(((byte)(173)))), ((int)(((byte)(255)))));
this.uiDataGridView1.Location = new System.Drawing.Point(3, 83);
this.uiDataGridView1.MultiSelect = false;
this.uiDataGridView1.Name = "uiDataGridView1";
dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle27.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
dataGridViewCellStyle27.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle27.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle27.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
dataGridViewCellStyle27.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle27.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.uiDataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle27;
dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle20.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(243)))), ((int)(((byte)(249)))), ((int)(((byte)(255)))));
dataGridViewCellStyle20.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle20.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle20.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(160)))), ((int)(((byte)(255)))));
dataGridViewCellStyle20.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.uiDataGridView1.RowHeadersDefaultCellStyle = dataGridViewCellStyle20;
this.uiDataGridView1.RowHeadersVisible = false;
this.uiDataGridView1.RowHeadersWidth = 62;
dataGridViewCellStyle28.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle28.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle28.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle28.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
dataGridViewCellStyle28.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle28;
dataGridViewCellStyle21.BackColor = System.Drawing.Color.White;
dataGridViewCellStyle21.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle21.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
dataGridViewCellStyle21.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(236)))), ((int)(((byte)(255)))));
dataGridViewCellStyle21.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle21;
this.uiDataGridView1.RowTemplate.Height = 30;
this.uiDataGridView1.SelectedIndex = -1;
this.uiDataGridView1.Size = new System.Drawing.Size(1492, 481);
this.uiDataGridView1.TabIndex = 2;
//
// colId
//
this.colId.DataPropertyName = "Id";
this.colId.HeaderText = "Id";
this.colId.MinimumWidth = 8;
this.colId.Name = "colId";
this.colId.Visible = false;
this.colId.Width = 150;
//
// colCreateTime
//
this.colCreateTime.DataPropertyName = "CreateTime";
dataGridViewCellStyle24.Format = "f";
dataGridViewCellStyle24.NullValue = null;
this.colCreateTime.DefaultCellStyle = dataGridViewCellStyle24;
this.colCreateTime.HeaderText = "检验日期";
this.colCreateTime.MinimumWidth = 8;
this.colCreateTime.Name = "colCreateTime";
this.colCreateTime.ReadOnly = true;
this.colCreateTime.Width = 200;
//
// colBarCode
//
this.colBarCode.DataPropertyName = "barcode";
this.colBarCode.HeaderText = "条码";
this.colBarCode.MinimumWidth = 100;
this.colBarCode.Name = "colBarCode";
this.colBarCode.Width = 150;
//
// colName
//
this.colName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.colName.DataPropertyName = "BarCodeName";
this.colName.HeaderText = "品名";
this.colName.MinimumWidth = 8;
this.colName.Name = "colName";
this.colName.ReadOnly = true;
//
// colOrderId
//
this.colOrderId.DataPropertyName = "OrderId";
this.colOrderId.HeaderText = "单号";
this.colOrderId.MinimumWidth = 8;
this.colOrderId.Name = "colOrderId";
this.colOrderId.ReadOnly = true;
this.colOrderId.Visible = false;
this.colOrderId.Width = 200;
//
// colBatchId
//
this.colBatchId.DataPropertyName = "BatchId";
this.colBatchId.HeaderText = "批号";
this.colBatchId.MinimumWidth = 8;
this.colBatchId.Name = "colBatchId";
this.colBatchId.ReadOnly = true;
this.colBatchId.Width = 200;
//
// colReelId
//
this.colReelId.DataPropertyName = "ReelId";
this.colReelId.HeaderText = "卷号";
this.colReelId.MinimumWidth = 8;
this.colReelId.Name = "colReelId";
this.colReelId.ReadOnly = true;
this.colReelId.Width = 150;
//
// colLen
//
this.colLen.DataPropertyName = "Len";
this.colLen.HeaderText = "长度(米)";
this.colLen.MinimumWidth = 8;
this.colLen.Name = "colLen";
this.colLen.ReadOnly = true;
this.colLen.Width = 150;
//
// colDefectCount
//
this.colDefectCount.HeaderText = "总缺陷";
this.colDefectCount.MinimumWidth = 8;
this.colDefectCount.Name = "colDefectCount";
this.colDefectCount.ReadOnly = true;
this.colDefectCount.Visible = false;
this.colDefectCount.Width = 150;
//
// colGrade
//
dataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.colGrade.DefaultCellStyle = dataGridViewCellStyle25;
this.colGrade.HeaderText = "等级";
this.colGrade.MinimumWidth = 8;
this.colGrade.Name = "colGrade";
this.colGrade.ReadOnly = true;
this.colGrade.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colGrade.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.colGrade.Width = 150;
this.uiDataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.uiDataGridView1_CellContentClick);
//
// uiPanel1
//
this.uiPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.uiPanel1.Controls.Add(this.txtWorkT);
this.uiPanel1.Controls.Add(this.uiLabel7);
this.uiPanel1.Controls.Add(this.txtAllLen);
this.uiPanel1.Controls.Add(this.btnExport);
this.uiPanel1.Controls.Add(this.btnChar);
this.uiPanel1.Controls.Add(this.btnQuery);
@ -337,7 +256,7 @@
this.uiLabel1.AutoSize = true;
this.uiLabel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel1.Location = new System.Drawing.Point(945, 18);
this.uiLabel1.Location = new System.Drawing.Point(1052, 21);
this.uiLabel1.Name = "uiLabel1";
this.uiLabel1.Size = new System.Drawing.Size(17, 21);
this.uiLabel1.TabIndex = 8;
@ -348,7 +267,7 @@
//
this.uiDatePicker2.FillColor = System.Drawing.Color.White;
this.uiDatePicker2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiDatePicker2.Location = new System.Drawing.Point(971, 21);
this.uiDatePicker2.Location = new System.Drawing.Point(1076, 21);
this.uiDatePicker2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiDatePicker2.MaxLength = 10;
this.uiDatePicker2.MinimumSize = new System.Drawing.Size(63, 0);
@ -367,7 +286,7 @@
//
this.uiDatePicker1.FillColor = System.Drawing.Color.White;
this.uiDatePicker1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiDatePicker1.Location = new System.Drawing.Point(804, 21);
this.uiDatePicker1.Location = new System.Drawing.Point(906, 21);
this.uiDatePicker1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiDatePicker1.MaxLength = 10;
this.uiDatePicker1.MinimumSize = new System.Drawing.Size(63, 0);
@ -387,7 +306,7 @@
this.uiLabel5.AutoSize = true;
this.uiLabel5.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel5.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel5.Location = new System.Drawing.Point(736, 23);
this.uiLabel5.Location = new System.Drawing.Point(857, 25);
this.uiLabel5.Name = "uiLabel5";
this.uiLabel5.Size = new System.Drawing.Size(42, 21);
this.uiLabel5.TabIndex = 2;
@ -399,7 +318,7 @@
this.txtReelId.ButtonSymbolOffset = new System.Drawing.Point(0, 0);
this.txtReelId.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtReelId.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtReelId.Location = new System.Drawing.Point(562, 21);
this.txtReelId.Location = new System.Drawing.Point(482, 21);
this.txtReelId.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.txtReelId.MinimumSize = new System.Drawing.Size(1, 16);
this.txtReelId.Name = "txtReelId";
@ -415,7 +334,7 @@
this.uiLabel4.AutoSize = true;
this.uiLabel4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel4.Location = new System.Drawing.Point(496, 23);
this.uiLabel4.Location = new System.Drawing.Point(433, 23);
this.uiLabel4.Name = "uiLabel4";
this.uiLabel4.Size = new System.Drawing.Size(42, 21);
this.uiLabel4.TabIndex = 3;
@ -427,7 +346,7 @@
this.txtBarcode.ButtonSymbolOffset = new System.Drawing.Point(0, 0);
this.txtBarcode.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtBarcode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtBarcode.Location = new System.Drawing.Point(74, 21);
this.txtBarcode.Location = new System.Drawing.Point(58, 21);
this.txtBarcode.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.txtBarcode.MinimumSize = new System.Drawing.Size(1, 16);
this.txtBarcode.Name = "txtBarcode";
@ -443,7 +362,7 @@
this.txtBatchId.ButtonSymbolOffset = new System.Drawing.Point(0, 0);
this.txtBatchId.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtBatchId.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtBatchId.Location = new System.Drawing.Point(320, 21);
this.txtBatchId.Location = new System.Drawing.Point(270, 21);
this.txtBatchId.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.txtBatchId.MinimumSize = new System.Drawing.Size(1, 16);
this.txtBatchId.Name = "txtBatchId";
@ -471,7 +390,7 @@
this.uiLabel3.AutoSize = true;
this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel3.Location = new System.Drawing.Point(255, 23);
this.uiLabel3.Location = new System.Drawing.Point(221, 23);
this.uiLabel3.Name = "uiLabel3";
this.uiLabel3.Size = new System.Drawing.Size(42, 21);
this.uiLabel3.TabIndex = 4;
@ -505,7 +424,7 @@
this.lineChartFaceWidth.ChartStyleType = Sunny.UI.UIChartStyleType.Default;
this.lineChartFaceWidth.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lineChartFaceWidth.LegendFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lineChartFaceWidth.Location = new System.Drawing.Point(410, 216);
this.lineChartFaceWidth.Location = new System.Drawing.Point(393, 83);
this.lineChartFaceWidth.MinimumSize = new System.Drawing.Size(1, 1);
this.lineChartFaceWidth.MouseDownType = Sunny.UI.UILineChartMouseDownType.Zoom;
this.lineChartFaceWidth.Name = "lineChartFaceWidth";
@ -515,15 +434,222 @@
this.lineChartFaceWidth.TabIndex = 6;
this.lineChartFaceWidth.TouchPressClick = true;
//
// ucColorListDefect
//
this.ucColorListDefect.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.ucColorListDefect.ColorChanged = null;
this.ucColorListDefect.FillColor = System.Drawing.Color.White;
this.ucColorListDefect.FillColor2 = System.Drawing.Color.White;
this.ucColorListDefect.FillDisableColor = System.Drawing.Color.White;
this.ucColorListDefect.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ucColorListDefect.Location = new System.Drawing.Point(323, 230);
this.ucColorListDefect.MinimumSize = new System.Drawing.Size(1, 1);
this.ucColorListDefect.Name = "ucColorListDefect";
this.ucColorListDefect.RadiusSides = Sunny.UI.UICornerRadiusSides.None;
this.ucColorListDefect.RectColor = System.Drawing.Color.White;
this.ucColorListDefect.RectDisableColor = System.Drawing.Color.White;
this.ucColorListDefect.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.Bottom;
this.ucColorListDefect.Size = new System.Drawing.Size(601, 64);
this.ucColorListDefect.Style = Sunny.UI.UIStyle.Custom;
this.ucColorListDefect.StyleCustomMode = true;
this.ucColorListDefect.TabIndex = 21;
this.ucColorListDefect.Text = "ucColorList1";
this.ucColorListDefect.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// txtAllLen
//
this.txtAllLen.ButtonSymbolOffset = new System.Drawing.Point(0, 0);
this.txtAllLen.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtAllLen.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtAllLen.Location = new System.Drawing.Point(1236, 21);
this.txtAllLen.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.txtAllLen.MinimumSize = new System.Drawing.Size(1, 16);
this.txtAllLen.Name = "txtAllLen";
this.txtAllLen.Padding = new System.Windows.Forms.Padding(5);
this.txtAllLen.ReadOnly = true;
this.txtAllLen.ShowText = false;
this.txtAllLen.Size = new System.Drawing.Size(228, 29);
this.txtAllLen.TabIndex = 11;
this.txtAllLen.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtAllLen.Watermark = "";
//
// lineChartHouDu
//
this.lineChartHouDu.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.lineChartHouDu.ChartStyleType = Sunny.UI.UIChartStyleType.Default;
this.lineChartHouDu.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lineChartHouDu.LegendFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lineChartHouDu.Location = new System.Drawing.Point(180, 165);
this.lineChartHouDu.MinimumSize = new System.Drawing.Size(1, 1);
this.lineChartHouDu.MouseDownType = Sunny.UI.UILineChartMouseDownType.Zoom;
this.lineChartHouDu.Name = "lineChartHouDu";
this.lineChartHouDu.Radius = 0;
this.lineChartHouDu.Size = new System.Drawing.Size(971, 399);
this.lineChartHouDu.SubFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lineChartHouDu.TabIndex = 22;
this.lineChartHouDu.TouchPressClick = true;
this.lineChartHouDu.Visible = false;
//
// colId
//
this.colId.DataPropertyName = "Id";
this.colId.HeaderText = "Id";
this.colId.MinimumWidth = 8;
this.colId.Name = "colId";
this.colId.Visible = false;
this.colId.Width = 150;
//
// colCreateTime
//
this.colCreateTime.DataPropertyName = "CreateTime";
dataGridViewCellStyle17.Format = "f";
dataGridViewCellStyle17.NullValue = null;
this.colCreateTime.DefaultCellStyle = dataGridViewCellStyle17;
this.colCreateTime.HeaderText = "检验日期";
this.colCreateTime.MinimumWidth = 8;
this.colCreateTime.Name = "colCreateTime";
this.colCreateTime.ReadOnly = true;
this.colCreateTime.Width = 200;
//
// colBarCode
//
this.colBarCode.DataPropertyName = "barcode";
this.colBarCode.HeaderText = "条码";
this.colBarCode.MinimumWidth = 100;
this.colBarCode.Name = "colBarCode";
this.colBarCode.Width = 150;
//
// colName
//
this.colName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.colName.DataPropertyName = "BarCodeName";
this.colName.HeaderText = "品名";
this.colName.MinimumWidth = 8;
this.colName.Name = "colName";
this.colName.ReadOnly = true;
//
// colOrderId
//
this.colOrderId.DataPropertyName = "OrderId";
this.colOrderId.HeaderText = "单号";
this.colOrderId.MinimumWidth = 8;
this.colOrderId.Name = "colOrderId";
this.colOrderId.ReadOnly = true;
this.colOrderId.Visible = false;
this.colOrderId.Width = 200;
//
// colBatchId
//
this.colBatchId.DataPropertyName = "BatchId";
this.colBatchId.HeaderText = "批号";
this.colBatchId.MinimumWidth = 8;
this.colBatchId.Name = "colBatchId";
this.colBatchId.ReadOnly = true;
this.colBatchId.Width = 220;
//
// colReelId
//
this.colReelId.DataPropertyName = "ReelId";
this.colReelId.HeaderText = "批卷号";
this.colReelId.MinimumWidth = 8;
this.colReelId.Name = "colReelId";
this.colReelId.ReadOnly = true;
this.colReelId.Width = 220;
//
// PartReel
//
this.PartReel.DataPropertyName = "PartReelId";
this.PartReel.HeaderText = "分卷号";
this.PartReel.Name = "PartReel";
this.PartReel.ReadOnly = true;
this.PartReel.Width = 220;
//
// colLen
//
this.colLen.DataPropertyName = "Len";
this.colLen.HeaderText = "长度(米)";
this.colLen.MinimumWidth = 8;
this.colLen.Name = "colLen";
this.colLen.ReadOnly = true;
this.colLen.Width = 150;
//
// colDefectCount
//
this.colDefectCount.HeaderText = "总缺陷";
this.colDefectCount.MinimumWidth = 8;
this.colDefectCount.Name = "colDefectCount";
this.colDefectCount.ReadOnly = true;
this.colDefectCount.Visible = false;
this.colDefectCount.Width = 150;
//
// colGrade
//
dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.colGrade.DefaultCellStyle = dataGridViewCellStyle18;
this.colGrade.HeaderText = "等级";
this.colGrade.MinimumWidth = 8;
this.colGrade.Name = "colGrade";
this.colGrade.ReadOnly = true;
this.colGrade.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colGrade.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
this.colGrade.Width = 150;
//
// UserNane
//
this.UserNane.DataPropertyName = "UserName";
this.UserNane.HeaderText = "操作员";
this.UserNane.Name = "UserNane";
this.UserNane.ReadOnly = true;
//
// BanZuCol
//
this.BanZuCol.DataPropertyName = "WorkTeam";
this.BanZuCol.HeaderText = "班组";
this.BanZuCol.Name = "BanZuCol";
this.BanZuCol.ReadOnly = true;
//
// uiLabel7
//
this.uiLabel7.AutoSize = true;
this.uiLabel7.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel7.Location = new System.Drawing.Point(645, 23);
this.uiLabel7.Name = "uiLabel7";
this.uiLabel7.Size = new System.Drawing.Size(42, 21);
this.uiLabel7.TabIndex = 13;
this.uiLabel7.Text = "班组";
this.uiLabel7.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// txtWorkT
//
this.txtWorkT.ButtonSymbolOffset = new System.Drawing.Point(0, 0);
this.txtWorkT.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtWorkT.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtWorkT.Location = new System.Drawing.Point(694, 21);
this.txtWorkT.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.txtWorkT.MinimumSize = new System.Drawing.Size(1, 16);
this.txtWorkT.Name = "txtWorkT";
this.txtWorkT.Padding = new System.Windows.Forms.Padding(5);
this.txtWorkT.ShowText = false;
this.txtWorkT.Size = new System.Drawing.Size(156, 29);
this.txtWorkT.TabIndex = 14;
this.txtWorkT.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.txtWorkT.Watermark = "";
//
// FReport
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(1499, 602);
this.Controls.Add(this.uiDataGridView1);
this.Controls.Add(this.lineChartHouDu);
this.Controls.Add(this.uiPanel1);
this.Controls.Add(this.uiPagination1);
this.Controls.Add(this.uiDataGridView1);
this.Controls.Add(this.lineChartFaceWidth);
this.Controls.Add(this.lineChartDefect);
this.Controls.Add(this.ucColorListDefect);
this.Name = "FReport";
this.PageIndex = 2;
((System.ComponentModel.ISupportInitialize)(this.uiDataGridView1)).EndInit();
@ -551,6 +677,11 @@
private Sunny.UI.UILineChart lineChartDefect;
private Sunny.UI.UILineChart lineChartFaceWidth;
private Sunny.UI.UISymbolButton btnChar;
private Sunny.UI.UITextBox txtBarcode;
private Sunny.UI.UILabel uiLabel2;
private UIExtend.UCColorList ucColorListDefect;
private Sunny.UI.UITextBox txtAllLen;
private Sunny.UI.UILineChart lineChartHouDu;
private System.Windows.Forms.DataGridViewTextBoxColumn colId;
private System.Windows.Forms.DataGridViewTextBoxColumn colCreateTime;
private System.Windows.Forms.DataGridViewTextBoxColumn colBarCode;
@ -558,10 +689,13 @@
private System.Windows.Forms.DataGridViewTextBoxColumn colOrderId;
private System.Windows.Forms.DataGridViewTextBoxColumn colBatchId;
private System.Windows.Forms.DataGridViewTextBoxColumn colReelId;
private System.Windows.Forms.DataGridViewTextBoxColumn PartReel;
private System.Windows.Forms.DataGridViewTextBoxColumn colLen;
private System.Windows.Forms.DataGridViewTextBoxColumn colDefectCount;
private System.Windows.Forms.DataGridViewTextBoxColumn colGrade;
private Sunny.UI.UITextBox txtBarcode;
private Sunny.UI.UILabel uiLabel2;
private System.Windows.Forms.DataGridViewTextBoxColumn UserNane;
private System.Windows.Forms.DataGridViewTextBoxColumn BanZuCol;
private Sunny.UI.UITextBox txtWorkT;
private Sunny.UI.UILabel uiLabel7;
}
}

View File

@ -37,7 +37,8 @@ namespace LeatherApp.Page
uiDataGridView1.AutoGenerateColumns = false;//自动创建列
uiDataGridView1.AllowUserToAddRows = uiDataGridView1.AllowUserToDeleteRows = false;//用户添加删除行
uiDataGridView1.AllowUserToResizeRows = true;//用户调整行大小
uiDataGridView1.AllowUserToResizeColumns = false;//用户调整列大小
uiDataGridView1.AllowUserToResizeColumns = true;//用户调整行大小
//uiDataGridView1.AllowUserToResizeColumns = false;//用户调整列大小
uiDataGridView1.SelectionMode = DataGridViewSelectionMode.FullRowSelect;//只可选中整行,不是单元格
//显示行号与列宽度自动调整
uiDataGridView1.RowHeadersVisible = true;
@ -62,7 +63,7 @@ namespace LeatherApp.Page
#region
this.uiPagination1.PageChanged += new Sunny.UI.UIPagination.OnPageChangeEventHandler(this.uiPagination1_PageChanged);
//设置分页控件每页数量
uiPagination1.PageSize = 20;
uiPagination1.PageSize = 25;
//设置统计绑定的表格
//uiDataGridViewFooter1.DataGridView = uiDataGridView1;
//激活第1第触发uiPagination1_PageChanged
@ -77,8 +78,34 @@ namespace LeatherApp.Page
.AndIF(!string.IsNullOrWhiteSpace(txtBarcode.Text), it => it.BarCode.Contains(txtBarcode.Text.Trim()))
.AndIF(!string.IsNullOrWhiteSpace(txtBatchId.Text), it => it.BatchId.Contains(txtBatchId.Text.Trim()))
.AndIF(!string.IsNullOrWhiteSpace(txtReelId.Text), it => it.ReelId.Contains(txtReelId.Text.Trim()))
.AndIF(!string.IsNullOrWhiteSpace(txtWorkT.Text), it => it.WorkTeam.Contains(txtWorkT.Text.Trim()))
.ToExpression();//注意 这一句 不能少
}
private Expression<Func<Records, bool>> createQueryExpressionByToDay()
{
return Expressionable.Create<Records>()
.And(it => it.CreateTime >= DateTime.Now.SetTime(0, 0, 0))
.And(it => it.CreateTime < DateTime.Now.SetTime(0, 0, 0).AddDays(1))
.ToExpression();//注意 这一句 不能少
}
public void GetToDayLen()
{
//int totalCount = 0;
//double len = 0;
//int listcnt = 0;
//var list = service.GetListNav(1, 1000, ref totalCount, createQueryExpressionByToDay());
//if(list != null && list.Count > 0)
//{
// listcnt = list.Count;
// foreach (var item in list)
// {
// len += item.Len;
// }
//}
//txtAllLen.Text = $"卷数:{listcnt},米数:{Math.Round(len, 2)}";
}
/// <summary>
/// 分页控件页面切换事件
/// </summary>
@ -96,6 +123,19 @@ namespace LeatherApp.Page
var list = service.GetListNav(pageIndex , count, ref totalCount, createQueryExpression());
uiDataGridView1.DataSource = list;
uiPagination1.TotalCount = totalCount;
double len = 0;
int listcnt = 0;
var list2 = service.GetListNav(1, 10000, ref totalCount, createQueryExpression());
if (list2 != null && list2.Count > 0)
{
listcnt = list2.Count;
foreach (var item in list2)
{
len += item.Len;
}
}
txtAllLen.Text = $"卷数:{listcnt},米数:{Math.Round(len, 2)}";
//表脚合计
//uiDataGridViewFooter1.Clear();
//uiDataGridViewFooter1["Column1"] = "合计:";
@ -143,28 +183,53 @@ namespace LeatherApp.Page
return;
err = 1;
//获取对应产品信息
var pdt = productService.GetModelNav(record.ProductId);
JArray defectLabelList;
Config.LoadModelDefectItemList(pdt.ModelName, out defectLabelList);
//var list = uiDataGridView1.DataSource as List<Records>;
//var table = ExcelUtil.ConvertToDataTable<Records>(list);
//{ 名称=x.Name,Xcm=x.X,Ym=x.Y/100,宽cm=x.Width,高cm=x.Height,面积=x.Area, 置信度 =x.ZXD}
var list = record.DefectInfoList;//.Select(x => new { x.Name,x.X,x.Y,x.Width,x.Height,x.Area, x.ZXD}).ToList();
//绘图0
ucColorListDefect.initData(defectLabelList);
//绘图1
double len = Math.Round(record.Len*100, 2);//cm
this.reDrawDefectPoints(record.DefectInfoList, new double[] { 0, Math.Round(record.FaceWidthMax + 0.005f, 2) }, new double[] { 0, len });
this.reDrawDefectPoints(pdt.ModelName, record.DefectInfoList, new double[] { 0, Math.Round(record.FaceWidthMax + 0.005f, 2) }, new double[] { 0, len });
err = 2;
//绘图2
//var points = Array.ConvertAll(record.FaceWidthListStr.Split(new[] { ',', }, StringSplitOptions.RemoveEmptyEntries),Double.Parse).ToList();
//reDrawFaceWidth(record.FacePointList,
// new double[] { 0, Math.Round(len + 0.005f, 2) },
// new double[] { record.FaceWidthMin, Math.Round(record.FaceWidthMax + 0.005f, 2) });
double miny = record.FaceWidthMin > 130 ? 130 : record.FaceWidthMin;
double maxy = Math.Round(record.FaceWidthMax + 0.005f, 2) > 160 ? Math.Round(record.FaceWidthMax + 0.005f, 2) : 160;
reDrawFaceWidth(record.FacePointList,
new double[] { 0, Math.Round(len + 0.005f, 2) },
new double[] { 130, 160 });
new double[] { miny, maxy });
if (record.ThicknessList != null && record.ThicknessList.Count > 0)
{
List<double> hdMax = new List<double>(){
record.ThicknessList.Select(t=> t.Value1).ToList().Max(),
record.ThicknessList.Select(t => t.Value2).ToList().Max(),
record.ThicknessList.Select(t => t.Value3).ToList().Max(),
};
List<double> hdMin = new List<double>(){
record.ThicknessList.Select(t=> t.Value1).ToList().Min(),
record.ThicknessList.Select(t => t.Value2).ToList().Min(),
record.ThicknessList.Select(t => t.Value3).ToList().Min(),
};
reDrawHouDu(record.ThicknessList,
new double[] { 0, Math.Round(len + 0.005f, 2) },
new double[] { hdMin.Min(), Math.Round(hdMax.Max() + 0.005f, 2) });
}
err = 3;
//
foreach (var item in list) {
item.Name = Config.getDefectName(item.Code);
item.Name = Config.getDefectName(pdt.ModelName, item.Code);
//item.Height = item.Height / 100; //单位错误,保证单位一致
}
err = 4;
@ -177,27 +242,44 @@ namespace LeatherApp.Page
{
ProName = record.BarCodeName,
BatchId = record.BatchId,
ReelId = record.ReelId,
ReelId = string.IsNullOrEmpty(record.PartReelId) ? "'" + record.ReelId : $"{record.ReelId}-{record.PartReelId}",
Len = record.Len.ToString(),
Speed = Math.Round(record.Len / record.TimeLen, 2).ToString(),
Grade= Grade,
DateTime = record.CreateTime.ToString("yyyy年MM月dd日 HH:mm")
DateTime = record.CreateTime.ToString("yyyy年MM月dd日 HH:mm"),
UserName = record.UserName,
WorkTeam = record.WorkTeam,
PartNote1 = record.PartReelNote,
PartNote2 = record.PartReelNote2,
};
err = 5;
data.DefectTotal = record.DefectInfoList.GroupBy(x => x.Name).Select(g => new JDefectTotal { Name = g.Key,Count=g.Count() }).ToList();
data.DefectDetail = record.DefectInfoList.Select(x => new JDefectDetail {
Index=x.PhotoIndex,Name=x.Name, X=x.X,Y=Math.Round(x.Y/100.0d,2),Width=x.Width * 10,Height=x.Height * 10,ZXD=x.ZXD,Area=x.Area * 100,Contrast=x.Contrast })
.OrderBy(x=>x.Index).ThenBy(x=>x.Y).ToList();
data.FaceWidthDetail = record.FacePointList.Select(x => new JFaceWidthDetail
{
Y = x[0],
data = x[1],
}).OrderBy(x => x.Y).ThenBy(x => x.Y).ToList();
data.ThicknessDetail = record.ThicknessList.Select(x => new JThicknessDetail
{
Y = x.Y_Dis,
d1 = x.Value1,
d2 = x.Value2,
d3 = x.Value3,
}).OrderBy(x => x.Y).ThenBy(x => x.Y).ToList();
err = 6;
data.Pdt = productService.GetModelNav(record.ProductId);
data.xyPix = $"X:{Config.cm2px_x},Y:{Config.cm2px_y}";
err = 7;
var image0 = captureControl2(this.ucColorListDefect.Controls[0]);
var image1 = captureControl(this.lineChartDefect);
var image2 = captureControl(this.lineChartFaceWidth);
var image3 = captureControl(this.lineChartHouDu);
var filePath = $"{path}缺陷列表_{record.BatchId}_{record.ReelId}.xlsx";
err = 8;
exportTabel(data, image1, image2, filePath);
exportTabel(data, image0, image1, image2, image3, filePath);
//if (!res)
// throw new Exception("导出失败!");
UIMessageTip.ShowOk("导出成功!", 1000);
@ -225,6 +307,7 @@ namespace LeatherApp.Page
if (string.IsNullOrWhiteSpace(path))
return;
var pdt = productService.GetModelNav(record.ProductId);
//var list = uiDataGridView1.DataSource as List<Records>;
//var table = ExcelUtil.ConvertToDataTable<Records>(list);
@ -232,7 +315,7 @@ namespace LeatherApp.Page
var list = record.DefectInfoList;//.Select(x => new { x.Name,x.X,x.Y,x.Width,x.Height,x.Area, x.ZXD}).ToList();
foreach (var item in list)
{
item.Name = Config.getDefectName(item.Code);
item.Name = Config.getDefectName(pdt.ModelName, item.Code);
item.Height = item.Height / 100;
}
@ -280,7 +363,7 @@ namespace LeatherApp.Page
}
}
public void exportTabel(JsonProductDefects ProductDefects, byte[] defectImage, byte[] faceWidthImage,string savePath)
public void exportTabel(JsonProductDefects ProductDefects, byte[] defectlabelImage, byte[] defectImage, byte[] faceWidthImage, byte[] HouduImage, string savePath)
{
//try
//{
@ -289,6 +372,7 @@ namespace LeatherApp.Page
using (var workbook = new XLWorkbook())
{
#region
var wsDefectsDetail = workbook.Worksheets.Add("正面疵点列表");
wsDefectsDetail.RowHeight = 20;
wsDefectsDetail.Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
@ -362,8 +446,9 @@ namespace LeatherApp.Page
row2_cell8.Value = ProductDefects.Len;
row2_cell8.Style = row2_cell2.Style;
//NULL
//操作员
var row2_cell9 = wsDefectsDetail.Row(rowIndex).Cell(cellIndex + 8);
row2_cell9.Value = "操作员";
row2_cell9.Style = row2_cell2.Style;
#endregion
@ -402,6 +487,7 @@ namespace LeatherApp.Page
row3_cell8.Style = row2_cell2.Style;
var row3_cell9 = wsDefectsDetail.Row(rowIndex).Cell(cellIndex + 8);
row3_cell9.Value = ProductDefects.UserName == null ? "": ProductDefects.UserName;
row3_cell9.Style = row2_cell2.Style;
#endregion
@ -439,7 +525,7 @@ namespace LeatherApp.Page
row4_cell8.Value = "采集计数";
row4_cell8.Style = row2_cell1.Style;
var row4_cell9 = wsDefectsDetail.Row(rowIndex).Cell(cellIndex + 8);
row4_cell9.Value = "";
row4_cell9.Value = "班组";
row4_cell9.Style = row2_cell1.Style;
rowIndex++;
@ -465,67 +551,101 @@ namespace LeatherApp.Page
row5_cell8.Value = "";
row5_cell8.Style = row2_cell1.Style;
var row5_cell9 = wsDefectsDetail.Row(rowIndex).Cell(cellIndex + 8);
row5_cell9.Value = "";
row5_cell9.Value = ProductDefects.WorkTeam == null? "": ProductDefects.WorkTeam;
row5_cell9.Style = row2_cell1.Style;
#endregion
#region
#region
rowIndex++;
var row6_cell1 = wsDefectsDetail.Row(rowIndex).Cell(cellIndex);
row6_cell1.Value = "检测结论";
row6_cell1.Style = row2_cell1.Style;
row6_cell1.Style.Font.Bold = true;
row6_cell1.Style.Font.FontSize = 10;
row6_cell1.Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
var row6_cell2 = wsDefectsDetail.Row(rowIndex).Cell(cellIndex + 1);
row6_cell2.Value = ProductDefects.PartNote1 == null ? "" : ProductDefects.PartNote1;
row6_cell2.Style.Font.Bold = true;
row6_cell2.Style.Font.FontSize = 10;
row6_cell2.Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
var mergeRange_row6 = wsDefectsDetail.Range("B6:I6").Row(1).Merge();
mergeRange_row6.Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
rowIndex++;
var row7_cell1 = wsDefectsDetail.Row(rowIndex).Cell(cellIndex);
row7_cell1.Value = "分卷结论";
row7_cell1.Style = row2_cell1.Style;
row7_cell1.Style.Font.Bold = true;
row7_cell1.Style.Font.FontSize = 10;
row7_cell1.Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
var row7_cell2 = wsDefectsDetail.Row(rowIndex).Cell(cellIndex + 1);
row7_cell2.Value = ProductDefects.PartNote2 == null? "": ProductDefects.PartNote2;
row7_cell2.Style.Font.Bold = true;
row7_cell2.Style.Font.FontSize = 10;
row7_cell2.Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
var mergeRange_row7 = wsDefectsDetail.Range("B7:I7").Row(1).Merge();
mergeRange_row7.Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
#endregion
#region
rowIndex++;
if (ProductDefects.DefectTotal != null && ProductDefects.DefectTotal.Count > 0)
{
cellIndex = 1;
int DefectTotalCount = ProductDefects.DefectTotal.Count;
//最少5行固定4列
var row6_cell1 = wsDefectsDetail.Row(rowIndex).Cell(cellIndex);
var row8_cell1 = wsDefectsDetail.Row(rowIndex).Cell(cellIndex);
row6_cell1.Value = "检测参数";
row6_cell1.Style.Font.Bold = true;
row6_cell1.Style.Font.FontSize = 10;
row6_cell1.Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
row8_cell1.Value = "检测参数";
row8_cell1.Style.Font.Bold = true;
row8_cell1.Style.Font.FontSize = 10;
row8_cell1.Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
string cellstr = $"A6:A{7 + ProductDefects.DefectTotal.Count}";
var mergeRange_row6 = wsDefectsDetail.Range(cellstr).Column(1).Merge();
mergeRange_row6.Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
string cellstr = $"A8:A{9 + ProductDefects.DefectTotal.Count}";
var mergeRange_row8 = wsDefectsDetail.Range(cellstr).Column(1).Merge();
mergeRange_row8.Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
var row6_cell2 = wsDefectsDetail.Row(rowIndex).Cell(cellIndex + 1);
var row8_cell2 = wsDefectsDetail.Row(rowIndex).Cell(cellIndex + 1);
row6_cell2.Value = "筛选标准";
row6_cell2.Style.Font.Bold = true;
row6_cell2.Style.Font.FontSize = 10;
row6_cell2.Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
row8_cell2.Value = "筛选标准";
row8_cell2.Style.Font.Bold = true;
row8_cell2.Style.Font.FontSize = 10;
row8_cell2.Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
var mergeRange_row6_2 = wsDefectsDetail.Range($"B6:I6").Row(1).Merge();
mergeRange_row6_2.Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
var mergeRange_row8_2 = wsDefectsDetail.Range($"B8:I8").Row(1).Merge();
mergeRange_row8_2.Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
//第七行
//第
rowIndex++;
var row7_cell2 = wsDefectsDetail.Row(rowIndex).Cell(cellIndex + 1);
row7_cell2.Value = "缺陷类型";
row7_cell2.Style = row2_cell1.Style;
var row7_cell3 = wsDefectsDetail.Row(rowIndex).Cell(cellIndex + 2);
row7_cell3.Value = "置信度";
row7_cell3.Style = row2_cell1.Style;
var row7_cell4 = wsDefectsDetail.Row(rowIndex).Cell(cellIndex + 3);
row7_cell4.Value = "面积";
row7_cell4.Style = row2_cell1.Style;
var row7_cell5 = wsDefectsDetail.Row(rowIndex).Cell(cellIndex + 4);
row7_cell5.Value = "对比度下限";
row7_cell5.Style = row2_cell1.Style;
var row7_cell6 = wsDefectsDetail.Row(rowIndex).Cell(cellIndex + 5);
row7_cell6.Value = "对比度上限";
row7_cell6.Style = row2_cell1.Style;
var row7_cell7 = wsDefectsDetail.Row(rowIndex).Cell(cellIndex + 6);
row7_cell7.Value = "所用模型版本";
row7_cell7.Style = row2_cell1.Style;
var row7_cell8 = wsDefectsDetail.Row(rowIndex).Cell(cellIndex + 7);
row7_cell8.Value = "或向选择";
row7_cell8.Style = row2_cell1.Style;
var row7_cell9 = wsDefectsDetail.Row(rowIndex).Cell(cellIndex + 8);
row7_cell9.Value = "本次检出数量";
row7_cell9.Style = row2_cell1.Style;
var row9_cell2 = wsDefectsDetail.Row(rowIndex).Cell(cellIndex + 1);
row9_cell2.Value = "缺陷类型";
row9_cell2.Style = row2_cell1.Style;
var row9_cell3 = wsDefectsDetail.Row(rowIndex).Cell(cellIndex + 2);
row9_cell3.Value = "置信度";
row9_cell3.Style = row2_cell1.Style;
var row9_cell4 = wsDefectsDetail.Row(rowIndex).Cell(cellIndex + 3);
row9_cell4.Value = "面积";
row9_cell4.Style = row2_cell1.Style;
var row9_cell5 = wsDefectsDetail.Row(rowIndex).Cell(cellIndex + 4);
row9_cell5.Value = "对比度下限";
row9_cell5.Style = row2_cell1.Style;
var row9_cell6 = wsDefectsDetail.Row(rowIndex).Cell(cellIndex + 5);
row9_cell6.Value = "对比度上限";
row9_cell6.Style = row2_cell1.Style;
var row9_cell7 = wsDefectsDetail.Row(rowIndex).Cell(cellIndex + 6);
row9_cell7.Value = "所用模型版本";
row9_cell7.Style = row2_cell1.Style;
var row9_cell8 = wsDefectsDetail.Row(rowIndex).Cell(cellIndex + 7);
row9_cell8.Value = "或向选择";
row9_cell8.Style = row2_cell1.Style;
var row9_cell9 = wsDefectsDetail.Row(rowIndex).Cell(cellIndex + 8);
row9_cell9.Value = "本次检出数量";
row9_cell9.Style = row2_cell1.Style;
//第行之后
//第行之后
rowIndex++;
for (int j = 1; j <= ProductDefects.DefectTotal.Count; j++) // 行
{
@ -543,7 +663,9 @@ namespace LeatherApp.Page
temprowcel2.Style.Font.FontSize = 10;
temprowcel2.Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
var temp = ProductDefects.Pdt.QualifiedLimitList.Find(x => Config.getDefectName(x.Code) == tempItemDefectTotal.Name);
var temp = ProductDefects.Pdt.QualifiedLimitList.Find(x => Config.getDefectName(ProductDefects.Pdt.ModelName, x.Code) == tempItemDefectTotal.Name);
if (temp != null)
{
temprowcel3.Value = temp.ZXD;
temprowcel3.Style.Font.Bold = true;
temprowcel3.Style.Font.FontSize = 10;
@ -573,7 +695,7 @@ namespace LeatherApp.Page
temprowcel8.Style.Font.Bold = true;
temprowcel8.Style.Font.FontSize = 10;
temprowcel8.Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
}
temprowcel9.Value = tempItemDefectTotal.Count;
temprowcel9.Style.Font.FontSize = 10;
temprowcel9.Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
@ -648,16 +770,157 @@ namespace LeatherApp.Page
}
#endregion
#endregion
#region
var wsDefectsImg = workbook.Worksheets.Add("正面疵点分布图");
wsDefectsImg.AddPicture(new MemoryStream(defectImage), "纵向计算")
wsDefectsImg.AddPicture(new MemoryStream(defectlabelImage), "疵点label")
.MoveTo(wsDefectsImg.Cell(1, 1));
wsDefectsImg.AddPicture(new MemoryStream(defectImage), "纵向计算")
.MoveTo(wsDefectsImg.Cell(5, 1));
#endregion
#region 线&
var wsFaceWidthImg = workbook.Worksheets.Add("门幅曲线");
wsFaceWidthImg.AddPicture(new MemoryStream(faceWidthImage), "幅宽曲线图")
.MoveTo(wsFaceWidthImg.Cell(1, 1));
.MoveTo(wsFaceWidthImg.Cell(1, 4));
wsFaceWidthImg.RowHeight = 20;
wsFaceWidthImg.Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
wsFaceWidthImg.Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
wsFaceWidthImg.Style.Font.FontName = "宋体";
rowIndex = 1;
cellIndex = 1;
wsFaceWidthImg.Column("A").Width = 15;
wsFaceWidthImg.Column("B").Width = 15;
#region
row1_cell1 = wsFaceWidthImg.Row(rowIndex).Cell(cellIndex);
row1_cell1.Value = "门幅数据详细列表";
row1_cell1.Style.Font.Bold = true;
row1_cell1.Style.Font.FontSize = 12;
mergeRange_row1 = wsFaceWidthImg.Range("A1:B1").Row(1).Merge();
mergeRange_row1.Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
#endregion
#region
rowIndex++;
row2_cell1 = wsFaceWidthImg.Row(rowIndex).Cell(cellIndex);
row2_cell1.Value = "Y计米距离(m)";
row2_cell1.Style.Font.Bold = true;
row2_cell1.Style.Font.FontSize = 10;
row2_cell1.Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
row2_cell2 = wsFaceWidthImg.Row(rowIndex).Cell(cellIndex + 1);
row2_cell2.Value = "数据(cm)";
row2_cell2.Style = row2_cell1.Style;
#endregion
#region
//第八行之后
rowIndex++;
for (int j = 1; j <= ProductDefects.FaceWidthDetail.Count; j++) // 行
{
var temprowcel1 = wsFaceWidthImg.Row(rowIndex + j - 1).Cell(cellIndex + 0);
var temprowcel2 = wsFaceWidthImg.Row(rowIndex + j - 1).Cell(cellIndex + 1);
temprowcel1.Value = ProductDefects.FaceWidthDetail[j - 1].Y / 100;
temprowcel1.Style.Font.Bold = true;
temprowcel1.Style.Font.FontSize = 10;
temprowcel1.Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
temprowcel2.Value = Math.Round(ProductDefects.FaceWidthDetail[j - 1].data, 3);
temprowcel2.Style.Font.Bold = true;
temprowcel2.Style.Font.FontSize = 10;
temprowcel2.Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
}
#endregion
#endregion
#region
var wsHouDuList = workbook.Worksheets.Add("测厚数据列表");
if (ProductDefects.ThicknessDetail != null && ProductDefects.ThicknessDetail.Count > 0)
{
wsHouDuList.AddPicture(new MemoryStream(HouduImage), "厚度曲线图")
.MoveTo(wsHouDuList.Cell(1, 6));
wsHouDuList.RowHeight = 20;
wsHouDuList.Style.Alignment.Horizontal = XLAlignmentHorizontalValues.Center;
wsHouDuList.Style.Alignment.Vertical = XLAlignmentVerticalValues.Center;
wsHouDuList.Style.Font.FontName = "宋体";
rowIndex = 1;
cellIndex = 1;
wsHouDuList.Column("A").Width = 15;
wsHouDuList.Column("B").Width = 15;
wsHouDuList.Column("C").Width = 15;
wsHouDuList.Column("D").Width = 15;
#region
row1_cell1 = wsHouDuList.Row(rowIndex).Cell(cellIndex);
row1_cell1.Value = "测厚数据详细列表";
row1_cell1.Style.Font.Bold = true;
row1_cell1.Style.Font.FontSize = 12;
mergeRange_row1 = wsHouDuList.Range("A1:D1").Row(1).Merge();
mergeRange_row1.Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
#endregion
#region
rowIndex++;
row2_cell1 = wsHouDuList.Row(rowIndex).Cell(cellIndex);
row2_cell1.Value = "Y计米距离(m)";
row2_cell1.Style.Font.Bold = true;
row2_cell1.Style.Font.FontSize = 10;
row2_cell1.Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
row2_cell2 = wsHouDuList.Row(rowIndex).Cell(cellIndex + 1);
row2_cell2.Value = "数据1";
row2_cell2.Style = row2_cell1.Style;
row2_cell3 = wsHouDuList.Row(rowIndex).Cell(cellIndex + 2);
row2_cell3.Value = "数据2";
row2_cell3.Style = row2_cell1.Style;
row2_cell4 = wsHouDuList.Row(rowIndex).Cell(cellIndex + 3);
row2_cell4.Value = "数据3";
row2_cell4.Style = row2_cell1.Style;
#endregion
#region
//第八行之后
rowIndex++;
for (int j = 1; j <= ProductDefects.ThicknessDetail.Count; j++) // 行
{
var temprowcel1 = wsHouDuList.Row(rowIndex + j - 1).Cell(cellIndex + 0);
var temprowcel2 = wsHouDuList.Row(rowIndex + j - 1).Cell(cellIndex + 1);
var temprowcel3 = wsHouDuList.Row(rowIndex + j - 1).Cell(cellIndex + 2);
var temprowcel4 = wsHouDuList.Row(rowIndex + j - 1).Cell(cellIndex + 3);
temprowcel1.Value = ProductDefects.ThicknessDetail[j - 1].Y / 100;
temprowcel1.Style.Font.Bold = true;
temprowcel1.Style.Font.FontSize = 10;
temprowcel1.Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
temprowcel2.Value = ProductDefects.ThicknessDetail[j - 1].d1;
temprowcel2.Style.Font.Bold = true;
temprowcel2.Style.Font.FontSize = 10;
temprowcel2.Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
temprowcel3.Value = ProductDefects.ThicknessDetail[j - 1].d2;
temprowcel3.Style.Font.Bold = true;
temprowcel3.Style.Font.FontSize = 10;
temprowcel3.Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
temprowcel4.Value = ProductDefects.ThicknessDetail[j - 1].d3;
temprowcel4.Style.Font.Bold = true;
temprowcel4.Style.Font.FontSize = 10;
temprowcel4.Style.Border.OutsideBorder = XLBorderStyleValues.Thin;
}
#endregion
}
#endregion
workbook.SaveAs(savePath);
}
@ -710,11 +973,27 @@ namespace LeatherApp.Page
public List<JDefectTotal> DefectTotal = new List<JDefectTotal>();
public List<JDefectDetail> DefectDetail = new List<JDefectDetail>();
[Description("门幅统计")]
public List<JFaceWidthDetail> FaceWidthDetail = new List<JFaceWidthDetail>();
[Description("测厚统计")]
public List<JThicknessDetail> ThicknessDetail = new List<JThicknessDetail>();
[Description("检测设置")]
public Product Pdt { get; set; }
[Description("物面分辨率")]
public string xyPix { get; set; }
[Description("操作员")]
public string UserName { get; set; }
[Description("班组")]
public string WorkTeam { get; set; }
[Description("分卷信息1")]
public string PartNote1 { get; set; }
[Description("分卷信息2")]
public string PartNote2 { get; set; }
}
public class JDefectTotal
{
@ -745,8 +1024,24 @@ namespace LeatherApp.Page
[Description("对比度")]
public double Contrast { get; set; }
}
public class JThicknessDetail
{
[Description("Y(米)")]
public double Y { get; set; }
[Description("数据1")]
public double d1 { get; set; }
[Description("数据2")]
public double d2 { get; set; }
[Description("数据3")]
public double d3 { get; set; }
}
public class JFaceWidthDetail
{
[Description("Y(米)")]
public double Y { get; set; }
[Description("数据")]
public double data { get; set; }
}
//
/// <summary>
/// 重新生成缺陷分布(cm2M在内部转换)
@ -754,7 +1049,7 @@ namespace LeatherApp.Page
/// <param name="lstDefectInfo">Records.DefectInfoList</param>
/// <param name="XSizeRange">幅宽</param>
/// <param name="YSizeRange">卷长度</param>
private void reDrawDefectPoints(List<DefectInfo> lstDefectInfo, double[] XSizeRange, double[] YSizeRange)
private void reDrawDefectPoints(string modelname, List<DefectInfo> lstDefectInfo, double[] XSizeRange, double[] YSizeRange)
{
UILineOption option;
//AddTextEvent($"绘图", $"缺陷分布, W={string.Join(", ", XSizeRange)},H={string.Join(", ", YSizeRange)}, LastData={JsonConvert.SerializeObject(lstDefectInfo[lstDefectInfo.Count - 1])}");
@ -806,7 +1101,7 @@ namespace LeatherApp.Page
if (preCode != item.Code)//加一组新类型及样式
{
preCode = item.Code;
var one = Config.getDefectItem(item.Code);
var one = Config.getDefectItem(modelname, item.Code);
if (one == null)
{
continue;
@ -911,7 +1206,101 @@ namespace LeatherApp.Page
this.lineChartFaceWidth.SetOption(option);
//}));
}
/// <summary>
/// 重新会者厚度
/// </summary>
/// <param name="HDpoints"></param>
/// <param name="XSizeRange"></param>
/// <param name="YSizeRange"></param>
private void reDrawHouDu(List<Thickness> HDpoints, double[] XSizeRange, double[] YSizeRange)
{
//AddTextEvent(DateTime.Now,$"绘图", $"门幅宽度, W={string.Join(", ", XSizeRange)},H={string.Join(", ", YSizeRange)}, LastData={JsonConvert.SerializeObject(points[points.Count-1])}");
if (YSizeRange[0] == YSizeRange[1])
{
YSizeRange[0] -= YSizeRange[0] / 10f;
YSizeRange[1] += YSizeRange[1] / 10f;
}
XSizeRange[0] /= 100;
XSizeRange[1] /= 100;
//防止超限
XSizeRange[1] += 0.01;
YSizeRange[1] += 0.1;
UILineOption option = new UILineOption();
option.XAxis.Name = "长度(米)";
option.YAxis.Name = "厚度(mm)";
option.Grid.Top = 20;
option.Grid.Right = 20;
//X轴数据类型
option.XAxisType = UIAxisType.Value;
//设置X/Y轴显示范围
option.XAxis.SetRange(XSizeRange[0], XSizeRange[1]);
option.YAxis.SetRange(YSizeRange[0], YSizeRange[1]);
//坐标轴显示小数位数
option.XAxis.AxisLabel.DecimalPlaces = option.YAxis.AxisLabel.DecimalPlaces = 1;
//X/Y轴画参考线
//option.YAxisScaleLines.Add(new UIScaleLine("上限", 3.5, Color.Red));
//option.YAxisScaleLines.Add(new UIScaleLine("下限", 2.2, Color.Gold));
//option.XAxisScaleLines.Add(new UIScaleLine(dt.AddHours(3).DateTimeString(), dt.AddHours(3), Color.Red));
//option.XAxisScaleLines.Add(new UIScaleLine(dt.AddHours(6).DateTimeString(), dt.AddHours(6), Color.Red));
option.ToolTip.Visible = true;
//option.ToolTip.Formatter = "怎么自定义X,Y显示名称{X}";
option.Title = new UITitle();
option.Title.Text = "";
option.Title.SubText = "";
Color color1 = Color.Blue;
UILineSeries series1 = null;
series1 = option.AddSeries(new UILineSeries("厚度1", color1));
series1.Symbol = UILinePointSymbol.Circle;
series1.ShowLine = true;
series1.SymbolSize = 1;//4
series1.SymbolLineWidth = 1;//2
series1.SymbolColor = color1;
series1.XAxisDecimalPlaces = 2;
series1.YAxisDecimalPlaces = 1;
Color color2 = Color.Red;
UILineSeries series2 = null;
series2 = option.AddSeries(new UILineSeries("厚度2", color2));
series2.Symbol = UILinePointSymbol.Circle;
series2.ShowLine = true;
series2.SymbolSize = 1;//4
series2.SymbolLineWidth = 1;//2
series2.SymbolColor = color2;
series2.XAxisDecimalPlaces = 2;
series2.YAxisDecimalPlaces = 1;
Color color3 = Color.Green;
UILineSeries series3 = null;
series3 = option.AddSeries(new UILineSeries("厚度3", color3));
series3.Symbol = UILinePointSymbol.Circle;
series3.ShowLine = true;
series3.SymbolSize = 1;//4
series3.SymbolLineWidth = 1;//2
series3.SymbolColor = color3;
series3.XAxisDecimalPlaces = 2;
series3.YAxisDecimalPlaces = 1;
double x;
foreach (var item in HDpoints)
{
x = item.Y_Dis / 100; //cm -> m
series1.Add(x, item.Value1);
series2.Add(x, item.Value2);
series3.Add(x, item.Value3);
}
//====
//option.GreaterWarningArea = new UILineWarningArea(3.5);
//option.LessWarningArea = new UILineWarningArea(2.2, Color.Gold);
//this.BeginInvoke(new System.Action(() =>
//{
this.lineChartHouDu.SetOption(option);
//}));
}
// 截图操作函数
private byte[] captureControl(Control control)
{
@ -930,10 +1319,38 @@ namespace LeatherApp.Page
//bitmap.Save(@"C:\Images\Capture.jpg", ImageFormat.Jpeg);
//return Image.FromStream(new MemoryStream(bytes));
}
private byte[] captureControl2(Control control)
{
Bitmap bmp = new Bitmap(control.Width, control.Height);
Graphics graphics = Graphics.FromImage(bmp);
Rectangle rectangle = new Rectangle(0, 0, control.Width, control.Height);
//control.DrawToBitmap(bmp, rectangle);
foreach (Control ctr in control.Controls)
{
rectangle = new Rectangle(ctr.Top, ctr.Left, ctr.Width, ctr.Height);
ctr.DrawToBitmap(bmp, rectangle);
}
//bmp to jpg
MemoryStream ms = new MemoryStream();
bmp.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg);//bmp是已经获得的bitmap数据
byte[] bytes = ms.GetBuffer();
ms.Close();
graphics.Dispose();
return bytes;
//bitmap.Save(@"C:\Images\Capture.jpg", ImageFormat.Jpeg);
//return Image.FromStream(new MemoryStream(bytes));
}
private void btnChar_Click(object sender, EventArgs e)
{
Frame.SelectPage(1004);
}
private void uiDataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
}
}
}

View File

@ -138,6 +138,9 @@
<metadata name="colReelId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="PartReel.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colLen.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
@ -147,4 +150,10 @@
<metadata name="colGrade.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="UserNane.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="BanZuCol.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>

View File

@ -1,4 +1,5 @@
using Sunny.UI;
using Newtonsoft.Json.Linq;
using Sunny.UI;
using System.Collections.Generic;
using System.Linq;
@ -7,14 +8,18 @@ namespace LeatherApp.Page
public partial class FSelDefect : UIEditForm
{
public List<string> lstCodes = new List<string>();
public FSelDefect(List<string> codes)
private string _modelName;
public FSelDefect(string modelName, List<string> codes)
{
InitializeComponent();
init(codes);
_modelName = modelName;
init(modelName, codes);
}
private void init(List<string> codes)
private void init(string modelName, List<string> codes)
{
var list = Config.defectItemList.Select(x => new { code = x.Value<string>("code"), name = x.Value<string>("name") }).ToList();
JArray defectItemList;
Config.LoadModelDefectItemList(modelName, out defectItemList);
var list = defectItemList.Select(x => new { code = x.Value<string>("code"), name = x.Value<string>("name") }).ToList();
foreach(var item in list)
{
UICheckBox uiCheckbox=new UICheckBox();

View File

@ -38,6 +38,8 @@
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FSysSetting));
this.uiTitlePanel3 = new Sunny.UI.UITitlePanel();
this.uiPanel1 = new Sunny.UI.UIPanel();
this.Banzu = new Sunny.UI.UITextBox();
this.uiLabel20 = new Sunny.UI.UILabel();
this.ckbUserState = new Sunny.UI.UICheckBox();
this.fpnUserOpBtns = new Sunny.UI.UIFlowLayoutPanel();
this.btnUserNew = new Sunny.UI.UISymbolButton();
@ -63,9 +65,16 @@
this.colCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colDefectName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colRoleName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.BanZuCol = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colState = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colCreateTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.uiTitlePanel1 = new Sunny.UI.UITitlePanel();
this.chIP = new Sunny.UI.UITextBox();
this.uiLabel23 = new Sunny.UI.UILabel();
this.uiSymbolButton2 = new Sunny.UI.UISymbolButton();
this.uiSymbolButton1 = new Sunny.UI.UISymbolButton();
this.cmbJM_PortName = new Sunny.UI.UIComboBox();
this.uiLabel3 = new Sunny.UI.UILabel();
this.btnMinReload1 = new Sunny.UI.UISymbolButton();
this.cmbLight_PortName = new Sunny.UI.UIComboBox();
this.btnMinSave1 = new Sunny.UI.UISymbolButton();
@ -73,6 +82,15 @@
this.uiLabel2 = new Sunny.UI.UILabel();
this.uiLabel1 = new Sunny.UI.UILabel();
this.uiTitlePanel2 = new Sunny.UI.UITitlePanel();
this.numRM = new Sunny.UI.UINumPadTextBox();
this.uiLabel26 = new Sunny.UI.UILabel();
this.uiLabel27 = new Sunny.UI.UILabel();
this.numKanban = new Sunny.UI.UINumPadTextBox();
this.uiLabel24 = new Sunny.UI.UILabel();
this.uiLabel25 = new Sunny.UI.UILabel();
this.numCutDis = new Sunny.UI.UINumPadTextBox();
this.uiLabel21 = new Sunny.UI.UILabel();
this.uiLabel22 = new Sunny.UI.UILabel();
this.numMiddleSuperposition = new Sunny.UI.UINumPadTextBox();
this.uiLabel18 = new Sunny.UI.UILabel();
this.btnMinReload2 = new Sunny.UI.UISymbolButton();
@ -88,6 +106,12 @@
this.uiLabel5 = new Sunny.UI.UILabel();
this.uiLabel6 = new Sunny.UI.UILabel();
this.uiTitlePanel4 = new Sunny.UI.UITitlePanel();
this.uiLabel28 = new Sunny.UI.UILabel();
this.clearDays = new Sunny.UI.UINumPadTextBox();
this.cbClear = new Sunny.UI.UICheckBox();
this.cbJM = new Sunny.UI.UICheckBox();
this.cbHD = new Sunny.UI.UICheckBox();
this.cbJinShu = new Sunny.UI.UICheckBox();
this.btnMinReload = new Sunny.UI.UISymbolButton();
this.btnMinSave = new Sunny.UI.UISymbolButton();
this.ckbSaveDefectCutImage = new Sunny.UI.UICheckBox();
@ -98,10 +122,6 @@
this.uiLabel9 = new Sunny.UI.UILabel();
this.uiLabel10 = new Sunny.UI.UILabel();
this.uiToolTip1 = new Sunny.UI.UIToolTip(this.components);
this.cmbJM_PortName = new Sunny.UI.UIComboBox();
this.uiLabel3 = new Sunny.UI.UILabel();
this.uiSymbolButton1 = new Sunny.UI.UISymbolButton();
this.uiSymbolButton2 = new Sunny.UI.UISymbolButton();
this.uiTitlePanel3.SuspendLayout();
this.uiPanel1.SuspendLayout();
this.fpnUserOpBtns.SuspendLayout();
@ -129,7 +149,7 @@
this.uiTitlePanel3.Name = "uiTitlePanel3";
this.uiTitlePanel3.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
this.uiTitlePanel3.ShowText = false;
this.uiTitlePanel3.Size = new System.Drawing.Size(1180, 629);
this.uiTitlePanel3.Size = new System.Drawing.Size(1180, 559);
this.uiTitlePanel3.Style = Sunny.UI.UIStyle.Custom;
this.uiTitlePanel3.TabIndex = 2;
this.uiTitlePanel3.Text = "用户管理";
@ -140,6 +160,8 @@
//
this.uiPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.uiPanel1.Controls.Add(this.Banzu);
this.uiPanel1.Controls.Add(this.uiLabel20);
this.uiPanel1.Controls.Add(this.ckbUserState);
this.uiPanel1.Controls.Add(this.fpnUserOpBtns);
this.uiPanel1.Controls.Add(this.pnlUserPassword);
@ -156,18 +178,48 @@
this.uiPanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPanel1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPanel1.Name = "uiPanel1";
this.uiPanel1.Size = new System.Drawing.Size(338, 573);
this.uiPanel1.Size = new System.Drawing.Size(338, 516);
this.uiPanel1.Style = Sunny.UI.UIStyle.Custom;
this.uiPanel1.TabIndex = 2;
this.uiPanel1.Text = null;
this.uiPanel1.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
//
// Banzu
//
this.Banzu.ButtonSymbolOffset = new System.Drawing.Point(0, 0);
this.Banzu.Cursor = System.Windows.Forms.Cursors.IBeam;
this.Banzu.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Banzu.Location = new System.Drawing.Point(129, 170);
this.Banzu.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.Banzu.MinimumSize = new System.Drawing.Size(1, 16);
this.Banzu.Name = "Banzu";
this.Banzu.Padding = new System.Windows.Forms.Padding(5);
this.Banzu.ShowText = false;
this.Banzu.Size = new System.Drawing.Size(190, 29);
this.Banzu.Style = Sunny.UI.UIStyle.Custom;
this.Banzu.TabIndex = 9;
this.Banzu.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.Banzu.Watermark = "";
//
// uiLabel20
//
this.uiLabel20.AutoSize = true;
this.uiLabel20.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel20.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel20.Location = new System.Drawing.Point(12, 172);
this.uiLabel20.Name = "uiLabel20";
this.uiLabel20.Size = new System.Drawing.Size(42, 21);
this.uiLabel20.Style = Sunny.UI.UIStyle.Custom;
this.uiLabel20.TabIndex = 8;
this.uiLabel20.Text = "班组";
this.uiLabel20.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// ckbUserState
//
this.ckbUserState.Cursor = System.Windows.Forms.Cursors.Hand;
this.ckbUserState.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ckbUserState.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.ckbUserState.Location = new System.Drawing.Point(129, 168);
this.ckbUserState.Location = new System.Drawing.Point(129, 207);
this.ckbUserState.MinimumSize = new System.Drawing.Size(1, 1);
this.ckbUserState.Name = "ckbUserState";
this.ckbUserState.Size = new System.Drawing.Size(150, 29);
@ -182,14 +234,14 @@
this.fpnUserOpBtns.Controls.Add(this.btnUserDel);
this.fpnUserOpBtns.Controls.Add(this.btnResetPassword);
this.fpnUserOpBtns.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.fpnUserOpBtns.Location = new System.Drawing.Point(5, 361);
this.fpnUserOpBtns.Location = new System.Drawing.Point(5, 396);
this.fpnUserOpBtns.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.fpnUserOpBtns.MinimumSize = new System.Drawing.Size(1, 1);
this.fpnUserOpBtns.Name = "fpnUserOpBtns";
this.fpnUserOpBtns.Padding = new System.Windows.Forms.Padding(2);
this.fpnUserOpBtns.RectSides = System.Windows.Forms.ToolStripStatusLabelBorderSides.None;
this.fpnUserOpBtns.ShowText = false;
this.fpnUserOpBtns.Size = new System.Drawing.Size(323, 150);
this.fpnUserOpBtns.Size = new System.Drawing.Size(323, 116);
this.fpnUserOpBtns.Style = Sunny.UI.UIStyle.Custom;
this.fpnUserOpBtns.TabIndex = 6;
this.fpnUserOpBtns.Text = "uiFlowLayoutPanel1";
@ -300,7 +352,7 @@
this.pnlUserPassword.Controls.Add(this.uiLabel13);
this.pnlUserPassword.Controls.Add(this.txtPassword2);
this.pnlUserPassword.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.pnlUserPassword.Location = new System.Drawing.Point(5, 251);
this.pnlUserPassword.Location = new System.Drawing.Point(5, 290);
this.pnlUserPassword.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.pnlUserPassword.MinimumSize = new System.Drawing.Size(1, 1);
this.pnlUserPassword.Name = "pnlUserPassword";
@ -431,7 +483,7 @@
this.txtUserNote.ButtonSymbolOffset = new System.Drawing.Point(0, 0);
this.txtUserNote.Cursor = System.Windows.Forms.Cursors.IBeam;
this.txtUserNote.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtUserNote.Location = new System.Drawing.Point(129, 209);
this.txtUserNote.Location = new System.Drawing.Point(129, 248);
this.txtUserNote.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.txtUserNote.MinimumSize = new System.Drawing.Size(1, 16);
this.txtUserNote.Name = "txtUserNote";
@ -465,7 +517,7 @@
this.uiLabel15.AutoSize = true;
this.uiLabel15.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel15.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel15.Location = new System.Drawing.Point(12, 210);
this.uiLabel15.Location = new System.Drawing.Point(12, 249);
this.uiLabel15.Name = "uiLabel15";
this.uiLabel15.Size = new System.Drawing.Size(42, 21);
this.uiLabel15.Style = Sunny.UI.UIStyle.Custom;
@ -504,7 +556,7 @@
this.uiPagination1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.uiPagination1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiPagination1.Location = new System.Drawing.Point(351, 589);
this.uiPagination1.Location = new System.Drawing.Point(351, 519);
this.uiPagination1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiPagination1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiPagination1.Name = "uiPagination1";
@ -540,6 +592,7 @@
this.colCode,
this.colDefectName,
this.colRoleName,
this.BanZuCol,
this.colState,
this.colCreateTime});
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
@ -573,9 +626,8 @@
dataGridViewCellStyle6.SelectionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiDataGridView1.RowsDefaultCellStyle = dataGridViewCellStyle6;
this.uiDataGridView1.RowTemplate.Height = 30;
this.uiDataGridView1.ScrollBarStyleInherited = false;
this.uiDataGridView1.SelectedIndex = -1;
this.uiDataGridView1.Size = new System.Drawing.Size(822, 546);
this.uiDataGridView1.Size = new System.Drawing.Size(822, 476);
this.uiDataGridView1.Style = Sunny.UI.UIStyle.Custom;
this.uiDataGridView1.TabIndex = 0;
//
@ -613,6 +665,13 @@
this.colRoleName.ReadOnly = true;
this.colRoleName.Width = 150;
//
// BanZuCol
//
this.BanZuCol.DataPropertyName = "WorkTeam";
this.BanZuCol.HeaderText = "班组";
this.BanZuCol.Name = "BanZuCol";
this.BanZuCol.ReadOnly = true;
//
// colState
//
this.colState.DataPropertyName = "State";
@ -639,6 +698,8 @@
// uiTitlePanel1
//
this.uiTitlePanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.uiTitlePanel1.Controls.Add(this.chIP);
this.uiTitlePanel1.Controls.Add(this.uiLabel23);
this.uiTitlePanel1.Controls.Add(this.uiSymbolButton2);
this.uiTitlePanel1.Controls.Add(this.uiSymbolButton1);
this.uiTitlePanel1.Controls.Add(this.cmbJM_PortName);
@ -652,19 +713,116 @@
this.uiTitlePanel1.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(251)))), ((int)(((byte)(250)))));
this.uiTitlePanel1.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(251)))), ((int)(((byte)(250)))));
this.uiTitlePanel1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTitlePanel1.Location = new System.Drawing.Point(4, 643);
this.uiTitlePanel1.Location = new System.Drawing.Point(4, 568);
this.uiTitlePanel1.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiTitlePanel1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTitlePanel1.Name = "uiTitlePanel1";
this.uiTitlePanel1.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
this.uiTitlePanel1.ShowText = false;
this.uiTitlePanel1.Size = new System.Drawing.Size(357, 272);
this.uiTitlePanel1.Size = new System.Drawing.Size(357, 347);
this.uiTitlePanel1.Style = Sunny.UI.UIStyle.Custom;
this.uiTitlePanel1.TabIndex = 3;
this.uiTitlePanel1.Text = "外设设置";
this.uiTitlePanel1.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.uiTitlePanel1.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
//
// chIP
//
this.chIP.ButtonSymbolOffset = new System.Drawing.Point(0, 0);
this.chIP.Cursor = System.Windows.Forms.Cursors.IBeam;
this.chIP.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.chIP.Location = new System.Drawing.Point(126, 205);
this.chIP.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.chIP.MinimumSize = new System.Drawing.Size(1, 16);
this.chIP.Name = "chIP";
this.chIP.Padding = new System.Windows.Forms.Padding(5);
this.chIP.ShowText = false;
this.chIP.Size = new System.Drawing.Size(219, 29);
this.chIP.Style = Sunny.UI.UIStyle.Custom;
this.chIP.TabIndex = 111;
this.chIP.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.chIP.Watermark = "";
//
// uiLabel23
//
this.uiLabel23.AutoSize = true;
this.uiLabel23.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel23.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel23.Location = new System.Drawing.Point(9, 204);
this.uiLabel23.Name = "uiLabel23";
this.uiLabel23.Size = new System.Drawing.Size(57, 21);
this.uiLabel23.Style = Sunny.UI.UIStyle.Custom;
this.uiLabel23.TabIndex = 110;
this.uiLabel23.Text = "测厚IP";
this.uiLabel23.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiSymbolButton2
//
this.uiSymbolButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton2.Image = ((System.Drawing.Image)(resources.GetObject("uiSymbolButton2.Image")));
this.uiSymbolButton2.Location = new System.Drawing.Point(194, 264);
this.uiSymbolButton2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton2.Name = "uiSymbolButton2";
this.uiSymbolButton2.Size = new System.Drawing.Size(153, 49);
this.uiSymbolButton2.StyleCustomMode = true;
this.uiSymbolButton2.Symbol = 61462;
this.uiSymbolButton2.SymbolOffset = new System.Drawing.Point(0, 3);
this.uiSymbolButton2.TabIndex = 109;
this.uiSymbolButton2.Text = "数据库导入";
this.uiSymbolButton2.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton2.Click += new System.EventHandler(this.uiSymbolButton2_Click);
//
// uiSymbolButton1
//
this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton1.Image = ((System.Drawing.Image)(resources.GetObject("uiSymbolButton1.Image")));
this.uiSymbolButton1.Location = new System.Drawing.Point(14, 264);
this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton1.Name = "uiSymbolButton1";
this.uiSymbolButton1.Size = new System.Drawing.Size(153, 49);
this.uiSymbolButton1.StyleCustomMode = true;
this.uiSymbolButton1.Symbol = 61462;
this.uiSymbolButton1.SymbolOffset = new System.Drawing.Point(0, 3);
this.uiSymbolButton1.TabIndex = 108;
this.uiSymbolButton1.Text = "数据库备份";
this.uiSymbolButton1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton1.Click += new System.EventHandler(this.uiSymbolButton1_Click);
//
// cmbJM_PortName
//
this.cmbJM_PortName.DataSource = null;
this.cmbJM_PortName.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList;
this.cmbJM_PortName.FillColor = System.Drawing.Color.White;
this.cmbJM_PortName.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.cmbJM_PortName.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(200)))), ((int)(((byte)(255)))));
this.cmbJM_PortName.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.cmbJM_PortName.Location = new System.Drawing.Point(125, 101);
this.cmbJM_PortName.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.cmbJM_PortName.MinimumSize = new System.Drawing.Size(63, 0);
this.cmbJM_PortName.Name = "cmbJM_PortName";
this.cmbJM_PortName.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.cmbJM_PortName.Size = new System.Drawing.Size(219, 29);
this.cmbJM_PortName.Style = Sunny.UI.UIStyle.Custom;
this.cmbJM_PortName.TabIndex = 107;
this.cmbJM_PortName.Text = "uiComboBox1";
this.cmbJM_PortName.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.cmbJM_PortName.Watermark = "";
//
// uiLabel3
//
this.uiLabel3.AutoSize = true;
this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel3.Location = new System.Drawing.Point(8, 100);
this.uiLabel3.Name = "uiLabel3";
this.uiLabel3.Size = new System.Drawing.Size(74, 21);
this.uiLabel3.Style = Sunny.UI.UIStyle.Custom;
this.uiLabel3.TabIndex = 106;
this.uiLabel3.Text = "计米端口";
this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// btnMinReload1
//
this.btnMinReload1.Cursor = System.Windows.Forms.Cursors.Hand;
@ -765,6 +923,15 @@
// uiTitlePanel2
//
this.uiTitlePanel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
this.uiTitlePanel2.Controls.Add(this.numRM);
this.uiTitlePanel2.Controls.Add(this.uiLabel26);
this.uiTitlePanel2.Controls.Add(this.uiLabel27);
this.uiTitlePanel2.Controls.Add(this.numKanban);
this.uiTitlePanel2.Controls.Add(this.uiLabel24);
this.uiTitlePanel2.Controls.Add(this.uiLabel25);
this.uiTitlePanel2.Controls.Add(this.numCutDis);
this.uiTitlePanel2.Controls.Add(this.uiLabel21);
this.uiTitlePanel2.Controls.Add(this.uiLabel22);
this.uiTitlePanel2.Controls.Add(this.numMiddleSuperposition);
this.uiTitlePanel2.Controls.Add(this.uiLabel18);
this.uiTitlePanel2.Controls.Add(this.btnMinReload2);
@ -782,24 +949,152 @@
this.uiTitlePanel2.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(251)))), ((int)(((byte)(250)))));
this.uiTitlePanel2.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(251)))), ((int)(((byte)(250)))));
this.uiTitlePanel2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTitlePanel2.Location = new System.Drawing.Point(369, 643);
this.uiTitlePanel2.Location = new System.Drawing.Point(369, 573);
this.uiTitlePanel2.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiTitlePanel2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTitlePanel2.Name = "uiTitlePanel2";
this.uiTitlePanel2.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
this.uiTitlePanel2.ShowText = false;
this.uiTitlePanel2.Size = new System.Drawing.Size(357, 272);
this.uiTitlePanel2.Size = new System.Drawing.Size(357, 342);
this.uiTitlePanel2.Style = Sunny.UI.UIStyle.Custom;
this.uiTitlePanel2.TabIndex = 3;
this.uiTitlePanel2.Text = "软件设置";
this.uiTitlePanel2.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.uiTitlePanel2.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
//
// numRM
//
this.numRM.DecimalPlaces = 0;
this.numRM.FillColor = System.Drawing.Color.White;
this.numRM.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.numRM.Location = new System.Drawing.Point(204, 296);
this.numRM.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.numRM.MinimumSize = new System.Drawing.Size(63, 0);
this.numRM.Name = "numRM";
this.numRM.NumPadType = Sunny.UI.NumPadType.Double;
this.numRM.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.numRM.Size = new System.Drawing.Size(113, 29);
this.numRM.Style = Sunny.UI.UIStyle.Custom;
this.numRM.TabIndex = 116;
this.numRM.Text = "0";
this.numRM.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.numRM.Watermark = "";
//
// uiLabel26
//
this.uiLabel26.AutoSize = true;
this.uiLabel26.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel26.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel26.Location = new System.Drawing.Point(11, 296);
this.uiLabel26.Name = "uiLabel26";
this.uiLabel26.Size = new System.Drawing.Size(106, 21);
this.uiLabel26.Style = Sunny.UI.UIStyle.Custom;
this.uiLabel26.TabIndex = 115;
this.uiLabel26.Text = "剩余报警米数";
this.uiLabel26.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel27
//
this.uiLabel27.AutoSize = true;
this.uiLabel27.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel27.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel27.Location = new System.Drawing.Point(329, 301);
this.uiLabel27.Name = "uiLabel27";
this.uiLabel27.Size = new System.Drawing.Size(20, 17);
this.uiLabel27.Style = Sunny.UI.UIStyle.Custom;
this.uiLabel27.TabIndex = 114;
this.uiLabel27.Text = "米";
this.uiLabel27.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// numKanban
//
this.numKanban.FillColor = System.Drawing.Color.White;
this.numKanban.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.numKanban.Location = new System.Drawing.Point(204, 218);
this.numKanban.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.numKanban.MinimumSize = new System.Drawing.Size(63, 0);
this.numKanban.Name = "numKanban";
this.numKanban.NumPadType = Sunny.UI.NumPadType.Double;
this.numKanban.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.numKanban.Size = new System.Drawing.Size(113, 29);
this.numKanban.Style = Sunny.UI.UIStyle.Custom;
this.numKanban.TabIndex = 113;
this.numKanban.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.numKanban.Watermark = "";
//
// uiLabel24
//
this.uiLabel24.AutoSize = true;
this.uiLabel24.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel24.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel24.Location = new System.Drawing.Point(11, 218);
this.uiLabel24.Name = "uiLabel24";
this.uiLabel24.Size = new System.Drawing.Size(186, 21);
this.uiLabel24.Style = Sunny.UI.UIStyle.Custom;
this.uiLabel24.TabIndex = 112;
this.uiLabel24.Text = "看板位置到检测位置距离";
this.uiLabel24.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel25
//
this.uiLabel25.AutoSize = true;
this.uiLabel25.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel25.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel25.Location = new System.Drawing.Point(329, 223);
this.uiLabel25.Name = "uiLabel25";
this.uiLabel25.Size = new System.Drawing.Size(20, 17);
this.uiLabel25.Style = Sunny.UI.UIStyle.Custom;
this.uiLabel25.TabIndex = 111;
this.uiLabel25.Text = "米";
this.uiLabel25.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// numCutDis
//
this.numCutDis.FillColor = System.Drawing.Color.White;
this.numCutDis.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.numCutDis.Location = new System.Drawing.Point(204, 257);
this.numCutDis.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.numCutDis.MinimumSize = new System.Drawing.Size(63, 0);
this.numCutDis.Name = "numCutDis";
this.numCutDis.NumPadType = Sunny.UI.NumPadType.Double;
this.numCutDis.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.numCutDis.Size = new System.Drawing.Size(113, 29);
this.numCutDis.Style = Sunny.UI.UIStyle.Custom;
this.numCutDis.TabIndex = 110;
this.numCutDis.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.numCutDis.Watermark = "";
//
// uiLabel21
//
this.uiLabel21.AutoSize = true;
this.uiLabel21.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel21.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel21.Location = new System.Drawing.Point(11, 257);
this.uiLabel21.Name = "uiLabel21";
this.uiLabel21.Size = new System.Drawing.Size(186, 21);
this.uiLabel21.Style = Sunny.UI.UIStyle.Custom;
this.uiLabel21.TabIndex = 109;
this.uiLabel21.Text = "分卷位置到检测位置距离";
this.uiLabel21.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel22
//
this.uiLabel22.AutoSize = true;
this.uiLabel22.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel22.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel22.Location = new System.Drawing.Point(329, 262);
this.uiLabel22.Name = "uiLabel22";
this.uiLabel22.Size = new System.Drawing.Size(20, 17);
this.uiLabel22.Style = Sunny.UI.UIStyle.Custom;
this.uiLabel22.TabIndex = 108;
this.uiLabel22.Text = "米";
this.uiLabel22.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// numMiddleSuperposition
//
this.numMiddleSuperposition.FillColor = System.Drawing.Color.White;
this.numMiddleSuperposition.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.numMiddleSuperposition.Location = new System.Drawing.Point(124, 208);
this.numMiddleSuperposition.Location = new System.Drawing.Point(124, 178);
this.numMiddleSuperposition.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.numMiddleSuperposition.MinimumSize = new System.Drawing.Size(63, 0);
this.numMiddleSuperposition.Name = "numMiddleSuperposition";
@ -816,7 +1111,7 @@
this.uiLabel18.AutoSize = true;
this.uiLabel18.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel18.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel18.Location = new System.Drawing.Point(11, 208);
this.uiLabel18.Location = new System.Drawing.Point(11, 178);
this.uiLabel18.Name = "uiLabel18";
this.uiLabel18.Size = new System.Drawing.Size(74, 21);
this.uiLabel18.Style = Sunny.UI.UIStyle.Custom;
@ -846,7 +1141,7 @@
//
this.numMarginHoleWidth.FillColor = System.Drawing.Color.White;
this.numMarginHoleWidth.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.numMarginHoleWidth.Location = new System.Drawing.Point(125, 155);
this.numMarginHoleWidth.Location = new System.Drawing.Point(125, 135);
this.numMarginHoleWidth.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.numMarginHoleWidth.MinimumSize = new System.Drawing.Size(63, 0);
this.numMarginHoleWidth.Name = "numMarginHoleWidth";
@ -863,7 +1158,7 @@
//
this.numcm2px_y.FillColor = System.Drawing.Color.White;
this.numcm2px_y.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.numcm2px_y.Location = new System.Drawing.Point(125, 103);
this.numcm2px_y.Location = new System.Drawing.Point(125, 91);
this.numcm2px_y.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.numcm2px_y.MinimumSize = new System.Drawing.Size(63, 0);
this.numcm2px_y.Name = "numcm2px_y";
@ -913,7 +1208,7 @@
this.uiLabel17.AutoSize = true;
this.uiLabel17.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel17.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel17.Location = new System.Drawing.Point(8, 154);
this.uiLabel17.Location = new System.Drawing.Point(8, 134);
this.uiLabel17.Name = "uiLabel17";
this.uiLabel17.Size = new System.Drawing.Size(74, 21);
this.uiLabel17.Style = Sunny.UI.UIStyle.Custom;
@ -926,7 +1221,7 @@
this.uiLabel19.AutoSize = true;
this.uiLabel19.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel19.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel19.Location = new System.Drawing.Point(263, 213);
this.uiLabel19.Location = new System.Drawing.Point(263, 183);
this.uiLabel19.Name = "uiLabel19";
this.uiLabel19.Size = new System.Drawing.Size(32, 17);
this.uiLabel19.Style = Sunny.UI.UIStyle.Custom;
@ -939,7 +1234,7 @@
this.uiLabel16.AutoSize = true;
this.uiLabel16.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel16.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel16.Location = new System.Drawing.Point(263, 158);
this.uiLabel16.Location = new System.Drawing.Point(263, 138);
this.uiLabel16.Name = "uiLabel16";
this.uiLabel16.Size = new System.Drawing.Size(32, 17);
this.uiLabel16.Style = Sunny.UI.UIStyle.Custom;
@ -952,12 +1247,12 @@
this.uiLabel4.AutoSize = true;
this.uiLabel4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel4.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel4.Location = new System.Drawing.Point(8, 102);
this.uiLabel4.Location = new System.Drawing.Point(8, 90);
this.uiLabel4.Name = "uiLabel4";
this.uiLabel4.Size = new System.Drawing.Size(74, 21);
this.uiLabel4.Size = new System.Drawing.Size(68, 21);
this.uiLabel4.Style = Sunny.UI.UIStyle.Custom;
this.uiLabel4.TabIndex = 0;
this.uiLabel4.Text = "向比例";
this.uiLabel4.Text = "Y向比例";
this.uiLabel4.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiLabel7
@ -965,7 +1260,7 @@
this.uiLabel7.AutoSize = true;
this.uiLabel7.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel7.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel7.Location = new System.Drawing.Point(263, 106);
this.uiLabel7.Location = new System.Drawing.Point(263, 94);
this.uiLabel7.Name = "uiLabel7";
this.uiLabel7.Size = new System.Drawing.Size(54, 17);
this.uiLabel7.Style = Sunny.UI.UIStyle.Custom;
@ -993,16 +1288,22 @@
this.uiLabel6.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel6.Location = new System.Drawing.Point(8, 49);
this.uiLabel6.Name = "uiLabel6";
this.uiLabel6.Size = new System.Drawing.Size(74, 21);
this.uiLabel6.Size = new System.Drawing.Size(68, 21);
this.uiLabel6.Style = Sunny.UI.UIStyle.Custom;
this.uiLabel6.TabIndex = 0;
this.uiLabel6.Text = "向比例";
this.uiLabel6.Text = "X向比例";
this.uiLabel6.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiTitlePanel4
//
this.uiTitlePanel4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.uiTitlePanel4.Controls.Add(this.uiLabel28);
this.uiTitlePanel4.Controls.Add(this.clearDays);
this.uiTitlePanel4.Controls.Add(this.cbClear);
this.uiTitlePanel4.Controls.Add(this.cbJM);
this.uiTitlePanel4.Controls.Add(this.cbHD);
this.uiTitlePanel4.Controls.Add(this.cbJinShu);
this.uiTitlePanel4.Controls.Add(this.btnMinReload);
this.uiTitlePanel4.Controls.Add(this.btnMinSave);
this.uiTitlePanel4.Controls.Add(this.ckbSaveDefectCutImage);
@ -1015,19 +1316,102 @@
this.uiTitlePanel4.FillColor = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(251)))), ((int)(((byte)(250)))));
this.uiTitlePanel4.FillColor2 = System.Drawing.Color.FromArgb(((int)(((byte)(238)))), ((int)(((byte)(251)))), ((int)(((byte)(250)))));
this.uiTitlePanel4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiTitlePanel4.Location = new System.Drawing.Point(734, 643);
this.uiTitlePanel4.Location = new System.Drawing.Point(734, 573);
this.uiTitlePanel4.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.uiTitlePanel4.MinimumSize = new System.Drawing.Size(1, 1);
this.uiTitlePanel4.Name = "uiTitlePanel4";
this.uiTitlePanel4.RectColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
this.uiTitlePanel4.ShowText = false;
this.uiTitlePanel4.Size = new System.Drawing.Size(450, 272);
this.uiTitlePanel4.Size = new System.Drawing.Size(450, 342);
this.uiTitlePanel4.Style = Sunny.UI.UIStyle.Custom;
this.uiTitlePanel4.TabIndex = 3;
this.uiTitlePanel4.Text = "保存设置";
this.uiTitlePanel4.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.uiTitlePanel4.TitleColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
//
// uiLabel28
//
this.uiLabel28.AutoSize = true;
this.uiLabel28.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel28.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel28.Location = new System.Drawing.Point(298, 312);
this.uiLabel28.Name = "uiLabel28";
this.uiLabel28.Size = new System.Drawing.Size(20, 17);
this.uiLabel28.Style = Sunny.UI.UIStyle.Custom;
this.uiLabel28.TabIndex = 118;
this.uiLabel28.Text = "天";
this.uiLabel28.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// clearDays
//
this.clearDays.DecimalPlaces = 0;
this.clearDays.FillColor = System.Drawing.Color.White;
this.clearDays.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.clearDays.Location = new System.Drawing.Point(178, 307);
this.clearDays.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.clearDays.MinimumSize = new System.Drawing.Size(63, 0);
this.clearDays.Name = "clearDays";
this.clearDays.NumPadType = Sunny.UI.NumPadType.Double;
this.clearDays.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.clearDays.Size = new System.Drawing.Size(113, 29);
this.clearDays.Style = Sunny.UI.UIStyle.Custom;
this.clearDays.TabIndex = 117;
this.clearDays.Text = "0";
this.clearDays.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.clearDays.Watermark = "";
//
// cbClear
//
this.cbClear.Cursor = System.Windows.Forms.Cursors.Hand;
this.cbClear.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.cbClear.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.cbClear.Location = new System.Drawing.Point(14, 303);
this.cbClear.MinimumSize = new System.Drawing.Size(1, 1);
this.cbClear.Name = "cbClear";
this.cbClear.Size = new System.Drawing.Size(177, 33);
this.cbClear.Style = Sunny.UI.UIStyle.Custom;
this.cbClear.TabIndex = 109;
this.cbClear.Text = "启用自动删除图片";
//
// cbJM
//
this.cbJM.Cursor = System.Windows.Forms.Cursors.Hand;
this.cbJM.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.cbJM.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.cbJM.Location = new System.Drawing.Point(14, 267);
this.cbJM.MinimumSize = new System.Drawing.Size(1, 1);
this.cbJM.Name = "cbJM";
this.cbJM.Size = new System.Drawing.Size(177, 33);
this.cbJM.Style = Sunny.UI.UIStyle.Custom;
this.cbJM.TabIndex = 108;
this.cbJM.Text = "启用计米停车";
//
// cbHD
//
this.cbHD.Cursor = System.Windows.Forms.Cursors.Hand;
this.cbHD.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.cbHD.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.cbHD.Location = new System.Drawing.Point(229, 229);
this.cbHD.MinimumSize = new System.Drawing.Size(1, 1);
this.cbHD.Name = "cbHD";
this.cbHD.Size = new System.Drawing.Size(177, 33);
this.cbHD.Style = Sunny.UI.UIStyle.Custom;
this.cbHD.TabIndex = 107;
this.cbHD.Text = "启用厚度检测";
//
// cbJinShu
//
this.cbJinShu.Cursor = System.Windows.Forms.Cursors.Hand;
this.cbJinShu.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.cbJinShu.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.cbJinShu.Location = new System.Drawing.Point(14, 231);
this.cbJinShu.MinimumSize = new System.Drawing.Size(1, 1);
this.cbJinShu.Name = "cbJinShu";
this.cbJinShu.Size = new System.Drawing.Size(177, 33);
this.cbJinShu.Style = Sunny.UI.UIStyle.Custom;
this.cbJinShu.TabIndex = 106;
this.cbJinShu.Text = "启用金属探测";
//
// btnMinReload
//
this.btnMinReload.Cursor = System.Windows.Forms.Cursors.Hand;
@ -1067,7 +1451,7 @@
this.ckbSaveDefectCutImage.Cursor = System.Windows.Forms.Cursors.Hand;
this.ckbSaveDefectCutImage.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ckbSaveDefectCutImage.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.ckbSaveDefectCutImage.Location = new System.Drawing.Point(229, 156);
this.ckbSaveDefectCutImage.Location = new System.Drawing.Point(229, 143);
this.ckbSaveDefectCutImage.MinimumSize = new System.Drawing.Size(1, 1);
this.ckbSaveDefectCutImage.Name = "ckbSaveDefectCutImage";
this.ckbSaveDefectCutImage.Size = new System.Drawing.Size(177, 33);
@ -1080,7 +1464,7 @@
this.ckbSaveAllImage.Cursor = System.Windows.Forms.Cursors.Hand;
this.ckbSaveAllImage.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ckbSaveAllImage.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.ckbSaveAllImage.Location = new System.Drawing.Point(14, 208);
this.ckbSaveAllImage.Location = new System.Drawing.Point(14, 179);
this.ckbSaveAllImage.MinimumSize = new System.Drawing.Size(1, 1);
this.ckbSaveAllImage.Name = "ckbSaveAllImage";
this.ckbSaveAllImage.Size = new System.Drawing.Size(177, 33);
@ -1093,7 +1477,7 @@
this.ckbSaveDefectSourceImage.Cursor = System.Windows.Forms.Cursors.Hand;
this.ckbSaveDefectSourceImage.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ckbSaveDefectSourceImage.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.ckbSaveDefectSourceImage.Location = new System.Drawing.Point(14, 156);
this.ckbSaveDefectSourceImage.Location = new System.Drawing.Point(14, 143);
this.ckbSaveDefectSourceImage.MinimumSize = new System.Drawing.Size(1, 1);
this.ckbSaveDefectSourceImage.Name = "ckbSaveDefectSourceImage";
this.ckbSaveDefectSourceImage.Size = new System.Drawing.Size(177, 33);
@ -1179,73 +1563,6 @@
this.uiToolTip1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(239)))), ((int)(((byte)(239)))));
this.uiToolTip1.OwnerDraw = true;
//
// cmbJM_PortName
//
this.cmbJM_PortName.DataSource = null;
this.cmbJM_PortName.DropDownStyle = Sunny.UI.UIDropDownStyle.DropDownList;
this.cmbJM_PortName.FillColor = System.Drawing.Color.White;
this.cmbJM_PortName.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.cmbJM_PortName.ItemHoverColor = System.Drawing.Color.FromArgb(((int)(((byte)(155)))), ((int)(((byte)(200)))), ((int)(((byte)(255)))));
this.cmbJM_PortName.ItemSelectForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(243)))), ((int)(((byte)(255)))));
this.cmbJM_PortName.Location = new System.Drawing.Point(125, 101);
this.cmbJM_PortName.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
this.cmbJM_PortName.MinimumSize = new System.Drawing.Size(63, 0);
this.cmbJM_PortName.Name = "cmbJM_PortName";
this.cmbJM_PortName.Padding = new System.Windows.Forms.Padding(0, 0, 30, 2);
this.cmbJM_PortName.Size = new System.Drawing.Size(219, 29);
this.cmbJM_PortName.Style = Sunny.UI.UIStyle.Custom;
this.cmbJM_PortName.TabIndex = 107;
this.cmbJM_PortName.Text = "uiComboBox1";
this.cmbJM_PortName.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
this.cmbJM_PortName.Watermark = "";
//
// uiLabel3
//
this.uiLabel3.AutoSize = true;
this.uiLabel3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiLabel3.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(48)))), ((int)(((byte)(48)))));
this.uiLabel3.Location = new System.Drawing.Point(8, 100);
this.uiLabel3.Name = "uiLabel3";
this.uiLabel3.Size = new System.Drawing.Size(74, 21);
this.uiLabel3.Style = Sunny.UI.UIStyle.Custom;
this.uiLabel3.TabIndex = 106;
this.uiLabel3.Text = "计米端口";
this.uiLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
//
// uiSymbolButton1
//
this.uiSymbolButton1.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton1.Image = ((System.Drawing.Image)(resources.GetObject("uiSymbolButton1.Image")));
this.uiSymbolButton1.Location = new System.Drawing.Point(14, 208);
this.uiSymbolButton1.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton1.Name = "uiSymbolButton1";
this.uiSymbolButton1.Size = new System.Drawing.Size(153, 49);
this.uiSymbolButton1.StyleCustomMode = true;
this.uiSymbolButton1.Symbol = 61462;
this.uiSymbolButton1.SymbolOffset = new System.Drawing.Point(0, 3);
this.uiSymbolButton1.TabIndex = 108;
this.uiSymbolButton1.Text = "数据库备份";
this.uiSymbolButton1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton1.Click += new System.EventHandler(this.uiSymbolButton1_Click);
//
// uiSymbolButton2
//
this.uiSymbolButton2.Cursor = System.Windows.Forms.Cursors.Hand;
this.uiSymbolButton2.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton2.Image = ((System.Drawing.Image)(resources.GetObject("uiSymbolButton2.Image")));
this.uiSymbolButton2.Location = new System.Drawing.Point(194, 208);
this.uiSymbolButton2.MinimumSize = new System.Drawing.Size(1, 1);
this.uiSymbolButton2.Name = "uiSymbolButton2";
this.uiSymbolButton2.Size = new System.Drawing.Size(153, 49);
this.uiSymbolButton2.StyleCustomMode = true;
this.uiSymbolButton2.Symbol = 61462;
this.uiSymbolButton2.SymbolOffset = new System.Drawing.Point(0, 3);
this.uiSymbolButton2.TabIndex = 109;
this.uiSymbolButton2.Text = "数据库导入";
this.uiSymbolButton2.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.uiSymbolButton2.Click += new System.EventHandler(this.uiSymbolButton2_Click);
//
// FSysSetting
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@ -1318,12 +1635,6 @@
private Sunny.UI.UISymbolButton btnUserSave;
private Sunny.UI.UISymbolButton btnUserNew;
private Sunny.UI.UISymbolButton btnResetPassword;
private System.Windows.Forms.DataGridViewTextBoxColumn colId;
private System.Windows.Forms.DataGridViewTextBoxColumn colCode;
private System.Windows.Forms.DataGridViewTextBoxColumn colDefectName;
private System.Windows.Forms.DataGridViewTextBoxColumn colRoleName;
private System.Windows.Forms.DataGridViewCheckBoxColumn colState;
private System.Windows.Forms.DataGridViewTextBoxColumn colCreateTime;
private Sunny.UI.UITextBox txtUserNote;
private Sunny.UI.UILabel uiLabel15;
private Sunny.UI.UIPanel pnlUserPassword;
@ -1346,5 +1657,31 @@
private Sunny.UI.UILabel uiLabel3;
private Sunny.UI.UISymbolButton uiSymbolButton1;
private Sunny.UI.UISymbolButton uiSymbolButton2;
private Sunny.UI.UILabel uiLabel20;
private System.Windows.Forms.DataGridViewTextBoxColumn colId;
private System.Windows.Forms.DataGridViewTextBoxColumn colCode;
private System.Windows.Forms.DataGridViewTextBoxColumn colDefectName;
private System.Windows.Forms.DataGridViewTextBoxColumn colRoleName;
private System.Windows.Forms.DataGridViewTextBoxColumn BanZuCol;
private System.Windows.Forms.DataGridViewCheckBoxColumn colState;
private System.Windows.Forms.DataGridViewTextBoxColumn colCreateTime;
private Sunny.UI.UITextBox Banzu;
private Sunny.UI.UINumPadTextBox numCutDis;
private Sunny.UI.UILabel uiLabel21;
private Sunny.UI.UILabel uiLabel22;
private Sunny.UI.UITextBox chIP;
private Sunny.UI.UILabel uiLabel23;
private Sunny.UI.UICheckBox cbHD;
private Sunny.UI.UICheckBox cbJinShu;
private Sunny.UI.UICheckBox cbJM;
private Sunny.UI.UINumPadTextBox numKanban;
private Sunny.UI.UILabel uiLabel24;
private Sunny.UI.UILabel uiLabel25;
private Sunny.UI.UINumPadTextBox numRM;
private Sunny.UI.UILabel uiLabel26;
private Sunny.UI.UILabel uiLabel27;
private Sunny.UI.UILabel uiLabel28;
private Sunny.UI.UINumPadTextBox clearDays;
private Sunny.UI.UICheckBox cbClear;
}
}

View File

@ -70,6 +70,7 @@ namespace LeatherApp.Page
cmbRole.DataSource = service.GetRoleItems();
}
//DEV
cmbLight_PortName.Items.AddRange(Utils.SSerialPort.getPortNames());
cmbLight_PortName.Text = Config.Light_PortName;
@ -91,6 +92,20 @@ namespace LeatherApp.Page
//LOG
txtLogPath.Text= Config.LogPath;
numCutDis.Text = Config.CutDis.ToString();
chIP.Text = Config.CeHouIP;
cbJinShu.Checked = Config.OpenJinShuJianCe;
cbHD.Checked = Config.OpenHouDuJiLu;
cbJM.Checked = Config.OpenJMStop;
numKanban.Text = Config.StopLookDis.ToString();
numRM.Text = Config.residueWarnningLen.ToString();
cbClear.Checked = Config.OpenClearPic;
clearDays.Text = Config.ClearDays.ToString();
}
private void saveConfig()
{
@ -113,6 +128,20 @@ namespace LeatherApp.Page
ini.Write("LIB", "IsSaveDefectSourceImage", this.ckbSaveDefectSourceImage.Checked);
ini.Write("LIB", "IsSaveDefectCutImage", this.ckbSaveDefectCutImage.Checked);
ini.Write("Fun", "CutDis", this.numCutDis.Text);
ini.Write("DEV", "CeHouIP", this.chIP.Text);
ini.Write("DEV", "CeHouPort", 64000);
ini.Write("Fun", "OpenJinShuJianCe", this.cbJinShu.Checked);
ini.Write("Fun", "OpenHouDuJiLu", this.cbHD.Checked);
ini.Write("Fun", "OpenJMStop", this.cbJM.Checked);
ini.Write("Fun", "StopLookDis", this.numKanban.Text);
ini.Write("DEV", "residueWarnningLen", this.numRM.Text);
ini.Write("Fun", "OpenClearPic", this.cbClear.Checked);
ini.Write("Fun", "ClearDays", this.clearDays.Text);
//
ini.UpdateFile();
}
@ -187,6 +216,7 @@ namespace LeatherApp.Page
this.txtUserCode.Text = currEditUserInfo.Code;
this.txtUserName.Text = currEditUserInfo.Name;
this.cmbRole.SelectedValue = currEditUserInfo.RoleId;
this.Banzu.Text = currEditUserInfo.WorkTeam;
this.ckbUserState.Checked = currEditUserInfo.State;
this.txtUserNote.Text = currEditUserInfo.Note;
//
@ -206,6 +236,7 @@ namespace LeatherApp.Page
string szName = this.txtUserName.Text.Trim();
string szNote = this.txtUserNote.Text.Trim();
int roleId = (int)this.cmbRole.SelectedValue;
string strBanzu = this.Banzu.Text;
if (szCode == "" || szName == "")
throw new Exception("请填写帐号和名称!");
@ -222,6 +253,7 @@ namespace LeatherApp.Page
currEditUserInfo.Code = szCode;
currEditUserInfo.Name = szName;
currEditUserInfo.RoleId = roleId;
currEditUserInfo.WorkTeam = strBanzu;
currEditUserInfo.State = this.ckbUserState.Checked;
currEditUserInfo.Note = szNote;

View File

@ -129,6 +129,9 @@
<metadata name="colRoleName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="BanZuCol.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colState.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>

View File

@ -0,0 +1,102 @@
namespace LeatherApp.Page
{
partial class FenJuanFrm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label();
this.tbReel = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.pnlBtm.SuspendLayout();
this.SuspendLayout();
//
// pnlBtm
//
this.pnlBtm.Location = new System.Drawing.Point(1, 230);
this.pnlBtm.Size = new System.Drawing.Size(565, 55);
//
// btnCancel
//
this.btnCancel.Location = new System.Drawing.Point(437, 12);
//
// btnOK
//
this.btnOK.Location = new System.Drawing.Point(322, 12);
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(57, 74);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(311, 16);
this.label1.TabIndex = 2;
this.label1.Text = "请设置小卷的卷号,不要与其他小卷冲突!";
//
// tbReel
//
this.tbReel.Location = new System.Drawing.Point(153, 142);
this.tbReel.Name = "tbReel";
this.tbReel.Size = new System.Drawing.Size(385, 26);
this.tbReel.TabIndex = 3;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(57, 145);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(79, 16);
this.label2.TabIndex = 4;
this.label2.Text = "分卷卷号:";
//
// FenJuanFrm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(567, 288);
this.Controls.Add(this.label2);
this.Controls.Add(this.tbReel);
this.Controls.Add(this.label1);
this.Name = "FenJuanFrm";
this.Text = "分小卷卷号设置";
this.ZoomScaleRect = new System.Drawing.Rectangle(15, 15, 800, 450);
this.Controls.SetChildIndex(this.pnlBtm, 0);
this.Controls.SetChildIndex(this.label1, 0);
this.Controls.SetChildIndex(this.tbReel, 0);
this.Controls.SetChildIndex(this.label2, 0);
this.pnlBtm.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox tbReel;
private System.Windows.Forms.Label label2;
}
}

View File

@ -0,0 +1,28 @@
using Sunny.UI;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace LeatherApp.Page
{
public partial class FenJuanFrm : UIEditForm
{
public string Reel;
public FenJuanFrm()
{
InitializeComponent();
this.btnCancel.Visible = false;
}
private void btnOK_Click(object sender, EventArgs e)
{
Reel = this.tbReel.Text;
}
}
}

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -0,0 +1,178 @@
namespace LeatherApp.Page
{
partial class OffsetFrm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
this.label1 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();
this.label3 = new System.Windows.Forms.Label();
this.numericUpDown3 = new System.Windows.Forms.NumericUpDown();
this.button1 = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).BeginInit();
this.SuspendLayout();
//
// numericUpDown1
//
this.numericUpDown1.DecimalPlaces = 3;
this.numericUpDown1.Location = new System.Drawing.Point(53, 83);
this.numericUpDown1.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.numericUpDown1.Maximum = new decimal(new int[] {
10000,
0,
0,
0});
this.numericUpDown1.Minimum = new decimal(new int[] {
10000,
0,
0,
-2147483648});
this.numericUpDown1.Name = "numericUpDown1";
this.numericUpDown1.Size = new System.Drawing.Size(173, 30);
this.numericUpDown1.TabIndex = 0;
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(50, 40);
this.label1.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(119, 20);
this.label1.TabIndex = 1;
this.label1.Text = "传感器1偏差";
//
// label2
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(293, 40);
this.label2.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(119, 20);
this.label2.TabIndex = 3;
this.label2.Text = "传感器2偏差";
//
// numericUpDown2
//
this.numericUpDown2.DecimalPlaces = 3;
this.numericUpDown2.Location = new System.Drawing.Point(297, 83);
this.numericUpDown2.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.numericUpDown2.Maximum = new decimal(new int[] {
10000,
0,
0,
0});
this.numericUpDown2.Minimum = new decimal(new int[] {
10000,
0,
0,
-2147483648});
this.numericUpDown2.Name = "numericUpDown2";
this.numericUpDown2.Size = new System.Drawing.Size(173, 30);
this.numericUpDown2.TabIndex = 2;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(530, 40);
this.label3.Margin = new System.Windows.Forms.Padding(5, 0, 5, 0);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(119, 20);
this.label3.TabIndex = 5;
this.label3.Text = "传感器3偏差";
//
// numericUpDown3
//
this.numericUpDown3.DecimalPlaces = 3;
this.numericUpDown3.Location = new System.Drawing.Point(533, 83);
this.numericUpDown3.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.numericUpDown3.Maximum = new decimal(new int[] {
10000,
0,
0,
0});
this.numericUpDown3.Minimum = new decimal(new int[] {
10000,
0,
0,
-2147483648});
this.numericUpDown3.Name = "numericUpDown3";
this.numericUpDown3.Size = new System.Drawing.Size(173, 30);
this.numericUpDown3.TabIndex = 4;
//
// button1
//
this.button1.Location = new System.Drawing.Point(297, 163);
this.button1.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(173, 55);
this.button1.TabIndex = 6;
this.button1.Text = "设置";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// OffsetFrm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(10F, 20F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(797, 238);
this.Controls.Add(this.button1);
this.Controls.Add(this.label3);
this.Controls.Add(this.numericUpDown3);
this.Controls.Add(this.label2);
this.Controls.Add(this.numericUpDown2);
this.Controls.Add(this.label1);
this.Controls.Add(this.numericUpDown1);
this.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Margin = new System.Windows.Forms.Padding(5, 5, 5, 5);
this.Name = "OffsetFrm";
this.ShowIcon = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "膜厚偏差设置";
this.Load += new System.EventHandler(this.OffsetFrm_Load);
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown3)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.NumericUpDown numericUpDown1;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.NumericUpDown numericUpDown2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.NumericUpDown numericUpDown3;
private System.Windows.Forms.Button button1;
}
}

View File

@ -0,0 +1,40 @@
using Sunny.UI;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace LeatherApp.Page
{
public partial class OffsetFrm : Form
{
public OffsetFrm()
{
InitializeComponent();
}
private void OffsetFrm_Load(object sender, EventArgs e)
{
this.numericUpDown1.Value = (decimal)Config.DataOffset1;
this.numericUpDown2.Value = (decimal)Config.DataOffset2;
this.numericUpDown3.Value = (decimal)Config.DataOffset3;
}
private void button1_Click(object sender, EventArgs e)
{
Config.DataOffset1 = (double)this.numericUpDown1.Value;
Config.DataOffset2 = (double)this.numericUpDown2.Value;
Config.DataOffset3 = (double)this.numericUpDown3.Value;
IniFile ini = new IniFile(Config.appBasePath + "\\SysConfig.ini");
//[LOG]
ini.Write("HouDuOffset", "DataOffset1", (double)this.numericUpDown1.Value);
ini.Write("HouDuOffset", "DataOffset2", (double)this.numericUpDown2.Value);
ini.Write("HouDuOffset", "DataOffset3", (double)this.numericUpDown3.Value);
}
}
}

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -0,0 +1,476 @@
namespace LeatherApp.Page
{
partial class PartitionFrm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
this.skinButton1 = new CCWin.SkinControl.SkinButton();
this.skinButton2 = new CCWin.SkinControl.SkinButton();
this.label1 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.textBox2 = new System.Windows.Forms.TextBox();
this.label5 = new System.Windows.Forms.Label();
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.LabelCol = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.label6 = new System.Windows.Forms.Label();
this.defectCnt = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.textBox3 = new System.Windows.Forms.TextBox();
this.label9 = new System.Windows.Forms.Label();
this.textBox4 = new System.Windows.Forms.TextBox();
this.label10 = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label();
this.textBox5 = new System.Windows.Forms.TextBox();
this.label12 = new System.Windows.Forms.Label();
this.RMCnt = new System.Windows.Forms.NumericUpDown();
this.label13 = new System.Windows.Forms.Label();
this.txtR1 = new System.Windows.Forms.TextBox();
this.txtR2 = new System.Windows.Forms.TextBox();
this.label14 = new System.Windows.Forms.Label();
this.txtR3 = new System.Windows.Forms.TextBox();
this.label15 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.RMCnt)).BeginInit();
this.SuspendLayout();
//
// skinButton1
//
this.skinButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.skinButton1.BackColor = System.Drawing.Color.White;
this.skinButton1.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(112)))), ((int)(((byte)(193)))), ((int)(((byte)(64)))));
this.skinButton1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(112)))), ((int)(((byte)(193)))), ((int)(((byte)(64)))));
this.skinButton1.ControlState = CCWin.SkinClass.ControlState.Normal;
this.skinButton1.DownBack = null;
this.skinButton1.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.skinButton1.ForeColor = System.Drawing.SystemColors.ControlText;
this.skinButton1.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(87)))), ((int)(((byte)(157)))), ((int)(((byte)(253)))));
this.skinButton1.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(112)))), ((int)(((byte)(193)))), ((int)(((byte)(64)))));
this.skinButton1.Location = new System.Drawing.Point(225, 609);
this.skinButton1.Margin = new System.Windows.Forms.Padding(7, 8, 7, 8);
this.skinButton1.MouseBack = null;
this.skinButton1.Name = "skinButton1";
this.skinButton1.NormlBack = null;
this.skinButton1.RoundStyle = CCWin.SkinClass.RoundStyle.All;
this.skinButton1.Size = new System.Drawing.Size(142, 44);
this.skinButton1.TabIndex = 103;
this.skinButton1.Text = "确定";
this.skinButton1.UseVisualStyleBackColor = false;
this.skinButton1.Click += new System.EventHandler(this.skinButton1_Click);
//
// skinButton2
//
this.skinButton2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.skinButton2.BackColor = System.Drawing.Color.Transparent;
this.skinButton2.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(87)))), ((int)(((byte)(157)))), ((int)(((byte)(253)))));
this.skinButton2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(87)))), ((int)(((byte)(157)))), ((int)(((byte)(253)))));
this.skinButton2.ControlState = CCWin.SkinClass.ControlState.Normal;
this.skinButton2.DownBack = null;
this.skinButton2.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.skinButton2.ForeColor = System.Drawing.SystemColors.ControlText;
this.skinButton2.GlowColor = System.Drawing.Color.FromArgb(((int)(((byte)(87)))), ((int)(((byte)(157)))), ((int)(((byte)(253)))));
this.skinButton2.InnerBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(87)))), ((int)(((byte)(157)))), ((int)(((byte)(253)))));
this.skinButton2.Location = new System.Drawing.Point(433, 609);
this.skinButton2.Margin = new System.Windows.Forms.Padding(7, 8, 7, 8);
this.skinButton2.MouseBack = null;
this.skinButton2.Name = "skinButton2";
this.skinButton2.NormlBack = null;
this.skinButton2.RoundStyle = CCWin.SkinClass.RoundStyle.All;
this.skinButton2.Size = new System.Drawing.Size(142, 44);
this.skinButton2.TabIndex = 102;
this.skinButton2.Text = "取消";
this.skinButton2.UseVisualStyleBackColor = false;
this.skinButton2.Click += new System.EventHandler(this.skinButton2_Click);
//
// label1
//
this.label1.AutoSize = true;
this.label1.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label1.Location = new System.Drawing.Point(463, 57);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(79, 20);
this.label1.TabIndex = 105;
this.label1.Text = "分卷号:";
//
// textBox1
//
this.textBox1.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.textBox1.Location = new System.Drawing.Point(548, 54);
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(184, 30);
this.textBox1.TabIndex = 106;
//
// label2
//
this.label2.AutoSize = true;
this.label2.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label2.ForeColor = System.Drawing.Color.Red;
this.label2.Location = new System.Drawing.Point(429, 14);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(159, 20);
this.label2.TabIndex = 107;
this.label2.Text = "请输入分卷卷号!";
//
// label3
//
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label3.Location = new System.Drawing.Point(21, 14);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(139, 20);
this.label3.TabIndex = 108;
this.label3.Text = "已检卷号信息:";
//
// label4
//
this.label4.AutoSize = true;
this.label4.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label4.Location = new System.Drawing.Point(49, 57);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(79, 20);
this.label4.TabIndex = 109;
this.label4.Text = "批卷号:";
//
// textBox2
//
this.textBox2.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.textBox2.Location = new System.Drawing.Point(134, 54);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(310, 30);
this.textBox2.TabIndex = 110;
//
// label5
//
this.label5.AutoSize = true;
this.label5.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label5.Location = new System.Drawing.Point(21, 100);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(99, 20);
this.label5.TabIndex = 111;
this.label5.Text = "检测情况:";
//
// dataGridView1
//
this.dataGridView1.AllowUserToAddRows = false;
this.dataGridView1.AllowUserToDeleteRows = false;
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridView1.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle3;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.LabelCol});
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle4.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dataGridView1.DefaultCellStyle = dataGridViewCellStyle4;
this.dataGridView1.Location = new System.Drawing.Point(53, 130);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.ReadOnly = true;
this.dataGridView1.RowHeadersVisible = false;
this.dataGridView1.RowTemplate.Height = 23;
this.dataGridView1.Size = new System.Drawing.Size(679, 110);
this.dataGridView1.TabIndex = 112;
//
// LabelCol
//
this.LabelCol.HeaderText = "缺陷";
this.LabelCol.Name = "LabelCol";
this.LabelCol.ReadOnly = true;
//
// label6
//
this.label6.AutoSize = true;
this.label6.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label6.Location = new System.Drawing.Point(49, 258);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(139, 20);
this.label6.TabIndex = 113;
this.label6.Text = "缺陷检测总数:";
//
// defectCnt
//
this.defectCnt.AutoSize = true;
this.defectCnt.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.defectCnt.Location = new System.Drawing.Point(210, 258);
this.defectCnt.Name = "defectCnt";
this.defectCnt.Size = new System.Drawing.Size(19, 20);
this.defectCnt.TabIndex = 114;
this.defectCnt.Text = "0";
//
// label8
//
this.label8.AutoSize = true;
this.label8.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label8.Location = new System.Drawing.Point(463, 258);
this.label8.Name = "label8";
this.label8.Size = new System.Drawing.Size(79, 20);
this.label8.TabIndex = 115;
this.label8.Text = "让码数:";
//
// label7
//
this.label7.AutoSize = true;
this.label7.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label7.Location = new System.Drawing.Point(21, 290);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(99, 20);
this.label7.TabIndex = 117;
this.label7.Text = "检测结论:";
//
// textBox3
//
this.textBox3.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.textBox3.Location = new System.Drawing.Point(53, 323);
this.textBox3.Multiline = true;
this.textBox3.Name = "textBox3";
this.textBox3.ReadOnly = true;
this.textBox3.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.textBox3.Size = new System.Drawing.Size(679, 84);
this.textBox3.TabIndex = 118;
//
// label9
//
this.label9.AutoSize = true;
this.label9.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label9.Location = new System.Drawing.Point(23, 498);
this.label9.Name = "label9";
this.label9.Size = new System.Drawing.Size(751, 14);
this.label9.TabIndex = 119;
this.label9.Text = "................................................................................." +
"............";
//
// textBox4
//
this.textBox4.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.textBox4.Location = new System.Drawing.Point(134, 564);
this.textBox4.Name = "textBox4";
this.textBox4.ReadOnly = true;
this.textBox4.Size = new System.Drawing.Size(310, 30);
this.textBox4.TabIndex = 124;
//
// label10
//
this.label10.AutoSize = true;
this.label10.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label10.Location = new System.Drawing.Point(49, 567);
this.label10.Name = "label10";
this.label10.Size = new System.Drawing.Size(79, 20);
this.label10.TabIndex = 123;
this.label10.Text = "批卷号:";
//
// label11
//
this.label11.AutoSize = true;
this.label11.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label11.Location = new System.Drawing.Point(21, 524);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(139, 20);
this.label11.TabIndex = 122;
this.label11.Text = "下一卷号信息:";
//
// textBox5
//
this.textBox5.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.textBox5.Location = new System.Drawing.Point(548, 564);
this.textBox5.Name = "textBox5";
this.textBox5.Size = new System.Drawing.Size(184, 30);
this.textBox5.TabIndex = 121;
//
// label12
//
this.label12.AutoSize = true;
this.label12.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label12.Location = new System.Drawing.Point(463, 567);
this.label12.Name = "label12";
this.label12.Size = new System.Drawing.Size(79, 20);
this.label12.TabIndex = 120;
this.label12.Text = "分卷号:";
//
// RMCnt
//
this.RMCnt.DecimalPlaces = 2;
this.RMCnt.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.RMCnt.Location = new System.Drawing.Point(562, 256);
this.RMCnt.Maximum = new decimal(new int[] {
10000,
0,
0,
0});
this.RMCnt.Name = "RMCnt";
this.RMCnt.Size = new System.Drawing.Size(120, 30);
this.RMCnt.TabIndex = 125;
//
// label13
//
this.label13.AutoSize = true;
this.label13.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label13.Location = new System.Drawing.Point(29, 426);
this.label13.Name = "label13";
this.label13.Size = new System.Drawing.Size(59, 20);
this.label13.TabIndex = 126;
this.label13.Text = "厚度:";
//
// txtR1
//
this.txtR1.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtR1.Location = new System.Drawing.Point(53, 465);
this.txtR1.Name = "txtR1";
this.txtR1.Size = new System.Drawing.Size(184, 30);
this.txtR1.TabIndex = 127;
this.txtR1.Text = "正常";
//
// txtR2
//
this.txtR2.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtR2.Location = new System.Drawing.Point(300, 465);
this.txtR2.Name = "txtR2";
this.txtR2.Size = new System.Drawing.Size(184, 30);
this.txtR2.TabIndex = 129;
this.txtR2.Text = "正常";
//
// label14
//
this.label14.AutoSize = true;
this.label14.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label14.Location = new System.Drawing.Point(276, 426);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(59, 20);
this.label14.TabIndex = 128;
this.label14.Text = "色差:";
//
// txtR3
//
this.txtR3.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.txtR3.Location = new System.Drawing.Point(548, 465);
this.txtR3.Name = "txtR3";
this.txtR3.Size = new System.Drawing.Size(184, 30);
this.txtR3.TabIndex = 131;
this.txtR3.Text = "正常";
//
// label15
//
this.label15.AutoSize = true;
this.label15.Font = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label15.Location = new System.Drawing.Point(524, 426);
this.label15.Name = "label15";
this.label15.Size = new System.Drawing.Size(99, 20);
this.label15.TabIndex = 130;
this.label15.Text = "花纹比对:";
//
// PartitionFrm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.ButtonHighlight;
this.ClientSize = new System.Drawing.Size(790, 670);
this.Controls.Add(this.txtR3);
this.Controls.Add(this.label15);
this.Controls.Add(this.txtR2);
this.Controls.Add(this.label14);
this.Controls.Add(this.txtR1);
this.Controls.Add(this.label13);
this.Controls.Add(this.RMCnt);
this.Controls.Add(this.textBox4);
this.Controls.Add(this.label10);
this.Controls.Add(this.label11);
this.Controls.Add(this.textBox5);
this.Controls.Add(this.label12);
this.Controls.Add(this.label9);
this.Controls.Add(this.textBox3);
this.Controls.Add(this.label7);
this.Controls.Add(this.label8);
this.Controls.Add(this.defectCnt);
this.Controls.Add(this.label6);
this.Controls.Add(this.dataGridView1);
this.Controls.Add(this.label5);
this.Controls.Add(this.textBox2);
this.Controls.Add(this.label4);
this.Controls.Add(this.label3);
this.Controls.Add(this.label2);
this.Controls.Add(this.textBox1);
this.Controls.Add(this.label1);
this.Controls.Add(this.skinButton1);
this.Controls.Add(this.skinButton2);
this.Name = "PartitionFrm";
this.ShowIcon = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "手动分卷";
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.RMCnt)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private CCWin.SkinControl.SkinButton skinButton1;
private CCWin.SkinControl.SkinButton skinButton2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.TextBox textBox1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox textBox2;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.DataGridView dataGridView1;
private System.Windows.Forms.DataGridViewTextBoxColumn LabelCol;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label defectCnt;
private System.Windows.Forms.Label label8;
private System.Windows.Forms.Label label7;
private System.Windows.Forms.TextBox textBox3;
private System.Windows.Forms.Label label9;
private System.Windows.Forms.TextBox textBox4;
private System.Windows.Forms.Label label10;
private System.Windows.Forms.Label label11;
private System.Windows.Forms.TextBox textBox5;
private System.Windows.Forms.Label label12;
private System.Windows.Forms.NumericUpDown RMCnt;
private System.Windows.Forms.Label label13;
private System.Windows.Forms.TextBox txtR1;
private System.Windows.Forms.TextBox txtR2;
private System.Windows.Forms.Label label14;
private System.Windows.Forms.TextBox txtR3;
private System.Windows.Forms.Label label15;
}
}

View File

@ -0,0 +1,182 @@
using DocumentFormat.OpenXml.Office2010.ExcelAc;
using DocumentFormat.OpenXml.Office2021.DocumentTasks;
using Models;
using OpenCvSharp;
using S7.Net.Types;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace LeatherApp.Page
{
public partial class PartitionFrm : Form
{
public string BathReelID;
public string PartReelID;
public string NextPartReelID;
Records model = null;
double LastSplitLength;
public PartitionFrm(Records m, double dis)
{
InitializeComponent();
label2.Visible = false;
//加载分卷信息
LastSplitLength = dis;
model = m;
if (model != null )
{
//第一卷可以设置批卷号和当前分卷号
if(model.ReelNo == 0)
{
textBox1.ReadOnly = false;
textBox2.ReadOnly = false;
}
textBox1.Text = string.IsNullOrWhiteSpace(model.PartReelId)? (model.ReelNo+1).ToString(): model.PartReelId;
textBox2.Text = model.ReelId;
textBox5.Text = (model.ReelNo + 2).ToString();
textBox4.Text = model.ReelId;
if (model.Len == 0 && (model.DefectInfoList == null || model.DefectInfoList.Count == 0))
{
label2.Visible = true;
label2.Text = $"小于1米不记录";
}
//分卷长度
double len = 0;
len = model.Len - LastSplitLength - Config.CutDis;//分卷,补差距
//分卷数据分解卷
int cnt = 0;
string str = "";
string strCut = "";
List<DefectInfo> deflist = new List<DefectInfo>();
if (model.DefectInfoList != null && len > 0)
{
deflist = model.DefectInfoList.FindAll(x => x.Y < ((model.Len - Config.CutDis) * 100));
foreach (var item in deflist)
{
item.Name = Config.getDefectName(model.ProductInfo.ModelName, item.Code);
}
//显示缺陷信息
object[] obj1 = new object[1];
object[] obj2 = new object[1];
List<JDefectTotal> DefectTotal = deflist.GroupBy(x => x.Name).Select(g => new JDefectTotal { Name = g.Key, Count = g.Count() }).ToList();
if(DefectTotal != null && DefectTotal.Count >0)
{
obj1 = new object[deflist.Count + 1];
obj2 = new object[deflist.Count + 1];
obj1[0] = "缺陷";
obj2[0] = "米数";
int index = 1;
dataGridView1.Columns.Clear();
DataTable dt = new DataTable(); //建立个数据表
dt.Columns.Add(new DataColumn("序号", typeof(string)));//在表中添加string类型的列
foreach (var dit in DefectTotal)
{
cnt += dit.Count;
//obj1[index] = dit.Count.ToString();
//obj2[index++] = (dit.Count * 0.2).ToString();
//dt.Columns.Add(new DataColumn(dit.Name, typeof(string)));//在表中添加string类型的列
str += $"{dit.Name}{dit.Count}个,";
}
foreach (var dit in deflist)
{
obj1[index] = dit.Name;
obj2[index++] = (dit.Y/100.0 - LastSplitLength).ToString();
dt.Columns.Add(new DataColumn((index -1).ToString(), typeof(string)));//在表中添加string类型的列
//str += $"{dit.Name}{dit.Count}个,";
}
dataGridView1.DataSource = dt;
dt.Rows.Add(obj1);
dt.Rows.Add(obj2);
//dataGridView1.Rows.Add(obj1);
//dataGridView1.Rows.Add(obj2);
defectCnt.Text = cnt.ToString();
RMCnt.Value = (decimal)(cnt * 0.2);
}
}
if(model.DowngradeInformation != null && model.DowngradeInformation.Count > 0)
{
foreach (var item in model.DowngradeInformation)
{
strCut += $"裁切{item[0]}米,原因{item[1]},降级{item[2]},";
}
}
//总结
if (string.IsNullOrEmpty(str))
textBox3.Text = $"本卷共计{len}米,各类缺陷共计{cnt}个,让码{RMCnt.Value}";
else if (string.IsNullOrEmpty(strCut))
textBox3.Text = $"本卷共计{len}米,各类缺陷共计{cnt}个,让码{RMCnt.Value},{str.Remove(str.Length - 1, 1)}";
else
textBox3.Text = $"本卷共计{len}米,各类缺陷共计{cnt}个,让码{RMCnt.Value},{str.Remove(str.Length - 1, 1)},{strCut.Remove(strCut.Length - 1, 1)}";
}
else
{
label2.Visible = true;
label2.Text = $"无数据!";
}
}
/// <summary>
/// 取消
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void skinButton2_Click(object sender, EventArgs e)
{
this.DialogResult = DialogResult.Cancel;
this.Close();
}
private void skinButton1_Click(object sender, EventArgs e)
{
if (string.IsNullOrEmpty(textBox1.Text) || string.IsNullOrEmpty(textBox5.Text) || string.IsNullOrEmpty(textBox2.Text))
{
label2.Text = "请输入[卷号]或者[分卷号]!";
label2.Visible = true;
return;
}
if(textBox1.Text == textBox5.Text)
{
label2.Text = "[分卷号]与下一卷相同!";
label2.Visible = true;
return;
}
label2.Visible = false;
PartReelID = textBox1.Text;
BathReelID = textBox2.Text;
NextPartReelID = textBox5.Text;
if (model != null)
{
model.PartReelNote = textBox3.Text;
model.PartReelNote2 = $"厚度:{txtR1.Text},色差:{txtR2.Text},花纹对比:{txtR3.Text}";
}
this.DialogResult = DialogResult.OK;
this.Close();
}
public class JDefectTotal
{
[Description("疵点名")]
public string Name { get; set; }
[Description("疵点数")]
public int Count { get; set; }
}
}
}

View File

@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="LabelCol.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>

View File

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.2.0.6")]
[assembly: AssemblyFileVersion("1.2.0.6")]
[assembly: AssemblyVersion("1.2.0.10")]
[assembly: AssemblyFileVersion("1.2.0.10")]

View File

@ -1,4 +1,5 @@
using Models;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.ComponentModel;
@ -17,14 +18,18 @@ namespace LeatherApp.UIExtend
/// code,name
/// </summary>
public Action<string, string> CodeChangeEvent;
public UIDefectEdit()
private string _modelName;
public UIDefectEdit(string modelName)
{
InitializeComponent();
init();
_modelName = modelName;
init(modelName);
}
private void init()
private void init(string modelName)
{
var list = Config.defectItemList.Select(x => new { code = x.Value<string>("code"), name = x.Value<string>("name") }).ToList();
JArray defectItemList;
Config.LoadModelDefectItemList(modelName, out defectItemList);
var list = defectItemList.Select(x => new { code = x.Value<string>("code"), name = x.Value<string>("name") }).ToList();
uiComboBox1.ValueMember = "code";
uiComboBox1.DisplayMember = "name";
uiComboBox1.DataSource = list;

View File

@ -18,12 +18,12 @@ namespace LeatherApp.UIExtend
/// code,name
/// </summary>
public Action<string, string> CodeChangeEvent;
public UIDefectImage()
public UIDefectImage(string modelName)
{
InitializeComponent();
init();
init(modelName);
}
private void init()
private void init(string modelName)
{
if (Config.OpenHalconDefect)
{
@ -41,7 +41,9 @@ namespace LeatherApp.UIExtend
}
else
{
var list = Config.defectItemList.Select(x => new { code = x.Value<string>("code"), name = x.Value<string>("name") }).ToList();
JArray defectItemList;
Config.LoadModelDefectItemList(modelName, out defectItemList);
var list = defectItemList.Select(x => new { code = x.Value<string>("code"), name = x.Value<string>("name") }).ToList();
uiComboBox1.ValueMember = "code";
uiComboBox1.DisplayMember = "name";
uiComboBox1.DataSource = list;

View File

@ -118,11 +118,16 @@ namespace LeatherApp.Utils
//dt2.Columns.RemoveAt(0);
//dt2.Columns.RemoveAt(0);
string sqlstr = $"select id,current_qty,batch_no,goods_code,material_id from mfg_material_goods where id={parameters[0].Value}";
string sqlstr = $"select id,current_qty,batch_no,goods_code,material_id,mo_id from mfg_material_goods where id={parameters[0].Value}";
var dt2 = db.Ado.GetDataTable(sqlstr);
sqlstr = $"select id,material_code,material_name from base_material where id={dt2.Rows[0]["material_id"]}";
sqlstr = $"select id,material_id from order_main_order where id={dt2.Rows[0]["mo_id"]}";
var dt4 = db.Ado.GetDataTable(sqlstr);
sqlstr = $"select id,material_code,material_name from base_material where id={dt4.Rows[0]["material_id"]}";
var dt3 = db.Ado.GetDataTable(sqlstr);
DataTable dt = new DataTable(); //建立个数据表WPMC,SL,PH,JH

View File

@ -57,7 +57,7 @@
"id": 8,
"code": "yisesi",
"name": "异色丝",
"color": "Garnet"
"color": "#208020"
},
{
"id": 7,

View File

@ -0,0 +1 @@
{"Direction":0,"IN_OP_SHOW":["XXXX XHXX","XXXX XXXX","XXXX XXXX","XXXX XXXX"],"IN_Waiting_Timeout":0,"OUT_OP_SHOW":["XXXX XXXX","XXXX XXXX","XXXX XXXX","XXXX XXXX"],"SleepPre":0,"SleepLater":0,"AsynRun":false,"Disable":false}

View File

@ -11,7 +11,7 @@
},
{
"code": 15,
"name": "灰色",
"name": "灰色2",
"color": "DarkViolet"
},
{

View File

@ -0,0 +1,81 @@
[
{
"id": 0,
"code": "jb",
"name": "浆斑",
"color": "Red"
},
{
"id": 1,
"code": "wy",
"name": "污印",
"color": "Lime"
},
{
"id": 2,
"code": "mj",
"name": "棉结",
"color": "DarkViolet"
},
{
"id": 3,
"code": "hy",
"name": "黄印",
"color": "Magenta"
},
{
"id": 4,
"code": "lj",
"name": "垃圾",
"color": "Orange"
},
{
"id": 5,
"code": "yss",
"name": "异色丝",
"color": "Brown"
},
{
"id": 6,
"code": "zy",
"name": "皱印",
"color": "Olive"
},
{
"id": 7,
"code": "wc",
"name": "蚊虫",
"color": "PaleGreen"
},
{
"id": 8,
"code": "cs",
"name": "擦伤",
"color": "CadetBlue"
},
{
"id": 9,
"code": "cy",
"name": "重影",
"color": "Aqua"
},
{
"id": 10,
"code": "tcy",
"name": "停车印",
"color": "YellowGreen"
},
{
"id": 11,
"code": "jt",
"name": "接头",
"color": "Blue"
},
{
"id": 12,
"code": "na",
"name": "荆条",
"color": "pink"
},
]

View File

@ -194,3 +194,62 @@ Global捕获到未处理异常MySql.Data.MySqlClient.MySqlException
在 System.Windows.Forms.Button.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
2024-11-12 11:06:05
Global捕获到未处理异常System.NullReferenceException
异常信息:未将对象引用设置到对象的实例。
异常堆栈: 在 LeatherApp.Page.FHome.btnPause_Click(Object sender, EventArgs e) 位置 E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\Page\FHome.cs:行号 3560
在 System.Windows.Forms.Control.OnClick(EventArgs e)
在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 Sunny.UI.UIControl.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
2024-11-12 11:07:43
Global捕获到未处理异常System.NullReferenceException
异常信息:未将对象引用设置到对象的实例。
异常堆栈: 在 LeatherApp.Page.FHome.btnPause_Click(Object sender, EventArgs e)
在 System.Windows.Forms.Control.OnClick(EventArgs e)
在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 Sunny.UI.UIControl.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
2024-11-12 15:33:42
Global捕获到未处理异常System.OverflowException
异常信息:溢出错误。
异常堆栈: 在 System.Drawing.Graphics.CheckErrorStatus(Int32 status)
在 System.Drawing.Graphics.DrawLine(Pen pen, Single x1, Single y1, Single x2, Single y2)
在 Sunny.UI.UILineChart.DrawAxis(Graphics g)
在 Sunny.UI.UILineChart.DrawOption(Graphics g)
在 System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
在 System.Windows.Forms.Control.WmPaint(Message& m)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 Sunny.UI.UIControl.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
2024-11-12 15:36:02
Global捕获到未处理异常System.OverflowException
异常信息:溢出错误。
异常堆栈: 在 System.Drawing.Graphics.CheckErrorStatus(Int32 status)
在 System.Drawing.Graphics.DrawLine(Pen pen, Single x1, Single y1, Single x2, Single y2)
在 Sunny.UI.UILineChart.DrawAxis(Graphics g)
在 Sunny.UI.UILineChart.DrawOption(Graphics g)
在 System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
在 System.Windows.Forms.Control.WmPaint(Message& m)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 Sunny.UI.UIControl.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
2024-11-12 15:37:56
Global捕获到未处理异常System.OverflowException
异常信息:溢出错误。
异常堆栈: 在 System.Drawing.Graphics.CheckErrorStatus(Int32 status)
在 System.Drawing.Graphics.DrawLine(Pen pen, Single x1, Single y1, Single x2, Single y2)
在 Sunny.UI.UILineChart.DrawAxis(Graphics g)
在 Sunny.UI.UILineChart.DrawOption(Graphics g)
在 System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
在 System.Windows.Forms.Control.WmPaint(Message& m)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 Sunny.UI.UIControl.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

View File

@ -0,0 +1,5 @@
[LOGIN]
UserCode=admin
RememberUserCode=1
PassWord=
RememberPw=0

View File

@ -3,9 +3,9 @@ CustomerVer=0
[CONTROL]
DefectPauseSkipPhotoCount=7
[DEV]
StopCodeScanner=true
StopCodeScanner=false
StopPlc=true
StopIO=false
StopIO=true
StopLight=false
PlcIPAdrees=192.168.60.160
PlcRackN=0
@ -22,6 +22,9 @@ Scanner_GENTL_CTI=ScannerRuntime\\Win64_x64\\MvFGProducerCML.cti
ScannerReversalX=false
ScannerReversalY=false
JM_PortName=COM8
residueWarnningLen=12
CeHouIP=192.168.1.1
CeHouPort=64000
[Material]
SuedeList=BSF,SF,SL,SD
[LIB]
@ -44,9 +47,9 @@ MiddleSuperposition=700
DBConStr=server=localhost;Database=LeatherDB;Uid=root;Pwd=123456; AllowLoadLocalInfile=true
ErpDBType=PostgreSQL
[ErpDB]
ErpDBConStr=Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=200.1.1.15)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=PUDB)));User Id=qcvi;Password=qcvi;Pooling='true';Max Pool Size=150
ErpSql=select * from tb_qc_prodinfo where PJXTBH=
ServerDBConStr=server=172.16.21.210;Database=LeatherDB;Uid=XCL001;Pwd=123456;AllowLoadLocalInfile=true
ErpDBConStr1=Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=200.1.1.15)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=PUDB)));User Id=qcvi;Password=qcvi;Pooling='true';Max Pool Size=150
ErpSql1=select * from tb_qc_prodinfo where PJXTBH=
ServerDBConStr1=server=172.16.21.210;Database=LeatherDB;Uid=XCL001;Pwd=123456;AllowLoadLocalInfile=true
[LOG]
LogPath=D:\log\
[Halcon]
@ -56,4 +59,19 @@ OpenBeep=True
OpenWarnBeep=True
BeepTime=3000
[Customer]
CustomerName=MX
CustomerName=
[Fun]
OpenJinShuJianCe=False
OpenHouDuJiLu=False
OpenFenJuan=True
OpenJMStop=True
StopLookDis=5.5
CutDis=8
OpenClearPic=False
ClearDays=3
[BOffset]
EdgeOffset=3
[HouDuOffset]
DataOffset1=1
DataOffset2=2
DataOffset3=3

View File

@ -459,3 +459,222 @@ E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\b
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Threading.Tasks.Extensions.xml
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.FErpMesEdit.resources
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.AddErpFrm.resources
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.FenJuanFrm.resources
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.OffsetFrm.resources
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.EdgeOffserFrm.resources
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\bin\Debug\CSkin.dll
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.CuttingFrm.resources
E:\CPL\迈沐智能项目\2023\革博士\源码\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.PartitionFrm.resources
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\革博士AI智能检测系统.exe.config
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\革博士AI智能检测系统.exe
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\革博士AI智能检测系统.pdb
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\ClosedXML.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\DocumentFormat.OpenXml.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\ExcelNumberFormat.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\halcondotnet.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\hdevenginedotnet.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\HZH_Controls.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\Irony.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\Microsoft.Bcl.AsyncInterfaces.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\Models.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\MQTTnet.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\OpenCvSharp.Extensions.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\Oracle.ManagedDataAccess.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\PG_Detect.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\S7.Net.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\Service.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\SixLabors.Fonts.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\SunnyUI.Common.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\SunnyUI.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Buffers.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Diagnostics.DiagnosticSource.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Drawing.Common.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Formats.Asn1.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.IO.Packaging.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Memory.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Numerics.Vectors.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Runtime.CompilerServices.Unsafe.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Text.Encodings.Web.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Text.Json.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Threading.Tasks.Extensions.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.ValueTuple.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\XLParser.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\MySql.Data.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\MySqlBackup.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\Google.Protobuf.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\ZstdSharp.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\K4os.Compression.LZ4.Streams.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\BouncyCastle.Cryptography.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\K4os.Compression.LZ4.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.IO.Pipelines.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\K4os.Hash.xxHash.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\Models.pdb
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\Service.pdb
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\Service.dll.config
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\ClosedXML.pdb
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\ClosedXML.xml
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\DocumentFormat.OpenXml.xml
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\ExcelNumberFormat.xml
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\Microsoft.Bcl.AsyncInterfaces.xml
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\MQTTnet.xml
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\OpenCvSharp.Extensions.xml
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\S7.Net.xml
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\SixLabors.Fonts.xml
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Diagnostics.DiagnosticSource.xml
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Drawing.Common.xml
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Formats.Asn1.xml
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.IO.Packaging.xml
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Text.Encodings.Web.xml
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Text.Json.xml
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Threading.Tasks.Extensions.xml
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\MySql.Data.xml
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\Google.Protobuf.pdb
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\Google.Protobuf.xml
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\K4os.Compression.LZ4.Streams.xml
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\BouncyCastle.Cryptography.xml
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\K4os.Compression.LZ4.xml
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.IO.Pipelines.xml
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\K4os.Hash.xxHash.xml
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.csproj.AssemblyReference.cache
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.csproj.SuggestedBindingRedirects.cache
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\革博士AI智能检测系统.exe.config
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.csproj.ResolveComReference.cache
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Form1.resources
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Form2.resources
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.FrmMain.resources
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.FrmVerList.resources
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.AddErpFrm.resources
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.CuttingFrm.resources
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.EdgeOffserFrm.resources
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.FenJuanFrm.resources
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.FErpMesEdit.resources
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.FSelDefect.resources
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.FHome_Defect.resources
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.FChart.resources
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.FSysSetting.resources
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.FReport.resources
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.FProductInfo.resources
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.FHome.resources
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.FTest.resources
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.OffsetFrm.resources
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.PartitionFrm.resources
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Properties.Resources.resources
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.UIExtend.UCColorItem.resources
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.UIExtend.UCColorList.resources
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.UIExtend.UCImageView.resources
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.UIExtend.UIDefectImage.resources
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.UIExtend.UIDefectEdit.resources
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.csproj.GenerateResource.cache
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.csproj.CoreCompileInputs.cache
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.csproj.Up2Date
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\革博士AI智能检测系统.exe
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\革博士AI智能检测系统.pdb
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\革博士AI智能检测系统.exe.config
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\革博士AI智能检测系统.exe
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\革博士AI智能检测系统.pdb
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\ClosedXML.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\DocumentFormat.OpenXml.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\ExcelNumberFormat.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\halcondotnet.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\hdevenginedotnet.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\HZH_Controls.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\Irony.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\Microsoft.Bcl.AsyncInterfaces.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\Models.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\MQTTnet.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\Newtonsoft.Json.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\OpenCvSharp.Extensions.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\Oracle.ManagedDataAccess.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\PG_Detect.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\S7.Net.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\Service.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\SixLabors.Fonts.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\SunnyUI.Common.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\SunnyUI.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Buffers.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Diagnostics.DiagnosticSource.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Drawing.Common.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Formats.Asn1.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.IO.Packaging.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Memory.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Numerics.Vectors.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Runtime.CompilerServices.Unsafe.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Text.Encodings.Web.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Text.Json.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Threading.Tasks.Extensions.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.ValueTuple.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\XLParser.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\MySql.Data.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\MySqlBackup.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\Google.Protobuf.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\ZstdSharp.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\K4os.Compression.LZ4.Streams.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\BouncyCastle.Cryptography.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\K4os.Compression.LZ4.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.IO.Pipelines.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\K4os.Hash.xxHash.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\Models.pdb
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\Service.pdb
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\Service.dll.config
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\ClosedXML.pdb
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\ClosedXML.xml
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\DocumentFormat.OpenXml.xml
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\ExcelNumberFormat.xml
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\Microsoft.Bcl.AsyncInterfaces.xml
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\MQTTnet.xml
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\OpenCvSharp.Extensions.xml
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\S7.Net.xml
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\SixLabors.Fonts.xml
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Diagnostics.DiagnosticSource.xml
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Drawing.Common.xml
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Formats.Asn1.xml
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.IO.Packaging.xml
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Text.Encodings.Web.xml
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Text.Json.xml
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.Threading.Tasks.Extensions.xml
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\MySql.Data.xml
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\Google.Protobuf.pdb
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\Google.Protobuf.xml
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\K4os.Compression.LZ4.Streams.xml
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\BouncyCastle.Cryptography.xml
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\K4os.Compression.LZ4.xml
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\System.IO.Pipelines.xml
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\K4os.Hash.xxHash.xml
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\Interop.BDaqOcxLib.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\bin\Debug\AxInterop.BDaqOcxLib.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.csproj.AssemblyReference.cache
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.csproj.SuggestedBindingRedirects.cache
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\革博士AI智能检测系统.exe.config
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\Interop.BDaqOcxLib.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\AxInterop.BDaqOcxLib.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.csproj.ResolveComReference.cache
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Form1.resources
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Form2.resources
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.FrmMain.resources
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.FrmVerList.resources
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.AddErpFrm.resources
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.CuttingFrm.resources
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.EdgeOffserFrm.resources
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.FenJuanFrm.resources
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.FErpMesEdit.resources
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.FSelDefect.resources
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.FHome_Defect.resources
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.FChart.resources
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.FSysSetting.resources
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.FReport.resources
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.FProductInfo.resources
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.FHome.resources
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.FTest.resources
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.OffsetFrm.resources
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Page.PartitionFrm.resources
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.Properties.Resources.resources
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.UIExtend.UCColorItem.resources
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.UIExtend.UCColorList.resources
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.UIExtend.UCImageView.resources
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.UIExtend.UIDefectImage.resources
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.UIExtend.UIDefectEdit.resources
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.csproj.GenerateResource.cache
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.csproj.CoreCompileInputs.cache
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\LeatherApp.csproj.CopyComplete
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\革博士AI智能检测系统.exe
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\LeatherApp\obj\Debug\革博士AI智能检测系统.pdb

View File

@ -140,7 +140,7 @@ namespace Models
public bool IsOR { get; set; }//面积 or 对比度
//临时显示用
[SugarColumn(IsIgnore = true)]
//[SugarColumn(IsIgnore = true)]
public string Name { get; set; }
@ -173,7 +173,7 @@ namespace Models
public int E { get; set; }
//临时显示用
[SugarColumn(IsIgnore = true)]
//[SugarColumn(IsIgnore = true)]
public string Name { get; set; }
}

View File

@ -49,6 +49,15 @@ namespace Models
/// 卷号 1,2,3,4
/// </summary>
public string ReelId { get; set; }
/// <summary>
/// 分卷号
/// </summary>
[SugarColumn(IsNullable = true)]
public string PartReelId { get; set; }
/// <summary>
/// 大卷第几卷
/// </summary>
public int ReelNo { get; set; }
public double ErpLen { get; set; }//ERP长度
//[SugarColumn(IsNullable = true)]
//public string SerialNum { get; set; } //流水号=批号+ReelId
@ -99,16 +108,19 @@ namespace Models
/// <summary>
/// 测厚数据[长度厚度1厚度2厚度3]
/// </summary>
[SqlSugar.SugarColumn(IsJson = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public List<float[]> ThicknessPointList { get; set; } = new List<float[]>();
//[SqlSugar.SugarColumn(IsJson = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
//public List<float[]> ThicknessPointList { get; set; } = new List<float[]>();
/// <summary>
/// Defect和Size比对失败的坐标位置
/// </summary>
[Navigate(NavigateType.OneToMany, nameof(DefectInfo.Pid))]
public List<DefectInfo> DefectInfoList { get; set; }
/// <summary>
/// 厚度数据
/// </summary>
[Navigate(NavigateType.OneToMany, nameof(Thickness.Pid))]
public List<Thickness> ThicknessList { get; set; }
//===计算属性和方法
[SugarColumn(IsIgnore = true)]
@ -137,6 +149,30 @@ namespace Models
/// </summary>
[SugarColumn(IsIgnore = true)]
public int[] preWarningPhotoIndexByLabel { get; set; } = new int[50];
//用户名称
[SugarColumn(IsNullable = true)]
public string UserName { get; set; }
//班组名称
[SugarColumn(IsNullable = true)]
public string WorkTeam { get; set; }
/// <summary>
/// 降级信息
/// </summary>
[SqlSugar.SugarColumn(IsNullable = true, IsJson = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public List<string[]> DowngradeInformation { get; set; } = new List<string[]>();
/// <summary>
/// 分卷结论
/// </summary>
[SugarColumn(IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string PartReelNote { get; set; }
/// <summary>
/// 分卷结论2
/// </summary>
[SugarColumn(IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string PartReelNote2 { get; set; }
}
/// <summary>
@ -202,9 +238,255 @@ namespace Models
/// </summary>
[SugarColumn(IsIgnore = true)]
public string imageID { get; set; }
[SugarColumn(IsIgnore = true)]
//[SugarColumn(IsIgnore = true)]
public string Name { get; set; }
[SugarColumn(IsIgnore = true)]
public string TagFilePath { get; set; }//打标小图路径,用于二次瑕疵检测修改和忽略时的改名/删除
/// <summary>
/// 图片中缺陷当前Y方向位置cm
/// </summary>
[SugarColumn(IsIgnore = true)]
public double PicY { get; set; }
/// <summary>
/// 当前图像计米器位置
/// </summary>
//[SugarColumn(IsIgnore = true)]
public double CurrDis { get; set; }
}
/// <summary>
/// 厚度检测明细表
/// </summary>
[SugarIndex("index_{table}_pid", nameof(Thickness.Pid), OrderByType.Asc,
isUnique: false)]
public class Thickness : BaseTable
{
public int Pid { get; set; }
public double Y_Dis { get; set; }//Y cm
public double Value1 { get; set; }//mm
public double Value2 { get; set; }//mm
public double Value3 { get; set; }//mm
}
/// <summary>
/// 上报服务器记录表
/// </summary>
public class UploadDataRecords : BaseTable
{
/// <summary>
/// 条码
/// </summary>
public string BarCode { get; set; }
/// <summary>
/// 品名
/// </summary>
public string BarCodeName { get; set; }
/// <summary>
/// 材质
/// </summary>
public string Material { get; set; }//材质名字
/// <summary>
/// 颜色名字
/// </summary>
public string Color { get; set; }//颜色名字
/// <summary>
/// 批号
/// </summary>
public string BatchId { get; set; }
/// <summary>
/// 卷号 1,2,3,4
/// </summary>
public string ReelId { get; set; }
/// <summary>
/// 分卷号
/// </summary>
[SugarColumn(IsNullable = true)]
public string PartReelId { get; set; }
public double ErpLen { get; set; }//ERP长度
/// <summary>
/// 名称
/// </summary>
[SugarColumn(IsNullable = true)]
public string Name { get; set; }
/// <summary>
/// 规格 绑定的ERP信息
/// </summary>
[SugarColumn(IsNullable = true, Length = 4096)]
public string Spec { get; set; }
/// <summary>
/// 光源亮度
/// </summary>
public int LightValue { get; set; }//亮度
/// <summary>
/// 曝光时长
/// </summary>
public double ExposureTime { get; set; }//曝光时长
/// <summary>
/// 增益
/// </summary>
public double Gain { get; set; }//增益
/// <summary>
/// 张力
/// </summary>
public double TensionValue { get; set; }//张力
[SugarColumn(IsNullable = true)]
public string Note { get; set; }
/// <summary>
/// 合格判断标准
/// </summary>
[Navigate(NavigateType.OneToMany, nameof(QualifiedLimit.Pid))]
public List<QualifiedLimit> QualifiedLimitList { get; set; }
/// <summary>
/// 等级划分标准
/// </summary>
[Navigate(NavigateType.OneToMany, nameof(GradeLimit.Pid))]
public List<GradeLimit> GradeLimitList { get; set; }
/// <summary>
/// 模型算法
/// </summary>
[SugarColumn(IsNullable = true)]
public string ModelName { get; set; }
/// <summary>
/// 瑕疵面积
/// </summary>
public double DefectAreaLimit { get; set; }//面积
/// <summary>
/// 每百米瑕疵数
/// </summary>
public int DefectCountLimit { get; set; }//瑕疵数
/// <summary>
/// 二次判定
/// </summary>
public bool DefectPauseForUser { get; set; }//瑕疵二次确认
[SqlSugar.SugarColumn(IsJson = true, IsNullable = true)]//, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public List<string> DefectPauseOption { get; set; } = new List<string>();//二次确认过滤瑕疵
/// <summary>
/// 缺陷计数长度
/// </summary>
[SugarColumn(IsNullable = true)]
public double DefectCntLength { get; set; }
/// <summary>
/// 缺陷警告
/// </summary>
[SugarColumn(IsNullable = true)]
public string WarnDefect { get; set; }
/// <summary>
/// 开启厚度检测
/// </summary>
[SugarColumn(IsNullable = true)]
public bool OpenThicknessDetection { get; set; }
/// <summary>
/// 厚度检测暂停距离m
/// </summary>
[SugarColumn(IsNullable = true)]
public int ThicknessDetectionStopDis { get; set; }
/// <summary>
/// 剩余长度提醒
/// </summary>
[SugarColumn(IsNullable = true)]
public double residueWarnningLen { get; set; }
//////////20241024新增传统算法参数/////////////////
/// <summary>
/// 分类
/// </summary>
[SugarColumn(IsNullable = true)]
public string ClassType { get; set; }
/// <summary>
/// 面积过滤大小像素
/// </summary>
[SugarColumn(IsNullable = true)]
public double HalconAreaThr { get; set; }
/// <summary>
/// M
/// </summary>
public double Len { get; set; }//实际数量/长度
[SugarColumn(IsNullable = true)]
public string ExeStandard { get; set; }//执行标准
/// <summary>
/// 时长-分
/// </summary>
public double TimeLen { get; set; }
/// <summary>
/// 等级划分1-n 对应ABC
/// </summary>
public int Grade { get; set; }
/// <summary>
/// 是否合格
/// </summary>
public bool Qualified { get; set; }
/// <summary>
/// 缺陷总数
/// </summary>
public int DefectTotalCount { get; set; }
public bool Succeed { get; set; }
/// <summary>
/// 失败分类
/// </summary>
public int FailType { get; set; }
public double FaceWidthMin { get; set; }
public double FaceWidthMax { get; set; }
/// <summary>
/// 门幅线
/// </summary>
[SqlSugar.SugarColumn(IsJson = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public List<float[]> FacePointList { get; set; } = new List<float[]>();
/// <summary>
/// Defect和Size比对失败的坐标位置
/// </summary>
[Navigate(NavigateType.OneToMany, nameof(DefectInfo.Pid))]
public List<DefectInfo> DefectInfoList { get; set; }
/// <summary>
/// 厚度数据
/// </summary>
[Navigate(NavigateType.OneToMany, nameof(Thickness.Pid))]
public List<Thickness> ThicknessList { get; set; }
[SugarColumn(IsNullable = true)]
public int cm2px_x { get; set; }
[SugarColumn(IsNullable = true)]
public int cm2px_y { get; set; }
//用户名称
[SugarColumn(IsNullable = true)]
public string UserName { get; set; }
//班组名称
[SugarColumn(IsNullable = true)]
public string WorkTeam { get; set; }
/// <summary>
/// 降级信息
/// </summary>
[SqlSugar.SugarColumn(IsNullable = true, IsJson = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public List<string[]> DowngradeInformation { get; set; } = new List<string[]>();
/// <summary>
/// 分卷结论
/// </summary>
[SugarColumn(IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string PartReelNote { get; set; }
/// <summary>
/// 分卷结论2
/// </summary>
[SugarColumn(IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)]
public string PartReelNote2 { get; set; }
}
}

View File

@ -25,5 +25,9 @@ namespace Models
[SugarColumn(IsNullable = true)]
public string Note { get; set; }
//班组名称
[SugarColumn(IsNullable = true)]
public string WorkTeam { get; set; }
}
}

View File

@ -52,3 +52,19 @@ H:\CPL\GeBoshi\禾欣版本修改\LeatherProject\Models\obj\Debug\Models.csproj.
H:\CPL\GeBoshi\禾欣版本修改\LeatherProject\Models\obj\Debug\Models.csproj.CopyComplete
H:\CPL\GeBoshi\禾欣版本修改\LeatherProject\Models\obj\Debug\Models.dll
H:\CPL\GeBoshi\禾欣版本修改\LeatherProject\Models\obj\Debug\Models.pdb
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\Models\bin\Debug\Models.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\Models\bin\Debug\Models.pdb
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\Models\bin\Debug\SqlSugar.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\Models\obj\Debug\Models.csproj.AssemblyReference.cache
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\Models\obj\Debug\Models.csproj.CoreCompileInputs.cache
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\Models\obj\Debug\Models.csproj.Up2Date
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\Models\obj\Debug\Models.dll
F:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\Models\obj\Debug\Models.pdb
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\Models\bin\Debug\Models.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\Models\bin\Debug\Models.pdb
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\Models\bin\Debug\SqlSugar.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\Models\obj\Debug\Models.csproj.AssemblyReference.cache
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\Models\obj\Debug\Models.csproj.CoreCompileInputs.cache
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\Models\obj\Debug\Models.csproj.CopyComplete
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\Models\obj\Debug\Models.dll
H:\CPL\GeBoshi\hy1127\V1.0\LeatherProject\Models\obj\Debug\Models.pdb

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
</configuration>

View File

@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ServerApp
{
internal static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new ServerFrm());
}
}
}

View File

@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("ServerApp")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("ServerApp")]
[assembly: AssemblyCopyright("Copyright © 2024")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 将 ComVisible 设置为 false 会使此程序集中的类型
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
//请将此类型的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("f1876ce2-8446-4eae-8707-fe4bb19a1c18")]
// 程序集的版本信息由下列四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@ -0,0 +1,71 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本: 4.0.30319.42000
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace ServerApp.Properties
{
/// <summary>
/// 强类型资源类,用于查找本地化字符串等。
/// </summary>
// 此类是由 StronglyTypedResourceBuilder
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
// (以 /str 作为命令选项),或重新生成 VS 项目。
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
/// <summary>
/// 返回此类使用的缓存 ResourceManager 实例。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ServerApp.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// 重写当前线程的 CurrentUICulture 属性,对
/// 使用此强类型资源类的所有资源查找执行重写。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
}
}

View File

@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -0,0 +1,30 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace ServerApp.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}

View File

@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

View File

@ -0,0 +1,106 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{F1876CE2-8446-4EAE-8707-FE4BB19A1C18}</ProjectGuid>
<OutputType>WinExe</OutputType>
<RootNamespace>ServerApp</RootNamespace>
<AssemblyName>ServerApp</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="ClosedXML, Version=0.96.0.0, Culture=neutral, PublicKeyToken=fd1eb21b62ae805b, processorArchitecture=MSIL">
<HintPath>..\packages\ClosedXML.0.96.0\lib\net46\ClosedXML.dll</HintPath>
</Reference>
<Reference Include="DocumentFormat.OpenXml, Version=2.16.0.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17, processorArchitecture=MSIL">
<HintPath>..\packages\DocumentFormat.OpenXml.2.16.0\lib\net46\DocumentFormat.OpenXml.dll</HintPath>
</Reference>
<Reference Include="ExcelNumberFormat, Version=1.1.0.0, Culture=neutral, PublicKeyToken=23c6f5d73be07eca, processorArchitecture=MSIL">
<HintPath>..\packages\ExcelNumberFormat.1.1.0\lib\net20\ExcelNumberFormat.dll</HintPath>
</Reference>
<Reference Include="Models">
<HintPath>..\Models\bin\Debug\Models.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL" />
<Reference Include="Service">
<HintPath>..\Service\bin\Debug\Service.dll</HintPath>
</Reference>
<Reference Include="SqlSugar">
<HintPath>..\LeatherApp\bin\Debug\SqlSugar.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Windows.Forms.DataVisualization" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<Compile Include="ServerFrm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="ServerFrm.Designer.cs">
<DependentUpon>ServerFrm.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="WebServer\WebService.cs" />
<EmbeddedResource Include="ServerFrm.resx">
<DependentUpon>ServerFrm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@ -0,0 +1,136 @@
namespace ServerApp
{
partial class ServerFrm
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// 清理所有正在使用的资源。
/// </summary>
/// <param name="disposing">如果应释放托管资源,为 true否则为 false。</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows
/// <summary>
/// 设计器支持所需的方法 - 不要修改
/// 使用代码编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend();
System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea2 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
System.Windows.Forms.DataVisualization.Charting.Legend legend2 = new System.Windows.Forms.DataVisualization.Charting.Legend();
System.Windows.Forms.DataVisualization.Charting.Series series2 = new System.Windows.Forms.DataVisualization.Charting.Series();
System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea3 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
System.Windows.Forms.DataVisualization.Charting.Legend legend3 = new System.Windows.Forms.DataVisualization.Charting.Legend();
System.Windows.Forms.DataVisualization.Charting.Series series3 = new System.Windows.Forms.DataVisualization.Charting.Series();
this.lstboxLog = new System.Windows.Forms.ListBox();
this.lineChartDefect = new System.Windows.Forms.DataVisualization.Charting.Chart();
this.lineChartFaceWidth = new System.Windows.Forms.DataVisualization.Charting.Chart();
this.lineChartHouDu = new System.Windows.Forms.DataVisualization.Charting.Chart();
((System.ComponentModel.ISupportInitialize)(this.lineChartDefect)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.lineChartFaceWidth)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.lineChartHouDu)).BeginInit();
this.SuspendLayout();
//
// lstboxLog
//
this.lstboxLog.FormattingEnabled = true;
this.lstboxLog.ItemHeight = 12;
this.lstboxLog.Location = new System.Drawing.Point(12, 12);
this.lstboxLog.Name = "lstboxLog";
this.lstboxLog.Size = new System.Drawing.Size(734, 376);
this.lstboxLog.TabIndex = 0;
this.lstboxLog.DrawItem += new System.Windows.Forms.DrawItemEventHandler(this.lstboxLog_DrawItem);
//
// lineChartDefect
//
chartArea1.Name = "ChartArea1";
this.lineChartDefect.ChartAreas.Add(chartArea1);
legend1.Name = "Legend1";
this.lineChartDefect.Legends.Add(legend1);
this.lineChartDefect.Location = new System.Drawing.Point(42, 74);
this.lineChartDefect.Name = "lineChartDefect";
series1.ChartArea = "ChartArea1";
series1.Legend = "Legend1";
series1.Name = "Series1";
this.lineChartDefect.Series.Add(series1);
this.lineChartDefect.Size = new System.Drawing.Size(690, 300);
this.lineChartDefect.TabIndex = 1;
this.lineChartDefect.Text = "chart1";
this.lineChartDefect.Visible = false;
//
// lineChartFaceWidth
//
chartArea2.Name = "ChartArea1";
this.lineChartFaceWidth.ChartAreas.Add(chartArea2);
legend2.Name = "Legend1";
this.lineChartFaceWidth.Legends.Add(legend2);
this.lineChartFaceWidth.Location = new System.Drawing.Point(23, 74);
this.lineChartFaceWidth.Name = "lineChartFaceWidth";
series2.ChartArea = "ChartArea1";
series2.Legend = "Legend1";
series2.Name = "Series1";
this.lineChartFaceWidth.Series.Add(series2);
this.lineChartFaceWidth.Size = new System.Drawing.Size(709, 300);
this.lineChartFaceWidth.TabIndex = 2;
this.lineChartFaceWidth.Text = "chart1";
this.lineChartFaceWidth.Visible = false;
//
// lineChartHouDu
//
chartArea3.Name = "ChartArea1";
this.lineChartHouDu.ChartAreas.Add(chartArea3);
legend3.Name = "Legend1";
this.lineChartHouDu.Legends.Add(legend3);
this.lineChartHouDu.Location = new System.Drawing.Point(23, 63);
this.lineChartHouDu.Name = "lineChartHouDu";
series3.ChartArea = "ChartArea1";
series3.Legend = "Legend1";
series3.Name = "Series1";
this.lineChartHouDu.Series.Add(series3);
this.lineChartHouDu.Size = new System.Drawing.Size(709, 300);
this.lineChartHouDu.TabIndex = 3;
this.lineChartHouDu.Text = "chart1";
//
// ServerFrm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(752, 393);
this.Controls.Add(this.lstboxLog);
this.Controls.Add(this.lineChartFaceWidth);
this.Controls.Add(this.lineChartDefect);
this.Controls.Add(this.lineChartHouDu);
this.Name = "ServerFrm";
this.Text = "服务器监控";
this.Load += new System.EventHandler(this.ServerFrm_Load);
((System.ComponentModel.ISupportInitialize)(this.lineChartDefect)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.lineChartFaceWidth)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.lineChartHouDu)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.ListBox lstboxLog;
private System.Windows.Forms.DataVisualization.Charting.Chart lineChartDefect;
private System.Windows.Forms.DataVisualization.Charting.Chart lineChartFaceWidth;
private System.Windows.Forms.DataVisualization.Charting.Chart lineChartHouDu;
}
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -0,0 +1,633 @@
using Models;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Service;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.NetworkInformation;
using System.Net.Sockets;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ServerApp.WebServer
{
public class WebService
{
public string dbConStr;
private HttpListener svcHttpListener;
public Action<string, string> LogEvent;
public Action<UploadDataRecords> GetReportEvent;
private void logEvent(string msg, string warn = "正常")
{
LogEvent?.Invoke(warn, msg);
}
private void getReportEvent(UploadDataRecords data)
{
GetReportEvent?.Invoke(data);
}
RecordsService service = new RecordsService();
public void start(string HttpIP, int HttpPort)
{
try
{
if (HttpPort > 0)
{
//logEvent("Web服务启动...");
this.svcHttpListener = new HttpListener();
List<string> lstIp = HttpUtil.getLocalIPList();
//logEvent($"Web服务已启动运行于端口:{Config.LocalHttpPort.ToString()}, 监听Ip:{string.Join("|", lstIp)}");
//if (!string.IsNullOrWhiteSpace(Config.LocalIp) && lstIp.FindIndex(m => m.Contains(Config.LocalIp)) >= 0)//没指定IP/指定的不对
//{
// lstIp.Clear();
// lstIp.Add(Config.LocalIp);
//}
//lstIp.Clear();
if (lstIp.Count < 1)
{
lstIp.Add(HttpIP);
lstIp.Add("127.0.0.1");
}
logEvent($"Web服务已启动运行于端口:{HttpPort.ToString()}, 监听Ip:{string.Join("|", lstIp)}");
//for (int i = 0; i < lstIp.Count; i++)
// this.svcHttpListener.Prefixes.Add("http://" + lstIp[i] + ":" + HttpPort.ToString() + "/");
this.svcHttpListener.Prefixes.Add("http://*:" + HttpPort.ToString() + "/");
//svcHttpListener.Prefixes.Add($"https://+:{HttpPort}");
this.svcHttpListener.Start();
//logEvent($"Web服务已启动运行于端口:{Config.LocalHttpPort.ToString()}, 监听Ip:{string.Join("|", lstIp)}");
//this.svcHttpListener.GetContext().Response.AppendHeader("Access-Control-Allow-Origin", "*");//后台跨域请求,通常设置为配置文件
//this.svcHttpListener.GetContext().Response.AppendHeader("Access-Control-Allow-Credentials", "true"); //后台跨域请求
this.svcHttpListener.BeginGetContext(new AsyncCallback(this.GetContextCallBack), this.svcHttpListener);
}
//------WEB Socket
//if (Config.localIp != "" && Config.localSocketPort > 0)
//{
// logEvent( "WebSocket服务启动...");
// this.wssv = new WebSocketServer(Config.localSocketPort);
// this.wssv.AddWebSocketService<Socket1>("/socket1");
// this.wssv.Start();
// logEvent( "WebSocket服务已启动。");
//}
}
catch (Exception ex)
{
logEvent("Web服务启动失败,ex=" + ex.Message, "错误");
}
}
public void stop()
{
logEvent("正在停止WEB服务...");
try
{
if (this.svcHttpListener != null && this.svcHttpListener.IsListening)
{
this.svcHttpListener.Stop();
this.svcHttpListener.Close();
this.logEvent("Web服务已停止!");
}
//if (this.svcWebSocket != null && this.svcWebSocket.IsListening)
//{
// this.svcWebSocket.Stop();
// this.svcWebSocket = null;
// this.AddTextEvent("WebSocket", "WebSocket服务已停止!");
//}
}
catch (Exception ex)
{
logEvent("Web服务停止失败,ex=" + ex.Message, "错误");
}
}
private void GetContextCallBack(IAsyncResult ar)
{
this.svcHttpListener = (ar.AsyncState as HttpListener);
HttpListenerContext httpListenerContext;
try
{
httpListenerContext = this.svcHttpListener.EndGetContext(ar);
//httpListenerContext.Response.AppendHeader("Access-Control-Allow-Origin", "*");//后台跨域请求,通常设置为配置文件
//httpListenerContext.Response.AppendHeader("Access-Control-Allow-Credentials", "true"); //后台跨域请求
//httpListenerContext.Response.AppendHeader("Access-Control-Allow-Methods", "GET,POST");
httpListenerContext.Response.AddHeader("Access-Control-Allow-Origin", "*");
httpListenerContext.Response.AddHeader("Access-Control-Allow-Headers", "*");
httpListenerContext.Response.AddHeader("Access-Control-Allow-Methods", "*");
this.svcHttpListener.BeginGetContext(new AsyncCallback(this.GetContextCallBack), this.svcHttpListener);
}
catch (Exception ex)
{
logEvent("ex:" + ex.StackTrace, "错误");
return;
}
//
string sessionId = Convert.ToInt32(DateTime.Now.ToString("mmssfff")).ToString();//.ToString("X");
string reqHttpMethod = httpListenerContext.Request.HttpMethod;
string reqUrl = httpListenerContext.Request.RawUrl;
string reqData = "";
try
{
this.logEvent($"{sessionId} / 收到请求:{reqHttpMethod} To Url:{reqUrl}");
reqData = HttpUtil.getPostData(httpListenerContext.Request);
this.logEvent($"{sessionId} / 请求数据:{reqData}");
var subUrls = reqUrl.Trim(new char[] { '/' }).Split(new char[] { '/' });
if (subUrls[0].ToLower() == "static")
{
#region
//string InputStream = ""; //上传的数据
//using (var streamReader = new StreamReader(httpListenerContext.Request.InputStream))
// InputStream = streamReader.ReadToEnd();
// string filePath = Config.appBasePath;
string filePath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
foreach (var sub in subUrls)
filePath += "\\" + sub;
if (!File.Exists(filePath)) filePath = filePath + "\\index.html";
if (!File.Exists(filePath))
{
httpListenerContext.Response.ContentLength64 = 0;
httpListenerContext.Response.StatusCode = 404;
httpListenerContext.Response.Abort();
}
else
{
httpListenerContext.Response.StatusCode = 200;
string exeName = Path.GetExtension(filePath);
httpListenerContext.Response.ContentType = HttpUtil.GetContentType(exeName);
FileStream fileStream = new System.IO.FileStream(filePath, System.IO.FileMode.Open, System.IO.FileAccess.Read, FileShare.ReadWrite);
int byteLength = (int)fileStream.Length;
byte[] fileBytes = new byte[byteLength];
fileStream.Read(fileBytes, 0, byteLength);
fileStream.Close();
fileStream.Dispose();
httpListenerContext.Response.ContentLength64 = byteLength;
httpListenerContext.Response.OutputStream.Write(fileBytes, 0, byteLength);
//httpListenerContext.Response.OutputStream.Close();
}
#endregion
return;
}
if (reqData == null)
throw new Exception("请求数据不可为空!");
httpListenerContext.Response.StatusCode = 200;
JObject joReqData = JObject.Parse(reqData);
string respText;
JObject result = new JObject();
string sourceSessionId;
switch (subUrls[0].ToLower())
{
case "static": //上面已处理
break;
case "test":
HttpUtil.writeToHttpContext_text(httpListenerContext.Response, "测试回应!");
break;
case "api":
switch (subUrls[1].ToLower())
{
//查询数据
case "query_table":
#region
//if (httpListenerContext.Request.HttpMethod != "POST")
// goto case "http_error";
result = getTableList(joReqData);
respText = JsonConvert.SerializeObject(result);
this.logEvent($"{sessionId} / 返回:{(respText.Length > 30 ? respText.Substring(0, 30) : respText)}");
if (!HttpUtil.writeToHttpContext_json(httpListenerContext.Response, respText))
this.logEvent($"{sessionId} / http返回时连接已断开");
#endregion
break;
//下载数据
case "get_defect_from_batch_reel"://读取缺陷文件名列表和JSON数组
#region
//if (httpListenerContext.Request.HttpMethod != "POST")
// goto case "http_error";
result = getDefectFromBatchReel(joReqData);
respText = JsonConvert.SerializeObject(result);
this.logEvent($"{sessionId} / 返回:{(respText.Length > 30 ? respText.Substring(0, 30) : respText)}");
if (!HttpUtil.writeToHttpContext_json(httpListenerContext.Response, respText))
this.logEvent($"{sessionId} / http返回时连接已断开");
#endregion
break;
default:
HttpUtil.writeToHttpContext_text(httpListenerContext.Response, "未知请求!");
break;
}
break;
case "http_error":
result.Add("code", -1);
result.Add("msg", "不支持的请求协议!");
respText = JsonConvert.SerializeObject(result);
this.logEvent($"{sessionId} / 返回:{respText}");
if (!HttpUtil.writeToHttpContext_json(httpListenerContext.Response, respText))
{
this.logEvent($"{sessionId} / http返回时连接已断开");
//this.logEvent( id + " /http连接已断开" + (string.IsNullOrWhiteSpace(callback_url) ? "无法返回结果!" : "通过回调返回" + callback_url), 1);
//if (callback_url != null && callback_url != "")
// HttpUtil.post(callback_url, respText);
}
break;
case "url_error":
result.Add("code", -2);
result.Add("msg", "URL地址错误");
respText = JsonConvert.SerializeObject(result);
this.logEvent($"{sessionId} / 返回:{respText}");
if (!HttpUtil.writeToHttpContext_json(httpListenerContext.Response, respText))
{
this.logEvent($"{sessionId} / http返回时连接已断开");
//this.logEvent( id + " /http连接已断开" + (string.IsNullOrWhiteSpace(callback_url) ? "无法返回结果!" : "通过回调返回" + callback_url), 1);
//if (callback_url != null && callback_url != "")
// HttpUtil.post(callback_url, respText);
}
break;
case "param_error":
result.Add("code", -3);
result.Add("msg", "参数错误!");
respText = JsonConvert.SerializeObject(result);
this.logEvent($"{sessionId} / 返回:{respText}");
if (!HttpUtil.writeToHttpContext_json(httpListenerContext.Response, respText))
{
this.logEvent($"{sessionId} / http返回时连接已断开");
//this.logEvent( id + " /http连接已断开" + (string.IsNullOrWhiteSpace(callback_url) ? "无法返回结果!" : "通过回调返回" + callback_url), 1);
//if (callback_url != null && callback_url != "")
// HttpUtil.post(callback_url, respText);
}
break;
default:
HttpUtil.writeToHttpContext_text(httpListenerContext.Response, "未知请求!");
break;
}
}
catch (Exception ex)
{
this.logEvent($"{sessionId} / 异常:{ex.Message}\r\n{ex.StackTrace}", "错误");
httpListenerContext.Response.StatusCode = 500;
}
finally
{
try
{
httpListenerContext.Response.OutputStream.Close();//客户端断开时会异常
}
catch { }
}
}
/// <summary>
/// 查询批号卷号数据
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
private JObject getTableList(JObject req)
{
JObject res = new JObject();
try
{
string model, batch = "", reel = "", order = "";
int totalCount = 0;
if (req.ContainsKey("batch")) batch = req.Value<string>("batch");
if (req.ContainsKey("reel")) reel = req.Value<string>("reel");
var db = new SqlSugarClient(new ConnectionConfig()
{
DbType = SqlSugar.DbType.MySql,
//InitKeyType = InitKeyType.Attribute,
IsAutoCloseConnection = true,
ConnectionString = dbConStr
});
List<UploadDataRecords> datalist = db.Queryable<UploadDataRecords>()
.Includes(m => m.DefectInfoList)
.Includes(m => m.QualifiedLimitList)
.Includes(m => m.GradeLimitList)
.ToList();
List<string> list = new List<string>();
var Find = datalist.Where(d => d.BatchId == batch && d.ReelId.IndexOf(reel)>=0).ToList();
if (Find != null && Find.Count > 0)
{
totalCount = Find.Count;
foreach (var d in Find)
{
list.Add($"PH:{d.BatchId},JH:{d.ReelId},FJH:{d.PartReelId}");
}
}
res.Add("code", 200);
res.Add("data", JArray.FromObject(list));
res.Add("totalCount", totalCount);
}
catch (Exception ex)
{
res.Add("code", -9);
res.Add("data", ex.Message);
}
return res;
}
/// <summary>
/// 获取并发送数据
/// </summary>
/// <param name="req"></param>
/// <returns></returns>
private JObject getDefectFromBatchReel(JObject req)
{
int err = 0;
JObject res = new JObject();
try
{
string batch = req.Value<string>("batch");
string reel = req.Value<string>("reel");
var db = new SqlSugarClient(new ConnectionConfig()
{
DbType = SqlSugar.DbType.MySql,
//InitKeyType = InitKeyType.Attribute,
IsAutoCloseConnection = true,
ConnectionString = dbConStr
});
var data = db.Queryable<UploadDataRecords>()
.Includes(m => m.DefectInfoList)
.Includes(m => m.QualifiedLimitList)
.Includes(m => m.GradeLimitList)
.First(m => m.BatchId == batch && m.ReelId == reel);
err = 2;
getReportEvent(data);
string file_path = $"{Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)}\\temp.xlsx";
//--缺陷
if (!string.IsNullOrEmpty(file_path))
{
if (!File.Exists(file_path))
throw new Exception(file_path + " 缺陷文件不存在!");
res.Add("code", 200);
res.Add("data", Convert.ToBase64String(File.ReadAllBytes(file_path)));
}
else
throw new Exception($"文件错误file_name={file_path}");
}
catch (Exception ex)
{
res.Add("code", -9);
res.Add("data", ex.Message);
}
return res;
}
}
public static class HttpUtil
{
/// <summary>
/// 获取本机IP地址列表
/// </summary>
/// <param name="_type">Wireless80211:本地所有IP仅127.0.0.1Ethernet:仅获取以太网接口的 IP 地址</param>
public static List<string> getLocalIPList(NetworkInterfaceType _type = NetworkInterfaceType.Unknown)
{
List<string> output = new List<string>();
foreach (NetworkInterface item in NetworkInterface.GetAllNetworkInterfaces())
{
if ((_type == NetworkInterfaceType.Unknown || item.NetworkInterfaceType == _type) && item.OperationalStatus == OperationalStatus.Up)
{
foreach (UnicastIPAddressInformation ip in item.GetIPProperties().UnicastAddresses)
{
if (ip.Address.AddressFamily == AddressFamily.InterNetwork)
{
//API.OutputDebugString($"{item.NetworkInterfaceType.ToString()}; {ip.Address.AddressFamily.ToString()}; {ip.Address.ToString()}");
output.Add(ip.Address.ToString());
}
}
}
}
return output;
}
//读取请求数据
public static string getPostData(HttpListenerRequest request)
{
if (!request.HasEntityBody)
return null;
string result;
using (Stream inputStream = request.InputStream)
{
using (StreamReader streamReader = new StreamReader(inputStream, Encoding.UTF8))
result = streamReader.ReadToEnd();
}
return result;
}
/// <summary>
/// POST请求接口调用
/// </summary>
/// <param name="url"></param>
/// <param name="json"></param>
/// <returns></returns>
public static void post(string url, string json, Action<JObject> callBack = null)
{
System.Threading.ThreadPool.QueueUserWorkItem(
new WaitCallback(o =>
{
var data = (JObject)o;
if (callBack == null)
postSync(data["url"].ToString(), data["json"].ToString(), false);
else
callBack(postSync(data["url"].ToString(), data["json"].ToString()));
}),
JObject.FromObject(new { url, json })
);
}
//HttpWebRequest方式
public static JObject postSync2(string url, string json, bool recvResp = true)
{
JObject resp = new JObject();
try
{
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
request.Method = "POST";
//request.ContentType = "application/x-www-form-urlencoded";
request.ContentType = "application /json";
StreamWriter requestWriter = new StreamWriter(request.GetRequestStream(), System.Text.Encoding.UTF8);
requestWriter.Write(json);
requestWriter.Flush();
requestWriter.Close();
if (recvResp)
{
WebResponse webResponse = request.GetResponse();
Stream webStream = webResponse.GetResponseStream();
StreamReader responseReader = new StreamReader(webStream);
resp.Add("data", responseReader.ReadToEnd());
resp.Add("success", true);
}
else
{
request.GetResponse().Close();//必需调用此GetResponse后上面的write才会发送出去
resp.Add("data", "");
resp.Add("success", true);
}
}
catch (Exception ex)
{
resp.Add("success", false);
resp.Add("data", ex.Message);
}
return resp;
}
//HttpClient方式
public static JObject postSync(string url, string json, bool recvResp = true, bool isJson = false)
{
JObject resp = new JObject();
try
{
HttpClient http = new HttpClient();
StringContent dataContent;
//第一种方式data是json格式
if (isJson)
dataContent = new StringContent(json, System.Text.Encoding.UTF8, "application/json"); // {"PageNum":"1","PageSIze":"20","info":"311011500300661"}
else
{
// 第二种方式form表单提交 内容post 提交都在StringContent请求body中添加
string lsUrlEncodeStr = json2Params(JObject.Parse(json));
dataContent = new StringContent(lsUrlEncodeStr, System.Text.Encoding.UTF8, "application/x-www-form-urlencoded"); //PageNum=1&PageSize=20&info=311011500300661
}
http.DefaultRequestHeaders.Authorization = new System.Net.Http.Headers.AuthenticationHeaderValue("Bearer", "token");
var taskstr = http.PostAsync(url, dataContent).Result.Content.ReadAsStringAsync();
//API.OutputDebugString("wlq postSync:url=" + url + ";resp=" + taskstr.Result);
//读取返回数据
//return taskstr.Result;
if (recvResp)
{
resp.Add("data", taskstr.Result);
resp.Add("success", true);
}
else
{
resp.Add("data", "");
resp.Add("success", true);
}
}
catch (Exception ex)
{
resp.Add("success", false);
resp.Add("data", ex.Message);
}
return resp;
}
/// <summary>
/// 向HTTP连接写入数据
/// </summary>
/// <param name="resp">HttpListenerContext.Response</param>
/// <param name="data"></param>
/// <returns>如果连接关闭返回 false</returns>
public static bool writeToHttpContext(HttpListenerResponse resp, byte[] dataBuff)
{
try
{
resp.OutputStream.Write(dataBuff, 0, dataBuff.Length);
resp.OutputStream.Flush();
return true;
}
catch (Exception ex)
{
return false;
}
}
public static bool writeToHttpContext_json(HttpListenerResponse resp, string json)
{
byte[] buff = Encoding.UTF8.GetBytes(json);
resp.ContentType = "application/json";
resp.ContentEncoding = Encoding.UTF8;
return writeToHttpContext(resp, buff);
}
public static bool writeToHttpContext_text(HttpListenerResponse resp, string text)
{
byte[] buff = Encoding.UTF8.GetBytes(text);
resp.ContentType = "application/text";
resp.ContentEncoding = Encoding.UTF8;
return writeToHttpContext(resp, buff);
}
private static string json2Params(JObject json)
{
string result = "";
IEnumerable<JProperty> properties = json.Properties();
foreach (JProperty item in properties)
{
result += item.Name.ToString() + "=" + item.Value.ToString() + "&";
// item.Name 为 键
// item.Value 为 值
}
result = result.Substring(0, result.Length - 1);
//string result1 = WebUtility.UrlEncode(result);//转义字符大写
////string result2 = HttpUtility.UrlEncode(result);//转义字符小写
return result;
}
/// <summary>
/// 获取文件对应MIME类型
/// </summary>
/// <param name="fileExtention">文件扩展名,如.jpg</param>
/// <returns></returns>
public static string GetContentType(string fileExtention)
{
if (string.Compare(fileExtention, ".html", true) == 0 || string.Compare(fileExtention, ".htm", true) == 0)
return "text/html;charset=utf-8";
else if (string.Compare(fileExtention, ".js", true) == 0)
return "application/javascript";
else if (string.Compare(fileExtention, ".css", true) == 0)
return "text/css";
else if (string.Compare(fileExtention, ".png", true) == 0)
return "image/png";
else if (string.Compare(fileExtention, ".jpg", true) == 0 || string.Compare(fileExtention, ".jpeg", true) == 0)
return "image/jpeg";
else if (string.Compare(fileExtention, ".gif", true) == 0)
return "image/gif";
else if (string.Compare(fileExtention, ".swf", true) == 0)
return "application/x-shockwave-flash";
else if (string.Compare(fileExtention, ".bcmap", true) == 0)
return "image/svg+xml";
else if (string.Compare(fileExtention, ".properties", true) == 0)
return "application/octet-stream";
else if (string.Compare(fileExtention, ".map", true) == 0)
return "text/plain";
else if (string.Compare(fileExtention, ".svg", true) == 0)
return "image/svg+xml";
else if (string.Compare(fileExtention, ".pdf", true) == 0)
return "application/pdf";
else if (string.Compare(fileExtention, ".txt", true) == 0)
return "text/*";
else if (string.Compare(fileExtention, ".dat", true) == 0)
return "text/*";
else
return "application/octet-stream";//application/octet-stream
}
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,110 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>ExcelNumberFormat</name>
</assembly>
<members>
<member name="M:ExcelNumberFormat.CompatibleConvert.ToString(System.Object,System.IFormatProvider)">
<summary>
A backward-compatible version of <see cref="M:System.Convert.ToString(System.Object,System.IFormatProvider)"/>.
Starting from .net Core 3.0 the default precision used for formatting floating point number has changed.
To always format numbers the same way, no matter what version of runtime is used, we specify the precision explicitly.
</summary>
</member>
<member name="T:ExcelNumberFormat.ExcelDateTime">
<summary>
Similar to regular .NET DateTime, but also supports 0/1 1900 and 29/2 1900.
</summary>
</member>
<member name="P:ExcelNumberFormat.ExcelDateTime.AdjustedDateTime">
<summary>
The closest .NET DateTime to the specified excel date.
</summary>
</member>
<member name="P:ExcelNumberFormat.ExcelDateTime.AdjustDaysPost">
<summary>
Number of days to adjust by in post.
</summary>
</member>
<member name="M:ExcelNumberFormat.ExcelDateTime.#ctor(System.Double,System.Boolean)">
<summary>
Constructs a new ExcelDateTime from a numeric value.
</summary>
</member>
<member name="M:ExcelNumberFormat.ExcelDateTime.#ctor(System.DateTime)">
<summary>
Wraps a regular .NET datetime.
</summary>
<param name="value"></param>
</member>
<member name="M:ExcelNumberFormat.Formatter.FormatThousands(System.String,System.Boolean,System.Boolean,System.Collections.Generic.List{System.String},System.Globalization.CultureInfo,System.Text.StringBuilder)">
<summary>
Prints right-aligned, left-padded integer before the decimal separator. With optional most-significant zero.
</summary>
</member>
<member name="M:ExcelNumberFormat.Formatter.FormatDecimals(System.String,System.Collections.Generic.List{System.String},System.Text.StringBuilder)">
<summary>
Prints left-aligned, right-padded integer after the decimal separator. Does not print significant zero.
</summary>
</member>
<member name="M:ExcelNumberFormat.Formatter.FormatDenominator(System.String,System.Collections.Generic.List{System.String},System.Text.StringBuilder)">
<summary>
Prints left-aligned, left-padded fraction integer denominator.
Assumes tokens contain only placeholders, valueString has fewer or equal number of digits as tokens.
</summary>
</member>
<member name="M:ExcelNumberFormat.Formatter.GetLeftAlignedValueDigit(System.String,System.String,System.Int32,System.Boolean,System.Int32@)">
<summary>
Returns the first digit from valueString. If the token is '?'
returns the first significant digit from valueString, or '0' if there are no significant digits.
The out valueIndex parameter contains the offset to the next digit in valueString.
</summary>
</member>
<member name="T:ExcelNumberFormat.NumberFormat">
<summary>
Parse ECMA-376 number format strings and format values like Excel and other spreadsheet softwares.
</summary>
</member>
<member name="M:ExcelNumberFormat.NumberFormat.#ctor(System.String)">
<summary>
Initializes a new instance of the <see cref="T:ExcelNumberFormat.NumberFormat"/> class.
</summary>
<param name="formatString">The number format string.</param>
</member>
<member name="P:ExcelNumberFormat.NumberFormat.IsValid">
<summary>
Gets a value indicating whether the number format string is valid.
</summary>
</member>
<member name="P:ExcelNumberFormat.NumberFormat.FormatString">
<summary>
Gets the number format string.
</summary>
</member>
<member name="P:ExcelNumberFormat.NumberFormat.IsDateTimeFormat">
<summary>
Gets a value indicating whether the format represents a DateTime
</summary>
</member>
<member name="P:ExcelNumberFormat.NumberFormat.IsTimeSpanFormat">
<summary>
Gets a value indicating whether the format represents a TimeSpan
</summary>
</member>
<member name="M:ExcelNumberFormat.NumberFormat.Format(System.Object,System.Globalization.CultureInfo,System.Boolean)">
<summary>
Formats a value with this number format in a specified culture.
</summary>
<param name="value">The value to format.</param>
<param name="culture">The culture to use for formatting.</param>
<param name="isDate1904">If false, numeric dates start on January 0 1900 and include February 29 1900 - like Excel on PC. If true, numeric dates start on January 1 1904 - like Excel on Mac.</param>
<returns>The formatted string.</returns>
</member>
<member name="M:ExcelNumberFormat.Parser.ParseNumberTokens(System.Collections.Generic.List{System.String},System.Int32,System.Collections.Generic.List{System.String}@,System.Boolean@,System.Collections.Generic.List{System.String}@)">
<summary>
Parses as many placeholders and literals needed to format a number with optional decimals.
Returns number of tokens parsed, or 0 if the tokens didn't form a number.
</summary>
</member>
</members>
</doc>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,245 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>K4os.Hash.xxHash</name>
</assembly>
<members>
<member name="T:K4os.Hash.xxHash.HashAlgorithmAdapter">
<summary>
Adapter implementing <see cref="T:System.Security.Cryptography.HashAlgorithm"/>
</summary>
</member>
<member name="M:K4os.Hash.xxHash.HashAlgorithmAdapter.#ctor(System.Int32,System.Action,System.Action{System.Byte[],System.Int32,System.Int32},System.Func{System.Byte[]})">
<summary>
Creates new <see cref="T:K4os.Hash.xxHash.HashAlgorithmAdapter"/>.
</summary>
<param name="hashSize">Hash size (in bytes)</param>
<param name="reset">Reset function.</param>
<param name="update">Update function.</param>
<param name="digest">Digest function.</param>
</member>
<member name="P:K4os.Hash.xxHash.HashAlgorithmAdapter.HashSize">
<inheritdoc />
</member>
<member name="P:K4os.Hash.xxHash.HashAlgorithmAdapter.Hash">
<inheritdoc />
</member>
<member name="M:K4os.Hash.xxHash.HashAlgorithmAdapter.HashCore(System.Byte[],System.Int32,System.Int32)">
<inheritdoc />
</member>
<member name="M:K4os.Hash.xxHash.HashAlgorithmAdapter.HashFinal">
<inheritdoc />
</member>
<member name="M:K4os.Hash.xxHash.HashAlgorithmAdapter.Initialize">
<inheritdoc />
</member>
<member name="T:K4os.Hash.xxHash.XXH">
<summary>
Base class for both <see cref="T:K4os.Hash.xxHash.XXH32"/> and <see cref="T:K4os.Hash.xxHash.XXH64"/>. Do not use directly.
</summary>
</member>
<member name="M:K4os.Hash.xxHash.XXH.#ctor">
<summary>Protected constructor to prevent instantiation.</summary>
</member>
<member name="T:K4os.Hash.xxHash.XXH32">
<summary>
xxHash 32-bit.
</summary>
</member>
<member name="T:K4os.Hash.xxHash.XXH32.State">
<summary>Internal state of the algorithm.</summary>
</member>
<member name="F:K4os.Hash.xxHash.XXH32.EmptyHash">
<summary>Hash of empty buffer.</summary>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.DigestOf(System.Void*,System.Int32)">
<summary>Hash of provided buffer.</summary>
<param name="bytes">Buffer.</param>
<param name="length">Length of buffer.</param>
<returns>Digest.</returns>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.DigestOf(System.Void*,System.Int32,System.UInt32)">
<summary>Hash of provided buffer.</summary>
<param name="bytes">Buffer.</param>
<param name="length">Length of buffer.</param>
<param name="seed">Seed.</param>
<returns>Digest.</returns>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.DigestOf(System.ReadOnlySpan{System.Byte})">
<summary>Hash of provided buffer.</summary>
<param name="bytes">Buffer.</param>
<returns>Digest.</returns>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.DigestOf(System.Byte[],System.Int32,System.Int32)">
<summary>Hash of provided buffer.</summary>
<param name="bytes">Buffer.</param>
<param name="offset">Starting offset.</param>
<param name="length">Length of buffer.</param>
<returns>Digest.</returns>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.#ctor">
<summary>Creates xxHash instance.</summary>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.#ctor(System.UInt32)">
<summary>Creates xxHash instance.</summary>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.Reset">
<summary>Resets hash calculation.</summary>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.Reset(System.UInt32)">
<summary>Resets hash calculation.</summary>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.Update(System.Void*,System.Int32)">
<summary>Updates the hash using given buffer.</summary>
<param name="bytes">Buffer.</param>
<param name="length">Length of buffer.</param>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.Update(System.Byte*,System.Int32)">
<summary>Updates the hash using given buffer.</summary>
<param name="bytes">Buffer.</param>
<param name="length">Length of buffer.</param>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.Update(System.ReadOnlySpan{System.Byte})">
<summary>Updates the has using given buffer.</summary>
<param name="bytes">Buffer.</param>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.Update(System.Byte[],System.Int32,System.Int32)">
<summary>Updates the has using given buffer.</summary>
<param name="bytes">Buffer.</param>
<param name="offset">Starting offset.</param>
<param name="length">Length of buffer.</param>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.Digest">
<summary>Hash so far.</summary>
<returns>Hash so far.</returns>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.DigestBytes">
<summary>Hash so far, as byte array.</summary>
<returns>Hash so far.</returns>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.AsHashAlgorithm">
<summary>Converts this class to <see cref="T:System.Security.Cryptography.HashAlgorithm"/></summary>
<returns><see cref="T:System.Security.Cryptography.HashAlgorithm"/></returns>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.Reset(K4os.Hash.xxHash.XXH32.State@,System.UInt32)">
<summary>Resets hash calculation.</summary>
<param name="state">Hash state.</param>
<param name="seed">Hash seed.</param>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.Update(K4os.Hash.xxHash.XXH32.State@,System.Void*,System.Int32)">
<summary>Updates the has using given buffer.</summary>
<param name="state">Hash state.</param>
<param name="bytes">Buffer.</param>
<param name="length">Length of buffer.</param>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.Update(K4os.Hash.xxHash.XXH32.State@,System.ReadOnlySpan{System.Byte})">
<summary>Updates the has using given buffer.</summary>
<param name="state">Hash state.</param>
<param name="bytes">Buffer.</param>
</member>
<member name="M:K4os.Hash.xxHash.XXH32.Digest(K4os.Hash.xxHash.XXH32.State@)">
<summary>Hash so far.</summary>
<returns>Hash so far.</returns>
</member>
<member name="T:K4os.Hash.xxHash.XXH64">
<summary>
xxHash 64-bit.
</summary>
</member>
<member name="T:K4os.Hash.xxHash.XXH64.State">
<summary>Internal state of the algorithm.</summary>
</member>
<member name="F:K4os.Hash.xxHash.XXH64.EmptyHash">
<summary>Hash of empty buffer.</summary>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.DigestOf(System.Void*,System.Int32)">
<summary>Hash of provided buffer.</summary>
<param name="bytes">Buffer.</param>
<param name="length">Length of buffer.</param>
<returns>Digest.</returns>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.DigestOf(System.Void*,System.Int32,System.UInt64)">
<summary>Hash of provided buffer.</summary>
<param name="bytes">Buffer.</param>
<param name="length">Length of buffer.</param>
<param name="seed">Seed.</param>
<returns>Digest.</returns>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.DigestOf(System.ReadOnlySpan{System.Byte})">
<summary>Hash of provided buffer.</summary>
<param name="bytes">Buffer.</param>
<returns>Digest.</returns>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.DigestOf(System.Byte[],System.Int32,System.Int32)">
<summary>Hash of provided buffer.</summary>
<param name="bytes">Buffer.</param>
<param name="offset">Starting offset.</param>
<param name="length">Length of buffer.</param>
<returns>Digest.</returns>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.#ctor">
<summary>Creates xxHash instance.</summary>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.#ctor(System.UInt64)">
<summary>Creates xxHash instance.</summary>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.Reset">
<summary>Resets hash calculation.</summary>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.Reset(System.UInt64)">
<summary>Resets hash calculation.</summary>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.Update(System.Void*,System.Int32)">
<summary>Updates the hash using given buffer.</summary>
<param name="bytes">Buffer.</param>
<param name="length">Length of buffer.</param>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.Update(System.Byte*,System.Int32)">
<summary>Updates the hash using given buffer.</summary>
<param name="bytes">Buffer.</param>
<param name="length">Length of buffer.</param>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.Update(System.ReadOnlySpan{System.Byte})">
<summary>Updates the has using given buffer.</summary>
<param name="bytes">Buffer.</param>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.Update(System.Byte[],System.Int32,System.Int32)">
<summary>Updates the has using given buffer.</summary>
<param name="bytes">Buffer.</param>
<param name="offset">Starting offset.</param>
<param name="length">Length of buffer.</param>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.Digest">
<summary>Hash so far.</summary>
<returns>Hash so far.</returns>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.DigestBytes">
<summary>Hash so far, as byte array.</summary>
<returns>Hash so far.</returns>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.AsHashAlgorithm">
<summary>Converts this class to <see cref="T:System.Security.Cryptography.HashAlgorithm"/></summary>
<returns><see cref="T:System.Security.Cryptography.HashAlgorithm"/></returns>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.Reset(K4os.Hash.xxHash.XXH64.State@,System.UInt64)">
<summary>Resets hash calculation.</summary>
<param name="state">Hash state.</param>
<param name="seed">Hash seed.</param>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.Update(K4os.Hash.xxHash.XXH64.State@,System.Void*,System.Int32)">
<summary>Updates the has using given buffer.</summary>
<param name="state">Hash state.</param>
<param name="bytes">Buffer.</param>
<param name="length">Length of buffer.</param>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.Update(K4os.Hash.xxHash.XXH64.State@,System.ReadOnlySpan{System.Byte})">
<summary>Updates the has using given buffer.</summary>
<param name="state">Hash state.</param>
<param name="bytes">Buffer.</param>
</member>
<member name="M:K4os.Hash.xxHash.XXH64.Digest(K4os.Hash.xxHash.XXH64.State@)">
<summary>Hash so far.</summary>
<returns>Hash so far.</returns>
</member>
</members>
</doc>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-13.0.0.0" newVersion="13.0.0.0" />
</dependentAssembly>
</assemblyBinding>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="MySql.Data" publicKeyToken="c5687fc88969c44d" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-8.3.0.0" newVersion="8.3.0.0" />
</dependentAssembly>
</assemblyBinding>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" />
</dependentAssembly>
</assemblyBinding>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.1.2" newVersion="4.0.1.2" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="MySqlConnector" publicKeyToken="d33d3e53aa5f8c92" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-2.0.0.0" newVersion="2.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="MySql.Data" publicKeyToken="c5687fc88969c44d" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-8.0.31.0" newVersion="8.0.31.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

Some files were not shown because too many files have changed in this diff Show More