mirror of
				https://github.com/esiur/esiur-dotnet.git
				synced 2025-10-31 07:51:36 +00:00 
			
		
		
		
	Add project files.
This commit is contained in:
		
							
								
								
									
										49
									
								
								Esiur/Net/IIP/DistributedResourceQueueItem.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										49
									
								
								Esiur/Net/IIP/DistributedResourceQueueItem.cs
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,49 @@ | ||||
| using System; | ||||
| using System.Collections.Generic; | ||||
| using System.Linq; | ||||
| using System.Text; | ||||
| using System.Threading.Tasks; | ||||
|  | ||||
| namespace Esiur.Net.IIP | ||||
| { | ||||
|     public class DistributedResourceQueueItem | ||||
|     { | ||||
|         public enum DistributedResourceQueueItemType | ||||
|         { | ||||
|             Propery, | ||||
|             Event | ||||
|         } | ||||
|  | ||||
|         DistributedResourceQueueItemType type; | ||||
|         byte index; | ||||
|         object value; | ||||
|         DistributedResource resource; | ||||
|  | ||||
|         public DistributedResourceQueueItem(DistributedResource resource, DistributedResourceQueueItemType type, object value, byte index) | ||||
|         { | ||||
|             this.resource = resource; | ||||
|             this.index = index; | ||||
|             this.type = type; | ||||
|             this.value = value; | ||||
|         } | ||||
|  | ||||
|         public DistributedResource Resource | ||||
|         { | ||||
|             get { return resource; } | ||||
|         } | ||||
|         public DistributedResourceQueueItemType Type | ||||
|         { | ||||
|             get { return type; } | ||||
|         } | ||||
|  | ||||
|         public byte Index | ||||
|         { | ||||
|             get { return index; } | ||||
|         } | ||||
|  | ||||
|         public object Value | ||||
|         { | ||||
|             get { return value; } | ||||
|         } | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user