Browse Source

添加项目文件。

master
Administrator 2 weeks ago
commit
6510127a55
  1. 63
      .gitattributes
  2. 363
      .gitignore
  3. BIN
      CMO.dll
  4. 25
      FuelRobot.sln
  5. BIN
      FuelRobot/CITEC32bit.ico
  6. 26
      FuelRobot/DoubleBufferedPanel.cs
  7. 38
      FuelRobot/FuelRobot.csproj
  8. 363
      FuelRobot/ImageResource.Designer.cs
  9. 211
      FuelRobot/ImageResource.resx
  10. 1221
      FuelRobot/MainForm.Designer.cs
  11. 2576
      FuelRobot/MainForm.cs
  12. 236
      FuelRobot/MainForm.resx
  13. 17
      FuelRobot/Program.cs
  14. BIN
      FuelRobot/Resources/12英尺第一部分.png
  15. BIN
      FuelRobot/Resources/12英尺第一部分1.png
  16. BIN
      FuelRobot/Resources/12英尺第二部分1.png
  17. BIN
      FuelRobot/Resources/CITEC32bit.ico
  18. BIN
      FuelRobot/Resources/CurrentOff.png
  19. BIN
      FuelRobot/Resources/CurrentOn.png
  20. BIN
      FuelRobot/Resources/EnableOff.png
  21. BIN
      FuelRobot/Resources/EnableOn.png
  22. BIN
      FuelRobot/Resources/FuelAssembleCursor.png
  23. BIN
      FuelRobot/Resources/HomeOff.png
  24. BIN
      FuelRobot/Resources/HomeOn.png
  25. BIN
      FuelRobot/Resources/JogDownOff.png
  26. BIN
      FuelRobot/Resources/JogDownOn.png
  27. BIN
      FuelRobot/Resources/JogLeftOff.png
  28. BIN
      FuelRobot/Resources/JogLeftOn.png
  29. BIN
      FuelRobot/Resources/JogRightOff.png
  30. BIN
      FuelRobot/Resources/JogRightOn.png
  31. BIN
      FuelRobot/Resources/JogUpOff.png
  32. BIN
      FuelRobot/Resources/JogUpOn.png
  33. BIN
      FuelRobot/Resources/PositionOff.png
  34. BIN
      FuelRobot/Resources/PositionOn.png
  35. BIN
      FuelRobot/Resources/RunOff.png
  36. BIN
      FuelRobot/Resources/RunOn.png
  37. BIN
      FuelRobot/Resources/SwitchOff.png
  38. BIN
      FuelRobot/Resources/SwitchOn.png
  39. BIN
      FuelRobot/Resources/Y轴.png
  40. BIN
      FuelRobot/Resources/remove.photos-removed-background.png
  41. BIN
      FuelRobot/Resources/基座.png
  42. BIN
      FuelRobot/Resources/第一部分.png
  43. BIN
      FuelRobot/Resources/第三部分.png
  44. BIN
      FuelRobot/Resources/第三部分1.png
  45. BIN
      FuelRobot/Resources/第二部分.png
  46. BIN
      FuelRobot/Resources/第二部分1.png
  47. BIN
      FuelRobot/Resources/轴X.png
  48. 37
      FuelRobot/panelControl.Designer.cs
  49. 25
      FuelRobot/panelControl.cs
  50. 120
      FuelRobot/panelControl.resx
  51. 1
      README.md

63
.gitattributes

@ -0,0 +1,63 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto
###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp
###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary
###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary
###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain

363
.gitignore

@ -0,0 +1,363 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
# User-specific files
*.rsuser
*.suo
*.user
*.userosscache
*.sln.docstates
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Mono auto generated files
mono_crash.*
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
[Ww][Ii][Nn]32/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Bb]in/
[Oo]bj/
[Oo]ut/
[Ll]og/
[Ll]ogs/
# Visual Studio 2015/2017 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
# Visual Studio 2017 auto generated files
Generated\ Files/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUnit
*.VisualState.xml
TestResult.xml
nunit-*.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
# Benchmark Results
BenchmarkDotNet.Artifacts/
# .NET Core
project.lock.json
project.fragment.lock.json
artifacts/
# ASP.NET Scaffolding
ScaffoldingReadMe.txt
# StyleCop
StyleCopReport.xml
# Files built by Visual Studio
*_i.c
*_p.c
*_h.h
*.ilk
*.meta
*.obj
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*_wpftmp.csproj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb
# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap
# Visual Studio Trace Files
*.e2e
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# AxoCover is a Code Coverage Tool
.axoCover/*
!.axoCover/settings.json
# Coverlet is a free, cross platform Code Coverage Tool
coverage*.json
coverage*.xml
coverage*.info
# Visual Studio code coverage results
*.coverage
*.coveragexml
# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# Note: Comment the next line if you want to checkin your web deploy settings,
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/
# NuGet Packages
*.nupkg
# NuGet Symbol Packages
*.snupkg
# The packages folder can be ignored because of Package Restore
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
!**/[Pp]ackages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/[Pp]ackages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets
# Microsoft Azure Build Output
csx/
*.build.csdef
# Microsoft Azure Emulator
ecf/
rcf/
# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
*.appx
*.appxbundle
*.appxupload
# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!?*.[Cc]ache/
# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
orleans.codegen.cs
# Including strong name files can present a security risk
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
#*.snk
# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
ServiceFabricBackup/
*.rptproj.bak
# SQL Server files
*.mdf
*.ldf
*.ndf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
*.rptproj.rsuser
*- [Bb]ackup.rdl
*- [Bb]ackup ([0-9]).rdl
*- [Bb]ackup ([0-9][0-9]).rdl
# Microsoft Fakes
FakesAssemblies/
# GhostDoc plugin setting file
*.GhostDoc.xml
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
node_modules/
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw
# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions
# Paket dependency manager
.paket/paket.exe
paket-files/
# FAKE - F# Make
.fake/
# CodeRush personal settings
.cr/personal
# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc
# Cake - Uncomment if you are using it
# tools/**
# !tools/packages.config
# Tabs Studio
*.tss
# Telerik's JustMock configuration file
*.jmconfig
# BizTalk build output
*.btp.cs
*.btm.cs
*.odx.cs
*.xsd.cs
# OpenCover UI analysis results
OpenCover/
# Azure Stream Analytics local run output
ASALocalRun/
# MSBuild Binary and Structured Log
*.binlog
# NVidia Nsight GPU debugger configuration file
*.nvuser
# MFractors (Xamarin productivity tool) working folder
.mfractor/
# Local History for Visual Studio
.localhistory/
# BeatPulse healthcheck temp database
healthchecksdb
# Backup folder for Package Reference Convert tool in Visual Studio 2017
MigrationBackup/
# Ionide (cross platform F# VS Code tools) working folder
.ionide/
# Fody - auto-generated XML schema
FodyWeavers.xsd

BIN
CMO.dll

Binary file not shown.

25
FuelRobot.sln

@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.14.36408.4 d17.14
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FuelRobot", "FuelRobot\FuelRobot.csproj", "{B193A4B3-4162-4CF5-88E1-E83CB9723B41}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{B193A4B3-4162-4CF5-88E1-E83CB9723B41}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{B193A4B3-4162-4CF5-88E1-E83CB9723B41}.Debug|Any CPU.Build.0 = Debug|Any CPU
{B193A4B3-4162-4CF5-88E1-E83CB9723B41}.Release|Any CPU.ActiveCfg = Release|Any CPU
{B193A4B3-4162-4CF5-88E1-E83CB9723B41}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {068B8FA2-41E0-43E8-B272-82017ECF187B}
EndGlobalSection
EndGlobal

BIN
FuelRobot/CITEC32bit.ico

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

26
FuelRobot/DoubleBufferedPanel.cs

@ -0,0 +1,26 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FuelRobot
{
internal class DoubleBufferedPanel:Panel
{
public DoubleBufferedPanel()
{
// 在派生类中直接访问受保护的 DoubleBuffered 属性
DoubleBuffered = true;
// 开启优化绘制样式(减少闪烁的关键)
SetStyle(
ControlStyles.UserPaint | // 允许自定义绘制
ControlStyles.AllPaintingInWmPaint | // 禁止擦除背景,减少闪烁
ControlStyles.OptimizedDoubleBuffer, // 启用优化的双缓冲
true
);
UpdateStyles(); // 应用样式设置
}
}
}

38
FuelRobot/FuelRobot.csproj

@ -0,0 +1,38 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWindowsForms>true</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings>
<PlatformTarget>x64</PlatformTarget>
<ApplicationIcon>CITEC32bit.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Content Include="CITEC32bit.ico" />
</ItemGroup>
<ItemGroup>
<Reference Include="CMO">
<HintPath>..\CMO.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Update="ImageResource.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>ImageResource.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Update="ImageResource.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>ImageResource.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
</Project>

363
FuelRobot/ImageResource.Designer.cs

@ -0,0 +1,363 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace FuelRobot {
using System;
/// <summary>
/// 一个强类型的资源类,用于查找本地化的字符串等。
/// </summary>
// 此类是由 StronglyTypedResourceBuilder
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen
// (以 /str 作为命令选项),或重新生成 VS 项目。
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class ImageResource {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal ImageResource() {
}
/// <summary>
/// 返回此类使用的缓存的 ResourceManager 实例。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("FuelRobot.ImageResource", typeof(ImageResource).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// 重写当前线程的 CurrentUICulture 属性,对
/// 使用此强类型资源类的所有资源查找执行重写。
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap _12 {
get {
object obj = ResourceManager.GetObject("12英尺第一部分", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap _121 {
get {
object obj = ResourceManager.GetObject("12英尺第一部分1", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap _121 {
get {
object obj = ResourceManager.GetObject("12英尺第二部分1", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap CITEC32bit {
get {
object obj = ResourceManager.GetObject("CITEC32bit", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap CurrentOff {
get {
object obj = ResourceManager.GetObject("CurrentOff", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap CurrentOn {
get {
object obj = ResourceManager.GetObject("CurrentOn", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap EnableOff {
get {
object obj = ResourceManager.GetObject("EnableOff", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap EnableOn {
get {
object obj = ResourceManager.GetObject("EnableOn", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap FuelAssembleCursor {
get {
object obj = ResourceManager.GetObject("FuelAssembleCursor", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap HomeOff {
get {
object obj = ResourceManager.GetObject("HomeOff", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap HomeOn {
get {
object obj = ResourceManager.GetObject("HomeOn", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap JogDownOff {
get {
object obj = ResourceManager.GetObject("JogDownOff", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap JogDownOn {
get {
object obj = ResourceManager.GetObject("JogDownOn", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap JogLeftOff {
get {
object obj = ResourceManager.GetObject("JogLeftOff", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap JogLeftOn {
get {
object obj = ResourceManager.GetObject("JogLeftOn", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap JogRightOff {
get {
object obj = ResourceManager.GetObject("JogRightOff", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap JogRightOn {
get {
object obj = ResourceManager.GetObject("JogRightOn", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap JogUpOff {
get {
object obj = ResourceManager.GetObject("JogUpOff", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap JogUpOn {
get {
object obj = ResourceManager.GetObject("JogUpOn", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap PositionOff {
get {
object obj = ResourceManager.GetObject("PositionOff", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap PositionOn {
get {
object obj = ResourceManager.GetObject("PositionOn", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap RunOff {
get {
object obj = ResourceManager.GetObject("RunOff", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap RunOn {
get {
object obj = ResourceManager.GetObject("RunOn", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap SwitchOff {
get {
object obj = ResourceManager.GetObject("SwitchOff", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap SwitchOn {
get {
object obj = ResourceManager.GetObject("SwitchOn", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap {
get {
object obj = ResourceManager.GetObject("第一部分", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap {
get {
object obj = ResourceManager.GetObject("第三部分", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap 1 {
get {
object obj = ResourceManager.GetObject("第三部分1", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap {
get {
object obj = ResourceManager.GetObject("第二部分", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// 查找 System.Drawing.Bitmap 类型的本地化资源。
/// </summary>
internal static System.Drawing.Bitmap 1 {
get {
object obj = ResourceManager.GetObject("第二部分1", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
}
}

211
FuelRobot/ImageResource.resx

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

1221
FuelRobot/MainForm.Designer.cs

File diff suppressed because it is too large

2576
FuelRobot/MainForm.cs

File diff suppressed because it is too large

236
FuelRobot/MainForm.resx

@ -0,0 +1,236 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="timerXAxisActualPosition.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="timerXAxisCurrent.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>214, 17</value>
</metadata>
<metadata name="timerXAxisHomeComplete.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>373, 17</value>
</metadata>
<metadata name="timerXAxisRunComplete.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>580, 17</value>
</metadata>
<metadata name="timerYAxisActualPosition.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>774, 17</value>
</metadata>
<metadata name="timerYAxisCurrent.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>970, 17</value>
</metadata>
<metadata name="timerYAxisHomeComplete.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 55</value>
</metadata>
<metadata name="timerYAxisRunComplete.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>223, 55</value>
</metadata>
<metadata name="timerZAxisActualPosition.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>416, 55</value>
</metadata>
<metadata name="timerZAxisCurrent.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>612, 55</value>
</metadata>
<metadata name="timerZAxisHomeComplete.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>770, 55</value>
</metadata>
<metadata name="timerZAxisRunComplete.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>976, 55</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>120</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAgBAAAMQOAADEDgAAAAAAAAAA
AAD/////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
//////////////7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+
/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+
/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+
/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+
/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+
/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+
/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+////////////////////////////////////
/////////////////////////////////////////////+bY2P/axMT/2sTE/9rExP/axMT/2sTE/9rE
xP/axMT/2sTE/9rExP/axMT/2sTE/9rExP/n2tr////////////+/v7/////////////////////////
////////////////////////////////////////////////////////+/n5/8Wjo//Mr6//8uvs/9vG
xv/9/Pz/0re4///////Mrq7/vZWW/+HP0P/m2Nn/vpeY/+ja2v////////////7+/v//////////////
////////////////////////////////////////9PT9/8vN9v/29v3////////////Hpqb/zbCx/86x
sv/cx8f/toqL//v5+f+ia2z//////59mZ//fzMz/9O7u/5tgYf/z7e3/yamq/////////////v7+////
//////////////////////////////////////////////Hy/P84RN7/GibZ/1Fb4v/8/f7//////8Of
oP/UvLz/3cnK/93Kyv+2iov/+/n5/6Nsbf//////nWNk/8inqP/v5ub/m2Bh//r4+P/Vvb3/////////
///+/v7/////////////////////////////////////////////////uL7z/x8x2/8hM9z/HzHb/8PH
9P//////9/Pz/7WKiv+6kZL/7eTl/9K4uP+7lJT/sIKC/82vr//AnJ3/tYqK/+LQ0f/Zw8P/s4WG/9nD
w/////////////7+/v////////////////////////////////////////////////+zuvP/Izrc/yQ7
3f8kO93/cYDo////////////////////////////////////////////////////////////////////
/////////////////////////v7+//////////////////T0/f+gpe//eIDp/5Oa7f/m5/r//////9Xa
+P8mQd7/J0Pf/ydD3/8yTOD/9vf9///////////////////////v8Pz/19n4/+Xn+//+/v7/////////
///////////////////////////////////+/v7////////////q7Pv/P0/g/0JR4f+nrvH/w8f1/56m
7/+xt/L/9vf9/z1b4v8qS+D/Lk7h/yhJ3/++yPX////////////q6/v/anXm/09a4v9JVeL/IzLb/z1L
4P+gqO//+fn+//////////////////////////////////7+/v///////////3GC6P9FWuL/7/H8/4mT
7P9BUOD/eILp/5yk7v+8xPP/hpvt/y1T4f9HaOT/RWbk/32U7P//////8PL8/46Y7P/p6/v/4+n7/+3w
/P/y8/3/nKXu/y1A3v9KWuL/3eD5/////////////////////////////v7+///////z9fz/MVDg/666
8v+dqfD/VGjl//L0/P///////Pz+/8fO9f/I0vb/MFri/zJc4/+SqPD/Q2nl//z8/v/Hzvb/t8b0/3qU
7P9+mO3/Xn7o/1Z55/+8y/X/5+n7/1Nn5P8zTOD/09n4///////////////////////+/v7//////9rh
+f8sUuH/4+j6/09r5f/P1/f///////////////////////j5/f9kiOr/MWHk/77N9v85Z+X/0dz4/9Td
+P/T3Pj/////////////////1d75/1B56P+CoO7/8fT8/1ty5v85VuL/5en6//////////////////7+
/v//////1d34/zRg5P/r7/z/RWvl//X3/f///////////////////////////7PH9f80aeX/obrz/4in
7/+RrvH/9Pf9////////////////////////////9Pf9/2SM6/+Co+7/7vH8/0Zl5P9ee+j//Pz+////
/////////v7+///////i6fv/Nmrl/+ft+/9Oe+j/9fj9////////////////////////////7PL8/zp0
5/99ou//4On6/1OF6v/9/f7/////////////////////////////////8vb9/1GD6v+wyPX/yNP3/y9Z
4/+xwfT////////////+/v7///////j6/f9De+j/ztz4/2WT7P/g6fv////////////+/v7/tc32/+Ps
+//+/v7/VIvr/1eN7P/+/v7/dKDu/9Lh+f//////////////////////////////////////xtj4/0eC
6v/w9fz/cJLs/0945//7+/7///////7+/v///////////3ak7/+XuvP/n8H0/6XF9f//////////////
///4+v7/hrDx/3uq8P9IiOr/QYTq//L2/f/S4vn/hbDx////////////////////////////////////
///+/v7/ZZru/6HC9P/N2vj/NGrl/8fW+P///////v7+////////////wtj4/1SV7f/j7vv/YKHv//j7
/v/////////////////+/v//sM32/0aN7P9Okuz/6PH8/////v94rPD/7/X9////////////////////
//////////////////+ry/b/X53u//r8/v9Pg+r/hqrw///////+/v7////////////8/f7/Zqfw/63Q
9v+dy/b/lsr1////////////////////////////9Pj9//v8/v///////////9Hk+v+iyfX/////////
/////////////////////////////9rq+/9Fku3/7PT8/36o8P9YkOz//v7+//7+/v//////////////
///Y6vv/S6Pw/9rt+/9ov/T/oNn4///+/v////////////H6/f/u9/3//////////////////////4i+
8//1+f3/////////////////////////////////7fT9/0WZ7v/a6/v/m770/0aJ6//0+P3//v7+////
//////////////////+u2/n/R7Hy/9nw/P940Pf/WMj2/63m+/+s5fr/peD5/+Pz/P//////////////
////////3u77/57Q9v/////////////////////////////////m8/z/OaDv/9ns+/+ixvX/Q43s/+ny
/P/+/v7///////////////////////////+p3/n/MbXz/6Tf+f/a9Pz/qeb7/73r+/+e3Pn/+fz+////
////////////////////////ndT3/9vw+////////////////////////////7vi+v8zqPH/7vf9/5bD
9f9Glu3/6vP8//7+/v/////////////////////////////////b8/z/ZM74/zPA9v9Jx/f/bNH4/+v4
/f/////////////////////////////////7/f7/g9D3/+74/f/////////////////9/v7/WcH1/17C
9f/+////arPy/0mi8P/3+/3//v7+/////////////////////////////////////////////v7+//3+
/v////////////////////////////////////////////z9/v/O6vv/gNX4/8Hr+//8/v7/8Pr+/3XS
+P8gtvT/1fD8/93w/P81pvH/abz0/////v/+/v7/////////////////////////////////////////
/////////////////////////////////////////////////////////////+j1/f+r3/n/oeL6/1TM
9/8vwvb/U8z4/9Lx/P/2+/7/V7/0/yar8f/B5vr///////7+/v//////////////////////////////
//////////////////////////////////////////////////////////////////////////////L6
/v+I1/j/jtr5/8ru/P/W8v3/q+T6/0DA9f8YsvT/i9f4/////////////v7+////////////////////
////////////////////////////////////////////////////////////////////////////////
///////////////////R8fz/b9P4/zPD9/8twvb/W8/3/8Hs/P/////////////////+/v7//v7+//7+
/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+
/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+
/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+
/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+/v/+/v7//v7+//7+
/v/+/v7//v7+////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
////////////////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
</value>
</data>
</root>

17
FuelRobot/Program.cs

@ -0,0 +1,17 @@
namespace FuelRobot
{
internal static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
// To customize application configuration such as set high DPI settings or default font,
// see https://aka.ms/applicationconfiguration.
ApplicationConfiguration.Initialize();
Application.Run(new MainForm());
}
}
}

BIN
FuelRobot/Resources/12英尺第一部分.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

BIN
FuelRobot/Resources/12英尺第一部分1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

BIN
FuelRobot/Resources/12英尺第二部分1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

BIN
FuelRobot/Resources/CITEC32bit.ico

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
FuelRobot/Resources/CurrentOff.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
FuelRobot/Resources/CurrentOn.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
FuelRobot/Resources/EnableOff.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

BIN
FuelRobot/Resources/EnableOn.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

BIN
FuelRobot/Resources/FuelAssembleCursor.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 712 B

BIN
FuelRobot/Resources/HomeOff.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

BIN
FuelRobot/Resources/HomeOn.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

BIN
FuelRobot/Resources/JogDownOff.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
FuelRobot/Resources/JogDownOn.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
FuelRobot/Resources/JogLeftOff.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
FuelRobot/Resources/JogLeftOn.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

BIN
FuelRobot/Resources/JogRightOff.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
FuelRobot/Resources/JogRightOn.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

BIN
FuelRobot/Resources/JogUpOff.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
FuelRobot/Resources/JogUpOn.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
FuelRobot/Resources/PositionOff.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
FuelRobot/Resources/PositionOn.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
FuelRobot/Resources/RunOff.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

BIN
FuelRobot/Resources/RunOn.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

BIN
FuelRobot/Resources/SwitchOff.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

BIN
FuelRobot/Resources/SwitchOn.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
FuelRobot/Resources/Y轴.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
FuelRobot/Resources/remove.photos-removed-background.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
FuelRobot/Resources/基座.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
FuelRobot/Resources/第一部分.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

BIN
FuelRobot/Resources/第三部分.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

BIN
FuelRobot/Resources/第三部分1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

BIN
FuelRobot/Resources/第二部分.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

BIN
FuelRobot/Resources/第二部分1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

BIN
FuelRobot/Resources/轴X.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

37
FuelRobot/panelControl.Designer.cs

@ -0,0 +1,37 @@
namespace FuelRobot
{
partial class panelControl
{
/// <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()
{
components = new System.ComponentModel.Container();
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
}
#endregion
}
}

25
FuelRobot/panelControl.cs

@ -0,0 +1,25 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace FuelRobot
{
public partial class panelControl : UserControl
{
public panelControl()
{
InitializeComponent();
DoubleBuffered = true;
SetStyle(ControlStyles.UserPaint |
ControlStyles.AllPaintingInWmPaint |
ControlStyles.OptimizedDoubleBuffer, true);
UpdateStyles();
}
}
}

120
FuelRobot/panelControl.resx

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

1
README.md

@ -0,0 +1 @@
# 2025年9月1日燃料组件池边检查项目X轴Y轴Z轴电机三轴测试-Net架构
Loading…
Cancel
Save