¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Simpl# referencing between Classes under same namespace


 

Not certain if I am asking this correctly.

When writing a Simpl# program, are you suggesting, to keep all code within the ControlSystem.cs?
I would think that having code broken out into several cs files would be cleaner and easier to troubleshoot.

Example:

ControlSystem.cs would contain Contructor, registering devices and Processor Events.
UserInterface.cs would contain "public enum" one for each of Digital, Serial and Analog values for Interface (in my case a TSW-1060).
DataProcessing.cs would contain my methods for extracting, manipulating and creating data values.

But like my original question was, how do I get the data strings from DataProcessing.cs to any other cs file?

Join [email protected] to automatically receive all group messages.