Changeset 20 in MML


Ignore:
Timestamp:
Feb 11, 2014, 2:10:29 PM (11 years ago)
Author:
zhangj
Message:

test...

Location:
trunk
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/machine/THOMX/TL/TLsetup.m

    r5 r20  
    5555% same programme for TL cycling
    5656set(b1(3), 'Callback','disp([''   TLcycling;'']);TLcycling', 'String','Cyclage','ForegroundColor','r');
    57 % need to customized the synchrotronizer for ThomX
    58 set(b1(4), 'Callback','disp([''   Timing;'']); synchro_injecteur7;', 'String','Synchronisation définitive');
     57
    5958set(b2(1), 'Callback','optics_TL;', 'String','OPTIQUE','ForegroundColor','r');
    60 %need to customized for ThomX
    61 set(b2(2), 'Callback','disp([''   Emittance'']);emittance_v15;', 'String','Emittance');
     59
    6260
    6361b = uicontrol('Parent',a, ...
  • trunk/mml/setpathmml.m

    r5 r20  
    1818%
    1919
     20% Modified by Jianfeng Zhang @ 30/01/2014
     21%    Add the definition of machine type for "TL" & "EL".
     22
     23
    2024% Inputs:  MachineName, SubMachineName, MachineType, LinkFlag, MMLROOT
    2125
     
    110114end
    111115if isempty(MachineType)
    112     switch upper(SubMachineName)
    113         case {'LTB', 'LB', 'BTS', 'BS', 'LT1', 'LT2'}
     116    switch upper(SubMachineName)   % modified by Jianfeng Zhang @ 30/01/2014 for "TL"&"EL"
     117        case {'LTB', 'LB', 'BTS', 'BS', 'LT1', 'LT2','TL','EL'}
    114118            MachineType = 'Transport';
    115119        case {'BOOSTER', 'BOOSTER RING', 'BR'}
Note: See TracChangeset for help on using the changeset viewer.