public Challenge(IotBase iotItem, string userDefinedType) : base(userDefinedType, "n", ValuesPerSample.One, 60000, "challenge") { this.iotItem = iotItem; StartMeasuring(); }
public static uint AddItem(IotBase iotItem) { uint id = GetFreeId(); if (id == uint.MaxValue) { throw new Exception("maximum Iots allocation reached - increase value of MaxIot in IotList.cs"); } IotItems[id] = iotItem; return(id); }