37 lines
569 B
C#
37 lines
569 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace DMX2
|
|
{
|
|
public class SequenceurMaitre
|
|
{
|
|
public class Ligne {
|
|
public Ligne(){}
|
|
Dictionary<Sequenceur,int> data = new Dictionary<Sequenceur, int>();
|
|
public int this [Sequenceur index] {
|
|
get {
|
|
int value;
|
|
if(!data.TryGetValue(index, out value)) return -1;
|
|
return value;
|
|
}
|
|
set {
|
|
data[index] = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
List<Ligne> lignes = new List<Ligne>();
|
|
|
|
public List<Ligne> Lignes {
|
|
get {
|
|
return lignes;
|
|
}
|
|
}
|
|
|
|
public SequenceurMaitre ()
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|
|
|