You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
622 B
C#
31 lines
622 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SCJMapper_V2.Layout
|
|
{
|
|
/// <summary>
|
|
/// A list of ActionItems
|
|
/// </summary>
|
|
class ActionItemList : List<ActionItem>
|
|
{
|
|
/// <summary>
|
|
/// Get the Devices contained in the List
|
|
/// </summary>
|
|
public List<string> Devices
|
|
{
|
|
get {
|
|
var list = new List<string>( );
|
|
foreach ( var si in this ) {
|
|
if ( !list.Contains( si.DeviceName ) ) {
|
|
list.Add( si.DeviceName );
|
|
}
|
|
}
|
|
return list;
|
|
}
|
|
}
|
|
}
|
|
}
|