{"action":"created","issue":{"url":"https://api.github.com/repos/tbeu/Modelica/issues/91","repository_url":"https://api.github.com/repos/tbeu/Modelica","labels_url":"https://api.github.com/repos/tbeu/Modelica/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/tbeu/Modelica/issues/91/comments","events_url":"https://api.github.com/repos/tbeu/Modelica/issues/91/events","html_url":"https://github.com/tbeu/Modelica/issues/91","id":196310985,"number":91,"title":"SignalType for Integer (Enumerations) / Boolean","user":{"login":"modelica-trac-importer","id":22202507,"avatar_url":"https://avatars.githubusercontent.com/u/22202507?v=3","gravatar_id":"","url":"https://api.github.com/users/modelica-trac-importer","html_url":"https://github.com/modelica-trac-importer","followers_url":"https://api.github.com/users/modelica-trac-importer/followers","following_url":"https://api.github.com/users/modelica-trac-importer/following{/other_user}","gists_url":"https://api.github.com/users/modelica-trac-importer/gists{/gist_id}","starred_url":"https://api.github.com/users/modelica-trac-importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modelica-trac-importer/subscriptions","organizations_url":"https://api.github.com/users/modelica-trac-importer/orgs","repos_url":"https://api.github.com/users/modelica-trac-importer/repos","events_url":"https://api.github.com/users/modelica-trac-importer/events{/privacy}","received_events_url":"https://api.github.com/users/modelica-trac-importer/received_events","type":"User","site_admin":false},"labels":[{"id":503143285,"url":"https://api.github.com/repos/tbeu/Modelica/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":503143289,"url":"https://api.github.com/repos/tbeu/Modelica/labels/wontfix","name":"wontfix","color":"ffffff","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-19T00:43:58Z","updated_at":"2016-12-19T00:44:37Z","closed_at":"2016-12-19T00:44:27Z","body":"**Reported by henrik isernhagen on 10 Jul 2008 12:44 UTC**\nFor Real Signals it is possible to define a SignalType with an quantity and an display unit. In order to this, it is possible to describe the type of a signal.\n\nAdditionally, often Boolean Signals and also Integer Signals are used to describe a state and according to this a type of signal. An example is here the actual workaround for the Enumeration implementation as an Integer. Here, a quantity is normally added, too, e.g. \"gear\" and the according Integer represantation \"-1, 0, 1, 2, ...\".\n\nIf you use an Integer Signal as a representation of a state (e.g. [http://www.modelica.org/events/modelica2008/Proceedings/sessions/session3c3.pdf]) it should be possible to add the defined SignalType (the Enumeration with displayUnit) to the signal. In order to this it would be possible to plot a signal with label, e.g, \"gear, transmission state, shifting type\".\n\nThe same applies for a Boolean signal, because it is often used as a represenation of a state, e.g., \"clutch open/close, ignition on/off\".\n\nBest regards,\n\nHenrik\n\nMigrated-From: https://trac.modelica.org/Modelica/ticket/91"},"comment":{"url":"https://api.github.com/repos/tbeu/Modelica/issues/comments/267859661","html_url":"https://github.com/tbeu/Modelica/issues/91#issuecomment-267859661","issue_url":"https://api.github.com/repos/tbeu/Modelica/issues/91","id":267859661,"user":{"login":"modelica-trac-importer","id":22202507,"avatar_url":"https://avatars.githubusercontent.com/u/22202507?v=3","gravatar_id":"","url":"https://api.github.com/users/modelica-trac-importer","html_url":"https://github.com/modelica-trac-importer","followers_url":"https://api.github.com/users/modelica-trac-importer/followers","following_url":"https://api.github.com/users/modelica-trac-importer/following{/other_user}","gists_url":"https://api.github.com/users/modelica-trac-importer/gists{/gist_id}","starred_url":"https://api.github.com/users/modelica-trac-importer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modelica-trac-importer/subscriptions","organizations_url":"https://api.github.com/users/modelica-trac-importer/orgs","repos_url":"https://api.github.com/users/modelica-trac-importer/repos","events_url":"https://api.github.com/users/modelica-trac-importer/events{/privacy}","received_events_url":"https://api.github.com/users/modelica-trac-importer/received_events","type":"User","site_admin":false},"created_at":"2016-12-19T00:44:37Z","updated_at":"2016-12-19T00:44:37Z","body":"**Comment by dietmarw on 25 May 2009 09:15 UTC**\nMoved to milestone:never (which should collect all the invalid, duplicates or wontfix tickets)."}}
{"actor":{"display_login":"modelica-trac-importer"}}