38 lines · 881 B · C#
RawDownload
using GSF.ComponentModel.DataAnnotations;using GSF.Data.Model;using System;using System.ComponentModel;using System.ComponentModel.DataAnnotations; namespace DeviceStatAdapters.Model{    [PrimaryLabel("Acronym")]    public class Device    {        [PrimaryKey(true)]        public int ID { get; set; }         public Guid UniqueID { get; set; }         [Required]        [StringLength(200)]        [AcronymValidation]        public string Acronym { get; set; }         [StringLength(200)]        [AcronymValidation]        public string Name { get; set; }         [StringLength(200)]        public string ParentAcronym { get; set; }         public string Protocol { get; set; }         public decimal? Longitude { get; set; }         public decimal? Latitude { get; set; }         [DefaultValue(30)]        public int FramesPerSecond { get; set; }    }}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t