首次上传代码
This commit is contained in:
commit
80f27e15e4
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
SSWCS_JXDL(2019)/.vs/乐山WCS/v17/.suo
Normal file
BIN
SSWCS_JXDL(2019)/.vs/乐山WCS/v17/.suo
Normal file
Binary file not shown.
103
SSWCS_JXDL(2019)/.vs/乐山WCS/v17/DocumentLayout.backup.json
Normal file
103
SSWCS_JXDL(2019)/.vs/乐山WCS/v17/DocumentLayout.backup.json
Normal file
@ -0,0 +1,103 @@
|
||||
{
|
||||
"Version": 1,
|
||||
"WorkspaceRootPath": "D:\\Work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\SSWCS_JXDL(2019)\\",
|
||||
"Documents": [
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{498C175B-6281-4B21-8BD0-194E93DB3A8F}|ControlSystem\\ControlSystem.csproj|D:\\Work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\SSWCS_JXDL(2019)\\controlsystem\\frmcontrolmonitor.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{498C175B-6281-4B21-8BD0-194E93DB3A8F}|ControlSystem\\ControlSystem.csproj|solutionrelative:controlsystem\\frmcontrolmonitor.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{498C175B-6281-4B21-8BD0-194E93DB3A8F}|ControlSystem\\ControlSystem.csproj|d:\\work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\sswcs_jxdl(2019)\\controlsystem\\createmonitor.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{498C175B-6281-4B21-8BD0-194E93DB3A8F}|ControlSystem\\ControlSystem.csproj|solutionrelative:controlsystem\\createmonitor.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{498C175B-6281-4B21-8BD0-194E93DB3A8F}|ControlSystem\\ControlSystem.csproj|d:\\work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\sswcs_jxdl(2019)\\controlsystem\\frmcontrolmonitor.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
|
||||
"RelativeMoniker": "D:0:0:{498C175B-6281-4B21-8BD0-194E93DB3A8F}|ControlSystem\\ControlSystem.csproj|solutionrelative:controlsystem\\frmcontrolmonitor.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{498C175B-6281-4B21-8BD0-194E93DB3A8F}|ControlSystem\\ControlSystem.csproj|D:\\Work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\SSWCS_JXDL(2019)\\controlsystem\\cgetstate.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{498C175B-6281-4B21-8BD0-194E93DB3A8F}|ControlSystem\\ControlSystem.csproj|solutionrelative:controlsystem\\cgetstate.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{498C175B-6281-4B21-8BD0-194E93DB3A8F}|ControlSystem\\ControlSystem.csproj|D:\\Work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\SSWCS_JXDL(2019)\\controlsystem\\cobtaintask.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{498C175B-6281-4B21-8BD0-194E93DB3A8F}|ControlSystem\\ControlSystem.csproj|solutionrelative:controlsystem\\cobtaintask.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
}
|
||||
],
|
||||
"DocumentGroupContainers": [
|
||||
{
|
||||
"Orientation": 0,
|
||||
"VerticalTabListWidth": 256,
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 200,
|
||||
"SelectedChildIndex": 4,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 2,
|
||||
"Title": "FrmControlMonitor.cs [\u8BBE\u8BA1]",
|
||||
"DocumentMoniker": "D:\\Work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\SSWCS_JXDL(2019)\\ControlSystem\\FrmControlMonitor.cs",
|
||||
"RelativeDocumentMoniker": "ControlSystem\\FrmControlMonitor.cs",
|
||||
"ToolTip": "D:\\Work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\SSWCS_JXDL(2019)\\ControlSystem\\FrmControlMonitor.cs [\u8BBE\u8BA1]",
|
||||
"RelativeToolTip": "ControlSystem\\FrmControlMonitor.cs [\u8BBE\u8BA1]",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-05-12T04:41:30.393Z",
|
||||
"EditorCaption": " [\u8BBE\u8BA1]"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 4,
|
||||
"Title": "CObtainTask.cs",
|
||||
"DocumentMoniker": "D:\\Work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\SSWCS_JXDL(2019)\\ControlSystem\\CObtainTask.cs",
|
||||
"RelativeDocumentMoniker": "ControlSystem\\CObtainTask.cs",
|
||||
"ToolTip": "D:\\Work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\SSWCS_JXDL(2019)\\ControlSystem\\CObtainTask.cs",
|
||||
"RelativeToolTip": "ControlSystem\\CObtainTask.cs",
|
||||
"ViewState": "AQIAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-04-18T02:29:49.032Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 3,
|
||||
"Title": "CGetState.cs",
|
||||
"DocumentMoniker": "D:\\Work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\SSWCS_JXDL(2019)\\ControlSystem\\CGetState.cs",
|
||||
"RelativeDocumentMoniker": "ControlSystem\\CGetState.cs",
|
||||
"ToolTip": "D:\\Work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\SSWCS_JXDL(2019)\\ControlSystem\\CGetState.cs",
|
||||
"RelativeToolTip": "ControlSystem\\CGetState.cs",
|
||||
"ViewState": "AgIAAHIBAAAAAAAAAAAqwI8BAABMAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-03-27T01:32:25.281Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"Title": "CreateMonitor.cs",
|
||||
"DocumentMoniker": "D:\\Work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\SSWCS_JXDL(2019)\\ControlSystem\\CreateMonitor.cs",
|
||||
"RelativeDocumentMoniker": "ControlSystem\\CreateMonitor.cs",
|
||||
"ToolTip": "D:\\Work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\SSWCS_JXDL(2019)\\ControlSystem\\CreateMonitor.cs",
|
||||
"RelativeToolTip": "ControlSystem\\CreateMonitor.cs",
|
||||
"ViewState": "AgIAAKIAAAAAAAAAAAAAAMEAAAAhAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-04-17T06:38:39.67Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"Title": "FrmControlMonitor.cs",
|
||||
"DocumentMoniker": "D:\\Work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\SSWCS_JXDL(2019)\\ControlSystem\\FrmControlMonitor.cs",
|
||||
"RelativeDocumentMoniker": "ControlSystem\\FrmControlMonitor.cs",
|
||||
"ToolTip": "D:\\Work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\SSWCS_JXDL(2019)\\ControlSystem\\FrmControlMonitor.cs",
|
||||
"RelativeToolTip": "ControlSystem\\FrmControlMonitor.cs",
|
||||
"ViewState": "AgIAAPwCAAAAAAAAAAAgwA4DAAAIAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-03-21T00:45:01.766Z",
|
||||
"EditorCaption": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
103
SSWCS_JXDL(2019)/.vs/乐山WCS/v17/DocumentLayout.json
Normal file
103
SSWCS_JXDL(2019)/.vs/乐山WCS/v17/DocumentLayout.json
Normal file
@ -0,0 +1,103 @@
|
||||
{
|
||||
"Version": 1,
|
||||
"WorkspaceRootPath": "D:\\Work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\SSWCS_JXDL(2019)\\",
|
||||
"Documents": [
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{498C175B-6281-4B21-8BD0-194E93DB3A8F}|ControlSystem\\ControlSystem.csproj|D:\\Work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\SSWCS_JXDL(2019)\\controlsystem\\frmcontrolmonitor.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{498C175B-6281-4B21-8BD0-194E93DB3A8F}|ControlSystem\\ControlSystem.csproj|solutionrelative:controlsystem\\frmcontrolmonitor.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{498C175B-6281-4B21-8BD0-194E93DB3A8F}|ControlSystem\\ControlSystem.csproj|d:\\work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\sswcs_jxdl(2019)\\controlsystem\\createmonitor.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{498C175B-6281-4B21-8BD0-194E93DB3A8F}|ControlSystem\\ControlSystem.csproj|solutionrelative:controlsystem\\createmonitor.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{498C175B-6281-4B21-8BD0-194E93DB3A8F}|ControlSystem\\ControlSystem.csproj|d:\\work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\sswcs_jxdl(2019)\\controlsystem\\frmcontrolmonitor.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form",
|
||||
"RelativeMoniker": "D:0:0:{498C175B-6281-4B21-8BD0-194E93DB3A8F}|ControlSystem\\ControlSystem.csproj|solutionrelative:controlsystem\\frmcontrolmonitor.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}|Form"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{498C175B-6281-4B21-8BD0-194E93DB3A8F}|ControlSystem\\ControlSystem.csproj|D:\\Work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\SSWCS_JXDL(2019)\\controlsystem\\cgetstate.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{498C175B-6281-4B21-8BD0-194E93DB3A8F}|ControlSystem\\ControlSystem.csproj|solutionrelative:controlsystem\\cgetstate.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{498C175B-6281-4B21-8BD0-194E93DB3A8F}|ControlSystem\\ControlSystem.csproj|D:\\Work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\SSWCS_JXDL(2019)\\controlsystem\\cobtaintask.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{498C175B-6281-4B21-8BD0-194E93DB3A8F}|ControlSystem\\ControlSystem.csproj|solutionrelative:controlsystem\\cobtaintask.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
}
|
||||
],
|
||||
"DocumentGroupContainers": [
|
||||
{
|
||||
"Orientation": 0,
|
||||
"VerticalTabListWidth": 256,
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 200,
|
||||
"SelectedChildIndex": 4,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 2,
|
||||
"Title": "FrmControlMonitor.cs [\u8BBE\u8BA1]",
|
||||
"DocumentMoniker": "D:\\Work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\SSWCS_JXDL(2019)\\ControlSystem\\FrmControlMonitor.cs",
|
||||
"RelativeDocumentMoniker": "ControlSystem\\FrmControlMonitor.cs",
|
||||
"ToolTip": "D:\\Work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\SSWCS_JXDL(2019)\\ControlSystem\\FrmControlMonitor.cs [\u8BBE\u8BA1]",
|
||||
"RelativeToolTip": "ControlSystem\\FrmControlMonitor.cs [\u8BBE\u8BA1]",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-05-12T04:41:30.393Z",
|
||||
"EditorCaption": " [\u8BBE\u8BA1]"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 4,
|
||||
"Title": "CObtainTask.cs",
|
||||
"DocumentMoniker": "D:\\Work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\SSWCS_JXDL(2019)\\ControlSystem\\CObtainTask.cs",
|
||||
"RelativeDocumentMoniker": "ControlSystem\\CObtainTask.cs",
|
||||
"ToolTip": "D:\\Work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\SSWCS_JXDL(2019)\\ControlSystem\\CObtainTask.cs",
|
||||
"RelativeToolTip": "ControlSystem\\CObtainTask.cs",
|
||||
"ViewState": "AQIAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-04-18T02:29:49.032Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 3,
|
||||
"Title": "CGetState.cs",
|
||||
"DocumentMoniker": "D:\\Work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\SSWCS_JXDL(2019)\\ControlSystem\\CGetState.cs",
|
||||
"RelativeDocumentMoniker": "ControlSystem\\CGetState.cs",
|
||||
"ToolTip": "D:\\Work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\SSWCS_JXDL(2019)\\ControlSystem\\CGetState.cs",
|
||||
"RelativeToolTip": "ControlSystem\\CGetState.cs",
|
||||
"ViewState": "AgIAAHIBAAAAAAAAAAAqwI8BAABMAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-03-27T01:32:25.281Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"Title": "CreateMonitor.cs",
|
||||
"DocumentMoniker": "D:\\Work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\SSWCS_JXDL(2019)\\ControlSystem\\CreateMonitor.cs",
|
||||
"RelativeDocumentMoniker": "ControlSystem\\CreateMonitor.cs",
|
||||
"ToolTip": "D:\\Work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\SSWCS_JXDL(2019)\\ControlSystem\\CreateMonitor.cs",
|
||||
"RelativeToolTip": "ControlSystem\\CreateMonitor.cs",
|
||||
"ViewState": "AgIAAKIAAAAAAAAAAAAAAMEAAAAhAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-04-17T06:38:39.67Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"Title": "FrmControlMonitor.cs",
|
||||
"DocumentMoniker": "D:\\Work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\SSWCS_JXDL(2019)\\ControlSystem\\FrmControlMonitor.cs",
|
||||
"RelativeDocumentMoniker": "ControlSystem\\FrmControlMonitor.cs",
|
||||
"ToolTip": "D:\\Work\\\u4E50\u5C71\\\u6700\u7EC8\u4EE3\u7801\\SSWCS_JXDL(2019)\\ControlSystem\\FrmControlMonitor.cs",
|
||||
"RelativeToolTip": "ControlSystem\\FrmControlMonitor.cs",
|
||||
"ViewState": "AgIAAPwCAAAAAAAAAAAgwBgDAAA0AAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-03-21T00:45:01.766Z",
|
||||
"EditorCaption": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Binary file not shown.
BIN
SSWCS_JXDL(2019)/20130522074244DBBak
Normal file
BIN
SSWCS_JXDL(2019)/20130522074244DBBak
Normal file
Binary file not shown.
63
SSWCS_JXDL(2019)/BarcodeCheck/BarcodeCheck.csproj
Normal file
63
SSWCS_JXDL(2019)/BarcodeCheck/BarcodeCheck.csproj
Normal file
@ -0,0 +1,63 @@
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{C1CD6C53-08AE-457C-BD12-3AD4C0BE6B90}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>BarcodeCheck</RootNamespace>
|
||||
<AssemblyName>BarcodeCheck</AssemblyName>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="CBarcodeCheck.cs" />
|
||||
<Compile Include="CGetDeviceState.cs" />
|
||||
<Compile Include="CSendDeviceOrder.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\CommLayer\CommLayerFactory.csproj">
|
||||
<Project>{3295C731-4D18-48C3-A30A-31E62CBDFF25}</Project>
|
||||
<Name>CommLayerFactory</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\DBOperator\DBFactory.csproj">
|
||||
<Project>{4E27122E-93A2-4D17-B8B5-63FAC14F73C0}</Project>
|
||||
<Name>DBFactory</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ICommLayer\ICommLayer.csproj">
|
||||
<Project>{73CF6478-EB41-4420-B46A-5842A85737CB}</Project>
|
||||
<Name>ICommLayer</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
49
SSWCS_JXDL(2019)/BarcodeCheck/CBarcodeCheck.cs
Normal file
49
SSWCS_JXDL(2019)/BarcodeCheck/CBarcodeCheck.cs
Normal file
@ -0,0 +1,49 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
using DBFactory;
|
||||
using ICommLayer;
|
||||
using CommLayerFactory;
|
||||
namespace BarcodeCheck
|
||||
{
|
||||
public class CBarcodeCheck
|
||||
{
|
||||
public static IGetDeviceState cds;//20100127
|
||||
public static DBOperator dbo = new DBOperator();
|
||||
public static bool BarCodeCheck(int taskIndex, int deviceIndex, string barcode)
|
||||
{
|
||||
int[] ret;//20100127
|
||||
try
|
||||
{
|
||||
//20100127
|
||||
cds = CommModeCreate.CreateGetDeviceState(deviceIndex);
|
||||
//ret[0]ÈÎÎñºÅ ret[1]É豸Ë÷Òý
|
||||
//20100127
|
||||
ret = cds.GetDeviceState(deviceIndex, taskIndex);
|
||||
string bc = string.Empty;
|
||||
for (int i = 2; i < 12; i++)
|
||||
{
|
||||
bc = bc + Convert.ToString(ret[i]);
|
||||
}
|
||||
if (bc == barcode)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{//20100127
|
||||
throw ex;
|
||||
}
|
||||
finally
|
||||
{//20100127
|
||||
ret = null;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
126
SSWCS_JXDL(2019)/BarcodeCheck/CGetDeviceState.cs
Normal file
126
SSWCS_JXDL(2019)/BarcodeCheck/CGetDeviceState.cs
Normal file
@ -0,0 +1,126 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
|
||||
using ICommLayer;
|
||||
using DBFactory;
|
||||
namespace BarcodeCheck
|
||||
{
|
||||
/// <summary>
|
||||
/// 条码比对的通讯接口派生类
|
||||
/// 获得设备状态类
|
||||
/// 创建者:Richard.Liu
|
||||
/// </summary>
|
||||
public class CGetDeviceState:IGetDeviceState
|
||||
{
|
||||
DBOperator dbo = CBarcodeCheck.dbo;
|
||||
string _commLayerError;
|
||||
|
||||
public string CommLayerError
|
||||
{
|
||||
get { return _commLayerError; }
|
||||
set { _commLayerError = value; }
|
||||
}
|
||||
public CGetDeviceState()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
//~CGetDeviceState()
|
||||
//{
|
||||
// dbo.Close();
|
||||
//}
|
||||
|
||||
/// <summary>
|
||||
///检测开关: 0-无货
|
||||
/// 1-有货
|
||||
///第1字
|
||||
///可下达指令的设备:读/写标志位
|
||||
///1-写入数据
|
||||
///2-读出数据正确
|
||||
///确认按钮:
|
||||
///1-无货确认
|
||||
///2-有货确认
|
||||
/// 第2字
|
||||
///可下达指令的设备:命令
|
||||
///堆垛机:
|
||||
///1-任务完成
|
||||
///其他植表示错误
|
||||
/// 穿梭车:
|
||||
///1-接货完成
|
||||
///2-送货完成
|
||||
///3-停止完成
|
||||
///4-到1#位置
|
||||
///5-到2#位置
|
||||
/// …
|
||||
///其他植表示错误
|
||||
/// 输送机、台车:
|
||||
///1-入库完成
|
||||
///2-出库完成
|
||||
///3-送货完成
|
||||
///4-停止完成
|
||||
///其他植表示错误
|
||||
///确认按钮:
|
||||
///一个变化的值,每确认一次,该值变化一次,以标志一个
|
||||
///新的确认消息。例如可以是0、1交替变化,也可以是递
|
||||
///增变化。
|
||||
///第3字 任务号,即上位机下达任务时的任务号
|
||||
///第4字 堆垛机:
|
||||
///终点X坐标(沿轨道方向)
|
||||
/// 穿梭车、台车、输送机:
|
||||
///前三个字的异或值
|
||||
/// (第5字以后部分只对堆垛机有意义)
|
||||
///第5字 终点Y坐标(沿高度方向)
|
||||
///第6字 前5个字的异或值
|
||||
/// </summary>
|
||||
/// <param name="DeviceIndex">设备编号</param>
|
||||
/// <returns>获得上行消息成功后,发送应答消息后返回6或4个字节型状态</returns>
|
||||
public int [] GetDeviceState(int DeviceIndex, int TaskIndex)
|
||||
{
|
||||
//20100127
|
||||
DataView dv; int[] data;
|
||||
try
|
||||
{
|
||||
//20100127
|
||||
dv = dbo.ExceSQL("select F_TxtParam from t_monitor_task where f_monitorindex =" + TaskIndex).Tables[0].DefaultView;
|
||||
if (dv[0]["F_TxtParam"].ToString().Length > 0)
|
||||
{
|
||||
|
||||
if (CBarcodeCheck.BarCodeCheck(TaskIndex, DeviceIndex, dv[0]["F_TxtParam"].ToString()) == true)
|
||||
{
|
||||
//20100127
|
||||
data = new int[6] { 0, 0, 0, 0, 0, 0 };
|
||||
data[1] = 1;
|
||||
data[2] = TaskIndex;
|
||||
data[5] = DeviceIndex;
|
||||
return data;
|
||||
}
|
||||
else
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_commLayerError = "VirtualStation.CGetDeviceState" + ":GetDeviceState---" + ex.Message;
|
||||
return null;
|
||||
}
|
||||
finally
|
||||
{//20100127
|
||||
data = null;
|
||||
dv = null;
|
||||
}
|
||||
}
|
||||
public string GetStringData(int DeviceIndex, int TaskIndex)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
}
|
||||
}
|
151
SSWCS_JXDL(2019)/BarcodeCheck/CSendDeviceOrder.cs
Normal file
151
SSWCS_JXDL(2019)/BarcodeCheck/CSendDeviceOrder.cs
Normal file
@ -0,0 +1,151 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Data;
|
||||
using System.Threading;
|
||||
using ICommLayer;
|
||||
using DBFactory;
|
||||
|
||||
namespace BarcodeCheck
|
||||
{
|
||||
/// <summary>
|
||||
/// 条码比对的通讯接口派生类
|
||||
/// 发送设备命令类
|
||||
/// 创建者:Richard.Liu
|
||||
/// </summary>
|
||||
public class CSendDeviceOrder: ISendDeviceOrder
|
||||
{
|
||||
string _commLayerError;
|
||||
|
||||
public string CommLayerError
|
||||
{
|
||||
get { return _commLayerError; }
|
||||
set { _commLayerError = value; }
|
||||
}
|
||||
DBOperator dbo = new DBOperator();
|
||||
public CSendDeviceOrder()
|
||||
{
|
||||
dbo.Open();
|
||||
}
|
||||
//~CSendDeviceOrder()
|
||||
//{
|
||||
// dbo.Close();
|
||||
//}
|
||||
/// <summary>
|
||||
/// 发送堆垛机命令
|
||||
/// </summary>
|
||||
/// <param name="MessageIndex">消息编号</param>
|
||||
/// <param name="TaskIndex">任务编号</param>
|
||||
/// <param name="Order">堆垛机命令字</param>
|
||||
///单叉单进伸:
|
||||
///1-复位
|
||||
///2-将取
|
||||
///3-将送
|
||||
///4-取货
|
||||
///5-放货
|
||||
///6-取放货
|
||||
///双叉单进伸:
|
||||
///1-复位
|
||||
///2-将取
|
||||
///3-将送
|
||||
///4-左叉取货
|
||||
///5-左叉放货
|
||||
///6-左叉取放货
|
||||
///14-右叉取货
|
||||
///15-右叉放货
|
||||
///16-右叉取放货
|
||||
///24-双叉取货
|
||||
///25-双叉放货
|
||||
///26-双叉取放货
|
||||
///单叉双进伸:
|
||||
///1-复位
|
||||
///2-将取
|
||||
///3-将送
|
||||
///4-近位取货
|
||||
///5-近位放货
|
||||
///6-近位取放货
|
||||
///14-远位取货
|
||||
///15-远位放货
|
||||
///16-远位取放货
|
||||
/// <param name="DeviceIndex">设备编号</param>
|
||||
/// <param name="StartX">起始x坐标,排-沿轨道方向</param>
|
||||
/// <param name="StartY">起始y坐标,层-高度方向</param>
|
||||
/// <param name="StartZ">起始z坐标,列-面向堆垛机操作面板,1-左侧,2-右侧</param>
|
||||
/// <param name="EndX">目标x坐标,排-沿轨道方向</param>
|
||||
/// <param name="EndY">目标y坐标,层-高度方向</param>
|
||||
/// <param name="EndZ">目标z坐标,列-面向堆垛机操作面板,1-左侧,2-右侧</param>
|
||||
/// <returns>发送堆垛机命令是否成功</returns>
|
||||
public bool SendDeviceOrder(int MessageIndex, int TaskIndex, int Order, int DeviceIndex, int StartX, int StartY, int StartZ, int EndX, int EndY, int EndZ)
|
||||
{
|
||||
try
|
||||
{
|
||||
return true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_commLayerError = "VirtualStation.CSendDeviceOrder" + ":SendDeviceOrder---" + ex.Message;
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// 发送堆垛机以外的其它设备命令
|
||||
/// </summary>
|
||||
/// <param name="MessageIndex">消息编号</param>
|
||||
/// <param name="TaskIndex">任务编号</param>
|
||||
/// <param name="Order">命令字</param>
|
||||
/// 穿梭车命令字:
|
||||
///1-复位
|
||||
///2-左接货
|
||||
///3-左送货
|
||||
///4-右接货
|
||||
///5-右送货
|
||||
///6-停止
|
||||
///7-运动到1#位置
|
||||
///8-运动到2#位置
|
||||
/// …
|
||||
///输送机、台车命令字:
|
||||
///1-入库(朝向库)
|
||||
/// 2-出库(背向库)
|
||||
/// 3-送货
|
||||
/// 4-停止
|
||||
/// <param name="DeviceIndex">设备编号</param>
|
||||
/// <returns>发送其它设备命令是否成功</returns>
|
||||
public bool SendDeviceOrder(int MessageIndex, int TaskIndex, int Order, int DeviceIndex, int ArrowDeviceIndex)
|
||||
{
|
||||
try
|
||||
{
|
||||
return true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_commLayerError = "VirtualStation.CSendDeviceOrder" + ":SendDeviceOrder---" + ex.Message;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
public bool SendDeviceOrder(int DeviceIndex, string TobaccoCode, bool HaveFirstProjectCode, bool IfSmallTobacco,int Count)
|
||||
{
|
||||
try
|
||||
{
|
||||
return true;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_commLayerError = "VirtualStation.CSendDeviceOrder" + ":SendDeviceOrder---" + ex.Message;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 向PLC的DB区写入数据
|
||||
/// </summary>
|
||||
/// <param name="ItemNames">标签变量名称数组</param>
|
||||
/// <param name="ItemValues">标签值数组</param>
|
||||
/// <returns></returns>
|
||||
public bool WriteDBData(string[] ItemNames, string[] ItemValues)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
35
SSWCS_JXDL(2019)/BarcodeCheck/Properties/AssemblyInfo.cs
Normal file
35
SSWCS_JXDL(2019)/BarcodeCheck/Properties/AssemblyInfo.cs
Normal file
@ -0,0 +1,35 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 有关程序集的常规信息通过下列属性集
|
||||
// 控制。更改这些属性值可修改
|
||||
// 与程序集关联的信息。
|
||||
[assembly: AssemblyTitle("VirtualStation")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("AVON Products, Inc.")]
|
||||
[assembly: AssemblyProduct("VirtualStation")]
|
||||
[assembly: AssemblyCopyright("版权所有 (C) AVON Products, Inc. 2008")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// 将 ComVisible 设置为 false 使此程序集中的类型
|
||||
// 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型,
|
||||
// 则将该类型上的 ComVisible 属性设置为 true。
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
|
||||
[assembly: Guid("5e78565d-1eb2-4582-85f0-23bd08b0cafc")]
|
||||
|
||||
// 程序集的版本信息由下面四个值组成:
|
||||
//
|
||||
// 主版本
|
||||
// 次版本
|
||||
// 内部版本号
|
||||
// 修订号
|
||||
//
|
||||
// 可以指定所有这些值,也可以使用“修订号”和“内部版本号”的默认值,
|
||||
// 方法是按如下所示使用“*”:
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
@ -0,0 +1,13 @@
|
||||
bin\Debug\BarcodeCheck.dll
|
||||
bin\Debug\BarcodeCheck.pdb
|
||||
bin\Debug\CommLayerFactory.dll
|
||||
bin\Debug\DBFactory.dll
|
||||
bin\Debug\ICommLayer.dll
|
||||
bin\Debug\Model.dll
|
||||
bin\Debug\Model.pdb
|
||||
bin\Debug\DBFactory.pdb
|
||||
bin\Debug\ICommLayer.pdb
|
||||
bin\Debug\CommLayerFactory.pdb
|
||||
obj\Debug\ResolveAssemblyReference.cache
|
||||
obj\Debug\BarcodeCheck.dll
|
||||
obj\Debug\BarcodeCheck.pdb
|
@ -0,0 +1,61 @@
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\bin\Debug\BarcodeCheck.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\bin\Debug\BarcodeCheck.pdb
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\bin\Debug\CommLayerFactory.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\bin\Debug\DBFactory.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\bin\Debug\ICommLayer.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\bin\Debug\OPCClient.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\bin\Debug\OpcNetApi.Com.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\bin\Debug\OpcNetApi.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\bin\Debug\OPCClient.pdb
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\bin\Debug\DBFactory.pdb
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\bin\Debug\ICommLayer.pdb
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\bin\Debug\CommLayerFactory.pdb
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\obj\Debug\ResolveAssemblyReference.cache
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\obj\Debug\BarcodeCheck.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\obj\Debug\BarcodeCheck.pdb
|
||||
E:\lsp\延吉卷烟厂\调度系统\BarcodeCheck\obj\Debug\ResolveAssemblyReference.cache
|
||||
E:\lsp\延吉卷烟厂\调度系统\BarcodeCheck\obj\Debug\BarcodeCheck.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\BarcodeCheck\obj\Debug\BarcodeCheck.pdb
|
||||
E:\lsp\延吉卷烟厂\调度系统\BarcodeCheck\bin\Debug\BarcodeCheck.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\BarcodeCheck\bin\Debug\BarcodeCheck.pdb
|
||||
E:\lsp\延吉卷烟厂\调度系统\BarcodeCheck\bin\Debug\CommLayerFactory.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\BarcodeCheck\bin\Debug\DBFactory.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\BarcodeCheck\bin\Debug\ICommLayer.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\BarcodeCheck\bin\Debug\OPCClient.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\BarcodeCheck\bin\Debug\OpcNetApi.Com.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\BarcodeCheck\bin\Debug\OpcNetApi.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\BarcodeCheck\bin\Debug\OPCClient.pdb
|
||||
E:\lsp\延吉卷烟厂\调度系统\BarcodeCheck\bin\Debug\DBFactory.pdb
|
||||
E:\lsp\延吉卷烟厂\调度系统\BarcodeCheck\bin\Debug\ICommLayer.pdb
|
||||
E:\lsp\延吉卷烟厂\调度系统\BarcodeCheck\bin\Debug\CommLayerFactory.pdb
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\BarcodeCheck\bin\Debug\BarcodeCheck.dll
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\BarcodeCheck\bin\Debug\BarcodeCheck.pdb
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\BarcodeCheck\bin\Debug\CommLayerFactory.dll
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\BarcodeCheck\bin\Debug\DBFactory.dll
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\BarcodeCheck\bin\Debug\ICommLayer.dll
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\BarcodeCheck\bin\Debug\OPCClient.dll
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\BarcodeCheck\bin\Debug\OpcNetApi.Com.dll
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\BarcodeCheck\bin\Debug\OpcNetApi.dll
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\BarcodeCheck\bin\Debug\OPCClient.pdb
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\BarcodeCheck\bin\Debug\DBFactory.pdb
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\BarcodeCheck\bin\Debug\ICommLayer.pdb
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\BarcodeCheck\bin\Debug\CommLayerFactory.pdb
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\BarcodeCheck\obj\Debug\ResolveAssemblyReference.cache
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\BarcodeCheck\obj\Debug\BarcodeCheck.dll
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\BarcodeCheck\obj\Debug\BarcodeCheck.pdb
|
||||
E:\延吉卷烟厂\延吉调度系统\BarcodeCheck\bin\Debug\BarcodeCheck.dll
|
||||
E:\延吉卷烟厂\延吉调度系统\BarcodeCheck\bin\Debug\BarcodeCheck.pdb
|
||||
E:\延吉卷烟厂\延吉调度系统\BarcodeCheck\bin\Debug\CommLayerFactory.dll
|
||||
E:\延吉卷烟厂\延吉调度系统\BarcodeCheck\bin\Debug\DBFactory.dll
|
||||
E:\延吉卷烟厂\延吉调度系统\BarcodeCheck\bin\Debug\ICommLayer.dll
|
||||
E:\延吉卷烟厂\延吉调度系统\BarcodeCheck\bin\Debug\Model.dll
|
||||
E:\延吉卷烟厂\延吉调度系统\BarcodeCheck\bin\Debug\Model.pdb
|
||||
E:\延吉卷烟厂\延吉调度系统\BarcodeCheck\bin\Debug\DBFactory.pdb
|
||||
E:\延吉卷烟厂\延吉调度系统\BarcodeCheck\bin\Debug\ICommLayer.pdb
|
||||
E:\延吉卷烟厂\延吉调度系统\BarcodeCheck\bin\Debug\CommLayerFactory.pdb
|
||||
E:\延吉卷烟厂\延吉调度系统\BarcodeCheck\obj\Debug\ResolveAssemblyReference.cache
|
||||
E:\延吉卷烟厂\延吉调度系统\BarcodeCheck\obj\Debug\BarcodeCheck.dll
|
||||
E:\延吉卷烟厂\延吉调度系统\BarcodeCheck\obj\Debug\BarcodeCheck.pdb
|
||||
E:\聊城电力调度系统\BarcodeCheck\obj\Debug\ResolveAssemblyReference.cache
|
||||
E:\聊城电力调度系统\BarcodeCheck\obj\Debug\BarcodeCheck.dll
|
||||
E:\聊城电力调度系统\BarcodeCheck\obj\Debug\BarcodeCheck.pdb
|
@ -0,0 +1,9 @@
|
||||
obj\Debug\ResolveAssemblyReference.cache
|
||||
bin\Debug\VirtualStation.dll
|
||||
bin\Debug\VirtualStation.pdb
|
||||
bin\Debug\DBFactory.dll
|
||||
bin\Debug\ICommLayer.dll
|
||||
bin\Debug\DBFactory.pdb
|
||||
bin\Debug\ICommLayer.pdb
|
||||
obj\Debug\VirtualStation.dll
|
||||
obj\Debug\VirtualStation.pdb
|
@ -0,0 +1,38 @@
|
||||
D:\新松程序\广州雅芳\VirtualStation\bin\Debug\VirtualStation.dll
|
||||
D:\新松程序\广州雅芳\VirtualStation\bin\Debug\VirtualStation.pdb
|
||||
D:\新松程序\广州雅芳\VirtualStation\bin\Debug\DBFactory.dll
|
||||
D:\新松程序\广州雅芳\VirtualStation\bin\Debug\ICommLayer.dll
|
||||
D:\新松程序\广州雅芳\VirtualStation\bin\Debug\ICommLayer.pdb
|
||||
D:\新松程序\广州雅芳\VirtualStation\bin\Debug\DBFactory.pdb
|
||||
D:\新松程序\广州雅芳\VirtualStation\obj\Debug\ResolveAssemblyReference.cache
|
||||
D:\新松程序\广州雅芳\VirtualStation\obj\Debug\VirtualStation.dll
|
||||
D:\新松程序\广州雅芳\VirtualStation\obj\Debug\VirtualStation.pdb
|
||||
C:\richard.liu\广州雅芳\VirtualStation\bin\Debug\VirtualStation.dll
|
||||
C:\richard.liu\广州雅芳\VirtualStation\bin\Debug\VirtualStation.pdb
|
||||
C:\richard.liu\广州雅芳\VirtualStation\obj\Debug\ResolveAssemblyReference.cache
|
||||
C:\richard.liu\广州雅芳\VirtualStation\obj\Debug\VirtualStation.dll
|
||||
C:\richard.liu\广州雅芳\VirtualStation\obj\Debug\VirtualStation.pdb
|
||||
E:\lsp\广州雅芳\VirtualStation\bin\Debug\VirtualStation.dll
|
||||
E:\lsp\广州雅芳\VirtualStation\bin\Debug\VirtualStation.pdb
|
||||
E:\lsp\广州雅芳\VirtualStation\bin\Debug\DBFactory.dll
|
||||
E:\lsp\广州雅芳\VirtualStation\bin\Debug\ICommLayer.dll
|
||||
E:\lsp\广州雅芳\VirtualStation\bin\Debug\ICommLayer.pdb
|
||||
E:\lsp\广州雅芳\VirtualStation\bin\Debug\DBFactory.pdb
|
||||
E:\lsp\广州雅芳\VirtualStation\obj\Debug\ResolveAssemblyReference.cache
|
||||
E:\lsp\广州雅芳\VirtualStation\obj\Debug\VirtualStation.dll
|
||||
E:\lsp\广州雅芳\VirtualStation\obj\Debug\VirtualStation.pdb
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\bin\Debug\VirtualStation.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\bin\Debug\VirtualStation.pdb
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\bin\Debug\ICommLayer.pdb
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\bin\Debug\DBFactory.pdb
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\obj\Debug\ResolveAssemblyReference.cache
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\obj\Debug\VirtualStation.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\obj\Debug\VirtualStation.pdb
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\bin\Debug\DBFactory.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\bin\Debug\ICommLayer.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\bin\Debug\CommLayerFactory.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\bin\Debug\OPCClient.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\bin\Debug\OpcNetApi.Com.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\bin\Debug\OpcNetApi.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\bin\Debug\OPCClient.pdb
|
||||
E:\lsp\延吉卷烟厂\调度系统\VirtualStation\bin\Debug\CommLayerFactory.pdb
|
114
SSWCS_JXDL(2019)/CommLayer/CommLayerFactory.csproj
Normal file
114
SSWCS_JXDL(2019)/CommLayer/CommLayerFactory.csproj
Normal file
@ -0,0 +1,114 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{3295C731-4D18-48C3-A30A-31E62CBDFF25}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>CommLayerFactory</RootNamespace>
|
||||
<AssemblyName>CommLayerFactory</AssemblyName>
|
||||
<SccProjectName>
|
||||
</SccProjectName>
|
||||
<SccLocalPath>
|
||||
</SccLocalPath>
|
||||
<SccAuxPath>
|
||||
</SccAuxPath>
|
||||
<SccProvider>
|
||||
</SccProvider>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<OldToolsVersion>2.0</OldToolsVersion>
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.configuration" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="CommModeCreate.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\DBOperator\DBFactory.csproj">
|
||||
<Project>{4E27122E-93A2-4D17-B8B5-63FAC14F73C0}</Project>
|
||||
<Name>DBFactory</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\ICommLayer\ICommLayer.csproj">
|
||||
<Project>{73CF6478-EB41-4420-B46A-5842A85737CB}</Project>
|
||||
<Name>ICommLayer</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Model\Model.csproj">
|
||||
<Project>{F1C29E02-62A1-44C7-B71D-993E089D8C97}</Project>
|
||||
<Name>Model</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Windows Installer 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<ModelFileSync />
|
13
SSWCS_JXDL(2019)/CommLayer/CommLayerFactory.csproj.user
Normal file
13
SSWCS_JXDL(2019)/CommLayer/CommLayerFactory.csproj.user
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<PublishUrlHistory />
|
||||
<InstallUrlHistory />
|
||||
<SupportUrlHistory />
|
||||
<UpdateUrlHistory />
|
||||
<BootstrapperUrlHistory />
|
||||
<ErrorReportUrlHistory />
|
||||
<FallbackCulture>zh-CN</FallbackCulture>
|
||||
<VerifyUploadedFiles>false</VerifyUploadedFiles>
|
||||
</PropertyGroup>
|
||||
</Project>
|
10
SSWCS_JXDL(2019)/CommLayer/CommLayerFactory.csproj.vspscc
Normal file
10
SSWCS_JXDL(2019)/CommLayer/CommLayerFactory.csproj.vspscc
Normal file
@ -0,0 +1,10 @@
|
||||
""
|
||||
{
|
||||
"FILE_VERSION" = "9237"
|
||||
"ENLISTMENT_CHOICE" = "NEVER"
|
||||
"PROJECT_FILE_RELATIVE_PATH" = "relative:CommLayer"
|
||||
"NUMBER_OF_EXCLUDED_FILES" = "0"
|
||||
"ORIGINAL_PROJECT_FILE_PATH" = ""
|
||||
"NUMBER_OF_NESTED_PROJECTS" = "0"
|
||||
"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
|
||||
}
|
113
SSWCS_JXDL(2019)/CommLayer/CommModeCreate.cs
Normal file
113
SSWCS_JXDL(2019)/CommLayer/CommModeCreate.cs
Normal file
@ -0,0 +1,113 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
using System.Collections;
|
||||
using System.Configuration;
|
||||
using ICommLayer;
|
||||
using System.Data;
|
||||
using DBFactory;
|
||||
namespace CommLayerFactory
|
||||
{
|
||||
/// <summary>
|
||||
/// 通讯方式的类工厂
|
||||
/// Creator:Richard.liu
|
||||
/// </summary>
|
||||
public sealed class CommModeCreate
|
||||
{
|
||||
//static DBOperator dbo = new DBOperator();
|
||||
private static string path = "";
|
||||
private static Model.MDevice devinfo;//20100127
|
||||
CommModeCreate()
|
||||
{
|
||||
|
||||
}
|
||||
//Assembly.Load (AssemblyName) 在给定程序集的 AssemblyName 的情况下,加载程序集,return Assembly
|
||||
// Assembly.CreateInstance(className)
|
||||
// 从此程序集中查找IStack类型,然后使用系统激活器创建它的实例。
|
||||
/// <summary>
|
||||
/// 根据设备索引创建获取设备状态的派生类
|
||||
/// </summary>
|
||||
/// <param name="Devices"></param>
|
||||
/// <returns></returns>
|
||||
public static IGetDeviceState CreateGetDeviceState(int Devices)
|
||||
{
|
||||
|
||||
try
|
||||
{
|
||||
path = GetPath(Devices);
|
||||
string classname = path + ".CGetDeviceState";
|
||||
return (IGetDeviceState)Assembly.Load(path).CreateInstance(classname);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw (ex);
|
||||
}
|
||||
}
|
||||
///// <summary>
|
||||
///// 在串口读取数据
|
||||
///// </summary>
|
||||
///// <param name="Devices"></param>
|
||||
///// <returns></returns>
|
||||
//public static IGetSerialData CreateGetSerialData(int Devices)
|
||||
//{
|
||||
|
||||
// try
|
||||
// {
|
||||
// path = GetPath(Devices);
|
||||
// string classname = path + ".CGetSerialData";
|
||||
// return (IGetSerialData)Assembly.Load(path).CreateInstance(classname);
|
||||
// }
|
||||
// catch (Exception ex)
|
||||
// {
|
||||
// throw (ex);
|
||||
// }
|
||||
//}
|
||||
/// <summary>
|
||||
/// 根据设备索引创建发送命令的派生类
|
||||
/// </summary>
|
||||
/// <param name="Devices"></param>
|
||||
/// <returns></returns>
|
||||
public static ISendDeviceOrder CreateSendDeviceOrder(int Devices)
|
||||
{
|
||||
|
||||
try
|
||||
{
|
||||
path = GetPath(Devices);
|
||||
string classname = path + ".CSendDeviceOrder";
|
||||
return (ISendDeviceOrder)Assembly.Load(path).CreateInstance(classname);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw (ex);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 根据设备索引获得通讯接口的派生类
|
||||
/// </summary>
|
||||
/// <param name="Devices"></param>
|
||||
/// <returns></returns>
|
||||
static string GetPath(int Devices)
|
||||
{
|
||||
try
|
||||
{
|
||||
//20100127
|
||||
devinfo = Model.CGetInfo.GetDeviceInfo(Devices);
|
||||
//DataSet ds = dbo.ExceSQL("select F_CommType from T_Base_Device where (F_CommType IS NOT NULL) AND F_DeviceIndex=" + Devices);
|
||||
if (devinfo.CommType!=null)
|
||||
{
|
||||
//dbo.Close();
|
||||
return devinfo.CommType;//ds.Tables[0].DefaultView[0]["F_CommType"].ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
//dbo.Close();
|
||||
return null;
|
||||
}
|
||||
}
|
||||
catch(Exception ex)
|
||||
{
|
||||
throw ex;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
35
SSWCS_JXDL(2019)/CommLayer/Properties/AssemblyInfo.cs
Normal file
35
SSWCS_JXDL(2019)/CommLayer/Properties/AssemblyInfo.cs
Normal file
@ -0,0 +1,35 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 有关程序集的常规信息通过下列属性集
|
||||
// 控制。更改这些属性值可修改
|
||||
// 与程序集关联的信息。
|
||||
[assembly: AssemblyTitle("CommLayer")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Microsoft")]
|
||||
[assembly: AssemblyProduct("CommLayer")]
|
||||
[assembly: AssemblyCopyright("版权所有 (C) Microsoft 2008")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// 将 ComVisible 设置为 false 使此程序集中的类型
|
||||
// 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型,
|
||||
// 则将该类型上的 ComVisible 属性设置为 true。
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
|
||||
[assembly: Guid("1966e7b1-8767-4952-bb06-74e9c29d4c44")]
|
||||
|
||||
// 程序集的版本信息由下面四个值组成:
|
||||
//
|
||||
// 主版本
|
||||
// 次版本
|
||||
// 内部版本号
|
||||
// 修订号
|
||||
//
|
||||
// 可以指定所有这些值,也可以使用“修订号”和“内部版本号”的默认值,
|
||||
// 方法是按如下所示使用“*”:
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
BIN
SSWCS_JXDL(2019)/CommLayer/Properties/vssver2.scc
Normal file
BIN
SSWCS_JXDL(2019)/CommLayer/Properties/vssver2.scc
Normal file
Binary file not shown.
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Debug/CommLayerFactory.dll
Normal file
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Debug/CommLayerFactory.dll
Normal file
Binary file not shown.
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Debug/CommLayerFactory.pdb
Normal file
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Debug/CommLayerFactory.pdb
Normal file
Binary file not shown.
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Debug/DBFactory.dll
Normal file
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Debug/DBFactory.dll
Normal file
Binary file not shown.
16
SSWCS_JXDL(2019)/CommLayer/bin/Debug/DBFactory.dll.config
Normal file
16
SSWCS_JXDL(2019)/CommLayer/bin/Debug/DBFactory.dll.config
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<appSettings>
|
||||
<!-- SQL connection string for database-->
|
||||
<!--<add key="ConnString" value="Server = 172.18.131.12; uid = sa ; pwd =sa; database = SSWCMS_aux; MAX Pool Size = 1024;Min Pool Size=0 " />-->
|
||||
<!--<add key="ConnString" value="Server = (local) ; uid = sa ; pwd =rgd.123; database = JXDL2014 ; MAX Pool Size = 512 "/>-->
|
||||
<add key="ConnString" value="Server = (local) ; uid = sa ; pwd =rgd.123; database = LS_WCS ; MAX Pool Size = 512 "/>
|
||||
<add key="ManConnString" value="Server = (local) ; uid = sa ; pwd =rgd.123; database = LS_WMS ; MAX Pool Size = 512 "/>
|
||||
<add key="ManDBFactory" value="SQLServerDBFactory"/>
|
||||
<add key="DBFactory" value="SQLServerDBFactory"/>
|
||||
<!--
|
||||
|
||||
<add key="ERPDBFactory" value="OracleDBFactory"/>
|
||||
-->
|
||||
</appSettings>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>
|
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Debug/DBFactory.pdb
Normal file
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Debug/DBFactory.pdb
Normal file
Binary file not shown.
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Debug/ICommLayer.dll
Normal file
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Debug/ICommLayer.dll
Normal file
Binary file not shown.
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Debug/ICommLayer.pdb
Normal file
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Debug/ICommLayer.pdb
Normal file
Binary file not shown.
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Debug/Model.dll
Normal file
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Debug/Model.dll
Normal file
Binary file not shown.
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Debug/Model.pdb
Normal file
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Debug/Model.pdb
Normal file
Binary file not shown.
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Release/CommLayerFactory.dll
Normal file
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Release/CommLayerFactory.dll
Normal file
Binary file not shown.
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Release/CommLayerFactory.pdb
Normal file
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Release/CommLayerFactory.pdb
Normal file
Binary file not shown.
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Release/DBFactory.dll
Normal file
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Release/DBFactory.dll
Normal file
Binary file not shown.
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Release/DBFactory.pdb
Normal file
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Release/DBFactory.pdb
Normal file
Binary file not shown.
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Release/ICommLayer.dll
Normal file
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Release/ICommLayer.dll
Normal file
Binary file not shown.
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Release/ICommLayer.pdb
Normal file
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Release/ICommLayer.pdb
Normal file
Binary file not shown.
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Release/Model.dll
Normal file
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Release/Model.dll
Normal file
Binary file not shown.
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Release/Model.pdb
Normal file
BIN
SSWCS_JXDL(2019)/CommLayer/bin/Release/Model.pdb
Normal file
Binary file not shown.
5
SSWCS_JXDL(2019)/CommLayer/mssccprj.scc
Normal file
5
SSWCS_JXDL(2019)/CommLayer/mssccprj.scc
Normal file
@ -0,0 +1,5 @@
|
||||
SCC = This is a Source Code Control file
|
||||
|
||||
[CommLayerFactory.csproj]
|
||||
SCC_Aux_Path="\\SIASUNRGV\VSS2005"
|
||||
SCC_Project_Name="$/藿렌든제SSWCMS.root/藿렌든제SSWCMS/CommLayer", DAAAAAAA
|
@ -0,0 +1,5 @@
|
||||
bin\Debug\CommLayer.dll
|
||||
bin\Debug\CommLayer.pdb
|
||||
obj\Debug\ResolveAssemblyReference.cache
|
||||
obj\Debug\CommLayer.dll
|
||||
obj\Debug\CommLayer.pdb
|
@ -0,0 +1,22 @@
|
||||
bin\Release\CommLayerFactory.dll
|
||||
bin\Release\CommLayerFactory.pdb
|
||||
bin\Release\DBFactory.dll
|
||||
bin\Release\ICommLayer.dll
|
||||
bin\Release\Model.dll
|
||||
bin\Release\Model.pdb
|
||||
bin\Release\DBFactory.pdb
|
||||
bin\Release\ICommLayer.pdb
|
||||
obj\Release\ResolveAssemblyReference.cache
|
||||
obj\Release\CommLayerFactory.dll
|
||||
obj\Release\CommLayerFactory.pdb
|
||||
bin\Debug\CommLayerFactory.dll
|
||||
bin\Debug\CommLayerFactory.pdb
|
||||
bin\Debug\DBFactory.dll
|
||||
bin\Debug\ICommLayer.dll
|
||||
bin\Debug\Model.dll
|
||||
bin\Debug\Model.pdb
|
||||
bin\Debug\DBFactory.pdb
|
||||
bin\Debug\ICommLayer.pdb
|
||||
obj\Debug\ResolveAssemblyReference.cache
|
||||
obj\Debug\CommLayerFactory.dll
|
||||
obj\Debug\CommLayerFactory.pdb
|
@ -0,0 +1,100 @@
|
||||
C:\richard.liu\新松自动化立体仓库监控系统\ControlSystem\CommLayer\bin\Debug\CommLayerFactory.dll
|
||||
C:\richard.liu\新松自动化立体仓库监控系统\ControlSystem\CommLayer\bin\Debug\CommLayerFactory.pdb
|
||||
C:\richard.liu\新松自动化立体仓库监控系统\ControlSystem\CommLayer\bin\Debug\DBFactory.dll
|
||||
C:\richard.liu\新松自动化立体仓库监控系统\ControlSystem\CommLayer\bin\Debug\ICommLayer.dll
|
||||
C:\richard.liu\新松自动化立体仓库监控系统\ControlSystem\CommLayer\bin\Debug\ICommLayer.pdb
|
||||
C:\richard.liu\新松自动化立体仓库监控系统\ControlSystem\CommLayer\bin\Debug\DBFactory.pdb
|
||||
C:\richard.liu\新松自动化立体仓库监控系统\ControlSystem\CommLayer\obj\Debug\ResolveAssemblyReference.cache
|
||||
C:\richard.liu\新松自动化立体仓库监控系统\ControlSystem\CommLayer\obj\Debug\CommLayerFactory.dll
|
||||
C:\richard.liu\新松自动化立体仓库监控系统\ControlSystem\CommLayer\obj\Debug\CommLayerFactory.pdb
|
||||
E:\lsp\新松自动化立体仓库监控系统\ControlSystem\CommLayer\bin\Debug\CommLayerFactory.dll
|
||||
E:\lsp\新松自动化立体仓库监控系统\ControlSystem\CommLayer\bin\Debug\CommLayerFactory.pdb
|
||||
E:\lsp\新松自动化立体仓库监控系统\ControlSystem\CommLayer\bin\Debug\DBFactory.dll
|
||||
E:\lsp\新松自动化立体仓库监控系统\ControlSystem\CommLayer\bin\Debug\ICommLayer.dll
|
||||
E:\lsp\新松自动化立体仓库监控系统\ControlSystem\CommLayer\bin\Debug\ICommLayer.pdb
|
||||
E:\lsp\新松自动化立体仓库监控系统\ControlSystem\CommLayer\bin\Debug\DBFactory.pdb
|
||||
E:\lsp\新松自动化立体仓库监控系统\ControlSystem\CommLayer\obj\Debug\ResolveAssemblyReference.cache
|
||||
E:\lsp\新松自动化立体仓库监控系统\ControlSystem\CommLayer\obj\Debug\CommLayerFactory.dll
|
||||
E:\lsp\新松自动化立体仓库监控系统\ControlSystem\CommLayer\obj\Debug\CommLayerFactory.pdb
|
||||
E:\lsp\延吉卷烟厂\调度系统\CommLayer\bin\Debug\CommLayerFactory.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\CommLayer\bin\Debug\CommLayerFactory.pdb
|
||||
E:\lsp\延吉卷烟厂\调度系统\CommLayer\bin\Debug\DBFactory.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\CommLayer\bin\Debug\ICommLayer.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\CommLayer\bin\Debug\ICommLayer.pdb
|
||||
E:\lsp\延吉卷烟厂\调度系统\CommLayer\bin\Debug\DBFactory.pdb
|
||||
E:\lsp\延吉卷烟厂\调度系统\CommLayer\obj\Debug\ResolveAssemblyReference.cache
|
||||
E:\lsp\延吉卷烟厂\调度系统\CommLayer\obj\Debug\CommLayerFactory.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\CommLayer\obj\Debug\CommLayerFactory.pdb
|
||||
G:\延吉卷烟厂\调度系统\CommLayer\bin\Debug\CommLayerFactory.dll
|
||||
G:\延吉卷烟厂\调度系统\CommLayer\bin\Debug\CommLayerFactory.pdb
|
||||
G:\延吉卷烟厂\调度系统\CommLayer\bin\Debug\DBFactory.dll
|
||||
G:\延吉卷烟厂\调度系统\CommLayer\bin\Debug\ICommLayer.dll
|
||||
G:\延吉卷烟厂\调度系统\CommLayer\bin\Debug\ICommLayer.pdb
|
||||
G:\延吉卷烟厂\调度系统\CommLayer\bin\Debug\DBFactory.pdb
|
||||
G:\延吉卷烟厂\调度系统\CommLayer\obj\Debug\ResolveAssemblyReference.cache
|
||||
G:\延吉卷烟厂\调度系统\CommLayer\obj\Debug\CommLayerFactory.dll
|
||||
G:\延吉卷烟厂\调度系统\CommLayer\obj\Debug\CommLayerFactory.pdb
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\CommLayer\bin\Debug\CommLayerFactory.dll
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\CommLayer\bin\Debug\CommLayerFactory.pdb
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\CommLayer\bin\Debug\DBFactory.dll
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\CommLayer\bin\Debug\ICommLayer.dll
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\CommLayer\bin\Debug\ICommLayer.pdb
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\CommLayer\bin\Debug\DBFactory.pdb
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\CommLayer\obj\Debug\ResolveAssemblyReference.cache
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\CommLayer\obj\Debug\CommLayerFactory.dll
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\CommLayer\obj\Debug\CommLayerFactory.pdb
|
||||
E:\延吉卷烟厂\延吉调度系统\CommLayer\bin\Debug\CommLayerFactory.dll
|
||||
E:\延吉卷烟厂\延吉调度系统\CommLayer\bin\Debug\CommLayerFactory.pdb
|
||||
E:\延吉卷烟厂\延吉调度系统\CommLayer\bin\Debug\DBFactory.dll
|
||||
E:\延吉卷烟厂\延吉调度系统\CommLayer\bin\Debug\ICommLayer.dll
|
||||
E:\延吉卷烟厂\延吉调度系统\CommLayer\bin\Debug\Model.dll
|
||||
E:\延吉卷烟厂\延吉调度系统\CommLayer\bin\Debug\Model.pdb
|
||||
E:\延吉卷烟厂\延吉调度系统\CommLayer\bin\Debug\DBFactory.pdb
|
||||
E:\延吉卷烟厂\延吉调度系统\CommLayer\bin\Debug\ICommLayer.pdb
|
||||
E:\延吉卷烟厂\延吉调度系统\CommLayer\obj\Debug\ResolveAssemblyReference.cache
|
||||
E:\延吉卷烟厂\延吉调度系统\CommLayer\obj\Debug\CommLayerFactory.dll
|
||||
E:\延吉卷烟厂\延吉调度系统\CommLayer\obj\Debug\CommLayerFactory.pdb
|
||||
E:\聊城电力\聊城电力调度系统\CommLayer\bin\Debug\CommLayerFactory.dll
|
||||
E:\聊城电力\聊城电力调度系统\CommLayer\bin\Debug\CommLayerFactory.pdb
|
||||
E:\聊城电力\聊城电力调度系统\CommLayer\bin\Debug\DBFactory.dll
|
||||
E:\聊城电力\聊城电力调度系统\CommLayer\bin\Debug\ICommLayer.dll
|
||||
E:\聊城电力\聊城电力调度系统\CommLayer\bin\Debug\Model.dll
|
||||
E:\聊城电力\聊城电力调度系统\CommLayer\bin\Debug\Model.pdb
|
||||
E:\聊城电力\聊城电力调度系统\CommLayer\bin\Debug\DBFactory.pdb
|
||||
E:\聊城电力\聊城电力调度系统\CommLayer\bin\Debug\ICommLayer.pdb
|
||||
E:\聊城电力\聊城电力调度系统\CommLayer\obj\Debug\ResolveAssemblyReference.cache
|
||||
E:\聊城电力\聊城电力调度系统\CommLayer\obj\Debug\CommLayerFactory.dll
|
||||
E:\聊城电力\聊城电力调度系统\CommLayer\obj\Debug\CommLayerFactory.pdb
|
||||
E:\聊城电力调度系统\CommLayer\bin\Debug\CommLayerFactory.dll
|
||||
E:\聊城电力调度系统\CommLayer\bin\Debug\CommLayerFactory.pdb
|
||||
E:\聊城电力调度系统\CommLayer\bin\Debug\DBFactory.dll
|
||||
E:\聊城电力调度系统\CommLayer\bin\Debug\ICommLayer.dll
|
||||
E:\聊城电力调度系统\CommLayer\bin\Debug\Model.dll
|
||||
E:\聊城电力调度系统\CommLayer\bin\Debug\Model.pdb
|
||||
E:\聊城电力调度系统\CommLayer\bin\Debug\DBFactory.pdb
|
||||
E:\聊城电力调度系统\CommLayer\bin\Debug\ICommLayer.pdb
|
||||
E:\聊城电力调度系统\CommLayer\obj\Debug\ResolveAssemblyReference.cache
|
||||
E:\聊城电力调度系统\CommLayer\obj\Debug\CommLayerFactory.dll
|
||||
E:\聊城电力调度系统\CommLayer\obj\Debug\CommLayerFactory.pdb
|
||||
F:\Program\潍坊电力调度系统0518\潍坊电力调度系统\CommLayer\bin\Debug\CommLayerFactory.dll
|
||||
F:\Program\潍坊电力调度系统0518\潍坊电力调度系统\CommLayer\bin\Debug\CommLayerFactory.pdb
|
||||
F:\Program\潍坊电力调度系统0518\潍坊电力调度系统\CommLayer\bin\Debug\DBFactory.dll
|
||||
F:\Program\潍坊电力调度系统0518\潍坊电力调度系统\CommLayer\bin\Debug\ICommLayer.dll
|
||||
F:\Program\潍坊电力调度系统0518\潍坊电力调度系统\CommLayer\bin\Debug\Model.dll
|
||||
F:\Program\潍坊电力调度系统0518\潍坊电力调度系统\CommLayer\bin\Debug\Model.pdb
|
||||
F:\Program\潍坊电力调度系统0518\潍坊电力调度系统\CommLayer\bin\Debug\DBFactory.pdb
|
||||
F:\Program\潍坊电力调度系统0518\潍坊电力调度系统\CommLayer\bin\Debug\ICommLayer.pdb
|
||||
F:\Program\潍坊电力调度系统0518\潍坊电力调度系统\CommLayer\obj\Debug\ResolveAssemblyReference.cache
|
||||
F:\Program\潍坊电力调度系统0518\潍坊电力调度系统\CommLayer\obj\Debug\CommLayerFactory.dll
|
||||
F:\Program\潍坊电力调度系统0518\潍坊电力调度系统\CommLayer\obj\Debug\CommLayerFactory.pdb
|
||||
F:\Program\潍坊电力调度系统\CommLayer\bin\Debug\CommLayerFactory.dll
|
||||
F:\Program\潍坊电力调度系统\CommLayer\bin\Debug\CommLayerFactory.pdb
|
||||
F:\Program\潍坊电力调度系统\CommLayer\bin\Debug\DBFactory.dll
|
||||
F:\Program\潍坊电力调度系统\CommLayer\bin\Debug\ICommLayer.dll
|
||||
F:\Program\潍坊电力调度系统\CommLayer\bin\Debug\Model.dll
|
||||
F:\Program\潍坊电力调度系统\CommLayer\bin\Debug\Model.pdb
|
||||
F:\Program\潍坊电力调度系统\CommLayer\bin\Debug\DBFactory.pdb
|
||||
F:\Program\潍坊电力调度系统\CommLayer\bin\Debug\ICommLayer.pdb
|
||||
F:\Program\潍坊电力调度系统\CommLayer\obj\Debug\ResolveAssemblyReference.cache
|
||||
F:\Program\潍坊电力调度系统\CommLayer\obj\Debug\CommLayerFactory.dll
|
||||
F:\Program\潍坊电力调度系统\CommLayer\obj\Debug\CommLayerFactory.pdb
|
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.0", FrameworkDisplayName = ".NET Framework 4")]
|
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
dd42a53dc1ec725a6c19e12640ff1ab6e4cdea5589eecb0a91b3bc53151f2a40
|
@ -0,0 +1,42 @@
|
||||
E:\Work\乐山\SSWCS_JXDL(2019)\CommLayer\bin\Debug\CommLayerFactory.dll
|
||||
E:\Work\乐山\SSWCS_JXDL(2019)\CommLayer\bin\Debug\CommLayerFactory.pdb
|
||||
E:\Work\乐山\SSWCS_JXDL(2019)\CommLayer\bin\Debug\DBFactory.dll
|
||||
E:\Work\乐山\SSWCS_JXDL(2019)\CommLayer\bin\Debug\ICommLayer.dll
|
||||
E:\Work\乐山\SSWCS_JXDL(2019)\CommLayer\bin\Debug\Model.dll
|
||||
E:\Work\乐山\SSWCS_JXDL(2019)\CommLayer\bin\Debug\DBFactory.pdb
|
||||
E:\Work\乐山\SSWCS_JXDL(2019)\CommLayer\bin\Debug\DBFactory.dll.config
|
||||
E:\Work\乐山\SSWCS_JXDL(2019)\CommLayer\bin\Debug\ICommLayer.pdb
|
||||
E:\Work\乐山\SSWCS_JXDL(2019)\CommLayer\bin\Debug\Model.pdb
|
||||
E:\Work\乐山\SSWCS_JXDL(2019)\CommLayer\obj\Debug\CommLayerFactory.csproj.AssemblyReference.cache
|
||||
E:\Work\乐山\SSWCS_JXDL(2019)\CommLayer\obj\Debug\CommLayerFactory.csproj.CoreCompileInputs.cache
|
||||
E:\Work\乐山\SSWCS_JXDL(2019)\CommLayer\obj\Debug\CommLaye.AFCE20BF.Up2Date
|
||||
E:\Work\乐山\SSWCS_JXDL(2019)\CommLayer\obj\Debug\CommLayerFactory.dll
|
||||
E:\Work\乐山\SSWCS_JXDL(2019)\CommLayer\obj\Debug\CommLayerFactory.pdb
|
||||
D:\现场基础环境\SSWCS_JXDL(2019)\CommLayer\bin\Debug\CommLayerFactory.dll
|
||||
D:\现场基础环境\SSWCS_JXDL(2019)\CommLayer\bin\Debug\CommLayerFactory.pdb
|
||||
D:\现场基础环境\SSWCS_JXDL(2019)\CommLayer\bin\Debug\DBFactory.dll
|
||||
D:\现场基础环境\SSWCS_JXDL(2019)\CommLayer\bin\Debug\ICommLayer.dll
|
||||
D:\现场基础环境\SSWCS_JXDL(2019)\CommLayer\bin\Debug\Model.dll
|
||||
D:\现场基础环境\SSWCS_JXDL(2019)\CommLayer\bin\Debug\DBFactory.pdb
|
||||
D:\现场基础环境\SSWCS_JXDL(2019)\CommLayer\bin\Debug\DBFactory.dll.config
|
||||
D:\现场基础环境\SSWCS_JXDL(2019)\CommLayer\bin\Debug\ICommLayer.pdb
|
||||
D:\现场基础环境\SSWCS_JXDL(2019)\CommLayer\bin\Debug\Model.pdb
|
||||
D:\现场基础环境\SSWCS_JXDL(2019)\CommLayer\obj\Debug\CommLayerFactory.csproj.AssemblyReference.cache
|
||||
D:\现场基础环境\SSWCS_JXDL(2019)\CommLayer\obj\Debug\CommLayerFactory.csproj.CoreCompileInputs.cache
|
||||
D:\现场基础环境\SSWCS_JXDL(2019)\CommLayer\obj\Debug\CommLaye.AFCE20BF.Up2Date
|
||||
D:\现场基础环境\SSWCS_JXDL(2019)\CommLayer\obj\Debug\CommLayerFactory.dll
|
||||
D:\现场基础环境\SSWCS_JXDL(2019)\CommLayer\obj\Debug\CommLayerFactory.pdb
|
||||
D:\Work\乐山\最终代码\SSWCS_JXDL(2019)\CommLayer\bin\Debug\CommLayerFactory.dll
|
||||
D:\Work\乐山\最终代码\SSWCS_JXDL(2019)\CommLayer\bin\Debug\CommLayerFactory.pdb
|
||||
D:\Work\乐山\最终代码\SSWCS_JXDL(2019)\CommLayer\bin\Debug\DBFactory.dll
|
||||
D:\Work\乐山\最终代码\SSWCS_JXDL(2019)\CommLayer\bin\Debug\ICommLayer.dll
|
||||
D:\Work\乐山\最终代码\SSWCS_JXDL(2019)\CommLayer\bin\Debug\Model.dll
|
||||
D:\Work\乐山\最终代码\SSWCS_JXDL(2019)\CommLayer\bin\Debug\DBFactory.pdb
|
||||
D:\Work\乐山\最终代码\SSWCS_JXDL(2019)\CommLayer\bin\Debug\DBFactory.dll.config
|
||||
D:\Work\乐山\最终代码\SSWCS_JXDL(2019)\CommLayer\bin\Debug\ICommLayer.pdb
|
||||
D:\Work\乐山\最终代码\SSWCS_JXDL(2019)\CommLayer\bin\Debug\Model.pdb
|
||||
D:\Work\乐山\最终代码\SSWCS_JXDL(2019)\CommLayer\obj\Debug\CommLayerFactory.csproj.AssemblyReference.cache
|
||||
D:\Work\乐山\最终代码\SSWCS_JXDL(2019)\CommLayer\obj\Debug\CommLayerFactory.csproj.CoreCompileInputs.cache
|
||||
D:\Work\乐山\最终代码\SSWCS_JXDL(2019)\CommLayer\obj\Debug\CommLaye.AFCE20BF.Up2Date
|
||||
D:\Work\乐山\最终代码\SSWCS_JXDL(2019)\CommLayer\obj\Debug\CommLayerFactory.dll
|
||||
D:\Work\乐山\最终代码\SSWCS_JXDL(2019)\CommLayer\obj\Debug\CommLayerFactory.pdb
|
BIN
SSWCS_JXDL(2019)/CommLayer/obj/Debug/CommLayerFactory.dll
Normal file
BIN
SSWCS_JXDL(2019)/CommLayer/obj/Debug/CommLayerFactory.dll
Normal file
Binary file not shown.
BIN
SSWCS_JXDL(2019)/CommLayer/obj/Debug/CommLayerFactory.pdb
Normal file
BIN
SSWCS_JXDL(2019)/CommLayer/obj/Debug/CommLayerFactory.pdb
Normal file
Binary file not shown.
Binary file not shown.
@ -0,0 +1,7 @@
|
||||
obj\Debug\ResolveAssemblyReference.cache
|
||||
bin\Debug\FactoryCommLayer.dll
|
||||
bin\Debug\FactoryCommLayer.pdb
|
||||
bin\Debug\ICommLayer.dll
|
||||
bin\Debug\ICommLayer.pdb
|
||||
obj\Debug\FactoryCommLayer.dll
|
||||
obj\Debug\FactoryCommLayer.pdb
|
@ -0,0 +1,88 @@
|
||||
D:\江西电力程序\SSWCS_JXDL\CommLayer\bin\Release\CommLayerFactory.dll
|
||||
D:\江西电力程序\SSWCS_JXDL\CommLayer\bin\Release\CommLayerFactory.pdb
|
||||
D:\江西电力程序\SSWCS_JXDL\CommLayer\bin\Release\DBFactory.dll
|
||||
D:\江西电力程序\SSWCS_JXDL\CommLayer\bin\Release\ICommLayer.dll
|
||||
D:\江西电力程序\SSWCS_JXDL\CommLayer\bin\Release\Model.dll
|
||||
D:\江西电力程序\SSWCS_JXDL\CommLayer\bin\Release\DBFactory.pdb
|
||||
D:\江西电力程序\SSWCS_JXDL\CommLayer\bin\Release\ICommLayer.pdb
|
||||
D:\江西电力程序\SSWCS_JXDL\CommLayer\bin\Release\Model.pdb
|
||||
D:\江西电力程序\SSWCS_JXDL\CommLayer\obj\Release\ResolveAssemblyReference.cache
|
||||
D:\江西电力程序\SSWCS_JXDL\CommLayer\obj\Release\CommLayerFactory.dll
|
||||
D:\江西电力程序\SSWCS_JXDL\CommLayer\obj\Release\CommLayerFactory.pdb
|
||||
E:\Work\SSWCS_JXDL\CommLayer\bin\Release\CommLayerFactory.dll
|
||||
E:\Work\SSWCS_JXDL\CommLayer\bin\Release\CommLayerFactory.pdb
|
||||
E:\Work\SSWCS_JXDL\CommLayer\bin\Release\DBFactory.dll
|
||||
E:\Work\SSWCS_JXDL\CommLayer\bin\Release\ICommLayer.dll
|
||||
E:\Work\SSWCS_JXDL\CommLayer\bin\Release\Model.dll
|
||||
E:\Work\SSWCS_JXDL\CommLayer\bin\Release\DBFactory.pdb
|
||||
E:\Work\SSWCS_JXDL\CommLayer\bin\Release\ICommLayer.pdb
|
||||
E:\Work\SSWCS_JXDL\CommLayer\bin\Release\Model.pdb
|
||||
E:\Work\SSWCS_JXDL\CommLayer\obj\Release\ResolveAssemblyReference.cache
|
||||
E:\Work\SSWCS_JXDL\CommLayer\obj\Release\CommLayerFactory.dll
|
||||
E:\Work\SSWCS_JXDL\CommLayer\obj\Release\CommLayerFactory.pdb
|
||||
D:\JXDL\江西电力\江西电力\SSWCS_JXDL_20130522修改\CommLayer\bin\Release\CommLayerFactory.dll
|
||||
D:\JXDL\江西电力\江西电力\SSWCS_JXDL_20130522修改\CommLayer\bin\Release\CommLayerFactory.pdb
|
||||
D:\JXDL\江西电力\江西电力\SSWCS_JXDL_20130522修改\CommLayer\bin\Release\DBFactory.dll
|
||||
D:\JXDL\江西电力\江西电力\SSWCS_JXDL_20130522修改\CommLayer\bin\Release\ICommLayer.dll
|
||||
D:\JXDL\江西电力\江西电力\SSWCS_JXDL_20130522修改\CommLayer\bin\Release\Model.dll
|
||||
D:\JXDL\江西电力\江西电力\SSWCS_JXDL_20130522修改\CommLayer\bin\Release\DBFactory.pdb
|
||||
D:\JXDL\江西电力\江西电力\SSWCS_JXDL_20130522修改\CommLayer\bin\Release\ICommLayer.pdb
|
||||
D:\JXDL\江西电力\江西电力\SSWCS_JXDL_20130522修改\CommLayer\bin\Release\Model.pdb
|
||||
D:\JXDL\江西电力\江西电力\SSWCS_JXDL_20130522修改\CommLayer\obj\Release\ResolveAssemblyReference.cache
|
||||
D:\JXDL\江西电力\江西电力\SSWCS_JXDL_20130522修改\CommLayer\obj\Release\CommLayerFactory.dll
|
||||
D:\JXDL\江西电力\江西电力\SSWCS_JXDL_20130522修改\CommLayer\obj\Release\CommLayerFactory.pdb
|
||||
D:\JXDL\江西电力\江西电力\SSWCS_JXDL\CommLayer\bin\Release\CommLayerFactory.dll
|
||||
D:\JXDL\江西电力\江西电力\SSWCS_JXDL\CommLayer\bin\Release\CommLayerFactory.pdb
|
||||
D:\JXDL\江西电力\江西电力\SSWCS_JXDL\CommLayer\bin\Release\DBFactory.dll
|
||||
D:\JXDL\江西电力\江西电力\SSWCS_JXDL\CommLayer\bin\Release\ICommLayer.dll
|
||||
D:\JXDL\江西电力\江西电力\SSWCS_JXDL\CommLayer\bin\Release\Model.dll
|
||||
D:\JXDL\江西电力\江西电力\SSWCS_JXDL\CommLayer\bin\Release\DBFactory.pdb
|
||||
D:\JXDL\江西电力\江西电力\SSWCS_JXDL\CommLayer\bin\Release\ICommLayer.pdb
|
||||
D:\JXDL\江西电力\江西电力\SSWCS_JXDL\CommLayer\bin\Release\Model.pdb
|
||||
D:\JXDL\江西电力\江西电力\SSWCS_JXDL\CommLayer\obj\Release\ResolveAssemblyReference.cache
|
||||
D:\JXDL\江西电力\江西电力\SSWCS_JXDL\CommLayer\obj\Release\CommLayerFactory.dll
|
||||
D:\JXDL\江西电力\江西电力\SSWCS_JXDL\CommLayer\obj\Release\CommLayerFactory.pdb
|
||||
E:\work\宁夏电力\程序\SSWCS_NXDL\CommLayer\bin\Release\CommLayerFactory.dll
|
||||
E:\work\宁夏电力\程序\SSWCS_NXDL\CommLayer\bin\Release\CommLayerFactory.pdb
|
||||
E:\work\宁夏电力\程序\SSWCS_NXDL\CommLayer\bin\Release\DBFactory.dll
|
||||
E:\work\宁夏电力\程序\SSWCS_NXDL\CommLayer\bin\Release\ICommLayer.dll
|
||||
E:\work\宁夏电力\程序\SSWCS_NXDL\CommLayer\bin\Release\Model.dll
|
||||
E:\work\宁夏电力\程序\SSWCS_NXDL\CommLayer\bin\Release\DBFactory.pdb
|
||||
E:\work\宁夏电力\程序\SSWCS_NXDL\CommLayer\bin\Release\ICommLayer.pdb
|
||||
E:\work\宁夏电力\程序\SSWCS_NXDL\CommLayer\bin\Release\Model.pdb
|
||||
E:\work\宁夏电力\程序\SSWCS_NXDL\CommLayer\obj\Release\ResolveAssemblyReference.cache
|
||||
E:\work\宁夏电力\程序\SSWCS_NXDL\CommLayer\obj\Release\CommLayerFactory.dll
|
||||
E:\work\宁夏电力\程序\SSWCS_NXDL\CommLayer\obj\Release\CommLayerFactory.pdb
|
||||
E:\work\宁夏电力\测试\SSWCS_NXDL\CommLayer\bin\Release\CommLayerFactory.dll
|
||||
E:\work\宁夏电力\测试\SSWCS_NXDL\CommLayer\bin\Release\CommLayerFactory.pdb
|
||||
E:\work\宁夏电力\测试\SSWCS_NXDL\CommLayer\bin\Release\DBFactory.dll
|
||||
E:\work\宁夏电力\测试\SSWCS_NXDL\CommLayer\bin\Release\ICommLayer.dll
|
||||
E:\work\宁夏电力\测试\SSWCS_NXDL\CommLayer\bin\Release\Model.dll
|
||||
E:\work\宁夏电力\测试\SSWCS_NXDL\CommLayer\bin\Release\DBFactory.pdb
|
||||
E:\work\宁夏电力\测试\SSWCS_NXDL\CommLayer\bin\Release\ICommLayer.pdb
|
||||
E:\work\宁夏电力\测试\SSWCS_NXDL\CommLayer\bin\Release\Model.pdb
|
||||
E:\work\宁夏电力\测试\SSWCS_NXDL\CommLayer\obj\Release\ResolveAssemblyReference.cache
|
||||
E:\work\宁夏电力\测试\SSWCS_NXDL\CommLayer\obj\Release\CommLayerFactory.dll
|
||||
E:\work\宁夏电力\测试\SSWCS_NXDL\CommLayer\obj\Release\CommLayerFactory.pdb
|
||||
D:\宁夏电力\测试\SSWCS_NXDL\CommLayer\bin\Release\CommLayerFactory.dll
|
||||
D:\宁夏电力\测试\SSWCS_NXDL\CommLayer\bin\Release\CommLayerFactory.pdb
|
||||
D:\宁夏电力\测试\SSWCS_NXDL\CommLayer\bin\Release\DBFactory.dll
|
||||
D:\宁夏电力\测试\SSWCS_NXDL\CommLayer\bin\Release\ICommLayer.dll
|
||||
D:\宁夏电力\测试\SSWCS_NXDL\CommLayer\bin\Release\Model.dll
|
||||
D:\宁夏电力\测试\SSWCS_NXDL\CommLayer\bin\Release\DBFactory.pdb
|
||||
D:\宁夏电力\测试\SSWCS_NXDL\CommLayer\bin\Release\ICommLayer.pdb
|
||||
D:\宁夏电力\测试\SSWCS_NXDL\CommLayer\bin\Release\Model.pdb
|
||||
D:\宁夏电力\测试\SSWCS_NXDL\CommLayer\obj\Release\ResolveAssemblyReference.cache
|
||||
D:\宁夏电力\测试\SSWCS_NXDL\CommLayer\obj\Release\CommLayerFactory.dll
|
||||
D:\宁夏电力\测试\SSWCS_NXDL\CommLayer\obj\Release\CommLayerFactory.pdb
|
||||
D:\江西电力2014改造\SSWCS_NXDL\CommLayer\bin\Release\CommLayerFactory.dll
|
||||
D:\江西电力2014改造\SSWCS_NXDL\CommLayer\bin\Release\CommLayerFactory.pdb
|
||||
D:\江西电力2014改造\SSWCS_NXDL\CommLayer\bin\Release\DBFactory.dll
|
||||
D:\江西电力2014改造\SSWCS_NXDL\CommLayer\bin\Release\ICommLayer.dll
|
||||
D:\江西电力2014改造\SSWCS_NXDL\CommLayer\bin\Release\Model.dll
|
||||
D:\江西电力2014改造\SSWCS_NXDL\CommLayer\bin\Release\DBFactory.pdb
|
||||
D:\江西电力2014改造\SSWCS_NXDL\CommLayer\bin\Release\ICommLayer.pdb
|
||||
D:\江西电力2014改造\SSWCS_NXDL\CommLayer\bin\Release\Model.pdb
|
||||
D:\江西电力2014改造\SSWCS_NXDL\CommLayer\obj\Release\ResolveAssemblyReference.cache
|
||||
D:\江西电力2014改造\SSWCS_NXDL\CommLayer\obj\Release\CommLayerFactory.dll
|
||||
D:\江西电力2014改造\SSWCS_NXDL\CommLayer\obj\Release\CommLayerFactory.pdb
|
BIN
SSWCS_JXDL(2019)/CommLayer/obj/Release/CommLayerFactory.dll
Normal file
BIN
SSWCS_JXDL(2019)/CommLayer/obj/Release/CommLayerFactory.dll
Normal file
Binary file not shown.
BIN
SSWCS_JXDL(2019)/CommLayer/obj/Release/CommLayerFactory.pdb
Normal file
BIN
SSWCS_JXDL(2019)/CommLayer/obj/Release/CommLayerFactory.pdb
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
SSWCS_JXDL(2019)/CommLayer/vssver2.scc
Normal file
BIN
SSWCS_JXDL(2019)/CommLayer/vssver2.scc
Normal file
Binary file not shown.
71
SSWCS_JXDL(2019)/CommonClassLib/AppSettings.cs
Normal file
71
SSWCS_JXDL(2019)/CommonClassLib/AppSettings.cs
Normal file
@ -0,0 +1,71 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.Xml;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace CommonClassLib
|
||||
{
|
||||
/// <summary>
|
||||
/// Creator:Richard.liu
|
||||
/// </summary>
|
||||
public static class AppSettings
|
||||
{
|
||||
public static string AppConfig()
|
||||
{
|
||||
return (Application.ExecutablePath.Substring(0,(Application.ExecutablePath.Length)) +".config");
|
||||
}
|
||||
|
||||
public static string GetValue(string appKey)
|
||||
{
|
||||
XmlDocument xDoc = new XmlDocument();
|
||||
try
|
||||
{
|
||||
xDoc.Load(AppSettings.AppConfig());
|
||||
XmlNode xNode;
|
||||
XmlElement xElem;
|
||||
xNode = xDoc.SelectSingleNode("//appSettings");
|
||||
xElem = (XmlElement)xNode.SelectSingleNode("//add[@key='" + appKey + "']");
|
||||
if (xElem != null)
|
||||
return xElem.GetAttribute("value");
|
||||
else
|
||||
return "";
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
public static void SetValue(string AppKey, string AppValue)
|
||||
{
|
||||
try
|
||||
{
|
||||
XmlDocument xDoc = new XmlDocument();
|
||||
xDoc.Load(AppSettings.AppConfig());
|
||||
XmlNode xNode;
|
||||
XmlElement xElem1;
|
||||
XmlElement xElem2;
|
||||
xNode = xDoc.SelectSingleNode("//appSettings");
|
||||
xElem1 = (XmlElement)xNode.SelectSingleNode("//add[@key='" + AppKey + "']");
|
||||
if (xElem1 != null)
|
||||
{
|
||||
xElem1.SetAttribute("value", AppValue);
|
||||
}
|
||||
else
|
||||
{
|
||||
xElem2 = xDoc.CreateElement("add");
|
||||
xElem2.SetAttribute("key", AppKey);
|
||||
xElem2.SetAttribute("value", AppValue);
|
||||
xNode.AppendChild(xElem2);
|
||||
}
|
||||
xDoc.Save(AppSettings.AppConfig());
|
||||
xDoc = null;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw ex;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
660
SSWCS_JXDL(2019)/CommonClassLib/CCarryConvert.cs
Normal file
660
SSWCS_JXDL(2019)/CommonClassLib/CCarryConvert.cs
Normal file
@ -0,0 +1,660 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using System.IO;
|
||||
using System.Configuration;
|
||||
using System.Threading;
|
||||
namespace CommonClassLib
|
||||
|
||||
{
|
||||
/// <summary>
|
||||
/// 所有进制之间的转换函数库
|
||||
/// Creator:Richard.liu
|
||||
/// </summary>
|
||||
public static class CCarryConvert
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 十进制转二进制
|
||||
/// </summary>
|
||||
/// <param name="dec">十进制数</param>
|
||||
/// <returns>二进制字符串</returns>
|
||||
//public static string DecimalToBin(decimal dec)
|
||||
//{
|
||||
// return Convert.ToString(dec, 2);
|
||||
//}
|
||||
/// <summary>
|
||||
/// 十进制转十六进制
|
||||
/// </summary>
|
||||
/// <param name="dec">十进制数</param>
|
||||
/// <returns>十六进制字符串</returns>
|
||||
public static string DecimalToHex(byte dec)
|
||||
{
|
||||
return Convert.ToString(dec, 16);
|
||||
}
|
||||
/// <summary>
|
||||
/// 十进制转十六进制
|
||||
/// </summary>
|
||||
/// <param name="dec"></param>
|
||||
/// <returns></returns>
|
||||
public static string DecimalToHex(int dec)
|
||||
{
|
||||
return Convert.ToString(dec, 16);
|
||||
}
|
||||
/// <summary>
|
||||
/// 十进制转八进制
|
||||
/// </summary>
|
||||
/// <param name="dec">十进制数</param>
|
||||
/// <returns>八进制字符串</returns>
|
||||
public static string DecimalToOct(byte dec)
|
||||
{
|
||||
return Convert.ToString(dec, 8);
|
||||
}
|
||||
/// <summary>
|
||||
/// 二进制转十进制
|
||||
/// </summary>
|
||||
/// <param name="bin">二进制字符串</param>
|
||||
/// <returns>十进制数</returns>
|
||||
public static Int32 BinToDecimal(string bin)
|
||||
{
|
||||
return Convert.ToInt32(bin, 2);
|
||||
}
|
||||
/// <summary>
|
||||
/// 八进制转十进制
|
||||
/// </summary>
|
||||
/// <param name="bin">八进制字符串</param>
|
||||
/// <returns>十进制数</returns>
|
||||
public static Int32 OctToDecimal(string Oct)
|
||||
{
|
||||
return Convert.ToInt32(Oct, 8);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 十六进制转十进制
|
||||
/// </summary>
|
||||
/// <param name="bin">十六进制字符串</param>
|
||||
/// <returns>十进制数</returns>
|
||||
public static Int32 HexToDecimal(string hex)
|
||||
{
|
||||
return Convert.ToInt32(hex, 16);
|
||||
}
|
||||
/// <summary>
|
||||
/// 十六进制转字节型十进制
|
||||
/// </summary>
|
||||
/// <param name="bin">十六进制字符串</param>
|
||||
/// <returns>字节型十进制数</returns>
|
||||
public static byte HexToByte(string hex)
|
||||
{
|
||||
return Convert.ToByte(hex, 16);
|
||||
}
|
||||
/// <summary>
|
||||
/// 在十进制数获得指定bit位的二进制字符:0/1
|
||||
/// </summary>
|
||||
/// <param name="Int">十进制数</param>
|
||||
/// <param name="bitno">比特位</param>
|
||||
/// <returns></returns>
|
||||
public static byte GetBitFromInteger(int Int, int bitno)
|
||||
{
|
||||
|
||||
if ((Int & Convert.ToInt32(Math.Pow(2, Convert.ToDouble(bitno)))) == Convert.ToInt32(Math.Pow(2, Convert.ToDouble(bitno))))
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// byte[0]存放高八位,byte[1]存放低八位
|
||||
/// </summary>
|
||||
/// <param name="_int16"></param>
|
||||
/// <returns></returns>
|
||||
public static byte[] GetByteFromInt16(int _int16)
|
||||
{
|
||||
char[] cc = new char[1] { '.' };
|
||||
string[] sp;
|
||||
byte[] _bytes = new byte[2];
|
||||
sp = Convert.ToString(_int16 >> 8).Split(cc);
|
||||
_bytes[0] = Convert.ToByte(sp[0]);
|
||||
_bytes[1] = Convert.ToByte(_int16 & 255);
|
||||
return _bytes;
|
||||
}
|
||||
public static UInt16 GetInt16FromBytes(byte[] _bytes)
|
||||
{
|
||||
UInt16 _int16;
|
||||
_int16 = Convert.ToUInt16(_bytes[1] + (_bytes[0] * 256));
|
||||
return _int16;
|
||||
}
|
||||
/// <summary>
|
||||
/// 读取某一天的通讯日志,就是所谓的黑匣子
|
||||
/// </summary>
|
||||
/// <param name="mydate">指定的日期</param>
|
||||
/// <returns>这一天的所有通讯记录</returns>
|
||||
public static string ReadCommLog(string mydate)
|
||||
{
|
||||
string filePath = System.IO.Path.GetFullPath(System.Reflection.Assembly.GetExecutingAssembly().GetName().ToString());
|
||||
filePath = System.IO.Path.GetDirectoryName(filePath);
|
||||
filePath = System.IO.Path.Combine(filePath, mydate + ".log");
|
||||
StreamReader sr = new StreamReader(filePath);
|
||||
if (sr.EndOfStream == false)
|
||||
{
|
||||
return sr.ReadToEnd();
|
||||
}
|
||||
else
|
||||
{
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
public static bool WriteCommLog(string textline)
|
||||
{
|
||||
try
|
||||
{
|
||||
string mydate = Convert.ToDateTime(DateTime.Now).ToString("yyyy-MM-dd");
|
||||
//string filePath = System.IO.Path.GetFullPath(System.Reflection.Assembly.GetExecutingAssembly().GetName().ToString());
|
||||
string filePath = @"D:\RFIDLOG\";
|
||||
filePath = System.IO.Path.GetDirectoryName(filePath);
|
||||
textline = DateTime.Now.ToShortTimeString() + "***" + textline;
|
||||
// filePath = System.IO.Path.Combine(filePath, "DarkCasket");
|
||||
if (Directory.Exists(filePath) == false)
|
||||
{
|
||||
Directory.CreateDirectory(filePath);
|
||||
}
|
||||
//1--99循环
|
||||
string strf = string.Empty;
|
||||
string filepath1 = string.Empty;
|
||||
for (int fcount = 1; fcount <= 99; fcount++)
|
||||
{
|
||||
if (fcount.ToString().Length < 2)
|
||||
{
|
||||
strf = "0" + fcount.ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
strf = fcount.ToString();
|
||||
}
|
||||
|
||||
|
||||
filepath1 = System.IO.Path.Combine(filePath, mydate + strf + ".log");
|
||||
if (File.Exists(filepath1) == false)
|
||||
{
|
||||
|
||||
|
||||
using (StreamWriter sw = File.CreateText(filepath1))
|
||||
{
|
||||
//sw.WriteLine("通讯时间**********接口类型**********命令**********地址/端口**********报文内容");
|
||||
sw.WriteLine(textline);
|
||||
//20091102
|
||||
sw.Close();
|
||||
sw.Dispose();
|
||||
}//
|
||||
|
||||
return true;//20081217
|
||||
}
|
||||
else
|
||||
{
|
||||
FileInfo ff = new FileInfo(filepath1);
|
||||
AppSettingsReader asr = new AppSettingsReader();
|
||||
long len = 2097152;
|
||||
if (ff.Length > len)
|
||||
{
|
||||
continue;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
|
||||
using (StreamWriter sw = File.AppendText(filepath1))
|
||||
{
|
||||
|
||||
sw.WriteLine(textline);
|
||||
//20091102
|
||||
sw.Close();
|
||||
sw.Dispose();
|
||||
|
||||
}
|
||||
|
||||
return true;//20081217
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
//20081217
|
||||
//99个文件都写满了,删除今天的99个文件重新开始
|
||||
for (int fcount = 1; fcount <= 99; fcount++)
|
||||
{
|
||||
if (fcount.ToString().Length < 2)
|
||||
{
|
||||
strf = "0" + fcount.ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
strf = fcount.ToString();
|
||||
}
|
||||
|
||||
|
||||
filepath1 = System.IO.Path.Combine(filePath, mydate + strf + ".log");
|
||||
if (File.Exists(filepath1) == true)
|
||||
{
|
||||
File.Delete(filepath1);
|
||||
}
|
||||
}
|
||||
filepath1 = System.IO.Path.Combine(filePath, mydate + "01.log");
|
||||
|
||||
{
|
||||
|
||||
using (StreamWriter sw = File.CreateText(filepath1))
|
||||
{
|
||||
//sw.WriteLine("通讯时间**********接口类型**********命令**********地址/端口**********报文内容");
|
||||
sw.WriteLine(textline);
|
||||
//20091102
|
||||
sw.Close();
|
||||
sw.Dispose();
|
||||
}
|
||||
|
||||
}
|
||||
return true;
|
||||
}
|
||||
catch //(Exception ex)
|
||||
{
|
||||
|
||||
return false;
|
||||
//throw ex;
|
||||
}
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// 写黑匣子
|
||||
/// </summary>
|
||||
/// <param name="mydate"></param>
|
||||
/// <param name="textline"></param>
|
||||
/// <returns></returns>
|
||||
public static bool WriteCommLog(string mydate, string textline)
|
||||
{
|
||||
try
|
||||
{
|
||||
mydate = Convert.ToDateTime(mydate).ToString("yyyy-MM-dd");
|
||||
string filePath = System.IO.Path.GetFullPath(System.Reflection.Assembly.GetExecutingAssembly().GetName().ToString());
|
||||
filePath = System.IO.Path.GetDirectoryName(filePath);
|
||||
filePath = System.IO.Path.Combine(filePath, "DarkCasket");
|
||||
if (Directory.Exists(filePath) == false)
|
||||
{
|
||||
Directory.CreateDirectory(filePath);
|
||||
}
|
||||
//1--99循环
|
||||
string strf = string.Empty;
|
||||
string filepath1 = string.Empty;
|
||||
for (int fcount = 1; fcount <= 99; fcount++)
|
||||
{
|
||||
if (fcount.ToString().Length < 2)
|
||||
{
|
||||
strf = "0" + fcount.ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
strf = fcount.ToString();
|
||||
}
|
||||
|
||||
|
||||
filepath1 = System.IO.Path.Combine(filePath, mydate + strf + ".log");
|
||||
if (File.Exists(filepath1) == false)
|
||||
{
|
||||
|
||||
|
||||
using (StreamWriter sw = File.CreateText(filepath1))
|
||||
{
|
||||
sw.WriteLine("通讯时间**********接口类型**********命令**********地址/端口**********报文内容");
|
||||
sw.WriteLine(textline);
|
||||
//20091102
|
||||
sw.Close();
|
||||
sw.Dispose();
|
||||
}//
|
||||
|
||||
return true;//20081217
|
||||
}
|
||||
else
|
||||
{
|
||||
FileInfo ff = new FileInfo(filepath1);
|
||||
AppSettingsReader asr = new AppSettingsReader();
|
||||
long len = (long)asr.GetValue("DarkCasketSize", typeof(long));
|
||||
if (ff.Length > len)
|
||||
{
|
||||
continue;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
|
||||
using (StreamWriter sw = File.AppendText(filepath1))
|
||||
{
|
||||
|
||||
sw.WriteLine(textline);
|
||||
//20091102
|
||||
sw.Close();
|
||||
sw.Dispose();
|
||||
|
||||
}
|
||||
|
||||
return true;//20081217
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
//20081217
|
||||
//99个文件都写满了,删除今天的99个文件重新开始
|
||||
for (int fcount = 1; fcount <= 99; fcount++)
|
||||
{
|
||||
if (fcount.ToString().Length < 2)
|
||||
{
|
||||
strf = "0" + fcount.ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
strf = fcount.ToString();
|
||||
}
|
||||
|
||||
|
||||
filepath1 = System.IO.Path.Combine(filePath, mydate + strf + ".log");
|
||||
if (File.Exists(filepath1) == true)
|
||||
{
|
||||
File.Delete(filepath1);
|
||||
}
|
||||
}
|
||||
filepath1 = System.IO.Path.Combine(filePath, mydate + "01.log");
|
||||
|
||||
{
|
||||
|
||||
using (StreamWriter sw = File.CreateText(filepath1))
|
||||
{
|
||||
sw.WriteLine("通讯时间**********接口类型**********命令**********地址/端口**********报文内容");
|
||||
sw.WriteLine(textline);
|
||||
//20091102
|
||||
sw.Close();
|
||||
sw.Dispose();
|
||||
}
|
||||
|
||||
}
|
||||
return true;
|
||||
}
|
||||
catch //(Exception ex)
|
||||
{
|
||||
|
||||
return false;
|
||||
//throw ex;
|
||||
}
|
||||
|
||||
}
|
||||
public static bool WriteCommLog(string DarkCasketFolder, string mydate, string textline)
|
||||
{
|
||||
try
|
||||
{
|
||||
mydate = Convert.ToDateTime(mydate).ToString("yyyy-MM-dd");
|
||||
string filePath = System.IO.Path.GetFullPath(System.Reflection.Assembly.GetExecutingAssembly().GetName().ToString());
|
||||
filePath = System.IO.Path.GetDirectoryName(filePath);
|
||||
filePath = System.IO.Path.Combine(filePath, DarkCasketFolder + "DarkCasket");
|
||||
if (Directory.Exists(filePath) == false)
|
||||
{
|
||||
Directory.CreateDirectory(filePath);
|
||||
}
|
||||
//1--99循环
|
||||
string strf = string.Empty;
|
||||
string filepath1 = string.Empty;
|
||||
for (int fcount = 1; fcount <= 99; fcount++)
|
||||
{
|
||||
if (fcount.ToString().Length < 2)
|
||||
{
|
||||
strf = "0" + fcount.ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
strf = fcount.ToString();
|
||||
}
|
||||
|
||||
|
||||
filepath1 = System.IO.Path.Combine(filePath, mydate + strf + ".log");
|
||||
if (File.Exists(filepath1) == false)
|
||||
{
|
||||
|
||||
using (StreamWriter sw = File.CreateText(filepath1))
|
||||
{
|
||||
sw.WriteLine("通讯时间**********接口类型**********命令**********地址/端口**********报文内容");
|
||||
sw.WriteLine(textline);
|
||||
//20091102
|
||||
sw.Close();
|
||||
sw.Dispose();
|
||||
}//
|
||||
|
||||
|
||||
return true;//20081217
|
||||
}
|
||||
else
|
||||
{
|
||||
FileInfo ff = new FileInfo(filepath1);
|
||||
AppSettingsReader asr = new AppSettingsReader();
|
||||
long len = (long)asr.GetValue("DarkCasketSize", typeof(long));
|
||||
if (ff.Length > len)
|
||||
{
|
||||
continue;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
|
||||
using (StreamWriter sw = File.AppendText(filepath1))
|
||||
{
|
||||
|
||||
sw.WriteLine(textline);
|
||||
//20091102
|
||||
sw.Close();
|
||||
sw.Dispose();
|
||||
|
||||
}
|
||||
|
||||
|
||||
return true;//20081217
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
//20081217
|
||||
//99个文件都写满了,删除今天的99个文件重新开始
|
||||
for (int fcount = 1; fcount <= 99; fcount++)
|
||||
{
|
||||
if (fcount.ToString().Length < 2)
|
||||
{
|
||||
strf = "0" + fcount.ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
strf = fcount.ToString();
|
||||
}
|
||||
|
||||
|
||||
filepath1 = System.IO.Path.Combine(filePath, mydate + strf + ".log");
|
||||
if (File.Exists(filepath1) == true)
|
||||
{
|
||||
File.Delete(filepath1);
|
||||
}
|
||||
}
|
||||
filepath1 = System.IO.Path.Combine(filePath, mydate + "01.log");
|
||||
|
||||
{
|
||||
|
||||
using (StreamWriter sw = File.CreateText(filepath1))
|
||||
{
|
||||
sw.WriteLine("通讯时间**********接口类型**********命令**********地址/端口**********报文内容");
|
||||
sw.WriteLine(textline);
|
||||
//20091102
|
||||
sw.Close();
|
||||
sw.Dispose();
|
||||
}
|
||||
|
||||
}
|
||||
return true;
|
||||
}
|
||||
catch //(Exception ex)
|
||||
{
|
||||
|
||||
return false;
|
||||
//throw ex;
|
||||
}
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// 写黑匣子
|
||||
/// </summary>
|
||||
/// <param name="interfacename"></param>
|
||||
/// <param name="ordername"></param>
|
||||
/// <param name="addr_port"></param>
|
||||
/// <param name="message"></param>
|
||||
public static void WriteDarkCasket(string interfacename, string ordername, string addr_port, byte[] message)
|
||||
{
|
||||
string data = "", wtxt;
|
||||
if (message == null)
|
||||
{
|
||||
data = "";
|
||||
}
|
||||
else
|
||||
{
|
||||
for (int i = 0; i < message.GetLength(0); i++)
|
||||
{
|
||||
data = data + "-" + message[i].ToString();
|
||||
}
|
||||
}
|
||||
wtxt = DateTime.Now.ToLongTimeString() + "**" + interfacename + "**" + ordername + "**" + addr_port + "**" + data;
|
||||
CommonClassLib.CCarryConvert.WriteCommLog(DateTime.Today.ToShortDateString(), wtxt);
|
||||
|
||||
}
|
||||
|
||||
public static void WriteDarkCasket(string DarkCasketFolder, string interfacename, string ordername, string addr_port, byte[] message)
|
||||
{
|
||||
string data = "", wtxt;
|
||||
if (message == null)
|
||||
{
|
||||
data = "";
|
||||
}
|
||||
else
|
||||
{
|
||||
for (int i = 0; i < message.GetLength(0); i++)
|
||||
{
|
||||
data = data + "-" + message[i].ToString();
|
||||
}
|
||||
}
|
||||
wtxt = DateTime.Now.ToLongTimeString() + "**" + interfacename + "**" + ordername + "**" + addr_port + "**" + data;
|
||||
CommonClassLib.CCarryConvert.WriteCommLog(DarkCasketFolder, DateTime.Today.ToShortDateString(), wtxt);
|
||||
|
||||
}
|
||||
public static void WriteDarkCasket(string DarkCasketFolder, string interfacename, string ordername, string addr_port, ushort[] message)
|
||||
{
|
||||
string data = "", wtxt;
|
||||
if (message == null)
|
||||
{
|
||||
data = "";
|
||||
}
|
||||
else
|
||||
{
|
||||
for (int i = 0; i < message.GetLength(0); i++)
|
||||
{
|
||||
data = data + "-" + message[i].ToString();
|
||||
}
|
||||
}
|
||||
wtxt = DateTime.Now.ToLongTimeString() + "**" + interfacename + "**" + ordername + "**" + addr_port + "**" + data;
|
||||
CommonClassLib.CCarryConvert.WriteCommLog(DarkCasketFolder, DateTime.Today.ToShortDateString(), wtxt);
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// 写黑匣子
|
||||
/// </summary>
|
||||
/// <param name="interfacename"></param>
|
||||
/// <param name="ordername"></param>
|
||||
/// <param name="addr_port"></param>
|
||||
/// <param name="message"></param>
|
||||
public static void WriteDarkCasket(string interfacename, string ordername, string addr_port, string message)
|
||||
{
|
||||
string wtxt;
|
||||
|
||||
wtxt = DateTime.Now.ToLongTimeString() + "**" + interfacename + "**" + ordername + "**" + addr_port + "**" + message;
|
||||
CommonClassLib.CCarryConvert.WriteCommLog(DateTime.Today.ToShortDateString(), wtxt);
|
||||
|
||||
}
|
||||
public static void WriteDarkCasket(string DarkCasketFolder, string interfacename, string ordername, string addr_port, string message)
|
||||
{
|
||||
string wtxt;
|
||||
|
||||
wtxt = DateTime.Now.ToLongTimeString() + "**" + interfacename + "**" + ordername + "**" + addr_port + "**" + message;
|
||||
CommonClassLib.CCarryConvert.WriteCommLog(DarkCasketFolder, DateTime.Today.ToShortDateString(), wtxt);
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// 执行整理黑匣子文件;在app.config文件中找到整理周期
|
||||
/// </summary>
|
||||
public static void NeatenDarkCasket()
|
||||
{
|
||||
try
|
||||
{
|
||||
string filePath;
|
||||
string[] files;
|
||||
string[] doc = new string[3] { "DarkCasket", "ReceiveAGVDarkCasket", "LoginDarkCasket" };
|
||||
AppSettingsReader asr = new AppSettingsReader();
|
||||
long FileSum = (long)asr.GetValue("DarkCasketSum", typeof(long));
|
||||
|
||||
for (int ii = doc.GetLowerBound(0); ii <= doc.GetUpperBound(0); ii++)
|
||||
{
|
||||
filePath = System.IO.Path.GetFullPath(System.Reflection.Assembly.GetExecutingAssembly().GetName().ToString());
|
||||
filePath = System.IO.Path.GetDirectoryName(filePath);
|
||||
filePath = System.IO.Path.Combine(filePath, doc[ii]);
|
||||
|
||||
//string mydate, path1, pathnew;
|
||||
if (Directory.Exists(filePath) == false) continue ;
|
||||
|
||||
files = Directory.GetFiles(filePath);
|
||||
Array.Sort(files);//20100521
|
||||
int fc = files.GetLength(0);
|
||||
//string strf = string.Empty;
|
||||
if ((fc - FileSum) < 1) continue;//20100521
|
||||
for (long fi = 0; fi <= (fc - FileSum - 1); fi++)//20100521
|
||||
{
|
||||
File.Delete(files[fi]);
|
||||
}
|
||||
////20091218
|
||||
// for (long i = (FileSum); i <=(FileSum+ 100); i++)
|
||||
// {
|
||||
// path1 = filePath;
|
||||
// mydate = DateTime.Today.AddDays(-i).ToShortDateString();
|
||||
|
||||
|
||||
// for (int fcount = 1; fcount <= 99; fcount++)
|
||||
// {
|
||||
// if (fcount.ToString().Length < 2)
|
||||
// {
|
||||
// strf = "0" + fcount.ToString();
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// strf = fcount.ToString();
|
||||
// }
|
||||
// pathnew = System.IO.Path.Combine(path1, mydate + strf + ".log");
|
||||
// if (File.Exists(pathnew) == true)
|
||||
// {
|
||||
// File.Delete(pathnew);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw ex;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
72
SSWCS_JXDL(2019)/CommonClassLib/CellDefine.cs
Normal file
72
SSWCS_JXDL(2019)/CommonClassLib/CellDefine.cs
Normal file
@ -0,0 +1,72 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace CommonClassLib
|
||||
{
|
||||
class CellDefine
|
||||
{
|
||||
/// <summary>
|
||||
/// 货位规格
|
||||
/// </summary>
|
||||
public enum CellModel
|
||||
{
|
||||
/// <summary>
|
||||
/// 标准货格
|
||||
/// </summary>
|
||||
commonCell = 1,
|
||||
|
||||
/// <summary>
|
||||
/// 大货格
|
||||
/// </summary>
|
||||
bigCell = 2,
|
||||
|
||||
/// <summary>
|
||||
/// 小货格
|
||||
/// </summary>
|
||||
smallCell = 3
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 货格存储类型
|
||||
/// </summary>
|
||||
public enum CellType
|
||||
{
|
||||
/// <summary>
|
||||
/// 单个物料存储
|
||||
/// </summary>
|
||||
sameSingle = 1,
|
||||
|
||||
/// <summary>
|
||||
/// 同种多个物料
|
||||
/// </summary>
|
||||
sameSome = 2,
|
||||
|
||||
/// <summary>
|
||||
/// 多物料混放
|
||||
/// </summary>
|
||||
someMerge = 3
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 货格结构
|
||||
/// </summary>
|
||||
public enum CellStruct
|
||||
{
|
||||
/// <summary>
|
||||
/// 单货位
|
||||
/// </summary>
|
||||
singleCell = 1,
|
||||
|
||||
/// <summary>
|
||||
/// 双深货位
|
||||
/// </summary>
|
||||
doubleExtend = 2,
|
||||
|
||||
/// <summary>
|
||||
/// 双货位
|
||||
/// </summary>
|
||||
doubleCell = 3
|
||||
}
|
||||
}
|
||||
}
|
125
SSWCS_JXDL(2019)/CommonClassLib/CommonClassLib.csproj
Normal file
125
SSWCS_JXDL(2019)/CommonClassLib/CommonClassLib.csproj
Normal file
@ -0,0 +1,125 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{A2215DCE-AA3A-4B1E-B732-E97FD4C454D5}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>CommonClassLib</RootNamespace>
|
||||
<AssemblyName>CommonClassLib</AssemblyName>
|
||||
<SccProjectName>
|
||||
</SccProjectName>
|
||||
<SccLocalPath>
|
||||
</SccLocalPath>
|
||||
<SccAuxPath>
|
||||
</SccAuxPath>
|
||||
<SccProvider>
|
||||
</SccProvider>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<OldToolsVersion>2.0</OldToolsVersion>
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.VisualBasic" />
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="AppSettings.cs" />
|
||||
<Compile Include="CCarryConvert.cs" />
|
||||
<Compile Include="CellDefine.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="tButton.cs">
|
||||
<SubType>Component</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UCellPanel.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="UCellPanel.designer.cs">
|
||||
<DependentUpon>UCellPanel.cs</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="UCellPanel.resx">
|
||||
<DependentUpon>UCellPanel.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\DBOperator\DBFactory.csproj">
|
||||
<Project>{4E27122E-93A2-4D17-B8B5-63FAC14F73C0}</Project>
|
||||
<Name>DBFactory</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Windows Installer 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<ModelFileSync />
|
13
SSWCS_JXDL(2019)/CommonClassLib/CommonClassLib.csproj.user
Normal file
13
SSWCS_JXDL(2019)/CommonClassLib/CommonClassLib.csproj.user
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<PublishUrlHistory />
|
||||
<InstallUrlHistory />
|
||||
<SupportUrlHistory />
|
||||
<UpdateUrlHistory />
|
||||
<BootstrapperUrlHistory />
|
||||
<ErrorReportUrlHistory />
|
||||
<FallbackCulture>zh-CN</FallbackCulture>
|
||||
<VerifyUploadedFiles>false</VerifyUploadedFiles>
|
||||
</PropertyGroup>
|
||||
</Project>
|
10
SSWCS_JXDL(2019)/CommonClassLib/CommonClassLib.csproj.vspscc
Normal file
10
SSWCS_JXDL(2019)/CommonClassLib/CommonClassLib.csproj.vspscc
Normal file
@ -0,0 +1,10 @@
|
||||
""
|
||||
{
|
||||
"FILE_VERSION" = "9237"
|
||||
"ENLISTMENT_CHOICE" = "NEVER"
|
||||
"PROJECT_FILE_RELATIVE_PATH" = "relative:CommonClassLib"
|
||||
"NUMBER_OF_EXCLUDED_FILES" = "0"
|
||||
"ORIGINAL_PROJECT_FILE_PATH" = ""
|
||||
"NUMBER_OF_NESTED_PROJECTS" = "0"
|
||||
"SOURCE_CONTROL_SETTINGS_PROVIDER" = "PROVIDER"
|
||||
}
|
35
SSWCS_JXDL(2019)/CommonClassLib/Properties/AssemblyInfo.cs
Normal file
35
SSWCS_JXDL(2019)/CommonClassLib/Properties/AssemblyInfo.cs
Normal file
@ -0,0 +1,35 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 有关程序集的常规信息通过下列属性集
|
||||
// 控制。更改这些属性值可修改
|
||||
// 与程序集关联的信息。
|
||||
[assembly: AssemblyTitle("CommonClassLib")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Microsoft")]
|
||||
[assembly: AssemblyProduct("CommonClassLib")]
|
||||
[assembly: AssemblyCopyright("版权所有 (C) Microsoft 2008")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// 将 ComVisible 设置为 false 使此程序集中的类型
|
||||
// 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型,
|
||||
// 则将该类型上的 ComVisible 属性设置为 true。
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
|
||||
[assembly: Guid("1c2221ad-4048-4b0d-80a4-2a09f7361bdf")]
|
||||
|
||||
// 程序集的版本信息由下面四个值组成:
|
||||
//
|
||||
// 主版本
|
||||
// 次版本
|
||||
// 内部版本号
|
||||
// 修订号
|
||||
//
|
||||
// 可以指定所有这些值,也可以使用“修订号”和“内部版本号”的默认值,
|
||||
// 方法是按如下所示使用“*”:
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
BIN
SSWCS_JXDL(2019)/CommonClassLib/Properties/vssver2.scc
Normal file
BIN
SSWCS_JXDL(2019)/CommonClassLib/Properties/vssver2.scc
Normal file
Binary file not shown.
299
SSWCS_JXDL(2019)/CommonClassLib/UCellPanel.Designer.cs
generated
Normal file
299
SSWCS_JXDL(2019)/CommonClassLib/UCellPanel.Designer.cs
generated
Normal file
@ -0,0 +1,299 @@
|
||||
namespace CommonClassLib
|
||||
{
|
||||
partial class UCellPanel
|
||||
{
|
||||
/// <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 组件设计器生成的代码
|
||||
|
||||
/// <summary>
|
||||
/// 设计器支持所需的方法 - 不要
|
||||
/// 使用代码编辑器修改此方法的内容。
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.panelInfo = new System.Windows.Forms.Panel();
|
||||
this.lblCellCode = new System.Windows.Forms.Label();
|
||||
this.cmbLine = new System.Windows.Forms.ComboBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.cmbWareHouse = new System.Windows.Forms.ComboBox();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.lblRunStatus = new System.Windows.Forms.Label();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.lblCellStatus = new System.Windows.Forms.Label();
|
||||
this.flowPanelCell = new System.Windows.Forms.FlowLayoutPanel();
|
||||
this.txtCellCode = new System.Windows.Forms.TextBox();
|
||||
this.btnFind = new System.Windows.Forms.Button();
|
||||
this.btnUpdate = new System.Windows.Forms.Button();
|
||||
this.btnHide = new System.Windows.Forms.Button();
|
||||
this.panelCell = new System.Windows.Forms.Panel();
|
||||
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.lblBoxCode = new System.Windows.Forms.Label();
|
||||
this.panelInfo.SuspendLayout();
|
||||
this.flowPanelCell.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panelInfo
|
||||
//
|
||||
this.panelInfo.BackColor = System.Drawing.Color.CornflowerBlue;
|
||||
this.panelInfo.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panelInfo.Controls.Add(this.lblBoxCode);
|
||||
this.panelInfo.Controls.Add(this.lblCellCode);
|
||||
this.panelInfo.Controls.Add(this.cmbLine);
|
||||
this.panelInfo.Controls.Add(this.label1);
|
||||
this.panelInfo.Controls.Add(this.cmbWareHouse);
|
||||
this.panelInfo.Controls.Add(this.label2);
|
||||
this.panelInfo.Controls.Add(this.label4);
|
||||
this.panelInfo.Controls.Add(this.label3);
|
||||
this.panelInfo.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panelInfo.Location = new System.Drawing.Point(0, 0);
|
||||
this.panelInfo.Name = "panelInfo";
|
||||
this.panelInfo.Size = new System.Drawing.Size(650, 25);
|
||||
this.panelInfo.TabIndex = 8;
|
||||
//
|
||||
// lblCellCode
|
||||
//
|
||||
this.lblCellCode.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblCellCode.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
|
||||
this.lblCellCode.Location = new System.Drawing.Point(311, 4);
|
||||
this.lblCellCode.Name = "lblCellCode";
|
||||
this.lblCellCode.Size = new System.Drawing.Size(103, 16);
|
||||
this.lblCellCode.TabIndex = 1;
|
||||
//
|
||||
// cmbLine
|
||||
//
|
||||
this.cmbLine.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbLine.Location = new System.Drawing.Point(151, 1);
|
||||
this.cmbLine.MaxDropDownItems = 10;
|
||||
this.cmbLine.Name = "cmbLine";
|
||||
this.cmbLine.Size = new System.Drawing.Size(56, 20);
|
||||
this.cmbLine.TabIndex = 0;
|
||||
this.cmbLine.SelectionChangeCommitted += new System.EventHandler(this.cmbLine_SelectionChangeCommitted);
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label1.Location = new System.Drawing.Point(133, 5);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(18, 12);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "第";
|
||||
//
|
||||
// cmbWareHouse
|
||||
//
|
||||
this.cmbWareHouse.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.cmbWareHouse.Location = new System.Drawing.Point(2, 1);
|
||||
this.cmbWareHouse.MaxDropDownItems = 10;
|
||||
this.cmbWareHouse.Name = "cmbWareHouse";
|
||||
this.cmbWareHouse.Size = new System.Drawing.Size(125, 20);
|
||||
this.cmbWareHouse.TabIndex = 0;
|
||||
this.cmbWareHouse.SelectedIndexChanged += new System.EventHandler(this.cmbWareHouse_SelectedIndexChanged);
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label2.Location = new System.Drawing.Point(207, 5);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(18, 12);
|
||||
this.label2.TabIndex = 0;
|
||||
this.label2.Text = "排";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label3.Location = new System.Drawing.Point(235, 5);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(70, 12);
|
||||
this.label3.TabIndex = 1;
|
||||
this.label3.Text = "货位编码:";
|
||||
//
|
||||
// lblRunStatus
|
||||
//
|
||||
this.lblRunStatus.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.lblRunStatus.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblRunStatus.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
|
||||
this.lblRunStatus.Location = new System.Drawing.Point(499, 6);
|
||||
this.lblRunStatus.Name = "lblRunStatus";
|
||||
this.lblRunStatus.Size = new System.Drawing.Size(72, 16);
|
||||
this.lblRunStatus.TabIndex = 1;
|
||||
this.lblRunStatus.Visible = false;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label5.Location = new System.Drawing.Point(345, 8);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(70, 12);
|
||||
this.label5.TabIndex = 1;
|
||||
this.label5.Text = "货位状态:";
|
||||
this.label5.Visible = false;
|
||||
//
|
||||
// lblCellStatus
|
||||
//
|
||||
this.lblCellStatus.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.lblCellStatus.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblCellStatus.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
|
||||
this.lblCellStatus.Location = new System.Drawing.Point(421, 6);
|
||||
this.lblCellStatus.Name = "lblCellStatus";
|
||||
this.lblCellStatus.Size = new System.Drawing.Size(72, 16);
|
||||
this.lblCellStatus.TabIndex = 1;
|
||||
//
|
||||
// flowPanelCell
|
||||
//
|
||||
this.flowPanelCell.Controls.Add(this.txtCellCode);
|
||||
this.flowPanelCell.Controls.Add(this.btnFind);
|
||||
this.flowPanelCell.Controls.Add(this.btnUpdate);
|
||||
this.flowPanelCell.Controls.Add(this.btnHide);
|
||||
this.flowPanelCell.Controls.Add(this.label5);
|
||||
this.flowPanelCell.Controls.Add(this.lblCellStatus);
|
||||
this.flowPanelCell.Controls.Add(this.lblRunStatus);
|
||||
this.flowPanelCell.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.flowPanelCell.Location = new System.Drawing.Point(0, 213);
|
||||
this.flowPanelCell.Name = "flowPanelCell";
|
||||
this.flowPanelCell.Size = new System.Drawing.Size(650, 28);
|
||||
this.flowPanelCell.TabIndex = 10;
|
||||
//
|
||||
// txtCellCode
|
||||
//
|
||||
this.txtCellCode.Location = new System.Drawing.Point(3, 3);
|
||||
this.txtCellCode.Name = "txtCellCode";
|
||||
this.txtCellCode.Size = new System.Drawing.Size(105, 21);
|
||||
this.txtCellCode.TabIndex = 2;
|
||||
this.txtCellCode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtCellCode_KeyDown);
|
||||
//
|
||||
// btnFind
|
||||
//
|
||||
this.btnFind.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.btnFind.FlatStyle = System.Windows.Forms.FlatStyle.System;
|
||||
this.btnFind.Location = new System.Drawing.Point(114, 3);
|
||||
this.btnFind.Name = "btnFind";
|
||||
this.btnFind.Size = new System.Drawing.Size(71, 23);
|
||||
this.btnFind.TabIndex = 3;
|
||||
this.btnFind.Text = "搜索货位";
|
||||
this.btnFind.UseVisualStyleBackColor = false;
|
||||
this.btnFind.Click += new System.EventHandler(this.btnFind_Click);
|
||||
//
|
||||
// btnUpdate
|
||||
//
|
||||
this.btnUpdate.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.btnUpdate.FlatStyle = System.Windows.Forms.FlatStyle.System;
|
||||
this.btnUpdate.Location = new System.Drawing.Point(191, 3);
|
||||
this.btnUpdate.Name = "btnUpdate";
|
||||
this.btnUpdate.Size = new System.Drawing.Size(71, 23);
|
||||
this.btnUpdate.TabIndex = 3;
|
||||
this.btnUpdate.Text = "刷新显示";
|
||||
this.btnUpdate.UseVisualStyleBackColor = false;
|
||||
this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click);
|
||||
//
|
||||
// btnHide
|
||||
//
|
||||
this.btnHide.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnHide.BackColor = System.Drawing.SystemColors.Control;
|
||||
this.btnHide.FlatStyle = System.Windows.Forms.FlatStyle.System;
|
||||
this.btnHide.Location = new System.Drawing.Point(268, 3);
|
||||
this.btnHide.Name = "btnHide";
|
||||
this.btnHide.Size = new System.Drawing.Size(71, 23);
|
||||
this.btnHide.TabIndex = 3;
|
||||
this.btnHide.Text = "隐藏";
|
||||
this.btnHide.UseVisualStyleBackColor = false;
|
||||
this.btnHide.Visible = false;
|
||||
this.btnHide.Click += new System.EventHandler(this.btnHide_Click);
|
||||
//
|
||||
// panelCell
|
||||
//
|
||||
this.panelCell.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.panelCell.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panelCell.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panelCell.Location = new System.Drawing.Point(0, 25);
|
||||
this.panelCell.Name = "panelCell";
|
||||
this.panelCell.Size = new System.Drawing.Size(650, 188);
|
||||
this.panelCell.TabIndex = 11;
|
||||
this.panelCell.Paint += new System.Windows.Forms.PaintEventHandler(this.panelCell_Paint);
|
||||
this.panelCell.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.panelCell_MouseDoubleClick);
|
||||
this.panelCell.MouseClick += new System.Windows.Forms.MouseEventHandler(this.panelCell_MouseClick);
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label4.Location = new System.Drawing.Point(420, 5);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(70, 12);
|
||||
this.label4.TabIndex = 1;
|
||||
this.label4.Text = "表箱条码:";
|
||||
//
|
||||
// lblBoxCode
|
||||
//
|
||||
this.lblBoxCode.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.lblBoxCode.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.lblBoxCode.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
|
||||
this.lblBoxCode.Location = new System.Drawing.Point(489, 4);
|
||||
this.lblBoxCode.Name = "lblBoxCode";
|
||||
this.lblBoxCode.Size = new System.Drawing.Size(156, 16);
|
||||
this.lblBoxCode.TabIndex = 1;
|
||||
//
|
||||
// UCellPanel
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.panelCell);
|
||||
this.Controls.Add(this.flowPanelCell);
|
||||
this.Controls.Add(this.panelInfo);
|
||||
this.Name = "UCellPanel";
|
||||
this.Size = new System.Drawing.Size(650, 241);
|
||||
this.panelInfo.ResumeLayout(false);
|
||||
this.panelInfo.PerformLayout();
|
||||
this.flowPanelCell.ResumeLayout(false);
|
||||
this.flowPanelCell.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Panel panelInfo;
|
||||
private System.Windows.Forms.Label lblCellCode;
|
||||
private System.Windows.Forms.ComboBox cmbLine;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.ComboBox cmbWareHouse;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Label lblRunStatus;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.Label lblCellStatus;
|
||||
private System.Windows.Forms.FlowLayoutPanel flowPanelCell;
|
||||
private System.Windows.Forms.TextBox txtCellCode;
|
||||
private System.Windows.Forms.Button btnFind;
|
||||
private System.Windows.Forms.Button btnUpdate;
|
||||
private System.Windows.Forms.Button btnHide;
|
||||
private System.Windows.Forms.Panel panelCell;
|
||||
private System.Windows.Forms.ToolTip toolTip1;
|
||||
private System.Windows.Forms.Label lblBoxCode;
|
||||
private System.Windows.Forms.Label label4;
|
||||
}
|
||||
}
|
854
SSWCS_JXDL(2019)/CommonClassLib/UCellPanel.cs
Normal file
854
SSWCS_JXDL(2019)/CommonClassLib/UCellPanel.cs
Normal file
@ -0,0 +1,854 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using System.Data.SqlClient;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using DBFactory;
|
||||
|
||||
namespace CommonClassLib
|
||||
{
|
||||
public partial class UCellPanel : UserControl
|
||||
{
|
||||
#region 变量定义
|
||||
DBOperator dbo = new DBOperator();
|
||||
//最大尺寸
|
||||
int bigWidth = 30;
|
||||
|
||||
int bigHeight =20 ;
|
||||
|
||||
//传递的参数
|
||||
Form parentForm;
|
||||
Control controlCellCode;
|
||||
|
||||
|
||||
Control controlShow;
|
||||
Control controlBarCode;
|
||||
int taskType = -1;
|
||||
|
||||
DataTable tableCellInfoList; //V_CellInfoList
|
||||
DataTable tableLines; //获取cmbLines的DataSource
|
||||
|
||||
List<Rectangle> listRecCell = new List<Rectangle>(); //存储绘制货格
|
||||
List<string> listCellCode = new List<string>(); //存储货格货位编码
|
||||
List<int> listCellID = new List<int>(); //存储货位的FID
|
||||
|
||||
int cellID = -1; //ST_CELL表中的FID
|
||||
string goodsName; //货物名称
|
||||
|
||||
#region -------绘图常量
|
||||
private const int tickFontSpac = 10; //绘制坐标时边界
|
||||
private const int tickTopBounds = 20; //顶端边界
|
||||
private const int tickBottomBounds = 30; //底部边界
|
||||
private const int tickLeftBounds = 60; //左边界
|
||||
private const int tickRightBounds = 10; //右端边界
|
||||
private const int tickScroll = 15; //滚动条高度
|
||||
private const int tickClearance = 3; //货格间隙
|
||||
private Font fontCoordinate; //绘制坐标的字体
|
||||
#endregion
|
||||
|
||||
#region -------绘图变量
|
||||
private int intXMax, intYMax, intXMin, intYMin;
|
||||
private Rectangle selectedRec; //当前选定的货位
|
||||
private Rectangle drawedRec; //已经绘制的货位
|
||||
SolidBrush brushSelectedRec = new SolidBrush(Color.FromArgb(80, Color.Transparent)); //选中货位的颜色
|
||||
Color paintBorderColor = Color.Navy; //绘图面板边框颜色
|
||||
|
||||
string stackDevice = string.Empty; //堆垛机设备编号
|
||||
string laneway = string.Empty;
|
||||
|
||||
string wareHouse = string.Empty; //选择的仓库
|
||||
string wareHouseDescription = string.Empty; //仓库的名称
|
||||
private int selectedZ; //选择的列
|
||||
private string selectedCellCode = string.Empty; //选择的货位的名称
|
||||
private int selectedCellStatus; //选择的货位存储状态
|
||||
private int selectedRunStatus; //选择的货位运行状态
|
||||
private string BoxBarCode = string.Empty; //条码信息20110425
|
||||
#endregion
|
||||
|
||||
#endregion
|
||||
|
||||
#region 属性
|
||||
/// <summary>
|
||||
/// 货物名称
|
||||
/// </summary>
|
||||
public string GoodsName
|
||||
{
|
||||
set { goodsName = value; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 仓库编码
|
||||
/// </summary>
|
||||
public string WareHouse
|
||||
{
|
||||
get { return this.wareHouse; }
|
||||
set
|
||||
{
|
||||
this.wareHouse = value;
|
||||
if (!this.DesignMode)
|
||||
{
|
||||
//object obj = bllOperation.GetSingle("FNAME", "T_ITEMWAREHOUSE", "FCODE = '" + value + "'");
|
||||
//if (obj != null)
|
||||
//{
|
||||
cmbWareHouse.SelectedValue = value;
|
||||
//wareHouseDescription = obj.ToString();
|
||||
//}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 堆垛机设备编号
|
||||
/// </summary>
|
||||
public string StackDevice
|
||||
{
|
||||
get { return stackDevice; }
|
||||
set
|
||||
{
|
||||
stackDevice = value;
|
||||
DataView dv = dbo.ExceSQL("SELECT min(F_Z) FROM ST_CELL WHERE (FStack = " + stackDevice + ")").Tables[0].DefaultView;
|
||||
if (dv.Count > 0)
|
||||
{
|
||||
SelectedZ = Convert.ToInt32(dv[0][0]);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 巷道设备号
|
||||
/// </summary>
|
||||
public string Laneway
|
||||
{
|
||||
get { return laneway; }
|
||||
set {
|
||||
|
||||
laneway = value;
|
||||
|
||||
DataView dv = dbo.ExceSQL("SELECT min(F_Z) FROM ST_CELL WHERE (Flaneway = " + laneway + ")").Tables[0].DefaultView;
|
||||
if (dv.Count > 0)
|
||||
{
|
||||
SelectedZ = Convert.ToInt32(dv[0][0]);
|
||||
}
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 承载返回数据的控件
|
||||
/// </summary>
|
||||
public Control ControlCellCode
|
||||
{
|
||||
get { return controlCellCode; }
|
||||
set { controlCellCode = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 列
|
||||
/// </summary>
|
||||
public int SelectedZ
|
||||
{
|
||||
get { return this.selectedZ; }
|
||||
set
|
||||
{
|
||||
if (!this.DesignMode)
|
||||
{
|
||||
this.selectedZ = value;
|
||||
//初始化数据
|
||||
InitDataTable();
|
||||
this.cmbLine.Text = value.ToString();
|
||||
|
||||
//重新绘制
|
||||
panelCell.Invalidate();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 货位编码CellCode
|
||||
/// </summary>
|
||||
public string CellCode
|
||||
{
|
||||
get { return this.selectedCellCode.TrimEnd(); }
|
||||
set
|
||||
{
|
||||
selectedCellCode = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 货位索引
|
||||
/// </summary>
|
||||
public int CellID
|
||||
{
|
||||
get { return cellID; }
|
||||
set { cellID = value; ShowCellInformation(); }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 任务类型
|
||||
/// </summary>
|
||||
public string TaskType
|
||||
{
|
||||
set { taskType = Convert.ToInt32(value); }
|
||||
}
|
||||
|
||||
private bool allowWareHouseChanged = false;
|
||||
|
||||
/// <summary>
|
||||
/// 仓库是否可选
|
||||
/// </summary>
|
||||
public bool AllowWareHouseChanged
|
||||
{
|
||||
set { allowWareHouseChanged = value; cmbWareHouse.Enabled = allowWareHouseChanged; }
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 构造函数
|
||||
|
||||
public UCellPanel()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
//设置样式
|
||||
panelCell.AutoScroll = true;
|
||||
this.SetStyle(ControlStyles.UserPaint | ControlStyles.ResizeRedraw | ControlStyles.AllPaintingInWmPaint | ControlStyles.DoubleBuffer, true);
|
||||
this.cmbLine.SelectionChangeCommitted += new EventHandler(cmbLine_SelectionChangeCommitted);
|
||||
|
||||
this.fontCoordinate = new Font("Tohoma", 9, FontStyle.Bold);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 构造函数
|
||||
/// </summary>
|
||||
/// <param name="parent">父窗体</param>
|
||||
/// <param name="control">关联控件</param>
|
||||
/// <param name="type">调度任务类型ManageType</param>
|
||||
/// <param name="where">筛选条件</param>
|
||||
public UCellPanel(Form parent, Control control, Control ctrlShow,Control ctrlBarCode, string where)
|
||||
: this()
|
||||
{
|
||||
this.parentForm = parent;
|
||||
controlCellCode = control;
|
||||
controlShow = ctrlShow;
|
||||
controlBarCode = ctrlBarCode;
|
||||
//taskType = type;
|
||||
|
||||
//T_WAREHOUSE
|
||||
DataTable tableWareHouse = dbo.ExceSQL("SELECT F_WarehouseIndex,F_Description FROM T_WAREHOUSE").Tables[0];
|
||||
cmbWareHouse.DisplayMember = "F_Description";
|
||||
cmbWareHouse.ValueMember = "F_WarehouseIndex";
|
||||
|
||||
cmbWareHouse.DataSource = tableWareHouse.DefaultView;
|
||||
|
||||
//初始化变量
|
||||
if (cmbWareHouse.SelectedValue != null)
|
||||
{
|
||||
WareHouse = cmbWareHouse.SelectedValue.ToString();
|
||||
SelectedZ = 1;
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 初始化数据
|
||||
|
||||
/// <summary>
|
||||
/// 初始化数据
|
||||
/// </summary>
|
||||
private void InitDataTable()
|
||||
{
|
||||
string strstack = "";
|
||||
if (StackDevice != string.Empty)
|
||||
{
|
||||
strstack = " and FStack=" + StackDevice + " ";
|
||||
}
|
||||
string strlaneway = "";
|
||||
if (laneway != string.Empty)
|
||||
{
|
||||
strlaneway = " and FLaneway=" + laneway + " ";
|
||||
}
|
||||
//st_Cell 的列值
|
||||
tableLines = dbo.ExceSQL("SELECT DISTINCT F_Z FROM ST_CELL WHERE FWAREHOUSE = '" + this.wareHouse + "' " + strstack + strlaneway + " ORDER BY F_Z").Tables[0];
|
||||
cmbLine.DisplayMember = "F_Z";
|
||||
cmbLine.DataSource = this.tableLines;
|
||||
|
||||
//ST_Cell
|
||||
tableCellInfoList = dbo.ExceSQL("SELECT * FROM ST_CELL WHERE ST_CELL.FWAREHOUSE = '" + this.wareHouse + "' AND F_Z = '" + selectedZ + "' ORDER BY F_X,F_Y DESC").Tables[0];
|
||||
int count = tableCellInfoList.Rows.Count;
|
||||
|
||||
//初始化最大值
|
||||
InitMaxSet();
|
||||
|
||||
//选中货位为空
|
||||
selectedRec = Rectangle.Empty;
|
||||
}
|
||||
|
||||
//获取最大的行,列数,以设置滚动条
|
||||
private void InitMaxSet()
|
||||
{
|
||||
DataView dv = dbo.ExceSQL("SELECT MAX(F_X) FROM ST_CELL WHERE FWAREHOUSE = '" + wareHouse + "' ").Tables[0].DefaultView;
|
||||
if (dv.Count > 0)
|
||||
{
|
||||
intXMax =Convert.ToInt32( dv[0][0]);
|
||||
}
|
||||
dv = dbo.ExceSQL("SELECT MAX(F_Y) FROM ST_CELL WHERE FWAREHOUSE = '" + wareHouse + "'").Tables[0].DefaultView;
|
||||
if (dv.Count > 0)
|
||||
{
|
||||
intYMax = Convert.ToInt32(dv[0][0]);
|
||||
}
|
||||
dv = dbo.ExceSQL("SELECT MIN(F_X) FROM ST_CELL WHERE FWAREHOUSE = '" + wareHouse + "'").Tables[0].DefaultView;
|
||||
if (dv.Count > 0)
|
||||
{
|
||||
intXMin = Convert.ToInt32(dv[0][0]);
|
||||
}
|
||||
dv = dbo.ExceSQL("SELECT MIN(F_Y) FROM ST_CELL WHERE FWAREHOUSE = '" + wareHouse + "' ").Tables[0].DefaultView;
|
||||
if (dv.Count > 0)
|
||||
{
|
||||
intYMin = Convert.ToInt32(dv[0][0]);
|
||||
}
|
||||
|
||||
|
||||
|
||||
//滚动条设置
|
||||
panelCell.AutoScrollMinSize = new Size((Convert.ToInt32(bigWidth) + 2 * tickClearance) * (intXMax - intXMin + 1) + tickLeftBounds + 2 * tickClearance + tickFontSpac + tickScroll, (Convert.ToInt32(bigHeight) + 2 * tickClearance) * (intYMax - intYMin + 1) + 3 * tickTopBounds);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region ComboBox SeletedValueChanged改变列
|
||||
|
||||
/// <summary>
|
||||
/// 选择仓库
|
||||
/// </summary>
|
||||
private void cmbWareHouse_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (cmbWareHouse.SelectedValue != null)
|
||||
{
|
||||
wareHouse = cmbWareHouse.SelectedValue.ToString();
|
||||
DataView dv = dbo.ExceSQL("SELECT F_Description FROM T_WAREHOUSE WHERE F_WarehouseIndex = '" + wareHouse+ "'").Tables[0].DefaultView;
|
||||
if (dv.Count > 0)
|
||||
{
|
||||
wareHouseDescription = dv[0]["F_Description"].ToString();
|
||||
}
|
||||
}
|
||||
SelectedZ = 1;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// ComboBox SeletedValueChanged改变列
|
||||
/// </summary>
|
||||
private void cmbLine_SelectionChangeCommitted(object sender, EventArgs e)
|
||||
{
|
||||
SetBeginData();
|
||||
SelectedZ = Convert.ToInt32(this.cmbLine.Text);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 恢复初始化数据
|
||||
/// </summary>
|
||||
private void SetBeginData()
|
||||
{
|
||||
//初始化显示
|
||||
panelCell.AutoScrollPosition = new Point(0, 0);
|
||||
|
||||
cellID = -1;
|
||||
selectedCellCode = string.Empty;
|
||||
BoxBarCode = string.Empty;
|
||||
selectedRec = Rectangle.Empty;
|
||||
drawedRec = Rectangle.Empty;
|
||||
|
||||
lblCellCode.Text = string.Empty;
|
||||
lblCellStatus.Text = string.Empty;
|
||||
lblRunStatus.Text = string.Empty;
|
||||
lblBoxCode.Text = string.Empty;
|
||||
txtCellCode.Clear();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 绘制货位
|
||||
|
||||
/// <summary>
|
||||
/// 绘制货位
|
||||
/// </summary>
|
||||
private void panelCell_Paint(object sender, PaintEventArgs e)
|
||||
{
|
||||
if (this.DesignMode)
|
||||
return;
|
||||
|
||||
Graphics g = e.Graphics;
|
||||
//g.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;
|
||||
|
||||
//设置滚动条
|
||||
g.TranslateTransform(panelCell.AutoScrollPosition.X, panelCell.AutoScrollPosition.Y);
|
||||
|
||||
int minBottom = 0, maxRight = 0; //最大边缘记录
|
||||
int nextPosition = tickTopBounds; //下一个绘图区域纵坐标位置
|
||||
int currentPosition = 0; //当前位置
|
||||
Rectangle cellPaint = Rectangle.Empty; //绘制的最大区域
|
||||
Point p1, p2; //绘制坐标轴的点
|
||||
Dictionary<int, int> paintArea = new Dictionary<int, int>(); //绘图区域的纵坐标位置
|
||||
|
||||
int x = 0, y = 0; //绘制货格坐标
|
||||
int width = 0, height = 0; //绘制货格的长宽
|
||||
|
||||
//存储区域变量
|
||||
int areaWith = 0; //货格区域的宽度
|
||||
int areaHeight = 0; //货格区域的高度
|
||||
|
||||
string code; //货位编码
|
||||
int i = 0, j = 0, k = 0; //索引
|
||||
//char side = Char.MinValue; //双货位侧
|
||||
|
||||
//清空保存的记录
|
||||
listCellCode.Clear();
|
||||
listRecCell.Clear();
|
||||
listCellID.Clear();
|
||||
|
||||
//绘制图形
|
||||
foreach (DataRow rowCell in tableCellInfoList.Rows)
|
||||
{
|
||||
//货位编码
|
||||
code = rowCell["FCELLCODE"].ToString().TrimEnd();
|
||||
i = Convert.ToInt32(code.Split('-')[1]);
|
||||
j = Convert.ToInt32(code.Split('-')[2]);
|
||||
|
||||
//根据货格规格设置区域尺寸
|
||||
|
||||
areaWith = bigWidth + 2 * tickClearance;
|
||||
areaHeight = bigHeight + 2 * tickClearance;
|
||||
|
||||
|
||||
#region -------计算区域
|
||||
|
||||
if (k == 0 || (k > 0 && code.Split('-').Length == 3) || (k > 0 && (code.Split('-').Length == 4) && listCellCode[k - 1].Substring(0, listCellCode[k - 1].Length - 2) != code.Substring(0, code.Length - 2)))
|
||||
{
|
||||
//计算当前位置和下一位置
|
||||
if (paintArea.ContainsKey(j))
|
||||
{
|
||||
currentPosition = paintArea[j];
|
||||
nextPosition = currentPosition + areaHeight;
|
||||
}
|
||||
else
|
||||
{
|
||||
currentPosition = nextPosition;
|
||||
nextPosition = currentPosition + areaHeight;
|
||||
//存储值对
|
||||
paintArea[j] = currentPosition;
|
||||
}
|
||||
|
||||
|
||||
//当前区域坐标
|
||||
x = tickLeftBounds + areaWith * (i - intXMin);
|
||||
y = currentPosition;
|
||||
|
||||
//填充区域颜色
|
||||
g.FillRectangle(new SolidBrush(Color.FromArgb(-8355585)), x, y, areaWith, areaHeight);
|
||||
|
||||
//计算货格
|
||||
//width = Convert.ToInt32(rowCell["FWIDTH"].ToString());
|
||||
//height = (Convert.ToInt32(rowCell["FCELLMODEL"]) == 2) ? Convert.ToInt32(rowCell["FLENGTH"].ToString()) + 2 * tickClearance : Convert.ToInt32(rowCell["FLENGTH"].ToString());
|
||||
width = bigWidth;
|
||||
height = bigHeight;
|
||||
|
||||
//坐标和记录矩形起始坐标
|
||||
x += tickClearance;
|
||||
y += tickClearance;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region ----判断货位规格--单货位还是双深货位
|
||||
|
||||
//存储绘制货位矩形和货位编码
|
||||
listRecCell.Insert(k, new Rectangle(x, y, width, height));
|
||||
listCellCode.Insert(k, code);
|
||||
listCellID.Insert(k, Convert.ToInt32(rowCell["FID"]));
|
||||
|
||||
//填充货格背景颜色
|
||||
g.FillRectangle(new SolidBrush(Color.Black), x, y, width + 1, height + 1);
|
||||
//存储状态颜色
|
||||
if (rowCell["FCELLSTATUS"].ToString().TrimEnd() == "1")//20110101
|
||||
{
|
||||
g.FillRectangle(new SolidBrush(Color.Navy), listRecCell[k]);
|
||||
}
|
||||
else
|
||||
if (rowCell["FCELLSTATUS"].ToString().TrimEnd() == "0")//20110101
|
||||
{
|
||||
g.FillRectangle(new SolidBrush(Color.FromArgb(Convert.ToInt32(-12550016))), listRecCell[k]);
|
||||
|
||||
}
|
||||
else//-1禁用
|
||||
{
|
||||
g.FillRectangle(new SolidBrush(Color.Red), listRecCell[k]);
|
||||
}
|
||||
|
||||
//运行状态标示
|
||||
if (rowCell["FRUNSTATUS"].ToString().TrimEnd() == "1")
|
||||
{
|
||||
g.DrawString("R", fontCoordinate, new SolidBrush(Color.Lime), x + width / 2 - 5, y + height / 2 - fontCoordinate.Height / 2);
|
||||
}
|
||||
else
|
||||
{
|
||||
g.DrawString("", fontCoordinate, new SolidBrush(Color.Black), x + width / 2 - 5, y + height / 2 - fontCoordinate.Height / 2);
|
||||
}
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
//计算最大边缘
|
||||
if (intXMax == i && maxRight == 0)
|
||||
maxRight = x + areaWith - tickLeftBounds - tickClearance;
|
||||
if (intYMin == j && minBottom == 0)
|
||||
minBottom = nextPosition - tickTopBounds;
|
||||
|
||||
//索引增加
|
||||
k++;
|
||||
|
||||
//绘X坐标 经常需要调整的列坐标显示刻度
|
||||
if (((i+1) % 5 == 0 && j == intYMin) || (i == intXMax - 1 && i > 5 && j == intYMin))
|
||||
g.DrawString((i + 1).ToString(), this.fontCoordinate, Brushes.Black, x + width / 2 - this.fontCoordinate.Height / 2 + width + 3, nextPosition + tickClearance + tickFontSpac);
|
||||
//Y轴坐标
|
||||
if (i == intXMin)
|
||||
g.DrawString(i.ToString(), this.fontCoordinate, Brushes.Black,x + width / 2 - this.fontCoordinate.Height / 2 + 3, nextPosition + tickClearance + tickFontSpac);
|
||||
if ((j % 5 == 0 && i == intXMin) || (j == intYMax && j > 5 && i == intXMin))
|
||||
g.DrawString(j.ToString(), this.fontCoordinate, Brushes.Black, tickLeftBounds - tickFontSpac - tickClearance - 3 * this.fontCoordinate.Height / 2, y + height / 2 - this.fontCoordinate.Height / 2);
|
||||
}
|
||||
|
||||
#region ------绘制坐标轴和原点
|
||||
|
||||
//绘制绘图边框
|
||||
cellPaint = new Rectangle(tickLeftBounds, tickTopBounds, maxRight, minBottom);
|
||||
g.DrawRectangle(new Pen(paintBorderColor, 2), cellPaint);
|
||||
|
||||
//绘制X坐标轴
|
||||
p1 = new Point(tickLeftBounds - tickFontSpac, cellPaint.Bottom + tickFontSpac);
|
||||
p2 = new Point(cellPaint.Right + tickClearance + tickFontSpac, cellPaint.Bottom + tickFontSpac);
|
||||
g.DrawLine(new Pen(Color.Black, 2), p1, p2);
|
||||
//绘制箭头
|
||||
g.DrawLine(new Pen(Color.Black, 1), p2, new Point(p2.X - tickClearance, p2.Y + tickClearance));
|
||||
g.DrawLine(new Pen(Color.Black, 1), p2, new Point(p2.X - tickClearance, p2.Y - tickClearance));
|
||||
|
||||
//绘制Y坐标轴
|
||||
p2 = new Point(tickLeftBounds - tickFontSpac, tickTopBounds - tickFontSpac);
|
||||
g.DrawLine(new Pen(Color.Black, 2), p1, p2);
|
||||
//绘制箭头
|
||||
g.DrawLine(new Pen(Color.Black, 1), p2, new Point(p2.X - tickClearance, p2.Y + tickClearance));
|
||||
g.DrawLine(new Pen(Color.Black, 1), p2, new Point(p2.X + tickClearance, p2.Y + tickClearance));
|
||||
|
||||
//绘制原点
|
||||
p2 = new Point(tickLeftBounds - tickFontSpac - tickClearance - 3 * this.fontCoordinate.Height / 2, cellPaint.Bottom + tickFontSpac + tickClearance);
|
||||
g.DrawString("O", new Font("Tohoma", 9, FontStyle.Bold | FontStyle.Italic), Brushes.Black, p2);
|
||||
|
||||
#endregion
|
||||
|
||||
//获得选定货位的绘制矩形大小
|
||||
if (cellID != -1)
|
||||
{
|
||||
int index = listCellID.IndexOf(cellID);
|
||||
if (index != -1)
|
||||
selectedRec = listRecCell[index];
|
||||
}
|
||||
|
||||
//突出显示选中的货位
|
||||
DrawSelectedRectangel();
|
||||
|
||||
//释放
|
||||
g.Dispose();
|
||||
paintArea.Clear();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Mouse Down Event
|
||||
|
||||
/// <summary>
|
||||
/// 鼠标点击时显示货位信息
|
||||
/// </summary>
|
||||
private void panelCell_MouseClick(object sender, MouseEventArgs e)
|
||||
{
|
||||
foreach (Rectangle recCell in listRecCell)
|
||||
{
|
||||
if (recCell.Contains(e.X + Math.Abs(panelCell.AutoScrollPosition.X), e.Y + Math.Abs(panelCell.AutoScrollPosition.Y)))
|
||||
{
|
||||
//绘制样式
|
||||
if (recCell != drawedRec)
|
||||
{
|
||||
//获得货位编码
|
||||
int index = listRecCell.IndexOf(recCell);
|
||||
selectedCellCode = listCellCode[index];
|
||||
cellID = listCellID[index];
|
||||
selectedRec = listRecCell[index];
|
||||
|
||||
//显示货位信息
|
||||
ShowCellInformation();
|
||||
|
||||
//绘制样式
|
||||
DrawSelectedRectangel();
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 显示货位信息
|
||||
/// </summary>
|
||||
private void ShowCellInformation()
|
||||
{
|
||||
//货位编码
|
||||
DataRow[] rows = tableCellInfoList.Select("FID = '" + cellID + "'");
|
||||
if (rows.Length > 0)
|
||||
{
|
||||
//选择的货位的当前DataRow
|
||||
DataRow row = rows[0];
|
||||
|
||||
//状态编码
|
||||
selectedCellStatus = Convert.ToInt32(row["FCELLSTATUS"]);
|
||||
selectedRunStatus = Convert.ToInt32(row["FRUNSTATUS"]);
|
||||
|
||||
//显示信息
|
||||
this.lblCellCode.Text = row["FCELLCODE"].ToString();
|
||||
this.lblBoxCode.Text = row["FPALLETBARCODE"].ToString();//20110425
|
||||
lblCellStatus.Text = "";
|
||||
lblRunStatus.Text = "";
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 绘制选定的货位样式
|
||||
/// </summary>
|
||||
private void DrawSelectedRectangel()
|
||||
{
|
||||
//判断是否重复位置
|
||||
if (selectedRec == Rectangle.Empty || cellID == -1)
|
||||
return;
|
||||
|
||||
//取消旧的选定样式
|
||||
if (selectedRec != drawedRec && drawedRec != Rectangle.Empty)
|
||||
panelCell.Invalidate(new Rectangle(drawedRec.X - Math.Abs(panelCell.AutoScrollPosition.X) - 1, drawedRec.Y - Math.Abs(panelCell.AutoScrollPosition.Y) - 1, drawedRec.Width + 2, drawedRec.Height + 2));
|
||||
|
||||
using (Graphics g = panelCell.CreateGraphics())
|
||||
{
|
||||
Rectangle recTrans = new Rectangle(selectedRec.X - Math.Abs(panelCell.AutoScrollPosition.X), selectedRec.Y - Math.Abs(panelCell.AutoScrollPosition.Y), selectedRec.Width, selectedRec.Height);
|
||||
g.DrawRectangle(new Pen(Color.Red, 2), recTrans);
|
||||
g.FillRectangle(brushSelectedRec, recTrans);
|
||||
|
||||
//重新记录绘制的货位
|
||||
drawedRec = selectedRec;
|
||||
|
||||
//释放
|
||||
g.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 鼠标双击时,传递货位
|
||||
|
||||
/// <summary>
|
||||
/// 鼠标双击时,传递货位
|
||||
/// </summary>
|
||||
private void panelCell_MouseDoubleClick(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (e.Button != MouseButtons.Left)
|
||||
return;
|
||||
|
||||
if (parentForm == null || controlCellCode == null)//20110425
|
||||
return;
|
||||
|
||||
//重新选择货位
|
||||
cellID = -1;
|
||||
selectedCellCode = string.Empty;
|
||||
selectedRec = Rectangle.Empty;
|
||||
BoxBarCode = string.Empty;
|
||||
foreach (Rectangle recCell in listRecCell)
|
||||
{
|
||||
if (recCell.Contains(e.X + Math.Abs(panelCell.AutoScrollPosition.X), e.Y + Math.Abs(panelCell.AutoScrollPosition.Y)))
|
||||
{
|
||||
//获得货位编码
|
||||
int index = listRecCell.IndexOf(recCell);
|
||||
selectedCellCode = listCellCode[index];
|
||||
cellID = listCellID[index];
|
||||
selectedRec = listRecCell[index];
|
||||
DataRow[] rows = tableCellInfoList.Select("FID = '" + cellID + "'");
|
||||
if (rows.Length > 0)
|
||||
{
|
||||
DataRow row = rows[0];
|
||||
BoxBarCode = row["FPALLETBARCODE"].ToString();//20110425
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (cellID == -1)
|
||||
return;
|
||||
|
||||
|
||||
|
||||
//传递货位编码值
|
||||
SetCellCode();
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 为控件传递货位编码
|
||||
/// </summary>
|
||||
private void SetCellCode()
|
||||
{
|
||||
if (controlCellCode.GetType() == typeof(TextBox))
|
||||
{
|
||||
TextBox textBox = controlCellCode as TextBox;
|
||||
textBox.Text = selectedCellCode;
|
||||
}
|
||||
else if (controlCellCode.GetType() == typeof(ComboBox))
|
||||
{
|
||||
ComboBox comboBox = controlCellCode as ComboBox;
|
||||
comboBox.Text = selectedCellCode;
|
||||
|
||||
}
|
||||
if (controlBarCode!=null)
|
||||
{
|
||||
if (controlBarCode.GetType() == typeof(TextBox))
|
||||
{
|
||||
TextBox textBox = controlBarCode as TextBox;
|
||||
//if (BoxBarCode != "-")
|
||||
//{
|
||||
textBox.Text = BoxBarCode;
|
||||
//}
|
||||
}
|
||||
else if (controlBarCode.GetType() == typeof(ComboBox))
|
||||
{
|
||||
ComboBox comboBox = controlBarCode as ComboBox;
|
||||
//if (BoxBarCode!="-")
|
||||
//{
|
||||
comboBox.Text = BoxBarCode;
|
||||
//}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
//隐藏控件
|
||||
if (controlShow != null)
|
||||
{
|
||||
if (controlShow.GetType() == typeof(SplitContainer))
|
||||
{
|
||||
SplitContainer splitContainer = controlShow as SplitContainer;
|
||||
splitContainer.Panel1Collapsed = true;
|
||||
}
|
||||
}
|
||||
//this.Hide();
|
||||
//this.Parent.Visible = false;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 搜索刷新
|
||||
|
||||
/// <summary>
|
||||
/// 搜索
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void btnFind_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (txtCellCode.Text == string.Empty)
|
||||
return;
|
||||
|
||||
int index = listCellCode.IndexOf(txtCellCode.Text);
|
||||
if (index == -1)
|
||||
return;
|
||||
|
||||
//记录货位信息
|
||||
selectedCellCode = txtCellCode.Text.TrimEnd();
|
||||
cellID = listCellID[index];
|
||||
|
||||
//搜索指定货位
|
||||
FindCell();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 搜索指定货位
|
||||
/// </summary>
|
||||
private void FindCell()
|
||||
{
|
||||
if (cellID == -1)
|
||||
return;
|
||||
|
||||
int index = listCellID.IndexOf(cellID);
|
||||
if (index == -1)
|
||||
return;
|
||||
|
||||
Rectangle recFind = listRecCell[index];
|
||||
if (recFind != drawedRec)
|
||||
{
|
||||
selectedRec = recFind;
|
||||
|
||||
//显示货位信息
|
||||
ShowCellInformation();
|
||||
//绘制选定货位的样式
|
||||
DrawSelectedRectangel();
|
||||
}
|
||||
|
||||
//计算滚动值
|
||||
int difX = (selectedRec.X - Math.Abs(panelCell.AutoScrollPosition.X)) - panelCell.AutoScrollPosition.X - panelCell.Width / 2;
|
||||
int difY = (selectedRec.Y - Math.Abs(panelCell.AutoScrollPosition.Y)) - panelCell.AutoScrollPosition.Y - panelCell.Height / 2;
|
||||
|
||||
//设置滚动距离
|
||||
panelCell.AutoScrollPosition = new Point(difX, difY);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 响应回车键,进行搜索
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void txtCellCode_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
if (e.KeyCode == Keys.Enter)
|
||||
{
|
||||
btnFind_Click(null, EventArgs.Empty);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 刷新按钮
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void btnUpdate_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (cmbLine.Text == string.Empty)
|
||||
return;
|
||||
|
||||
this.SelectedZ = int.Parse(cmbLine.Text);
|
||||
|
||||
//搜索指定货位
|
||||
int index = listCellID.IndexOf(cellID);
|
||||
if (index == -1)
|
||||
return;
|
||||
|
||||
//记录货位信息
|
||||
selectedCellCode = listCellCode[index];
|
||||
FindCell();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region 取消选择或关闭
|
||||
/// <summary>
|
||||
/// 关闭或隐藏父控件
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void btnHide_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Hide();
|
||||
this.Parent.Visible = false;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
123
SSWCS_JXDL(2019)/CommonClassLib/UCellPanel.resx
Normal file
123
SSWCS_JXDL(2019)/CommonClassLib/UCellPanel.resx
Normal 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=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>
|
||||
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
BIN
SSWCS_JXDL(2019)/CommonClassLib/bin/Debug/CommonClassLib.dll
Normal file
BIN
SSWCS_JXDL(2019)/CommonClassLib/bin/Debug/CommonClassLib.dll
Normal file
Binary file not shown.
BIN
SSWCS_JXDL(2019)/CommonClassLib/bin/Debug/CommonClassLib.pdb
Normal file
BIN
SSWCS_JXDL(2019)/CommonClassLib/bin/Debug/CommonClassLib.pdb
Normal file
Binary file not shown.
BIN
SSWCS_JXDL(2019)/CommonClassLib/bin/Debug/DBFactory.dll
Normal file
BIN
SSWCS_JXDL(2019)/CommonClassLib/bin/Debug/DBFactory.dll
Normal file
Binary file not shown.
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<appSettings>
|
||||
<!-- SQL connection string for database-->
|
||||
<!--<add key="ConnString" value="Server = 172.18.131.12; uid = sa ; pwd =sa; database = SSWCMS_aux; MAX Pool Size = 1024;Min Pool Size=0 " />-->
|
||||
<!--<add key="ConnString" value="Server = (local) ; uid = sa ; pwd =rgd.123; database = JXDL2014 ; MAX Pool Size = 512 "/>-->
|
||||
<add key="ConnString" value="Server = (local) ; uid = sa ; pwd =rgd.123; database = LS_WCS ; MAX Pool Size = 512 "/>
|
||||
<add key="ManConnString" value="Server = (local) ; uid = sa ; pwd =rgd.123; database = LS_WMS ; MAX Pool Size = 512 "/>
|
||||
<add key="ManDBFactory" value="SQLServerDBFactory"/>
|
||||
<add key="DBFactory" value="SQLServerDBFactory"/>
|
||||
<!--
|
||||
|
||||
<add key="ERPDBFactory" value="OracleDBFactory"/>
|
||||
-->
|
||||
</appSettings>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>
|
BIN
SSWCS_JXDL(2019)/CommonClassLib/bin/Debug/DBFactory.pdb
Normal file
BIN
SSWCS_JXDL(2019)/CommonClassLib/bin/Debug/DBFactory.pdb
Normal file
Binary file not shown.
BIN
SSWCS_JXDL(2019)/CommonClassLib/bin/Release/CommonClassLib.dll
Normal file
BIN
SSWCS_JXDL(2019)/CommonClassLib/bin/Release/CommonClassLib.dll
Normal file
Binary file not shown.
BIN
SSWCS_JXDL(2019)/CommonClassLib/bin/Release/CommonClassLib.pdb
Normal file
BIN
SSWCS_JXDL(2019)/CommonClassLib/bin/Release/CommonClassLib.pdb
Normal file
Binary file not shown.
BIN
SSWCS_JXDL(2019)/CommonClassLib/bin/Release/DBFactory.dll
Normal file
BIN
SSWCS_JXDL(2019)/CommonClassLib/bin/Release/DBFactory.dll
Normal file
Binary file not shown.
BIN
SSWCS_JXDL(2019)/CommonClassLib/bin/Release/DBFactory.pdb
Normal file
BIN
SSWCS_JXDL(2019)/CommonClassLib/bin/Release/DBFactory.pdb
Normal file
Binary file not shown.
5
SSWCS_JXDL(2019)/CommonClassLib/mssccprj.scc
Normal file
5
SSWCS_JXDL(2019)/CommonClassLib/mssccprj.scc
Normal file
@ -0,0 +1,5 @@
|
||||
SCC = This is a Source Code Control file
|
||||
|
||||
[CommonClassLib.csproj]
|
||||
SCC_Aux_Path="\\SIASUNRGV\VSS2005"
|
||||
SCC_Project_Name="$/藿렌든제SSWCMS.root/藿렌든제SSWCMS/CommonClassLib", HAAAAAAA
|
@ -0,0 +1,18 @@
|
||||
bin\Release\CommonClassLib.dll
|
||||
bin\Release\CommonClassLib.pdb
|
||||
bin\Release\DBFactory.dll
|
||||
bin\Release\DBFactory.pdb
|
||||
obj\Release\ResolveAssemblyReference.cache
|
||||
obj\Release\CommonClassLib.UCellPanel.resources
|
||||
obj\Release\CommonClassLib.csproj.GenerateResource.Cache
|
||||
obj\Release\CommonClassLib.dll
|
||||
obj\Release\CommonClassLib.pdb
|
||||
bin\Debug\CommonClassLib.dll
|
||||
bin\Debug\CommonClassLib.pdb
|
||||
bin\Debug\DBFactory.dll
|
||||
bin\Debug\DBFactory.pdb
|
||||
obj\Debug\ResolveAssemblyReference.cache
|
||||
obj\Debug\CommonClassLib.UCellPanel.resources
|
||||
obj\Debug\CommonClassLib.csproj.GenerateResource.Cache
|
||||
obj\Debug\CommonClassLib.dll
|
||||
obj\Debug\CommonClassLib.pdb
|
@ -0,0 +1,61 @@
|
||||
D:\新松程序\广州雅芳\CommonClassLib\bin\Debug\CommonClassLib.dll
|
||||
D:\新松程序\广州雅芳\CommonClassLib\bin\Debug\CommonClassLib.pdb
|
||||
D:\新松程序\广州雅芳\CommonClassLib\obj\Debug\ResolveAssemblyReference.cache
|
||||
D:\新松程序\广州雅芳\CommonClassLib\obj\Debug\CommonClassLib.dll
|
||||
D:\新松程序\广州雅芳\CommonClassLib\obj\Debug\CommonClassLib.pdb
|
||||
E:\lsp\延吉卷烟厂\调度系统\CommonClassLib\bin\Debug\CommonClassLib.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\CommonClassLib\bin\Debug\CommonClassLib.pdb
|
||||
E:\lsp\延吉卷烟厂\调度系统\CommonClassLib\obj\Debug\ResolveAssemblyReference.cache
|
||||
E:\lsp\延吉卷烟厂\调度系统\CommonClassLib\obj\Debug\CommonClassLib.dll
|
||||
E:\lsp\延吉卷烟厂\调度系统\CommonClassLib\obj\Debug\CommonClassLib.pdb
|
||||
G:\延吉卷烟厂\调度系统\CommonClassLib\bin\Debug\CommonClassLib.dll
|
||||
G:\延吉卷烟厂\调度系统\CommonClassLib\bin\Debug\CommonClassLib.pdb
|
||||
G:\延吉卷烟厂\调度系统\CommonClassLib\obj\Debug\ResolveAssemblyReference.cache
|
||||
G:\延吉卷烟厂\调度系统\CommonClassLib\obj\Debug\CommonClassLib.dll
|
||||
G:\延吉卷烟厂\调度系统\CommonClassLib\obj\Debug\CommonClassLib.pdb
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\CommonClassLib\bin\Debug\CommonClassLib.dll
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\CommonClassLib\bin\Debug\CommonClassLib.pdb
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\CommonClassLib\obj\Debug\ResolveAssemblyReference.cache
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\CommonClassLib\obj\Debug\CommonClassLib.dll
|
||||
C:\richard.liu\延吉卷烟厂\调度系统\CommonClassLib\obj\Debug\CommonClassLib.pdb
|
||||
E:\延吉卷烟厂\延吉调度系统\CommonClassLib\bin\Debug\CommonClassLib.dll
|
||||
E:\延吉卷烟厂\延吉调度系统\CommonClassLib\bin\Debug\CommonClassLib.pdb
|
||||
E:\延吉卷烟厂\延吉调度系统\CommonClassLib\obj\Debug\ResolveAssemblyReference.cache
|
||||
E:\延吉卷烟厂\延吉调度系统\CommonClassLib\obj\Debug\CommonClassLib.dll
|
||||
E:\延吉卷烟厂\延吉调度系统\CommonClassLib\obj\Debug\CommonClassLib.pdb
|
||||
E:\聊城电力\聊城电力调度系统\CommonClassLib\bin\Debug\CommonClassLib.dll
|
||||
E:\聊城电力\聊城电力调度系统\CommonClassLib\bin\Debug\CommonClassLib.pdb
|
||||
E:\聊城电力\聊城电力调度系统\CommonClassLib\bin\Debug\DBFactory.dll
|
||||
E:\聊城电力\聊城电力调度系统\CommonClassLib\bin\Debug\DBFactory.pdb
|
||||
E:\聊城电力\聊城电力调度系统\CommonClassLib\obj\Debug\ResolveAssemblyReference.cache
|
||||
E:\聊城电力\聊城电力调度系统\CommonClassLib\obj\Debug\CommonClassLib.UCellPanel.resources
|
||||
E:\聊城电力\聊城电力调度系统\CommonClassLib\obj\Debug\CommonClassLib.csproj.GenerateResource.Cache
|
||||
E:\聊城电力\聊城电力调度系统\CommonClassLib\obj\Debug\CommonClassLib.dll
|
||||
E:\聊城电力\聊城电力调度系统\CommonClassLib\obj\Debug\CommonClassLib.pdb
|
||||
E:\聊城电力调度系统\CommonClassLib\bin\Debug\CommonClassLib.dll
|
||||
E:\聊城电力调度系统\CommonClassLib\bin\Debug\CommonClassLib.pdb
|
||||
E:\聊城电力调度系统\CommonClassLib\bin\Debug\DBFactory.dll
|
||||
E:\聊城电力调度系统\CommonClassLib\bin\Debug\DBFactory.pdb
|
||||
E:\聊城电力调度系统\CommonClassLib\obj\Debug\ResolveAssemblyReference.cache
|
||||
E:\聊城电力调度系统\CommonClassLib\obj\Debug\CommonClassLib.UCellPanel.resources
|
||||
E:\聊城电力调度系统\CommonClassLib\obj\Debug\CommonClassLib.csproj.GenerateResource.Cache
|
||||
E:\聊城电力调度系统\CommonClassLib\obj\Debug\CommonClassLib.dll
|
||||
E:\聊城电力调度系统\CommonClassLib\obj\Debug\CommonClassLib.pdb
|
||||
F:\Program\潍坊电力调度系统0518\潍坊电力调度系统\CommonClassLib\bin\Debug\CommonClassLib.dll
|
||||
F:\Program\潍坊电力调度系统0518\潍坊电力调度系统\CommonClassLib\bin\Debug\CommonClassLib.pdb
|
||||
F:\Program\潍坊电力调度系统0518\潍坊电力调度系统\CommonClassLib\bin\Debug\DBFactory.dll
|
||||
F:\Program\潍坊电力调度系统0518\潍坊电力调度系统\CommonClassLib\bin\Debug\DBFactory.pdb
|
||||
F:\Program\潍坊电力调度系统0518\潍坊电力调度系统\CommonClassLib\obj\Debug\ResolveAssemblyReference.cache
|
||||
F:\Program\潍坊电力调度系统0518\潍坊电力调度系统\CommonClassLib\obj\Debug\CommonClassLib.UCellPanel.resources
|
||||
F:\Program\潍坊电力调度系统0518\潍坊电力调度系统\CommonClassLib\obj\Debug\CommonClassLib.csproj.GenerateResource.Cache
|
||||
F:\Program\潍坊电力调度系统0518\潍坊电力调度系统\CommonClassLib\obj\Debug\CommonClassLib.dll
|
||||
F:\Program\潍坊电力调度系统0518\潍坊电力调度系统\CommonClassLib\obj\Debug\CommonClassLib.pdb
|
||||
F:\Program\潍坊电力调度系统\CommonClassLib\bin\Debug\CommonClassLib.dll
|
||||
F:\Program\潍坊电力调度系统\CommonClassLib\bin\Debug\CommonClassLib.pdb
|
||||
F:\Program\潍坊电力调度系统\CommonClassLib\bin\Debug\DBFactory.dll
|
||||
F:\Program\潍坊电力调度系统\CommonClassLib\bin\Debug\DBFactory.pdb
|
||||
F:\Program\潍坊电力调度系统\CommonClassLib\obj\Debug\ResolveAssemblyReference.cache
|
||||
F:\Program\潍坊电力调度系统\CommonClassLib\obj\Debug\CommonClassLib.UCellPanel.resources
|
||||
F:\Program\潍坊电力调度系统\CommonClassLib\obj\Debug\CommonClassLib.csproj.GenerateResource.Cache
|
||||
F:\Program\潍坊电力调度系统\CommonClassLib\obj\Debug\CommonClassLib.dll
|
||||
F:\Program\潍坊电力调度系统\CommonClassLib\obj\Debug\CommonClassLib.pdb
|
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.0", FrameworkDisplayName = ".NET Framework 4")]
|
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
a0a7397c253ec0f604f41568b788a0032fde9c3eaed98142fca5afae031c8d3d
|
@ -0,0 +1,36 @@
|
||||
E:\Work\乐山\SSWCS_JXDL(2019)\CommonClassLib\bin\Debug\CommonClassLib.dll
|
||||
E:\Work\乐山\SSWCS_JXDL(2019)\CommonClassLib\bin\Debug\CommonClassLib.pdb
|
||||
E:\Work\乐山\SSWCS_JXDL(2019)\CommonClassLib\bin\Debug\DBFactory.dll
|
||||
E:\Work\乐山\SSWCS_JXDL(2019)\CommonClassLib\bin\Debug\DBFactory.pdb
|
||||
E:\Work\乐山\SSWCS_JXDL(2019)\CommonClassLib\bin\Debug\DBFactory.dll.config
|
||||
E:\Work\乐山\SSWCS_JXDL(2019)\CommonClassLib\obj\Debug\CommonClassLib.csproj.AssemblyReference.cache
|
||||
E:\Work\乐山\SSWCS_JXDL(2019)\CommonClassLib\obj\Debug\CommonClassLib.UCellPanel.resources
|
||||
E:\Work\乐山\SSWCS_JXDL(2019)\CommonClassLib\obj\Debug\CommonClassLib.csproj.GenerateResource.cache
|
||||
E:\Work\乐山\SSWCS_JXDL(2019)\CommonClassLib\obj\Debug\CommonClassLib.csproj.CoreCompileInputs.cache
|
||||
E:\Work\乐山\SSWCS_JXDL(2019)\CommonClassLib\obj\Debug\CommonCl.6116AA16.Up2Date
|
||||
E:\Work\乐山\SSWCS_JXDL(2019)\CommonClassLib\obj\Debug\CommonClassLib.dll
|
||||
E:\Work\乐山\SSWCS_JXDL(2019)\CommonClassLib\obj\Debug\CommonClassLib.pdb
|
||||
D:\现场基础环境\SSWCS_JXDL(2019)\CommonClassLib\bin\Debug\CommonClassLib.dll
|
||||
D:\现场基础环境\SSWCS_JXDL(2019)\CommonClassLib\bin\Debug\CommonClassLib.pdb
|
||||
D:\现场基础环境\SSWCS_JXDL(2019)\CommonClassLib\bin\Debug\DBFactory.dll
|
||||
D:\现场基础环境\SSWCS_JXDL(2019)\CommonClassLib\bin\Debug\DBFactory.pdb
|
||||
D:\现场基础环境\SSWCS_JXDL(2019)\CommonClassLib\bin\Debug\DBFactory.dll.config
|
||||
D:\现场基础环境\SSWCS_JXDL(2019)\CommonClassLib\obj\Debug\CommonClassLib.csproj.AssemblyReference.cache
|
||||
D:\现场基础环境\SSWCS_JXDL(2019)\CommonClassLib\obj\Debug\CommonClassLib.UCellPanel.resources
|
||||
D:\现场基础环境\SSWCS_JXDL(2019)\CommonClassLib\obj\Debug\CommonClassLib.csproj.GenerateResource.cache
|
||||
D:\现场基础环境\SSWCS_JXDL(2019)\CommonClassLib\obj\Debug\CommonClassLib.csproj.CoreCompileInputs.cache
|
||||
D:\现场基础环境\SSWCS_JXDL(2019)\CommonClassLib\obj\Debug\CommonCl.6116AA16.Up2Date
|
||||
D:\现场基础环境\SSWCS_JXDL(2019)\CommonClassLib\obj\Debug\CommonClassLib.dll
|
||||
D:\现场基础环境\SSWCS_JXDL(2019)\CommonClassLib\obj\Debug\CommonClassLib.pdb
|
||||
D:\Work\乐山\最终代码\SSWCS_JXDL(2019)\CommonClassLib\bin\Debug\CommonClassLib.dll
|
||||
D:\Work\乐山\最终代码\SSWCS_JXDL(2019)\CommonClassLib\bin\Debug\CommonClassLib.pdb
|
||||
D:\Work\乐山\最终代码\SSWCS_JXDL(2019)\CommonClassLib\bin\Debug\DBFactory.dll
|
||||
D:\Work\乐山\最终代码\SSWCS_JXDL(2019)\CommonClassLib\bin\Debug\DBFactory.pdb
|
||||
D:\Work\乐山\最终代码\SSWCS_JXDL(2019)\CommonClassLib\bin\Debug\DBFactory.dll.config
|
||||
D:\Work\乐山\最终代码\SSWCS_JXDL(2019)\CommonClassLib\obj\Debug\CommonClassLib.csproj.AssemblyReference.cache
|
||||
D:\Work\乐山\最终代码\SSWCS_JXDL(2019)\CommonClassLib\obj\Debug\CommonClassLib.UCellPanel.resources
|
||||
D:\Work\乐山\最终代码\SSWCS_JXDL(2019)\CommonClassLib\obj\Debug\CommonClassLib.csproj.GenerateResource.cache
|
||||
D:\Work\乐山\最终代码\SSWCS_JXDL(2019)\CommonClassLib\obj\Debug\CommonClassLib.csproj.CoreCompileInputs.cache
|
||||
D:\Work\乐山\最终代码\SSWCS_JXDL(2019)\CommonClassLib\obj\Debug\CommonCl.6116AA16.Up2Date
|
||||
D:\Work\乐山\最终代码\SSWCS_JXDL(2019)\CommonClassLib\obj\Debug\CommonClassLib.dll
|
||||
D:\Work\乐山\最终代码\SSWCS_JXDL(2019)\CommonClassLib\obj\Debug\CommonClassLib.pdb
|
Binary file not shown.
BIN
SSWCS_JXDL(2019)/CommonClassLib/obj/Debug/CommonClassLib.dll
Normal file
BIN
SSWCS_JXDL(2019)/CommonClassLib/obj/Debug/CommonClassLib.dll
Normal file
Binary file not shown.
BIN
SSWCS_JXDL(2019)/CommonClassLib/obj/Debug/CommonClassLib.pdb
Normal file
BIN
SSWCS_JXDL(2019)/CommonClassLib/obj/Debug/CommonClassLib.pdb
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user