示例#1
0
 def edit_osc(self):
     if self.osc_config.read(self.osc_config_file) is False:
         # print 'no config file'
         return
     osc_ut=OSCUnitType(self.root,self.osc_config.this_unit_type)
     self.req_unit_type=osc_ut.result
     if self.req_unit_type != None:
         # print self.req_unit_type
         eosc = OSCEditor(self.root, self.osc_config_file,self.req_unit_type,'Edit OSC Configuration')
示例#2
0
 def edit_osc(self):
     if self.osc_config.read(self.osc_config_file) is False:
         self.osc_config.create(self.osc_config_file)
     eosc = OSCEditor(self.root, self.osc_config_file, 'slave',
                      'Edit OSC Monitor Configuration')
示例#3
0
 def read_create_osc(self):
     if self.osc_config.read(self.osc_config_file) is False:
         self.osc_config.create(self.osc_config_file, 'slave')
         eosc = OSCEditor(self.root, self.osc_config_file, 'slave',
                          'Create OSC Monitor Configuration')
         self.osc_config.read(self.osc_config_file)
示例#4
0
 def edit_osc(self):
     if self.osc_config.read(self.osc_config_file) is False:
         self.osc_config.create(self.osc_config_file)
     eosc = OSCEditor(self.root, self.osc_config_file, 'remote',
                      'Edit OSC Reomote Configuration')
示例#5
0
 def read_create_osc(self):
     if self.osc_config.read(self.osc_config_file) is False:
         self.osc_config.create(self.osc_config_file)
         eosc = OSCEditor(self.root, self.osc_config_file, 'remote',
                          'Create OSC Remote Configuration')
         self.osc_config.read(self.osc_config_file)