示例#1
0
 public Device(SystemName systemName, ScsId id, Unit[] units)
 {
     this._technologyType = Definition.TechnologyType.SCS;
     this.SystemName      = systemName;
     this.BusId           = id;
     this.Units           = units;
 }
示例#2
0
 public SingleInput(SystemName systemName)
 {
     _technologyType = Definition.TechnologyType.Mecanical;
     SystemName      = systemName;
 }
示例#3
0
 public DeviceTechnology GetDevices4Technology(Definition.TechnologyType technology)
 {
     return(_deviceTechnologies.FirstOrDefault(d => d.Technology == technology));
 }
示例#4
0
 public DeviceTechnology(Definition.TechnologyType technology)
 {
     Technology = technology;
 }
示例#5
0
 public bool IsTechnologyValid(Definition.TechnologyType technologyType)
 {
     return(_technologyTypes.Any(tt => tt == technologyType));
 }