Beispiel #1
0
        }//setCurrentDataBase

        //Store the selected section to the Robot Application
        public void storeSectionLabelFromDB(string database, IRobotLabelType labelType, string section)
        {
            //Access LabelServer
            IRobotLabelServer labelServer = getLabelServer();

            //Get Section DataBase
            setCurrentDatabase(IRobotDatabaseType.I_DT_SECTIONS, database);

            //Create a Label
            IRobotLabel          label       = labelServer.Create(labelType, section);
            IRobotBarSectionData sectionData = (RobotBarSectionData)label.Data;

            sectionData.LoadFromDBase(section);
            labelServer.Store(label);
        }
 public static IRobotLabel createLabel(IRobotLabelType lblType, string labelName)
 {
     return(labels.Create(lblType, labelName));
 }