public void SendCloseCommand(long gid) { //TODO: check if gid is of type DISCRETE or of SWITCH descendence scadaCommanding.SendDiscreteCommand(gid, (int)DiscreteCommandingType.CLOSE, CommandOriginType.USER_COMMAND); }