38 lines
		
	
	
		
			654 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			654 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| using System.Collections.Generic;
 | |
| using System.Drawing;
 | |
| using System.Linq;
 | |
| using System.Text;
 | |
| 
 | |
| namespace vmsnet
 | |
| {
 | |
|     
 | |
|     // struct SCell
 | |
|     //{
 | |
|     //    public string name;
 | |
|     //    public Color backcolor;
 | |
|     //    public short idx;
 | |
|     //    public string group;
 | |
|     //}
 | |
| 
 | |
|     enum rCommand
 | |
|     {
 | |
|         ValueUpdate,
 | |
|         DisableUIItems,
 | |
|         EnableUIItems,
 | |
|         StateMessage,
 | |
|         UpdateAlarmSetting,
 | |
|         SaveGroupClass,
 | |
|         DAQConnected,
 | |
|         DAQDisconnected,
 | |
|         DAQTryConnect,
 | |
|         RefreshChart,
 | |
|     }
 | |
|     enum ConnState
 | |
|     {
 | |
|         Disconnected,
 | |
|         Connected,
 | |
|         TryConnect,
 | |
|     }
 | |
| }
 | 
