| | |
| | | this.CurrentFrame = obj.CurrentFrame;
|
| | | if (obj.CurrentFrame.length!=0) {
|
| | | if (this.CurrentFrame[0].frameheightmm > this.CurrentFrame[0].framewidthmm) {
|
| | | if (this.CurrentFrame[0].frameheightmm < 23.62205 || this.CurrentFrame[0].framewidthmm < 15.748) {
|
| | | if (this.CurrentFrame[0].frameheightmm < 23.62205 || this.CurrentFrame[0].framewidthmm < 15.748||this.CurrentFrame[0].frameheightmm > 144.094488 || this.CurrentFrame[0].framewidthmm > 70.8661417) {
|
| | | this.framecolor1 = "red";
|
| | | } else {
|
| | | if (this.CurrentFrame[0].flip == 2) {
|
| | |
| | |
|
| | | }
|
| | | } else {
|
| | | if (this.CurrentFrame[0].frameheightmm < 15.748 || this.CurrentFrame[0].framewidthmm < 23.62205) {
|
| | | if (this.CurrentFrame[0].frameheightmm < 15.748 || this.CurrentFrame[0].framewidthmm < 23.62205||this.CurrentFrame[0].frameheightmm > 70.8661417 || this.CurrentFrame[0].framewidthmm > 144.094488) {
|
| | | this.framecolor1 = "red";
|
| | | } else {
|
| | | if (this.CurrentFrame[0].flip == 2) {
|
| | |
| | | if (obj.AluminumFrameInfo != null) {
|
| | | this.AluminumFrameInfo = obj.AluminumFrameInfo;
|
| | | if (this.AluminumFrameInfo[0].frameheightmm > this.AluminumFrameInfo[0].framelengthmm) {
|
| | | if (this.AluminumFrameInfo[0].frameheightmm < 600 || this.AluminumFrameInfo[0].framelengthmm < 400) {
|
| | | if (this.AluminumFrameInfo[0].frameheightmm < 600 || this.AluminumFrameInfo[0].framelengthmm < 400||this.AluminumFrameInfo[0].frameheightmm > 3660|| this.AluminumFrameInfo[0].framelengthmm > 1800) {
|
| | | this.framestate = true;
|
| | | this.framecolor = "red";
|
| | | } else {
|
| | |
| | |
|
| | | }
|
| | | } else {
|
| | | if (this.AluminumFrameInfo[0].frameheightmm < 400 || this.AluminumFrameInfo[0].framelengthmm < 600) {
|
| | | if (this.AluminumFrameInfo[0].frameheightmm < 400 || this.AluminumFrameInfo[0].framelengthmm < 600||this.AluminumFrameInfo[0].frameheightmm > 1800 || this.AluminumFrameInfo[0].framelengthmm > 3660) {
|
| | | this.framestate = true;
|
| | | this.framecolor = "red";
|
| | | } else {
|