68 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			C#
		
	
			
		
		
	
	
			68 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			C#
		
	
| using System;
 | |
| using System.Linq;
 | |
| using System.Collections.Generic;
 | |
| using System.Text;
 | |
| 
 | |
| namespace INT_LKD.DataStore
 | |
| {
 | |
|     public class SystemStatus
 | |
|     {
 | |
|         #region Field
 | |
|         private UserItem m_CurrentUser;
 | |
| 
 | |
|         private Define.E_EquipmentMode m_CurrentEquipmentMode;
 | |
|         private Define.E_EquipmentStatus m_EquipmentStatus;
 | |
|         private Define.E_FormStore m_CurrentForm;
 | |
|         private Define.E_DisplayModeStore m_CurrentDisplayMode;
 | |
|         #endregion
 | |
| 
 | |
|         #region Constructor
 | |
|         public SystemStatus()
 | |
|         {
 | |
|             this.Initialize();
 | |
|         } 
 | |
|         #endregion
 | |
| 
 | |
|         #region Property
 | |
|         public UserItem CurrentUser
 | |
|         {
 | |
|             get { return this.m_CurrentUser; }
 | |
|             set { this.m_CurrentUser = value; }
 | |
|         }
 | |
| 
 | |
|         public Define.E_EquipmentMode CurrentEquipmentMode
 | |
|         {
 | |
|             get { return this.m_CurrentEquipmentMode; }
 | |
|             set { this.m_CurrentEquipmentMode = value; }
 | |
|         }
 | |
|         public Define.E_EquipmentStatus EquipmentStatus
 | |
|         {
 | |
|             get { return this.m_EquipmentStatus; }
 | |
|             set { this.m_EquipmentStatus = value; }
 | |
|         }
 | |
|         public Define.E_FormStore CurrentForm
 | |
|         {
 | |
|             get { return this.m_CurrentForm; }
 | |
|             set { this.m_CurrentForm = value; }
 | |
|         }
 | |
|         public Define.E_DisplayModeStore CurrentDisplayMode
 | |
|         {
 | |
|             get { return this.m_CurrentDisplayMode; }
 | |
|             set { this.m_CurrentDisplayMode = value; }
 | |
|         }
 | |
|         #endregion
 | |
| 
 | |
|         #region Method
 | |
|         private void Initialize()
 | |
|         {
 | |
|             this.CurrentUser = new UserItem();
 | |
| 
 | |
|             this.CurrentEquipmentMode = Define.E_EquipmentMode.Normal;
 | |
|             this.EquipmentStatus = Define.E_EquipmentStatus.Stop;
 | |
|             this.CurrentForm = Define.E_FormStore.FormMainDisplay;
 | |
|             this.CurrentDisplayMode = Define.E_DisplayModeStore.MainDisplay;
 | |
|         }
 | |
|         #endregion
 | |
|     }
 | |
| }
 |