예제 #1
0
        public override string ToString()
        {
            string ret = SeqEnums.EffectName(type);

            ret += " From " + startCentisecond.ToString();
            ret += " to " + myEndCentisecond.ToString();
            if (intensity > utils.UNDEFINED)
            {
                ret += " at " + intensity.ToString();
            }
            if (startIntensity > utils.UNDEFINED)
            {
                ret += " at " + startIntensity.ToString();
            }
            return(ret);
        }
예제 #2
0
        public string LineOut()
        {
            string ret = "";

            ret  = utils.LEVEL3 + utils.STFLD + Sequence4.TABLEeffect;
            ret += utils.FIELDtype + utils.FIELDEQ + SeqEnums.EffectName(type) + utils.ENDQT;
            ret += utils.FIELDstartCentisecond + utils.FIELDEQ + startCentisecond.ToString() + utils.ENDQT;
            ret += utils.FIELDendCentisecond + utils.FIELDEQ + myEndCentisecond.ToString() + utils.ENDQT;
            if (intensity > utils.UNDEFINED)
            {
                ret += FIELDintensity + utils.FIELDEQ + intensity.ToString() + utils.ENDQT;
            }
            if (startIntensity > utils.UNDEFINED)
            {
                ret += FIELDstartIntensity + utils.FIELDEQ + startIntensity.ToString() + utils.ENDQT;
                ret += FIELDendIntensity + utils.FIELDEQ + endIntensity.ToString() + utils.ENDQT;
            }
            ret += utils.ENDFLD;
            return(ret);
        }