示例#1
0
 //-------------------------------------------------------
 public TSScript(TSGrid g)
 {
     tsg = g;
     tsd = g.tsd;
     sel = g.sel;
     ChkScriotFolder();
 }
示例#2
0
        //---------------------------------------------------------------------
        private bool GetPrm()
        {
            if (tsg != null)
            {
                tsd  = tsg.tsd;
                cols = tsg.cols;
                if (tsg.OffsetYMax <= 0)
                {
                    tsg.GetStatus();
                }

                m_OffsetYMax = tsg.OffsetYMax;
                m_OffsetY    = tsg.OffsetY;
                m_FrameCount = tsg.tsd.FrameCount;
                m_FrameRate  = (int)tsd.FrameRate;
                m_Sec        = m_FrameCount / m_FrameRate;
                return(true);
            }
            else
            {
                return(false);
            }
        }
示例#3
0
 //*********
 //--------------------------------------------------------------------------
 public TSSaveFile(TSData d)
 {
     data = d;
 }
示例#4
0
 //---------------------------------------------------
 public void setFrame(TSData tsd, int f)
 {
     groupBox1.Text = tsd.FrameStr2(f);
 }
 //---------------------------------------------------------------------
 public void CombToTSData(TSData tsd)
 {
     tsh.TSData = tsd;
     tsh.CombToData();
 }
 //---------------------------------------------------------------------
 public void TSDataToComb(TSData tsd)
 {
     tsh.TSData = tsd;
     tsh.TSDataToComb();
 }
示例#7
0
 public TSJson(TSData d = null)
 {
     data = d;
 }