From: <tom...@di...> - 2014-05-21 15:22:06
|
Hi all, I'm looking at how we might implement a beamline synoptic in CSS. I've attached a mock-up of what this might look like, using rules, scripts and lots of rounded rectangles. The bar along the top shows vacuum and beam status, including how far along the beamline the beam is getting. They have only two states: green if beam can get through, red if it can't, and the symbols change shape in case the user is colour blind. If anything in this line is clicked it brings up a more detailed overview where things can be controlled. The vacuum is grey when ok and red with pulsing alpha when not. The icons and buttons along the middle are components on the beamline that can be moved. They have two states: grey if they are idle, green if they are moving. They also have the standard epics alarm severities: grey for ok, orange for minor, red for major and purple for disconnected. The minor and major severities also pulse the alpha channel at different frequencies in case the user is colour blind. The bottom section is for quick access control buttons and other miscellaneous status. So far so good, but now I am wondering how best to turn this into a maintainable screen. The current mock-up has a number of problems: * The top line symbols are a red and a green stacked BOY Polyline drawings with visibility rules and an action to open an OPI on click. Should I turn them into PNGs and use a multistate symbol widget? Or just put the two drawings into an OPI screen complete with rules and use a linking container? * The middle line symbols are linking containers with action to open an OPI on click. The linking container OPI file contains an image, a label, and a rounded rectangle with rules for colour and alpha. This is really a button, so should I extend the button widget with a new display type? I would also like to use these buttons in sub-screens, so it would be good to avoid having to distribute this linking container OPI with all sub-screens. * The component state and severity come from chained calc records in an IOC. I would like to be able to acknowledge alarms from this screen, so I wonder if there is any merit in using the alarm system. Has anyone else done anything similar? * The "Open" buttons are Menu buttons. I was expecting a way to be able to style them as combo boxes, but this seems to not be available. Is there some other way to get a native combo box with entries from an mbbo in BOY? Thanks, Tom Cobb -- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom |