示例#1
0
        public static InitXyz create(AbstractCanDevice nodetem, double ttime = 0, bool xx = true, bool yy = true, bool zz = true)
        {
            InitXyz acttem = InitXyz.create(ttime, xx, yy, zz);

            acttem.node = nodetem;
            return(acttem);
        }
示例#2
0
 public static InitXyz getInstance()
 {
     if (instance == null)
     {
         instance = new InitXyz();
     }
     return(instance);
 }
示例#3
0
        public static InitXyz create(double ttime = 0, bool xx = true, bool yy = true, bool zz = true)
        {
            InitXyz acttem = new InitXyz();

            acttem.x    = xx;
            acttem.y    = yy;
            acttem.z    = zz;
            acttem.time = ttime;
            return(acttem);
        }