public static void Go() { f16 = new F16(); ConsoleArt.PrintNavData(f16.Nav); System.Timers.Timer t = new System.Timers.Timer(interval); t.Elapsed += T_Elapsed; t.Start(); }
private void _read() { _typeByte = ((BsonType)m_io.ReadU1()); _name = new Cstring(m_io, this, m_root); switch (TypeByte) { case BsonType.NumberDouble: { _content = m_io.ReadF8le(); break; } case BsonType.CodeWithScope: { _content = new CodeWithScope(m_io, this, m_root); break; } case BsonType.ObjectId: { _content = new ObjectId(m_io, this, m_root); break; } case BsonType.String: { _content = new String(m_io, this, m_root); break; } case BsonType.RegEx: { _content = new RegEx(m_io, this, m_root); break; } case BsonType.NumberDecimal: { _content = new F16(m_io, this, m_root); break; } case BsonType.UtcDatetime: { _content = m_io.ReadS8le(); break; } case BsonType.NumberLong: { _content = m_io.ReadS8le(); break; } case BsonType.Timestamp: { _content = new Timestamp(m_io, this, m_root); break; } case BsonType.DbPointer: { _content = new DbPointer(m_io, this, m_root); break; } case BsonType.Array: { _content = new Bson(m_io); break; } case BsonType.Javascript: { _content = new String(m_io, this, m_root); break; } case BsonType.Boolean: { _content = m_io.ReadU1(); break; } case BsonType.Document: { _content = new Bson(m_io); break; } case BsonType.Symbol: { _content = new String(m_io, this, m_root); break; } case BsonType.NumberInt: { _content = m_io.ReadS4le(); break; } case BsonType.BinData: { _content = new BinData(m_io, this, m_root); break; } } }