这是我今天发现的代码,我可以声明本地var用于吗?我需要在没有硬编码的情况下这样做,我需要这样做直到2040年,例如,前一位员工这样做,我认为必须有更好的方法。 我是java的实习生,不知道为什么我这样做但是我的老板告诉我是否可以帮助他
*WHEN VERSION
*IS <> ACTUAL
*WHEN FLOW
*IS F10
*WHEN TIME
*IS 2012.01
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2012.02)
*REC(FACTOR = 1,TIME = 2012.03)
*REC(FACTOR = 1,TIME = 2012.04)
*REC(FACTOR = 1,TIME = 2012.05)
*REC(FACTOR = 1,TIME = 2012.06)
*REC(FACTOR = 1,TIME = 2012.07)
*REC(FACTOR = 1,TIME = 2012.08)
*REC(FACTOR = 1,TIME = 2012.09)
*REC(FACTOR = 1,TIME = 2012.10)
*REC(FACTOR = 1,TIME = 2012.11)
*REC(FACTOR = 1,TIME = 2012.12)
*IS 2012.02
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2012.03)
*REC(FACTOR = 1,TIME = 2012.04)
*REC(FACTOR = 1,TIME = 2012.05)
*REC(FACTOR = 1,TIME = 2012.06)
*REC(FACTOR = 1,TIME = 2012.07)
*REC(FACTOR = 1,TIME = 2012.08)
*REC(FACTOR = 1,TIME = 2012.09)
*REC(FACTOR = 1,TIME = 2012.10)
*REC(FACTOR = 1,TIME = 2012.11)
*REC(FACTOR = 1,TIME = 2012.12)
*IS 2012.03
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2012.04)
*REC(FACTOR = 1,TIME = 2012.05)
*REC(FACTOR = 1,TIME = 2012.06)
*REC(FACTOR = 1,TIME = 2012.07)
*REC(FACTOR = 1,TIME = 2012.08)
*REC(FACTOR = 1,TIME = 2012.09)
*REC(FACTOR = 1,TIME = 2012.10)
*REC(FACTOR = 1,TIME = 2012.11)
*REC(FACTOR = 1,TIME = 2012.12)
*IS 2012.04
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2012.05)
*REC(FACTOR = 1,TIME = 2012.06)
*REC(FACTOR = 1,TIME = 2012.07)
*REC(FACTOR = 1,TIME = 2012.08)
*REC(FACTOR = 1,TIME = 2012.09)
*REC(FACTOR = 1,TIME = 2012.10)
*REC(FACTOR = 1,TIME = 2012.11)
*REC(FACTOR = 1,TIME = 2012.12)
*IS 2012.05
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2012.06)
*REC(FACTOR = 1,TIME = 2012.07)
*REC(FACTOR = 1,TIME = 2012.08)
*REC(FACTOR = 1,TIME = 2012.09)
*REC(FACTOR = 1,TIME = 2012.10)
*REC(FACTOR = 1,TIME = 2012.11)
*REC(FACTOR = 1,TIME = 2012.12)
*IS 2012.06
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2012.07)
*REC(FACTOR = 1,TIME = 2012.08)
*REC(FACTOR = 1,TIME = 2012.09)
*REC(FACTOR = 1,TIME = 2012.10)
*REC(FACTOR = 1,TIME = 2012.11)
*REC(FACTOR = 1,TIME = 2012.12)
*IS 2012.07
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2012.08)
*REC(FACTOR = 1,TIME = 2012.09)
*REC(FACTOR = 1,TIME = 2012.10)
*REC(FACTOR = 1,TIME = 2012.11)
*REC(FACTOR = 1,TIME = 2012.12)
*IS 2012.08
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2012.09)
*REC(FACTOR = 1,TIME = 2012.10)
*REC(FACTOR = 1,TIME = 2012.11)
*REC(FACTOR = 1,TIME = 2012.12)
*IS 2012.09
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2012.10)
*REC(FACTOR = 1,TIME = 2012.11)
*REC(FACTOR = 1,TIME = 2012.12)
*IS 2012.10
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2012.11)
*REC(FACTOR = 1,TIME = 2012.12)
*IS 2012.11
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2012.12)
*IS 2012.12
*REC(FACTOR = 1)
*IS 2013.01
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2013.02)
*REC(FACTOR = 1,TIME = 2013.03)
*REC(FACTOR = 1,TIME = 2013.04)
*REC(FACTOR = 1,TIME = 2013.05)
*REC(FACTOR = 1,TIME = 2013.06)
*REC(FACTOR = 1,TIME = 2013.07)
*REC(FACTOR = 1,TIME = 2013.08)
*REC(FACTOR = 1,TIME = 2013.09)
*REC(FACTOR = 1,TIME = 2013.10)
*REC(FACTOR = 1,TIME = 2013.11)
*REC(FACTOR = 1,TIME = 2013.12)
*IS 2013.02
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2013.03)
*REC(FACTOR = 1,TIME = 2013.04)
*REC(FACTOR = 1,TIME = 2013.05)
*REC(FACTOR = 1,TIME = 2013.06)
*REC(FACTOR = 1,TIME = 2013.07)
*REC(FACTOR = 1,TIME = 2013.08)
*REC(FACTOR = 1,TIME = 2013.09)
*REC(FACTOR = 1,TIME = 2013.10)
*REC(FACTOR = 1,TIME = 2013.11)
*REC(FACTOR = 1,TIME = 2013.12)
*IS 2013.03
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2013.04)
*REC(FACTOR = 1,TIME = 2013.05)
*REC(FACTOR = 1,TIME = 2013.06)
*REC(FACTOR = 1,TIME = 2013.07)
*REC(FACTOR = 1,TIME = 2013.08)
*REC(FACTOR = 1,TIME = 2013.09)
*REC(FACTOR = 1,TIME = 2013.10)
*REC(FACTOR = 1,TIME = 2013.11)
*REC(FACTOR = 1,TIME = 2013.12)
*IS 2013.04
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2013.05)
*REC(FACTOR = 1,TIME = 2013.06)
*REC(FACTOR = 1,TIME = 2013.07)
*REC(FACTOR = 1,TIME = 2013.08)
*REC(FACTOR = 1,TIME = 2013.09)
*REC(FACTOR = 1,TIME = 2013.10)
*REC(FACTOR = 1,TIME = 2013.11)
*REC(FACTOR = 1,TIME = 2013.12)
*IS 2013.05
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2013.06)
*REC(FACTOR = 1,TIME = 2013.07)
*REC(FACTOR = 1,TIME = 2013.08)
*REC(FACTOR = 1,TIME = 2013.09)
*REC(FACTOR = 1,TIME = 2013.10)
*REC(FACTOR = 1,TIME = 2013.11)
*REC(FACTOR = 1,TIME = 2013.12)
*IS 2013.06
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2013.07)
*REC(FACTOR = 1,TIME = 2013.08)
*REC(FACTOR = 1,TIME = 2013.09)
*REC(FACTOR = 1,TIME = 2013.10)
*REC(FACTOR = 1,TIME = 2013.11)
*REC(FACTOR = 1,TIME = 2013.12)
*IS 2013.07
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2013.08)
*REC(FACTOR = 1,TIME = 2013.09)
*REC(FACTOR = 1,TIME = 2013.10)
*REC(FACTOR = 1,TIME = 2013.11)
*REC(FACTOR = 1,TIME = 2013.12)
*IS 2013.08
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2013.09)
*REC(FACTOR = 1,TIME = 2013.10)
*REC(FACTOR = 1,TIME = 2013.11)
*REC(FACTOR = 1,TIME = 2013.12)
*IS 2013.09
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2013.10)
*REC(FACTOR = 1,TIME = 2013.11)
*REC(FACTOR = 1,TIME = 2013.12)
*IS 2013.10
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2013.11)
*REC(FACTOR = 1,TIME = 2013.12)
*IS 2013.11
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2013.12)
*IS 2013.12
*REC(FACTOR = 1)
*IS 2014.01
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2014.02)
*REC(FACTOR = 1,TIME = 2014.03)
*REC(FACTOR = 1,TIME = 2014.04)
*REC(FACTOR = 1,TIME = 2014.05)
*REC(FACTOR = 1,TIME = 2014.06)
*REC(FACTOR = 1,TIME = 2014.07)
*REC(FACTOR = 1,TIME = 2014.08)
*REC(FACTOR = 1,TIME = 2014.09)
*REC(FACTOR = 1,TIME = 2014.10)
*REC(FACTOR = 1,TIME = 2014.11)
*REC(FACTOR = 1,TIME = 2014.12)
*IS 2014.02
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2014.03)
*REC(FACTOR = 1,TIME = 2014.04)
*REC(FACTOR = 1,TIME = 2014.05)
*REC(FACTOR = 1,TIME = 2014.06)
*REC(FACTOR = 1,TIME = 2014.07)
*REC(FACTOR = 1,TIME = 2014.08)
*REC(FACTOR = 1,TIME = 2014.09)
*REC(FACTOR = 1,TIME = 2014.10)
*REC(FACTOR = 1,TIME = 2014.11)
*REC(FACTOR = 1,TIME = 2014.12)
*IS 2014.03
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2014.04)
*REC(FACTOR = 1,TIME = 2014.05)
*REC(FACTOR = 1,TIME = 2014.06)
*REC(FACTOR = 1,TIME = 2014.07)
*REC(FACTOR = 1,TIME = 2014.08)
*REC(FACTOR = 1,TIME = 2014.09)
*REC(FACTOR = 1,TIME = 2014.10)
*REC(FACTOR = 1,TIME = 2014.11)
*REC(FACTOR = 1,TIME = 2014.12)
*IS 2014.04
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2014.05)
*REC(FACTOR = 1,TIME = 2014.06)
*REC(FACTOR = 1,TIME = 2014.07)
*REC(FACTOR = 1,TIME = 2014.08)
*REC(FACTOR = 1,TIME = 2014.09)
*REC(FACTOR = 1,TIME = 2014.10)
*REC(FACTOR = 1,TIME = 2014.11)
*REC(FACTOR = 1,TIME = 2014.12)
*IS 2014.05
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2014.06)
*REC(FACTOR = 1,TIME = 2014.07)
*REC(FACTOR = 1,TIME = 2014.08)
*REC(FACTOR = 1,TIME = 2014.09)
*REC(FACTOR = 1,TIME = 2014.10)
*REC(FACTOR = 1,TIME = 2014.11)
*REC(FACTOR = 1,TIME = 2014.12)
*IS 2014.06
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2014.07)
*REC(FACTOR = 1,TIME = 2014.08)
*REC(FACTOR = 1,TIME = 2014.09)
*REC(FACTOR = 1,TIME = 2014.10)
*REC(FACTOR = 1,TIME = 2014.11)
*REC(FACTOR = 1,TIME = 2014.12)
*IS 2014.07
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2014.08)
*REC(FACTOR = 1,TIME = 2014.09)
*REC(FACTOR = 1,TIME = 2014.10)
*REC(FACTOR = 1,TIME = 2014.11)
*REC(FACTOR = 1,TIME = 2014.12)
*IS 2014.08
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2014.09)
*REC(FACTOR = 1,TIME = 2014.10)
*REC(FACTOR = 1,TIME = 2014.11)
*REC(FACTOR = 1,TIME = 2014.12)
*IS 2014.09
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2014.10)
*REC(FACTOR = 1,TIME = 2014.11)
*REC(FACTOR = 1,TIME = 2014.12)
*IS 2014.10
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2014.11)
*REC(FACTOR = 1,TIME = 2014.12)
*IS 2014.11
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2014.12)
*IS 2014.12
*REC(FACTOR = 1)
*IS 2015.01
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2015.02)
*REC(FACTOR = 1,TIME = 2015.03)
*REC(FACTOR = 1,TIME = 2015.04)
*REC(FACTOR = 1,TIME = 2015.05)
*REC(FACTOR = 1,TIME = 2015.06)
*REC(FACTOR = 1,TIME = 2015.07)
*REC(FACTOR = 1,TIME = 2015.08)
*REC(FACTOR = 1,TIME = 2015.09)
*REC(FACTOR = 1,TIME = 2015.10)
*REC(FACTOR = 1,TIME = 2015.11)
*REC(FACTOR = 1,TIME = 2015.12)
*IS 2015.02
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2015.03)
*REC(FACTOR = 1,TIME = 2015.04)
*REC(FACTOR = 1,TIME = 2015.05)
*REC(FACTOR = 1,TIME = 2015.06)
*REC(FACTOR = 1,TIME = 2015.07)
*REC(FACTOR = 1,TIME = 2015.08)
*REC(FACTOR = 1,TIME = 2015.09)
*REC(FACTOR = 1,TIME = 2015.10)
*REC(FACTOR = 1,TIME = 2015.11)
*REC(FACTOR = 1,TIME = 2015.12)
*IS 2015.03
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2015.04)
*REC(FACTOR = 1,TIME = 2015.05)
*REC(FACTOR = 1,TIME = 2015.06)
*REC(FACTOR = 1,TIME = 2015.07)
*REC(FACTOR = 1,TIME = 2015.08)
*REC(FACTOR = 1,TIME = 2015.09)
*REC(FACTOR = 1,TIME = 2015.10)
*REC(FACTOR = 1,TIME = 2015.11)
*REC(FACTOR = 1,TIME = 2015.12)
*IS 2015.04
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2015.05)
*REC(FACTOR = 1,TIME = 2015.06)
*REC(FACTOR = 1,TIME = 2015.07)
*REC(FACTOR = 1,TIME = 2015.08)
*REC(FACTOR = 1,TIME = 2015.09)
*REC(FACTOR = 1,TIME = 2015.10)
*REC(FACTOR = 1,TIME = 2015.11)
*REC(FACTOR = 1,TIME = 2015.12)
*IS 2015.05
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2015.06)
*REC(FACTOR = 1,TIME = 2015.07)
*REC(FACTOR = 1,TIME = 2015.08)
*REC(FACTOR = 1,TIME = 2015.09)
*REC(FACTOR = 1,TIME = 2015.10)
*REC(FACTOR = 1,TIME = 2015.11)
*REC(FACTOR = 1,TIME = 2015.12)
*IS 2015.06
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2015.07)
*REC(FACTOR = 1,TIME = 2015.08)
*REC(FACTOR = 1,TIME = 2015.09)
*REC(FACTOR = 1,TIME = 2015.10)
*REC(FACTOR = 1,TIME = 2015.11)
*REC(FACTOR = 1,TIME = 2015.12)
*IS 2015.07
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2015.08)
*REC(FACTOR = 1,TIME = 2015.09)
*REC(FACTOR = 1,TIME = 2015.10)
*REC(FACTOR = 1,TIME = 2015.11)
*REC(FACTOR = 1,TIME = 2015.12)
*IS 2015.08
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2015.09)
*REC(FACTOR = 1,TIME = 2015.10)
*REC(FACTOR = 1,TIME = 2015.11)
*REC(FACTOR = 1,TIME = 2015.12)
*IS 2015.09
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2015.10)
*REC(FACTOR = 1,TIME = 2015.11)
*REC(FACTOR = 1,TIME = 2015.12)
*IS 2015.10
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2015.11)
*REC(FACTOR = 1,TIME = 2015.12)
*IS 2015.11
*REC(FACTOR = 1)
*REC(FACTOR = 1,TIME = 2015.12)
*IS 2015.12
*REC(FACTOR = 1)
*ENDWHEN
*IS F99
*REC(FACTOR = 1)
*ENDWHEN