示例#1
0
        public void ChangeItem(int id)
        {
            RotaManipulation item = new RotaManipulation();
            Rota             i    = item.FindByID(id);

            Id            = id;
            SensorFinal   = i.SensorFinal;
            SensorInicial = i.SensorInicial;
            Tracado       = i.Tracado;
        }
示例#2
0
 internal Rota(int id) : base("rota", "IdRota")
 {
     if (base.Exists(id))
     {
         RotaManipulation item = new RotaManipulation();
         Rota             i    = item.FindByID(id);
         Id            = id;
         SensorFinal   = i.SensorFinal;
         SensorInicial = i.SensorInicial;
         Tracado       = i.Tracado;
     }
 }
示例#3
0
        public static Rota FindById(long id)
        {
            RotaManipulation item = new RotaManipulation();

            return(item.FindByID(id));
        }