private static Dictionary<PropertyKey, RfidProviderPropertyMetadata> getDefaultProviderMetadata(){
Dictionary<PropertyKey, RfidProviderPropertyMetadata> providerMetaData = new Dictionary<PropertyKey, RfidProviderPropertyMetadata>(); PropertyKey key1 = new PropertyKey("General", "Copyright"); RfidProviderPropertyMetadata metadata1 = new RfidProviderPropertyMetadata(typeof(string), "Copyright", "DAENET 2005-2007", true, false, false); providerMetaData.Add(key1, metadata1);
PropertyKey sensorTypeKey = new PropertyKey("DAENET FileWatcher", "SensorType"); Collection<object> collection = new Collection<object>(); collection.Add(SensorType.RfidTag.ToString()); collection.Add(SensorType.PressureSensor.ToString()); collection.Add(SensorType.TemperatureSensor.ToString()); RfidProviderPropertyMetadata sensorTypeMetaData = new RfidProviderPropertyMetadata(typeof(string), "Sensor Type to be simulated", SensorType.RfidTag.ToString(), false, false, false, collection);
providerMetaData.Add(sensorTypeKey, sensorTypeMetaData);
return providerMetaData; } |