초기 커밋.

This commit is contained in:
2025-12-17 12:40:51 +09:00
parent e8d195c03e
commit 368acb1aa8
184 changed files with 95393 additions and 0 deletions

View File

@@ -0,0 +1,66 @@
using DevExpress.XtraEditors;
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;
using LFP_Manager.DataStructure;
namespace LFP_Manager.Forms
{
public partial class FmxInformation : DevExpress.XtraEditors.XtraForm
{
#region VARIABLES
private int sID;
private CommConfig Config;
private DeviceSystemData SystemData;
#endregion
#region CONSTRUCTORS
public FmxInformation(int SystemID, CommConfig aConfig, ref DeviceSystemData aSystemData)
{
InitializeComponent();
sID = SystemID;
Config = aConfig;
SystemData = aSystemData;
}
#endregion
#region TIMER EVENT
private void TmrDisplay_Tick(object sender, EventArgs e)
{
DisplayDeviceID();
}
#endregion
#region DISPLAY FUNCTION
private void DisplayDeviceID()
{
string tmp = "";
tmp += string.Format("Vendor Name : {0}\r\n", SystemData.Information.VendorName);
tmp += string.Format("Product Code : {0}\r\n", SystemData.Information.ProductCode);
tmp += string.Format("Major Minor Revision : {0}\r\n", SystemData.Information.MajorMinorRev);
tmp += string.Format("Model Name : {0}\r\n", SystemData.Information.ModelName);
tmp += string.Format("Hardware Serial Number : {0}\r\n", SystemData.Information.HwSerialNumber);
tmp += string.Format("Hardware Product Revision : {0}\r\n", SystemData.Information.HwProductRev);
tmp += string.Format("Manufacturing date : {0}\r\n", SystemData.Information.ManufacturingDate);
tmp += string.Format("SW Product Revision : {0}\r\n", SystemData.Information.SwProductRev);
LbDeviceId.Text = tmp;
}
#endregion
#region BUTTON EVENT
private void BtnClose_Click(object sender, EventArgs e)
{
Close();
}
#endregion
}
}