source: azure_iot_hub_f767zi/trunk/asp_baseplatform/lwip/contrib-2.1.0/apps/LwipMibCompiler/SharpSnmpLib/Mib/Elements/Types/BitsType.cs@ 457

Last change on this file since 457 was 457, checked in by coas-nagasima, 4 years ago

ファイルを追加

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-csharp;charset=UTF-8
File size: 550 bytes
Line 
1using System;
2using System.Collections.Generic;
3
4namespace Lextm.SharpSnmpLib.Mib.Elements.Types
5{
6 public class BitsType : BaseType
7 {
8 private ValueMap _map;
9
10 public BitsType(IModule module, string name, ISymbolEnumerator symbols)
11 : base(module, name)
12 {
13 _map = Lexer.DecodeEnumerations(symbols);
14 }
15
16 public ValueMap Map
17 {
18 get { return _map; }
19 }
20
21 public string this[int value]
22 {
23 get { return _map[value]; }
24 }
25 }
26}
Note: See TracBrowser for help on using the repository browser.