Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConfFile transistion to something that is BSONDoc based #60

Open
1 of 2 tasks
neotericpiguy opened this issue Jan 1, 2021 · 0 comments
Open
1 of 2 tasks

ConfFile transistion to something that is BSONDoc based #60

neotericpiguy opened this issue Jan 1, 2021 · 0 comments
Labels
backend enhancement Awesome to have but high risk of breaking something

Comments

@neotericpiguy
Copy link
Owner

neotericpiguy commented Jan 1, 2021

Jesus this would be a big refactor. Interal of course. The conf.files will still be spit back out in the usual format, but traversing and modifying elements might be easier. The first obstacle are algos to sort and elements.but obstacle zero is a name for the class.
but I want something like

{
  {
    "Name" : "Channels",
    "Descriptions": {
	"Type" : "Analog or Digital",
	"Channel" : "Channel number",
	"Name" : "Name of station",
	"Receive" : "Receive frequency of radio",
	"Transmit" : "Transmit offset",
    },
    "Entries": {
      [
	  {
	    "Type": "Analog",
	    "Channel" : 1,
	    "Name": "K7WAS",
	    "Receive": 146.123,
	    "Transmit": 0.0,
	    "Power": "High"
	  },
	  {
	    "Type": "Digital",
	    "Channel": 2,
	    "Name": "K3NHD",
	    "Receive": 146.123,
	    "Transmit": 0.0,
	    "Power": "High"
	  }
      ]
    }
  }
}
@neotericpiguy neotericpiguy added enhancement New feature or request backend enhancement Awesome to have but high risk of breaking something and removed enhancement New feature or request labels Jan 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend enhancement Awesome to have but high risk of breaking something
Projects
None yet
Development

No branches or pull requests

1 participant