parent
							
								
									1655308028
								
							
						
					
					
						commit
						8b29dc7a9f
					
				|  | @ -415,6 +415,7 @@ namespace INT69DC_7C | |||
|             SerialNumber, | ||||
|             EquipmentColumns, | ||||
|             TimeStamp, | ||||
|             EquipmentType, | ||||
|         } | ||||
| 
 | ||||
|         public enum MessageBoxIcon | ||||
|  | @ -4359,6 +4360,7 @@ namespace INT69DC_7C | |||
|     { | ||||
|         #region Field | ||||
|         private int m_EquipmentColumns; | ||||
|         private int m_EquipmentType; | ||||
|          | ||||
|         private string m_LoginId; | ||||
|         private string m_SerialNumber; | ||||
|  | @ -4378,6 +4380,11 @@ namespace INT69DC_7C | |||
|             get { return this.m_EquipmentColumns; } | ||||
|             set { this.m_EquipmentColumns = value; } | ||||
|         } | ||||
|         public int EquipmentType | ||||
|         { | ||||
|             get { return this.m_EquipmentType; } | ||||
|             set { this.m_EquipmentType = value; } | ||||
|         } | ||||
| 
 | ||||
|         public string LoginId | ||||
|         { | ||||
|  | @ -4401,20 +4408,6 @@ namespace INT69DC_7C | |||
|         #endregion | ||||
|     } | ||||
|     #endregion | ||||
|     #region Struct FileHeaderItem | ||||
|     [StructLayout(LayoutKind.Sequential)] | ||||
|     public struct StructFileHeaderItem | ||||
|     { | ||||
|         public int EquipmentColumns; | ||||
| 
 | ||||
|         [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 20)] | ||||
|         public string LoginId; | ||||
|         [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 20)] | ||||
|         public string SerialNumber; | ||||
| 
 | ||||
|         public DateTime TimeStamp; | ||||
|     } | ||||
|     #endregion | ||||
| 
 | ||||
|     #region CalibrationStatus | ||||
|     public class CalibrationStatus | ||||
|  |  | |||
|  | @ -176,6 +176,7 @@ namespace INT69DC_7C.Forms | |||
|                 header.LoginId = this.ParentForm.SystemConfig.CurrentUser.ID; | ||||
|                 header.SerialNumber = this.ParentForm.SystemConfig.SerialNumber; | ||||
|                 header.EquipmentColumns = this.ParentForm.SystemConfig.EquipmentColumns; | ||||
|                 header.EquipmentType = 103; | ||||
| 
 | ||||
|                 for (int i = 0; i < listSelectedFile.Count; i++) | ||||
|                     this.CreateHeaderFile(this.ParentForm.PathHeaderFolder, listSelectedFile[i], header); | ||||
|  | @ -746,6 +747,12 @@ namespace INT69DC_7C.Forms | |||
|             value = header.TimeStamp.ToString("MM/dd/yyyy HH:mm:ss"); | ||||
|             IniFile.WriteString(filePath, section, key, value); | ||||
|             Thread.Sleep(5); | ||||
| 
 | ||||
|             // EquipmentType | ||||
|             key = DataStore.E_FileHeaderItem.EquipmentType.ToString(); | ||||
|             value = header.EquipmentType.ToString(); | ||||
|             IniFile.WriteString(filePath, section, key, value); | ||||
|             Thread.Sleep(5); | ||||
|         } | ||||
|         private void DirectoryFileDelete(string dirPath) | ||||
|         { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue