Ticket #1380 (closed: wontfix)

Opened 10 years ago

Last modified 5 years ago

Create a base unit class

Reported by: Russell Taylor Owned by: Russell Taylor
Priority: major Milestone: Release 3.2
Component: Framework Keywords:
Cc: Blocked By:
Blocking: #2507 Tester: Peter Parker

Description (last modified by Russell Taylor) (diff)

We have a few cases where we have essentially (or literally) a string representing a unit. However, our Unit class only deals with units that can be converted to and from TOF. We should create a Unit base class which can be used by anything that needs to represent any kind of unit, and then turn the current Unit class into a ConvertibleUnit (or better name) that inherits from the new Unit base class.

An extension of this could be thinking about conversions for this - e.g. from seconds to microseconds.

Change History

comment:1 Changed 10 years ago by Nick Draper

  • Owner set to Russell Taylor
  • Status changed from new to assigned

comment:2 Changed 10 years ago by Nick Draper

We need to have a spec meeting about this.

Set one up with Peter, Stuart and me.

comment:3 Changed 10 years ago by Nick Draper

  • Milestone changed from Iteration 26 to Iteration 27

Bulk move of tickets to iteration 27, if your ticket is essential for Iteration 26 then move it back.

comment:4 Changed 10 years ago by Nick Draper

  • Milestone changed from Iteration 27 to Iteration 28

Bulk move of tickets at the end of iteration 27

comment:5 Changed 10 years ago by Russell Taylor

  • Blocking 2507 added

comment:6 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 28 to Iteration 29

Bulk move of tickets at the end of iteration 28

comment:7 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 29 to Iteration 30

Accepted and assigned tickets moved at iteration 29 code freeze

comment:8 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 30 to Iteration 31

Bulk move of tickets to iteration 31 at the iteration 30 code freeze

comment:9 Changed 9 years ago by Nick Draper

  • Milestone changed from Iteration 32 to Iteration 33

Moved to iteration 33 at iteration 32 code freeze

comment:10 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.1 to Release 2.2

Moved at end of release 2.1

comment:11 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.2 to Release 2.3

Moved at the end of release 2.2

comment:12 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.3 to Release 2.4

Moved to milestone 2.4

comment:13 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.4 to Release 2.5

Moved at the code freeze for release 2.4

comment:14 Changed 8 years ago by Russell Taylor

  • Milestone changed from Release 2.5 to Release 2.6

Bump some tickets that I certainly won't be looking at in this iteration.

comment:15 Changed 7 years ago by Nick Draper

  • Status changed from assigned to new

comment:16 Changed 7 years ago by Nick Draper

  • Milestone changed from Release 2.6 to Backlog

Moved to backlog at the code freeze for R2.6

comment:17 Changed 7 years ago by Russell Taylor

  • Status changed from new to verify
  • Component set to Framework
  • Resolution set to wontfix
  • Description modified (diff)
  • Milestone changed from Backlog to Release 3.2

Closing as stale. New tickets can be created when we revisit the units area.

comment:18 Changed 7 years ago by Peter Parker

  • Status changed from verify to verifying
  • Tester set to Peter Parker

comment:19 Changed 7 years ago by Peter Parker

  • Status changed from verifying to closed

Another old ticket in this area is #4512, which is to do with a request from Timmy for so-called "sub-units". Would you recommend I close that one as stale, too?

comment:20 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2227

Note: See TracTickets for help on using tickets.