{"action":"opened","issue":{"url":"https://api.github.com/repos/chrsmithdemos/switchlist/issues/1","labels_url":"https://api.github.com/repos/chrsmithdemos/switchlist/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/chrsmithdemos/switchlist/issues/1/comments","events_url":"https://api.github.com/repos/chrsmithdemos/switchlist/issues/1/events","html_url":"https://github.com/chrsmithdemos/switchlist/issues/1","id":58996090,"number":1,"title":"Mark industry track capacity, and don't send cars to a track if there's no space.","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmithdemos/switchlist/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmithdemos/switchlist/labels/Milestone-Release0.9","name":"Milestone-Release0.9","color":"ededed"},{"url":"https://api.github.com/repos/chrsmithdemos/switchlist/labels/Priority-High","name":"Priority-High","color":"ededed"},{"url":"https://api.github.com/repos/chrsmithdemos/switchlist/labels/Type-Enhancement","name":"Type-Enhancement","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-26T00:32:45Z","updated_at":"2015-02-26T00:32:46Z","closed_at":"2015-02-26T00:32:45Z","body":"```\nCurrently, SwitchList doesn't have any idea about the capacity of each \nindustry.  If the rates for cargos is set wrong so too many cars are sent to \nthe industry, there might not be space for new cars.\n\nSwitchList ought to keep track of the length of each car and the space at each \nindustry, and avoid directing cars to an industry if there is no space.\n\nThis will require changing the UI and file database to store car sizes and \ncapacity, add switches so that users can ignore the feature if necessary, and \nchange the car assignment algorithm to do the right thing when a track \noverflows.\n\nThe workaround is to match the cargo rates to the track size better; maybe \nthere's some simple UI or hints to help users understand what a given \"cars per \nweek\" means in terms of the total cars likely to arrive on the track.\n```\n\n-----\nOriginal issue reported on code.google.com by `rwbowdi...@gmail.com` on 23 Apr 2011 at 5:37"}}